From d66162b9c591d276aa1f8789c72fe4be67b6b29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chehade=20Daniel=20=28=D0=A8=D0=B5=D1=85=D0=B0=D0=B4=D0=B5?= =?UTF-8?q?=20=D0=94=D0=B0=D0=BD=D0=B8=D1=8D=D0=BB=D1=8C=29?= <71555323+danielsheh02@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:52:27 +0600 Subject: [PATCH] Add generated files for QT 5.15.7 --- .../com_trolltech_qt_core.pri | 14 + .../com_trolltech_qt_core0.cpp | 6989 +++++ .../com_trolltech_qt_core0.h | 1635 ++ .../com_trolltech_qt_core1.cpp | 7563 +++++ .../com_trolltech_qt_core1.h | 1531 + .../com_trolltech_qt_core2.cpp | 4209 +++ .../com_trolltech_qt_core2.h | 1183 + .../com_trolltech_qt_core3.cpp | 6193 ++++ .../com_trolltech_qt_core3.h | 1405 + .../com_trolltech_qt_core4.cpp | 1237 + .../com_trolltech_qt_core4.h | 420 + .../com_trolltech_qt_core_init.cpp | 190 + .../com_trolltech_qt_core_builtin.pri | 6 + .../com_trolltech_qt_core_builtin0.cpp | 4600 +++ .../com_trolltech_qt_core_builtin0.h | 1466 + .../com_trolltech_qt_core_builtin_init.cpp | 29 + .../com_trolltech_qt_gui.pri | 30 + .../com_trolltech_qt_gui0.cpp | 24367 ++++++++++++++++ .../com_trolltech_qt_gui0.h | 2953 ++ .../com_trolltech_qt_gui1.cpp | 21365 ++++++++++++++ .../com_trolltech_qt_gui1.h | 2335 ++ .../com_trolltech_qt_gui10.cpp | 16504 +++++++++++ .../com_trolltech_qt_gui10.h | 2532 ++ .../com_trolltech_qt_gui11.cpp | 14823 ++++++++++ .../com_trolltech_qt_gui11.h | 2125 ++ .../com_trolltech_qt_gui12.cpp | 12203 ++++++++ .../com_trolltech_qt_gui12.h | 1767 ++ .../com_trolltech_qt_gui2.cpp | 14862 ++++++++++ .../com_trolltech_qt_gui2.h | 2245 ++ .../com_trolltech_qt_gui3.cpp | 21075 +++++++++++++ .../com_trolltech_qt_gui3.h | 2782 ++ .../com_trolltech_qt_gui4.cpp | 12258 ++++++++ .../com_trolltech_qt_gui4.h | 1967 ++ .../com_trolltech_qt_gui5.cpp | 17768 +++++++++++ .../com_trolltech_qt_gui5.h | 2608 ++ .../com_trolltech_qt_gui6.cpp | 11054 +++++++ .../com_trolltech_qt_gui6.h | 2113 ++ .../com_trolltech_qt_gui7.cpp | 17645 +++++++++++ .../com_trolltech_qt_gui7.h | 2144 ++ .../com_trolltech_qt_gui8.cpp | 16863 +++++++++++ .../com_trolltech_qt_gui8.h | 2192 ++ .../com_trolltech_qt_gui9.cpp | 616 + .../com_trolltech_qt_gui9.h | 1233 + .../com_trolltech_qt_gui_init.cpp | 847 + .../com_trolltech_qt_gui_builtin.pri | 6 + .../com_trolltech_qt_gui_builtin0.cpp | 5195 ++++ .../com_trolltech_qt_gui_builtin0.h | 1406 + .../com_trolltech_qt_gui_builtin_init.cpp | 30 + .../com_trolltech_qt_multimedia.pri | 12 + .../com_trolltech_qt_multimedia0.cpp | 9159 ++++++ .../com_trolltech_qt_multimedia0.h | 1680 ++ .../com_trolltech_qt_multimedia1.cpp | 9390 ++++++ .../com_trolltech_qt_multimedia1.h | 1581 + .../com_trolltech_qt_multimedia2.cpp | 7300 +++++ .../com_trolltech_qt_multimedia2.h | 1497 + .../com_trolltech_qt_multimedia3.cpp | 3015 ++ .../com_trolltech_qt_multimedia3.h | 436 + .../com_trolltech_qt_multimedia_init.cpp | 128 + .../com_trolltech_qt_network.pri | 8 + .../com_trolltech_qt_network0.cpp | 6311 ++++ .../com_trolltech_qt_network0.h | 1397 + .../com_trolltech_qt_network1.cpp | 6467 ++++ .../com_trolltech_qt_network1.h | 1213 + .../com_trolltech_qt_network_init.cpp | 117 + .../com_trolltech_qt_opengl.pri | 6 + .../com_trolltech_qt_opengl0.cpp | 4566 +++ .../com_trolltech_qt_opengl0.h | 951 + .../com_trolltech_qt_opengl_init.cpp | 23 + .../com_trolltech_qt_qml.pri | 6 + .../com_trolltech_qt_qml0.cpp | 3460 +++ .../com_trolltech_qt_qml0.h | 1067 + .../com_trolltech_qt_qml_init.cpp | 37 + .../com_trolltech_qt_quick.pri | 8 + .../com_trolltech_qt_quick0.cpp | 9072 ++++++ .../com_trolltech_qt_quick0.h | 1853 ++ .../com_trolltech_qt_quick1.cpp | 2307 ++ .../com_trolltech_qt_quick1.h | 617 + .../com_trolltech_qt_quick_init.cpp | 54 + .../com_trolltech_qt_sql.pri | 6 + .../com_trolltech_qt_sql0.cpp | 7906 +++++ .../com_trolltech_qt_sql0.h | 1172 + .../com_trolltech_qt_sql_init.cpp | 26 + .../com_trolltech_qt_svg.pri | 6 + .../com_trolltech_qt_svg0.cpp | 2900 ++ .../com_trolltech_qt_svg0.h | 341 + .../com_trolltech_qt_svg_init.cpp | 15 + .../com_trolltech_qt_uitools.pri | 6 + .../com_trolltech_qt_uitools0.cpp | 390 + .../com_trolltech_qt_uitools0.h | 80 + .../com_trolltech_qt_uitools_init.cpp | 11 + .../com_trolltech_qt_xml.pri | 8 + .../com_trolltech_qt_xml0.cpp | 5092 ++++ .../com_trolltech_qt_xml0.h | 1194 + .../com_trolltech_qt_xml1.cpp | 921 + .../com_trolltech_qt_xml1.h | 281 + .../com_trolltech_qt_xml_init.cpp | 59 + .../com_trolltech_qt_xmlpatterns.pri | 6 + .../com_trolltech_qt_xmlpatterns0.cpp | 3048 ++ .../com_trolltech_qt_xmlpatterns0.h | 724 + .../com_trolltech_qt_xmlpatterns_init.cpp | 30 + 100 files changed, 374543 insertions(+) create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h create mode 100644 generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core.pri new file mode 100644 index 00000000..e4f3f13a --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core.pri @@ -0,0 +1,14 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_core0.h \ + $$PWD/com_trolltech_qt_core1.h \ + $$PWD/com_trolltech_qt_core2.h \ + $$PWD/com_trolltech_qt_core3.h \ + $$PWD/com_trolltech_qt_core4.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_core0.cpp \ + $$PWD/com_trolltech_qt_core1.cpp \ + $$PWD/com_trolltech_qt_core2.cpp \ + $$PWD/com_trolltech_qt_core3.cpp \ + $$PWD/com_trolltech_qt_core4.cpp \ + $$PWD/com_trolltech_qt_core_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.cpp new file mode 100644 index 00000000..6a5d15eb --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -0,0 +1,6989 @@ +#include "com_trolltech_qt_core0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QAbstractAnimation::~PythonQtShell_QAbstractAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractAnimation::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(); + } + } +} + QAbstractAnimation::childEvent(event0); +} +void PythonQtShell_QAbstractAnimation::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(); + } + } +} + QAbstractAnimation::customEvent(event0); +} +int PythonQtShell_QAbstractAnimation::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + 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("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QAbstractAnimation::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 QAbstractAnimation::event(event0); +} +bool PythonQtShell_QAbstractAnimation::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 QAbstractAnimation::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractAnimation::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(); + } + } +} + QAbstractAnimation::timerEvent(event0); +} +void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + 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*)¤tTime0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAnimation::updateDirection(direction0); +} +void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAnimation::updateState(newState0, oldState1); +} +QAbstractAnimation* PythonQtWrapper_QAbstractAnimation::new_QAbstractAnimation(QObject* parent) +{ +return new PythonQtShell_QAbstractAnimation(parent); } + +const QMetaObject* PythonQtShell_QAbstractAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractAnimation::staticMetaObject); + } else { + return &QAbstractAnimation::staticMetaObject; + } +} +int PythonQtShell_QAbstractAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QAbstractAnimation::currentLoop(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentLoop()); +} + +int PythonQtWrapper_QAbstractAnimation::currentLoopTime(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentLoopTime()); +} + +int PythonQtWrapper_QAbstractAnimation::currentTime(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentTime()); +} + +QAbstractAnimation::Direction PythonQtWrapper_QAbstractAnimation::direction(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->direction()); +} + +int PythonQtWrapper_QAbstractAnimation::duration(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +QAnimationGroup* PythonQtWrapper_QAbstractAnimation::group(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +int PythonQtWrapper_QAbstractAnimation::loopCount(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +void PythonQtWrapper_QAbstractAnimation::setDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction) +{ + ( theWrappedObject->setDirection(direction)); +} + +void PythonQtWrapper_QAbstractAnimation::setLoopCount(QAbstractAnimation* theWrappedObject, int loopCount) +{ + ( theWrappedObject->setLoopCount(loopCount)); +} + +QAbstractAnimation::State PythonQtWrapper_QAbstractAnimation::state(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +int PythonQtWrapper_QAbstractAnimation::totalDuration(QAbstractAnimation* theWrappedObject) const +{ + return ( theWrappedObject->totalDuration()); +} + +void PythonQtWrapper_QAbstractAnimation::updateCurrentTime(QAbstractAnimation* theWrappedObject, int currentTime) +{ + ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateCurrentTime(currentTime)); +} + +void PythonQtWrapper_QAbstractAnimation::updateDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction) +{ + ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateDirection(direction)); +} + +void PythonQtWrapper_QAbstractAnimation::updateState(QAbstractAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +{ + ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateState(newState, oldState)); +} + + + +PythonQtShell_QAbstractItemModel::~PythonQtShell_QAbstractItemModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::buddy(index0); +} +bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::canFetchMore(parent0); +} +void PythonQtShell_QAbstractItemModel::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(); + } + } +} + QAbstractItemModel::childEvent(event0); +} +int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QAbstractItemModel::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(); + } + } +} + QAbstractItemModel::customEvent(event0); +} +QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractItemModel::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 QAbstractItemModel::event(event0); +} +bool PythonQtShell_QAbstractItemModel::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 QAbstractItemModel::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::flags(index0); +} +bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::hasChildren(parent0); +} +QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::itemData(index0); +} +QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::mimeData(indexes0); +} +QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::mimeTypes(); +} +bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QAbstractItemModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QAbstractItemModel::revert(); +} +QHash PythonQtShell_QAbstractItemModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::roleNames(); +} +int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::setData(index0, value1, role2); +} +bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemModel::sort(column0, order1); +} +QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::span(index0); +} +bool PythonQtShell_QAbstractItemModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::submit(); +} +Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::supportedDropActions(); +} +void PythonQtShell_QAbstractItemModel::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(); + } + } +} + QAbstractItemModel::timerEvent(event0); +} +QAbstractItemModel* PythonQtWrapper_QAbstractItemModel::new_QAbstractItemModel(QObject* parent) +{ +return new PythonQtShell_QAbstractItemModel(parent); } + +const QMetaObject* PythonQtShell_QAbstractItemModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractItemModel::staticMetaObject); + } else { + return &QAbstractItemModel::staticMetaObject; + } +} +int PythonQtShell_QAbstractItemModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractItemModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractItemModel::beginInsertColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginInsertColumns(parent, first, last)); +} + +void PythonQtWrapper_QAbstractItemModel::beginInsertRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginInsertRows(parent, first, last)); +} + +bool PythonQtWrapper_QAbstractItemModel::beginMoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationColumn) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn)); +} + +bool PythonQtWrapper_QAbstractItemModel::beginMoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationRow) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow)); +} + +void PythonQtWrapper_QAbstractItemModel::beginRemoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginRemoveColumns(parent, first, last)); +} + +void PythonQtWrapper_QAbstractItemModel::beginRemoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginRemoveRows(parent, first, last)); +} + +void PythonQtWrapper_QAbstractItemModel::beginResetModel(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginResetModel()); +} + +QModelIndex PythonQtWrapper_QAbstractItemModel::buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->buddy(index)); +} + +bool PythonQtWrapper_QAbstractItemModel::canDropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const +{ + return ( theWrappedObject->canDropMimeData(data, action, row, column, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( theWrappedObject->canFetchMore(parent)); +} + +void PythonQtWrapper_QAbstractItemModel::changePersistentIndex(QAbstractItemModel* theWrappedObject, const QModelIndex& from, const QModelIndex& to) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_changePersistentIndex(from, to)); +} + +void PythonQtWrapper_QAbstractItemModel::changePersistentIndexList(QAbstractItemModel* theWrappedObject, const QList& from, const QList& to) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_changePersistentIndexList(from, to)); +} + +int PythonQtWrapper_QAbstractItemModel::columnCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( theWrappedObject->columnCount(parent)); +} + +QModelIndex PythonQtWrapper_QAbstractItemModel::createIndex(QAbstractItemModel* theWrappedObject, int row, int column, quintptr id) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_createIndex(row, column, id)); +} + +QModelIndex PythonQtWrapper_QAbstractItemModel::createIndex(QAbstractItemModel* theWrappedObject, int row, int column, void* data) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_createIndex(row, column, data)); +} + +QVariant PythonQtWrapper_QAbstractItemModel::data(QAbstractItemModel* theWrappedObject, const QModelIndex& index, int role) const +{ + return ( theWrappedObject->data(index, role)); +} + +bool PythonQtWrapper_QAbstractItemModel::decodeData(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent, QDataStream& stream) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_decodeData(row, column, parent, stream)); +} + +bool PythonQtWrapper_QAbstractItemModel::dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ + return ( theWrappedObject->dropMimeData(data, action, row, column, parent)); +} + +void PythonQtWrapper_QAbstractItemModel::encodeData(QAbstractItemModel* theWrappedObject, const QList& indexes, QDataStream& stream) const +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_encodeData(indexes, stream)); +} + +void PythonQtWrapper_QAbstractItemModel::endInsertColumns(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endInsertColumns()); +} + +void PythonQtWrapper_QAbstractItemModel::endInsertRows(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endInsertRows()); +} + +void PythonQtWrapper_QAbstractItemModel::endMoveColumns(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endMoveColumns()); +} + +void PythonQtWrapper_QAbstractItemModel::endMoveRows(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endMoveRows()); +} + +void PythonQtWrapper_QAbstractItemModel::endRemoveColumns(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endRemoveColumns()); +} + +void PythonQtWrapper_QAbstractItemModel::endRemoveRows(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endRemoveRows()); +} + +void PythonQtWrapper_QAbstractItemModel::endResetModel(QAbstractItemModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endResetModel()); +} + +void PythonQtWrapper_QAbstractItemModel::fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) +{ + ( theWrappedObject->fetchMore(parent)); +} + +Qt::ItemFlags PythonQtWrapper_QAbstractItemModel::flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->flags(index)); +} + +bool PythonQtWrapper_QAbstractItemModel::hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( theWrappedObject->hasChildren(parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const +{ + return ( theWrappedObject->hasIndex(row, column, parent)); +} + +QVariant PythonQtWrapper_QAbstractItemModel::headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const +{ + return ( theWrappedObject->headerData(section, orientation, role)); +} + +QModelIndex PythonQtWrapper_QAbstractItemModel::index(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const +{ + return ( theWrappedObject->index(row, column, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent) +{ + return ( theWrappedObject->insertColumn(column, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( theWrappedObject->insertColumns(column, count, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent) +{ + return ( theWrappedObject->insertRow(row, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( theWrappedObject->insertRows(row, count, parent)); +} + +QMap PythonQtWrapper_QAbstractItemModel::itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->itemData(index)); +} + +QList PythonQtWrapper_QAbstractItemModel::match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->match(start, role, value, hits, flags)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QAbstractItemModel::mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const +{ + return ( theWrappedObject->mimeData(indexes)); +} + +QStringList PythonQtWrapper_QAbstractItemModel::mimeTypes(QAbstractItemModel* theWrappedObject) const +{ + return ( theWrappedObject->mimeTypes()); +} + +bool PythonQtWrapper_QAbstractItemModel::moveColumn(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, const QModelIndex& destinationParent, int destinationChild) +{ + return ( theWrappedObject->moveColumn(sourceParent, sourceColumn, destinationParent, destinationChild)); +} + +bool PythonQtWrapper_QAbstractItemModel::moveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) +{ + return ( theWrappedObject->moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild)); +} + +bool PythonQtWrapper_QAbstractItemModel::moveRow(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, const QModelIndex& destinationParent, int destinationChild) +{ + return ( theWrappedObject->moveRow(sourceParent, sourceRow, destinationParent, destinationChild)); +} + +bool PythonQtWrapper_QAbstractItemModel::moveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) +{ + return ( theWrappedObject->moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild)); +} + +QModelIndex PythonQtWrapper_QAbstractItemModel::parent(QAbstractItemModel* theWrappedObject, const QModelIndex& child) const +{ + return ( theWrappedObject->parent(child)); +} + +QList PythonQtWrapper_QAbstractItemModel::persistentIndexList(QAbstractItemModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_persistentIndexList()); +} + +bool PythonQtWrapper_QAbstractItemModel::removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent) +{ + return ( theWrappedObject->removeColumn(column, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent) +{ + return ( theWrappedObject->removeColumns(column, count, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent) +{ + return ( theWrappedObject->removeRow(row, parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent) +{ + return ( theWrappedObject->removeRows(row, count, parent)); +} + +QHash PythonQtWrapper_QAbstractItemModel::roleNames(QAbstractItemModel* theWrappedObject) const +{ + return ( theWrappedObject->roleNames()); +} + +int PythonQtWrapper_QAbstractItemModel::rowCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const +{ + return ( theWrappedObject->rowCount(parent)); +} + +bool PythonQtWrapper_QAbstractItemModel::setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) +{ + return ( theWrappedObject->setData(index, value, role)); +} + +bool PythonQtWrapper_QAbstractItemModel::setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) +{ + return ( theWrappedObject->setHeaderData(section, orientation, value, role)); +} + +bool PythonQtWrapper_QAbstractItemModel::setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles) +{ + return ( theWrappedObject->setItemData(index, roles)); +} + +QModelIndex PythonQtWrapper_QAbstractItemModel::sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const +{ + return ( theWrappedObject->sibling(row, column, idx)); +} + +void PythonQtWrapper_QAbstractItemModel::sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sort(column, order)); +} + +QSize PythonQtWrapper_QAbstractItemModel::span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->span(index)); +} + +Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDragActions(QAbstractItemModel* theWrappedObject) const +{ + return ( theWrappedObject->supportedDragActions()); +} + +Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDropActions(QAbstractItemModel* theWrappedObject) const +{ + return ( theWrappedObject->supportedDropActions()); +} + + + +PythonQtShell_QAbstractListModel::~PythonQtShell_QAbstractListModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::buddy(index0); +} +bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::canFetchMore(parent0); +} +void PythonQtShell_QAbstractListModel::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(); + } + } +} + QAbstractListModel::childEvent(event0); +} +void PythonQtShell_QAbstractListModel::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(); + } + } +} + QAbstractListModel::customEvent(event0); +} +QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractListModel::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 QAbstractListModel::event(event0); +} +bool PythonQtShell_QAbstractListModel::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 QAbstractListModel::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractListModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::flags(index0); +} +QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::index(row0, column1, parent2); +} +bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::itemData(index0); +} +QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::mimeData(indexes0); +} +QStringList PythonQtShell_QAbstractListModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::mimeTypes(); +} +bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QAbstractListModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QAbstractListModel::revert(); +} +QHash PythonQtShell_QAbstractListModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::roleNames(); +} +int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::setData(index0, value1, role2); +} +bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractListModel::sort(column0, order1); +} +QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::span(index0); +} +bool PythonQtShell_QAbstractListModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::submit(); +} +Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::supportedDropActions(); +} +void PythonQtShell_QAbstractListModel::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(); + } + } +} + QAbstractListModel::timerEvent(event0); +} +QAbstractListModel* PythonQtWrapper_QAbstractListModel::new_QAbstractListModel(QObject* parent) +{ +return new PythonQtShell_QAbstractListModel(parent); } + +const QMetaObject* PythonQtShell_QAbstractListModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractListModel::staticMetaObject); + } else { + return &QAbstractListModel::staticMetaObject; + } +} +int PythonQtShell_QAbstractListModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractListModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QAbstractState::~PythonQtShell_QAbstractState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractState::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(); + } + } +} + QAbstractState::childEvent(event0); +} +void PythonQtShell_QAbstractState::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(); + } + } +} + QAbstractState::customEvent(event0); +} +bool PythonQtShell_QAbstractState::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 QAbstractState::event(e0); +} +bool PythonQtShell_QAbstractState::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 QAbstractState::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractState::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(); + } + } +} + +} +void PythonQtShell_QAbstractState::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(); + } + } +} + +} +void PythonQtShell_QAbstractState::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(); + } + } +} + QAbstractState::timerEvent(event0); +} +QAbstractState* PythonQtWrapper_QAbstractState::new_QAbstractState(QState* parent) +{ +return new PythonQtShell_QAbstractState(parent); } + +const QMetaObject* PythonQtShell_QAbstractState::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractState::staticMetaObject); + } else { + return &QAbstractState::staticMetaObject; + } +} +int PythonQtShell_QAbstractState::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractState::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QAbstractState::active(QAbstractState* theWrappedObject) const +{ + return ( theWrappedObject->active()); +} + +QStateMachine* PythonQtWrapper_QAbstractState::machine(QAbstractState* theWrappedObject) const +{ + return ( theWrappedObject->machine()); +} + +void PythonQtWrapper_QAbstractState::onEntry(QAbstractState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_onEntry(event)); +} + +void PythonQtWrapper_QAbstractState::onExit(QAbstractState* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_onExit(event)); +} + +QState* PythonQtWrapper_QAbstractState::parentState(QAbstractState* theWrappedObject) const +{ + return ( theWrappedObject->parentState()); +} + + + +PythonQtShell_QAbstractTransition::~PythonQtShell_QAbstractTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractTransition::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(); + } + } +} + QAbstractTransition::childEvent(event0); +} +void PythonQtShell_QAbstractTransition::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(); + } + } +} + QAbstractTransition::customEvent(event0); +} +bool PythonQtShell_QAbstractTransition::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 QAbstractTransition::event(e0); +} +bool PythonQtShell_QAbstractTransition::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 QAbstractTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + 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("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + 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 PythonQtShell_QAbstractTransition::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(); + } + } +} + QAbstractTransition::timerEvent(event0); +} +QAbstractTransition* PythonQtWrapper_QAbstractTransition::new_QAbstractTransition(QState* sourceState) +{ +return new PythonQtShell_QAbstractTransition(sourceState); } + +const QMetaObject* PythonQtShell_QAbstractTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractTransition::staticMetaObject); + } else { + return &QAbstractTransition::staticMetaObject; + } +} +int PythonQtShell_QAbstractTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractTransition::addAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->addAnimation(animation)); +} + +QList PythonQtWrapper_QAbstractTransition::animations(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->animations()); +} + +bool PythonQtWrapper_QAbstractTransition::eventTest(QAbstractTransition* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_eventTest(event)); +} + +QStateMachine* PythonQtWrapper_QAbstractTransition::machine(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->machine()); +} + +void PythonQtWrapper_QAbstractTransition::onTransition(QAbstractTransition* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_onTransition(event)); +} + +void PythonQtWrapper_QAbstractTransition::removeAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation) +{ + ( theWrappedObject->removeAnimation(animation)); +} + +void PythonQtWrapper_QAbstractTransition::setTargetState(QAbstractTransition* theWrappedObject, QAbstractState* target) +{ + ( theWrappedObject->setTargetState(target)); +} + +void PythonQtWrapper_QAbstractTransition::setTargetStates(QAbstractTransition* theWrappedObject, const QList& targets) +{ + ( theWrappedObject->setTargetStates(targets)); +} + +void PythonQtWrapper_QAbstractTransition::setTransitionType(QAbstractTransition* theWrappedObject, QAbstractTransition::TransitionType type) +{ + ( theWrappedObject->setTransitionType(type)); +} + +QState* PythonQtWrapper_QAbstractTransition::sourceState(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->sourceState()); +} + +QAbstractState* PythonQtWrapper_QAbstractTransition::targetState(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->targetState()); +} + +QList PythonQtWrapper_QAbstractTransition::targetStates(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->targetStates()); +} + +QAbstractTransition::TransitionType PythonQtWrapper_QAbstractTransition::transitionType(QAbstractTransition* theWrappedObject) const +{ + return ( theWrappedObject->transitionType()); +} + + + +PythonQtShell_QAnimationGroup::~PythonQtShell_QAnimationGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAnimationGroup::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(); + } + } +} + QAnimationGroup::childEvent(event0); +} +void PythonQtShell_QAnimationGroup::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(); + } + } +} + QAnimationGroup::customEvent(event0); +} +int PythonQtShell_QAnimationGroup::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + 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("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QAnimationGroup::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 QAnimationGroup::event(event0); +} +bool PythonQtShell_QAnimationGroup::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 QAnimationGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QAnimationGroup::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(); + } + } +} + QAnimationGroup::timerEvent(event0); +} +void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + 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*)¤tTime0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAnimationGroup::updateDirection(direction0); +} +void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAnimationGroup::updateState(newState0, oldState1); +} +QAnimationGroup* PythonQtWrapper_QAnimationGroup::new_QAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QAnimationGroup(parent); } + +const QMetaObject* PythonQtShell_QAnimationGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAnimationGroup::staticMetaObject); + } else { + return &QAnimationGroup::staticMetaObject; + } +} +int PythonQtShell_QAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAnimationGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAnimationGroup::addAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToCPP animation) +{ + ( theWrappedObject->addAnimation(animation)); +} + +QAbstractAnimation* PythonQtWrapper_QAnimationGroup::animationAt(QAnimationGroup* theWrappedObject, int index) const +{ + return ( theWrappedObject->animationAt(index)); +} + +int PythonQtWrapper_QAnimationGroup::animationCount(QAnimationGroup* theWrappedObject) const +{ + return ( theWrappedObject->animationCount()); +} + +void PythonQtWrapper_QAnimationGroup::clear(QAnimationGroup* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QAnimationGroup::indexOfAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation) const +{ + return ( theWrappedObject->indexOfAnimation(animation)); +} + +void PythonQtWrapper_QAnimationGroup::insertAnimation(QAnimationGroup* theWrappedObject, int index, PythonQtPassOwnershipToCPP animation) +{ + ( theWrappedObject->insertAnimation(index, animation)); +} + +void PythonQtWrapper_QAnimationGroup::removeAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToPython animation) +{ + ( theWrappedObject->removeAnimation(animation)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QAnimationGroup::takeAnimation(QAnimationGroup* theWrappedObject, int index) +{ + return ( theWrappedObject->takeAnimation(index)); +} + + + +QApplicationStateChangeEvent* PythonQtWrapper_QApplicationStateChangeEvent::new_QApplicationStateChangeEvent(Qt::ApplicationState state) +{ +return new QApplicationStateChangeEvent(state); } + +Qt::ApplicationState PythonQtWrapper_QApplicationStateChangeEvent::applicationState(QApplicationStateChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->applicationState()); +} + + + +PythonQtShell_QBasicMutex::~PythonQtShell_QBasicMutex() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QBasicMutex* PythonQtWrapper_QBasicMutex::new_QBasicMutex() +{ +return new PythonQtShell_QBasicMutex(); } + +bool PythonQtWrapper_QBasicMutex::isRecursive(QBasicMutex* theWrappedObject) +{ + return ( theWrappedObject->isRecursive()); +} + +bool PythonQtWrapper_QBasicMutex::isRecursive(QBasicMutex* theWrappedObject) const +{ + return ( theWrappedObject->isRecursive()); +} + +void PythonQtWrapper_QBasicMutex::lock(QBasicMutex* theWrappedObject) +{ + ( theWrappedObject->lock()); +} + +bool PythonQtWrapper_QBasicMutex::tryLock(QBasicMutex* theWrappedObject) +{ + return ( theWrappedObject->tryLock()); +} + +bool PythonQtWrapper_QBasicMutex::try_lock(QBasicMutex* theWrappedObject) +{ + return ( theWrappedObject->try_lock()); +} + +void PythonQtWrapper_QBasicMutex::unlock(QBasicMutex* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QBasicTimer* PythonQtWrapper_QBasicTimer::new_QBasicTimer() +{ +return new QBasicTimer(); } + +QBasicTimer* PythonQtWrapper_QBasicTimer::new_QBasicTimer(const QBasicTimer& arg__1) +{ +return new QBasicTimer(arg__1); } + +bool PythonQtWrapper_QBasicTimer::isActive(QBasicTimer* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +QBasicTimer* PythonQtWrapper_QBasicTimer::operator_assign(QBasicTimer* theWrappedObject, const QBasicTimer& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, QObject* obj) +{ + ( theWrappedObject->start(msec, obj)); +} + +void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, Qt::TimerType timerType, QObject* obj) +{ + ( theWrappedObject->start(msec, timerType, obj)); +} + +void PythonQtWrapper_QBasicTimer::stop(QBasicTimer* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +void PythonQtWrapper_QBasicTimer::swap(QBasicTimer* theWrappedObject, QBasicTimer& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QBasicTimer::timerId(QBasicTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerId()); +} + + + +PythonQtShell_QBuffer::~PythonQtShell_QBuffer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QBuffer::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::atEnd(); +} +qint64 PythonQtShell_QBuffer::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::bytesAvailable(); +} +qint64 PythonQtShell_QBuffer::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::bytesToWrite(); +} +bool PythonQtShell_QBuffer::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::canReadLine(); +} +void PythonQtShell_QBuffer::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(); + } + } +} + QBuffer::childEvent(event0); +} +void PythonQtShell_QBuffer::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QBuffer::close(); +} +void PythonQtShell_QBuffer::connectNotify(const QMetaMethod& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectNotify"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMetaMethod&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBuffer::connectNotify(arg__1); +} +void PythonQtShell_QBuffer::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(); + } + } +} + QBuffer::customEvent(event0); +} +void PythonQtShell_QBuffer::disconnectNotify(const QMetaMethod& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectNotify"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMetaMethod&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBuffer::disconnectNotify(arg__1); +} +bool PythonQtShell_QBuffer::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 QBuffer::event(event0); +} +bool PythonQtShell_QBuffer::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 QBuffer::eventFilter(watched0, event1); +} +bool PythonQtShell_QBuffer::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::isSequential(); +} +bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::open(openMode0); +} +qint64 PythonQtShell_QBuffer::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::pos(); +} +qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::readData(data0, maxlen1); +} +qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::readLineData(data0, maxlen1); +} +bool PythonQtShell_QBuffer::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::reset(); +} +bool PythonQtShell_QBuffer::seek(qint64 off0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::seek(off0); +} +qint64 PythonQtShell_QBuffer::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::size(); +} +void PythonQtShell_QBuffer::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(); + } + } +} + QBuffer::timerEvent(event0); +} +bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::writeData(data0, len1); +} +QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QByteArray* buf, QObject* parent) +{ +return new PythonQtShell_QBuffer(buf, parent); } + +QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QObject* parent) +{ +return new PythonQtShell_QBuffer(parent); } + +const QMetaObject* PythonQtShell_QBuffer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QBuffer::staticMetaObject); + } else { + return &QBuffer::staticMetaObject; + } +} +int PythonQtShell_QBuffer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QBuffer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +const QByteArray* PythonQtWrapper_QBuffer::buffer(QBuffer* theWrappedObject) const +{ + return &( theWrappedObject->buffer()); +} + +void PythonQtWrapper_QBuffer::connectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1) +{ + ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_connectNotify(arg__1)); +} + +const QByteArray* PythonQtWrapper_QBuffer::data(QBuffer* theWrappedObject) const +{ + return &( theWrappedObject->data()); +} + +void PythonQtWrapper_QBuffer::disconnectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1) +{ + ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_disconnectNotify(arg__1)); +} + +void PythonQtWrapper_QBuffer::setBuffer(QBuffer* theWrappedObject, QByteArray* a) +{ + ( theWrappedObject->setBuffer(a)); +} + +void PythonQtWrapper_QBuffer::setData(QBuffer* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->setData(data)); +} + + + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher() +{ +return new QByteArrayMatcher(); } + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArray& pattern) +{ +return new QByteArrayMatcher(pattern); } + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArrayMatcher& other) +{ +return new QByteArrayMatcher(other); } + +QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const char* pattern, int length) +{ +return new QByteArrayMatcher(pattern, length); } + +int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from) const +{ + return ( theWrappedObject->indexIn(ba, from)); +} + +int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const char* str, int len, int from) const +{ + return ( theWrappedObject->indexIn(str, len, from)); +} + +QByteArray PythonQtWrapper_QByteArrayMatcher::pattern(QByteArrayMatcher* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +void PythonQtWrapper_QByteArrayMatcher::setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + + + +PythonQtShell_QByteArray__FromBase64Result::~PythonQtShell_QByteArray__FromBase64Result() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QByteArray::FromBase64Result* PythonQtWrapper_QByteArray__FromBase64Result::new_QByteArray__FromBase64Result() +{ +return new PythonQtShell_QByteArray__FromBase64Result(); } + +bool PythonQtWrapper_QByteArray__FromBase64Result::operator_cast_bool(QByteArray::FromBase64Result* theWrappedObject) const +{ + return ( theWrappedObject->operator bool()); +} + +bool PythonQtWrapper_QByteArray__FromBase64Result::__ne__(QByteArray::FromBase64Result* theWrappedObject, const QByteArray::FromBase64Result& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QByteArray* PythonQtWrapper_QByteArray__FromBase64Result::__mul__(QByteArray::FromBase64Result* theWrappedObject) +{ + return &(* (*theWrappedObject)); +} + +const QByteArray* PythonQtWrapper_QByteArray__FromBase64Result::__mul__(QByteArray::FromBase64Result* theWrappedObject) const +{ + return &(* (*theWrappedObject)); +} + +bool PythonQtWrapper_QByteArray__FromBase64Result::__eq__(QByteArray::FromBase64Result* theWrappedObject, const QByteArray::FromBase64Result& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QByteArray__FromBase64Result::swap(QByteArray::FromBase64Result* theWrappedObject, QByteArray::FromBase64Result& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QCalendar* PythonQtWrapper_QCalendar::new_QCalendar() +{ +return new QCalendar(); } + +QCalendar* PythonQtWrapper_QCalendar::new_QCalendar(QCalendar::System system) +{ +return new QCalendar(system); } + +QCalendar* PythonQtWrapper_QCalendar::new_QCalendar(QLatin1String name) +{ +return new QCalendar(name); } + +QCalendar* PythonQtWrapper_QCalendar::new_QCalendar(QStringView name) +{ +return new QCalendar(name); } + +QStringList PythonQtWrapper_QCalendar::static_QCalendar_availableCalendars() +{ + return (QCalendar::availableCalendars()); +} + +QDate PythonQtWrapper_QCalendar::dateFromParts(QCalendar* theWrappedObject, const QCalendar::YearMonthDay& parts) const +{ + return ( theWrappedObject->dateFromParts(parts)); +} + +QDate PythonQtWrapper_QCalendar::dateFromParts(QCalendar* theWrappedObject, int year, int month, int day) const +{ + return ( theWrappedObject->dateFromParts(year, month, day)); +} + +QString PythonQtWrapper_QCalendar::dateTimeToString(QCalendar* theWrappedObject, QStringView format, const QDateTime& datetime, const QDate& dateOnly, const QTime& timeOnly, const QLocale& locale) const +{ + return ( theWrappedObject->dateTimeToString(format, datetime, dateOnly, timeOnly, locale)); +} + +int PythonQtWrapper_QCalendar::dayOfWeek(QCalendar* theWrappedObject, QDate date) const +{ + return ( theWrappedObject->dayOfWeek(date)); +} + +int PythonQtWrapper_QCalendar::daysInMonth(QCalendar* theWrappedObject, int month, int year) const +{ + return ( theWrappedObject->daysInMonth(month, year)); +} + +int PythonQtWrapper_QCalendar::daysInYear(QCalendar* theWrappedObject, int year) const +{ + return ( theWrappedObject->daysInYear(year)); +} + +bool PythonQtWrapper_QCalendar::hasYearZero(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->hasYearZero()); +} + +bool PythonQtWrapper_QCalendar::isDateValid(QCalendar* theWrappedObject, int year, int month, int day) const +{ + return ( theWrappedObject->isDateValid(year, month, day)); +} + +bool PythonQtWrapper_QCalendar::isGregorian(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->isGregorian()); +} + +bool PythonQtWrapper_QCalendar::isLeapYear(QCalendar* theWrappedObject, int year) const +{ + return ( theWrappedObject->isLeapYear(year)); +} + +bool PythonQtWrapper_QCalendar::isLunar(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->isLunar()); +} + +bool PythonQtWrapper_QCalendar::isLuniSolar(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->isLuniSolar()); +} + +bool PythonQtWrapper_QCalendar::isProleptic(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->isProleptic()); +} + +bool PythonQtWrapper_QCalendar::isSolar(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->isSolar()); +} + +bool PythonQtWrapper_QCalendar::isValid(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QCalendar::maximumDaysInMonth(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->maximumDaysInMonth()); +} + +int PythonQtWrapper_QCalendar::maximumMonthsInYear(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->maximumMonthsInYear()); +} + +int PythonQtWrapper_QCalendar::minimumDaysInMonth(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->minimumDaysInMonth()); +} + +QString PythonQtWrapper_QCalendar::monthName(QCalendar* theWrappedObject, const QLocale& locale, int month, int year, QLocale::FormatType format) const +{ + return ( theWrappedObject->monthName(locale, month, year, format)); +} + +int PythonQtWrapper_QCalendar::monthsInYear(QCalendar* theWrappedObject, int year) const +{ + return ( theWrappedObject->monthsInYear(year)); +} + +QString PythonQtWrapper_QCalendar::name(QCalendar* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QCalendar::YearMonthDay PythonQtWrapper_QCalendar::partsFromDate(QCalendar* theWrappedObject, QDate date) const +{ + return ( theWrappedObject->partsFromDate(date)); +} + +QString PythonQtWrapper_QCalendar::standaloneMonthName(QCalendar* theWrappedObject, const QLocale& locale, int month, int year, QLocale::FormatType format) const +{ + return ( theWrappedObject->standaloneMonthName(locale, month, year, format)); +} + +QString PythonQtWrapper_QCalendar::standaloneWeekDayName(QCalendar* theWrappedObject, const QLocale& locale, int day, QLocale::FormatType format) const +{ + return ( theWrappedObject->standaloneWeekDayName(locale, day, format)); +} + +QString PythonQtWrapper_QCalendar::weekDayName(QCalendar* theWrappedObject, const QLocale& locale, int day, QLocale::FormatType format) const +{ + return ( theWrappedObject->weekDayName(locale, day, format)); +} + + + +PythonQtShell_QCalendar__YearMonthDay::~PythonQtShell_QCalendar__YearMonthDay() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QCalendar::YearMonthDay* PythonQtWrapper_QCalendar__YearMonthDay::new_QCalendar__YearMonthDay() +{ +return new PythonQtShell_QCalendar__YearMonthDay(); } + +QCalendar::YearMonthDay* PythonQtWrapper_QCalendar__YearMonthDay::new_QCalendar__YearMonthDay(int y, int m, int d) +{ +return new PythonQtShell_QCalendar__YearMonthDay(y, m, d); } + +bool PythonQtWrapper_QCalendar__YearMonthDay::isValid(QCalendar::YearMonthDay* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + + + +QCborArray* PythonQtWrapper_QCborArray::new_QCborArray() +{ +return new QCborArray(); } + +QCborArray* PythonQtWrapper_QCborArray::new_QCborArray(const QCborArray& other) +{ +return new QCborArray(other); } + +void PythonQtWrapper_QCborArray::append(QCborArray* theWrappedObject, const QCborValue& value) +{ + ( theWrappedObject->append(value)); +} + +QCborValue PythonQtWrapper_QCborArray::at(QCborArray* theWrappedObject, qsizetype i) const +{ + return ( theWrappedObject->at(i)); +} + +void PythonQtWrapper_QCborArray::clear(QCborArray* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QCborArray::compare(QCborArray* theWrappedObject, const QCborArray& other) const +{ + return ( theWrappedObject->compare(other)); +} + +bool PythonQtWrapper_QCborArray::contains(QCborArray* theWrappedObject, const QCborValue& value) const +{ + return ( theWrappedObject->contains(value)); +} + +bool PythonQtWrapper_QCborArray::empty(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +QCborValue PythonQtWrapper_QCborArray::first(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->first()); +} + +QCborArray PythonQtWrapper_QCborArray::static_QCborArray_fromJsonArray(const QJsonArray& array) +{ + return (QCborArray::fromJsonArray(array)); +} + +QCborArray PythonQtWrapper_QCborArray::static_QCborArray_fromStringList(const QStringList& list) +{ + return (QCborArray::fromStringList(list)); +} + +QCborArray PythonQtWrapper_QCborArray::static_QCborArray_fromVariantList(const QList& list) +{ + return (QCborArray::fromVariantList(list)); +} + +void PythonQtWrapper_QCborArray::insert(QCborArray* theWrappedObject, qsizetype i, const QCborValue& value) +{ + ( theWrappedObject->insert(i, value)); +} + +bool PythonQtWrapper_QCborArray::isEmpty(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QCborValue PythonQtWrapper_QCborArray::last(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->last()); +} + +bool PythonQtWrapper_QCborArray::__ne__(QCborArray* theWrappedObject, const QCborArray& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QCborArray PythonQtWrapper_QCborArray::__add__(QCborArray* theWrappedObject, const QCborValue& v) const +{ + return ( (*theWrappedObject)+ v); +} + +QCborArray* PythonQtWrapper_QCborArray::__iadd__(QCborArray* theWrappedObject, const QCborValue& v) +{ + return &( (*theWrappedObject)+= v); +} + +bool PythonQtWrapper_QCborArray::__lt__(QCborArray* theWrappedObject, const QCborArray& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QCborArray::writeTo(QCborArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QCborArray* PythonQtWrapper_QCborArray::__lshift__(QCborArray* theWrappedObject, const QCborValue& v) +{ + return &( (*theWrappedObject) <> (*theWrappedObject); +} + +const QCborValue PythonQtWrapper_QCborArray::operator_subscript(QCborArray* theWrappedObject, qsizetype i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QCborArray::pop_back(QCborArray* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QCborArray::pop_front(QCborArray* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QCborArray::prepend(QCborArray* theWrappedObject, const QCborValue& value) +{ + ( theWrappedObject->prepend(value)); +} + +void PythonQtWrapper_QCborArray::push_back(QCborArray* theWrappedObject, const QCborValue& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QCborArray::push_front(QCborArray* theWrappedObject, const QCborValue& t) +{ + ( theWrappedObject->push_front(t)); +} + +void PythonQtWrapper_QCborArray::removeAt(QCborArray* theWrappedObject, qsizetype i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QCborArray::removeFirst(QCborArray* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QCborArray::removeLast(QCborArray* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +qsizetype PythonQtWrapper_QCborArray::size(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QCborArray::swap(QCborArray* theWrappedObject, QCborArray& other) +{ + ( theWrappedObject->swap(other)); +} + +QCborValue PythonQtWrapper_QCborArray::takeAt(QCborArray* theWrappedObject, qsizetype i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QCborValue PythonQtWrapper_QCborArray::takeFirst(QCborArray* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QCborValue PythonQtWrapper_QCborArray::takeLast(QCborArray* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QCborValue PythonQtWrapper_QCborArray::toCborValue(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->toCborValue()); +} + +QJsonArray PythonQtWrapper_QCborArray::toJsonArray(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->toJsonArray()); +} + +QList PythonQtWrapper_QCborArray::toVariantList(QCborArray* theWrappedObject) const +{ + return ( theWrappedObject->toVariantList()); +} + +QString PythonQtWrapper_QCborArray::py_toString(QCborArray* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QCborError::~PythonQtShell_QCborError() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QCborError* PythonQtWrapper_QCborError::new_QCborError() +{ +return new PythonQtShell_QCborError(); } + +QString PythonQtWrapper_QCborError::toString(QCborError* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QCborError::py_toString(QCborError* obj) { return obj->toString(); } + + +QCborMap* PythonQtWrapper_QCborMap::new_QCborMap() +{ +return new QCborMap(); } + +QCborMap* PythonQtWrapper_QCborMap::new_QCborMap(const QCborMap& other) +{ +return new QCborMap(other); } + +void PythonQtWrapper_QCborMap::clear(QCborMap* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QCborMap::compare(QCborMap* theWrappedObject, const QCborMap& other) const +{ + return ( theWrappedObject->compare(other)); +} + +bool PythonQtWrapper_QCborMap::contains(QCborMap* theWrappedObject, const QCborValue& key) const +{ + return ( theWrappedObject->contains(key)); +} + +bool PythonQtWrapper_QCborMap::contains(QCborMap* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->contains(key)); +} + +bool PythonQtWrapper_QCborMap::contains(QCborMap* theWrappedObject, qint64 key) const +{ + return ( theWrappedObject->contains(key)); +} + +bool PythonQtWrapper_QCborMap::empty(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +QCborMap PythonQtWrapper_QCborMap::static_QCborMap_fromJsonObject(const QJsonObject& o) +{ + return (QCborMap::fromJsonObject(o)); +} + +QCborMap PythonQtWrapper_QCborMap::static_QCborMap_fromVariantHash(const QHash& hash) +{ + return (QCborMap::fromVariantHash(hash)); +} + +QCborMap PythonQtWrapper_QCborMap::static_QCborMap_fromVariantMap(const QMap& map) +{ + return (QCborMap::fromVariantMap(map)); +} + +bool PythonQtWrapper_QCborMap::isEmpty(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QVector PythonQtWrapper_QCborMap::keys(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +bool PythonQtWrapper_QCborMap::__ne__(QCborMap* theWrappedObject, const QCborMap& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QCborMap::__lt__(QCborMap* theWrappedObject, const QCborMap& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QCborMap::writeTo(QCborMap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QCborMap* PythonQtWrapper_QCborMap::operator_assign(QCborMap* theWrappedObject, const QCborMap& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QCborMap::__eq__(QCborMap* theWrappedObject, const QCborMap& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QCborMap::readFrom(QCborMap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +const QCborValue PythonQtWrapper_QCborMap::operator_subscript(QCborMap* theWrappedObject, const QCborValue& key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QCborValue PythonQtWrapper_QCborMap::operator_subscript(QCborMap* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QCborValue PythonQtWrapper_QCborMap::operator_subscript(QCborMap* theWrappedObject, qint64 key) const +{ + return ( (*theWrappedObject)[key]); +} + +void PythonQtWrapper_QCborMap::remove(QCborMap* theWrappedObject, const QCborValue& key) +{ + ( theWrappedObject->remove(key)); +} + +void PythonQtWrapper_QCborMap::remove(QCborMap* theWrappedObject, const QString& key) +{ + ( theWrappedObject->remove(key)); +} + +void PythonQtWrapper_QCborMap::remove(QCborMap* theWrappedObject, qint64 key) +{ + ( theWrappedObject->remove(key)); +} + +qsizetype PythonQtWrapper_QCborMap::size(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QCborMap::swap(QCborMap* theWrappedObject, QCborMap& other) +{ + ( theWrappedObject->swap(other)); +} + +QCborValue PythonQtWrapper_QCborMap::take(QCborMap* theWrappedObject, const QCborValue& key) +{ + return ( theWrappedObject->take(key)); +} + +QCborValue PythonQtWrapper_QCborMap::take(QCborMap* theWrappedObject, const QString& key) +{ + return ( theWrappedObject->take(key)); +} + +QCborValue PythonQtWrapper_QCborMap::take(QCborMap* theWrappedObject, qint64 key) +{ + return ( theWrappedObject->take(key)); +} + +QCborValue PythonQtWrapper_QCborMap::toCborValue(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->toCborValue()); +} + +QJsonObject PythonQtWrapper_QCborMap::toJsonObject(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->toJsonObject()); +} + +QHash PythonQtWrapper_QCborMap::toVariantHash(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->toVariantHash()); +} + +QMap PythonQtWrapper_QCborMap::toVariantMap(QCborMap* theWrappedObject) const +{ + return ( theWrappedObject->toVariantMap()); +} + +QCborValue PythonQtWrapper_QCborMap::value(QCborMap* theWrappedObject, const QCborValue& key) const +{ + return ( theWrappedObject->value(key)); +} + +QCborValue PythonQtWrapper_QCborMap::value(QCborMap* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->value(key)); +} + +QCborValue PythonQtWrapper_QCborMap::value(QCborMap* theWrappedObject, qint64 key) const +{ + return ( theWrappedObject->value(key)); +} + +QString PythonQtWrapper_QCborMap::py_toString(QCborMap* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QCborParserError::~PythonQtShell_QCborParserError() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QCborParserError* PythonQtWrapper_QCborParserError::new_QCborParserError() +{ +return new PythonQtShell_QCborParserError(); } + +QString PythonQtWrapper_QCborParserError::errorString(QCborParserError* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + + + +QCborStreamReader* PythonQtWrapper_QCborStreamReader::new_QCborStreamReader() +{ +return new QCborStreamReader(); } + +QCborStreamReader* PythonQtWrapper_QCborStreamReader::new_QCborStreamReader(QIODevice* device) +{ +return new QCborStreamReader(device); } + +QCborStreamReader* PythonQtWrapper_QCborStreamReader::new_QCborStreamReader(const QByteArray& data) +{ +return new QCborStreamReader(data); } + +QCborStreamReader* PythonQtWrapper_QCborStreamReader::new_QCborStreamReader(const char* data, qsizetype len) +{ +return new QCborStreamReader(data, len); } + +QCborStreamReader* PythonQtWrapper_QCborStreamReader::new_QCborStreamReader(const unsigned char* data, qsizetype len) +{ +return new QCborStreamReader(data, len); } + +void PythonQtWrapper_QCborStreamReader::addData(QCborStreamReader* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->addData(data)); +} + +void PythonQtWrapper_QCborStreamReader::addData(QCborStreamReader* theWrappedObject, const char* data, qsizetype len) +{ + ( theWrappedObject->addData(data, len)); +} + +void PythonQtWrapper_QCborStreamReader::addData(QCborStreamReader* theWrappedObject, const unsigned char* data, qsizetype len) +{ + ( theWrappedObject->addData(data, len)); +} + +void PythonQtWrapper_QCborStreamReader::clear(QCborStreamReader* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QCborStreamReader::containerDepth(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->containerDepth()); +} + +qint64 PythonQtWrapper_QCborStreamReader::currentOffset(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->currentOffset()); +} + +qsizetype PythonQtWrapper_QCborStreamReader::currentStringChunkSize(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->currentStringChunkSize()); +} + +QIODevice* PythonQtWrapper_QCborStreamReader::device(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +bool PythonQtWrapper_QCborStreamReader::enterContainer(QCborStreamReader* theWrappedObject) +{ + return ( theWrappedObject->enterContainer()); +} + +bool PythonQtWrapper_QCborStreamReader::hasNext(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->hasNext()); +} + +bool PythonQtWrapper_QCborStreamReader::isArray(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QCborStreamReader::isBool(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isBool()); +} + +bool PythonQtWrapper_QCborStreamReader::isByteArray(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isByteArray()); +} + +bool PythonQtWrapper_QCborStreamReader::isContainer(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isContainer()); +} + +bool PythonQtWrapper_QCborStreamReader::isDouble(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isDouble()); +} + +bool PythonQtWrapper_QCborStreamReader::isFalse(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isFalse()); +} + +bool PythonQtWrapper_QCborStreamReader::isFloat(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isFloat()); +} + +bool PythonQtWrapper_QCborStreamReader::isFloat16(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isFloat16()); +} + +bool PythonQtWrapper_QCborStreamReader::isInteger(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isInteger()); +} + +bool PythonQtWrapper_QCborStreamReader::isInvalid(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isInvalid()); +} + +bool PythonQtWrapper_QCborStreamReader::isLengthKnown(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isLengthKnown()); +} + +bool PythonQtWrapper_QCborStreamReader::isMap(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isMap()); +} + +bool PythonQtWrapper_QCborStreamReader::isNegativeInteger(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isNegativeInteger()); +} + +bool PythonQtWrapper_QCborStreamReader::isNull(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QCborStreamReader::isSimpleType(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isSimpleType()); +} + +bool PythonQtWrapper_QCborStreamReader::isSimpleType(QCborStreamReader* theWrappedObject, QCborSimpleType st) const +{ + return ( theWrappedObject->isSimpleType(st)); +} + +bool PythonQtWrapper_QCborStreamReader::isString(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isString()); +} + +bool PythonQtWrapper_QCborStreamReader::isTag(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isTag()); +} + +bool PythonQtWrapper_QCborStreamReader::isTrue(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isTrue()); +} + +bool PythonQtWrapper_QCborStreamReader::isUndefined(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isUndefined()); +} + +bool PythonQtWrapper_QCborStreamReader::isUnsignedInteger(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isUnsignedInteger()); +} + +bool PythonQtWrapper_QCborStreamReader::isValid(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QCborError PythonQtWrapper_QCborStreamReader::lastError(QCborStreamReader* theWrappedObject) +{ + return ( theWrappedObject->lastError()); +} + +bool PythonQtWrapper_QCborStreamReader::leaveContainer(QCborStreamReader* theWrappedObject) +{ + return ( theWrappedObject->leaveContainer()); +} + +quint64 PythonQtWrapper_QCborStreamReader::length(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QCborStreamReader::next(QCborStreamReader* theWrappedObject, int maxRecursion) +{ + return ( theWrappedObject->next(maxRecursion)); +} + +QCborStreamReader::Type PythonQtWrapper_QCborStreamReader::parentContainerType(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->parentContainerType()); +} + +void PythonQtWrapper_QCborStreamReader::reparse(QCborStreamReader* theWrappedObject) +{ + ( theWrappedObject->reparse()); +} + +void PythonQtWrapper_QCborStreamReader::reset(QCborStreamReader* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QCborStreamReader::setDevice(QCborStreamReader* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +bool PythonQtWrapper_QCborStreamReader::toBool(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->toBool()); +} + +double PythonQtWrapper_QCborStreamReader::toDouble(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->toDouble()); +} + +float PythonQtWrapper_QCborStreamReader::toFloat(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->toFloat()); +} + +qint64 PythonQtWrapper_QCborStreamReader::toInteger(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->toInteger()); +} + +QCborSimpleType PythonQtWrapper_QCborStreamReader::toSimpleType(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->toSimpleType()); +} + +quint64 PythonQtWrapper_QCborStreamReader::toUnsignedInteger(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->toUnsignedInteger()); +} + +QCborStreamReader::Type PythonQtWrapper_QCborStreamReader::type(QCborStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +QCborStreamWriter* PythonQtWrapper_QCborStreamWriter::new_QCborStreamWriter(QByteArray* data) +{ +return new QCborStreamWriter(data); } + +QCborStreamWriter* PythonQtWrapper_QCborStreamWriter::new_QCborStreamWriter(QIODevice* device) +{ +return new QCborStreamWriter(device); } + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, QCborKnownTags tag) +{ + ( theWrappedObject->append(tag)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, QCborSimpleType st) +{ + ( theWrappedObject->append(st)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, QLatin1String str) +{ + ( theWrappedObject->append(str)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, QStringView str) +{ + ( theWrappedObject->append(str)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, bool b) +{ + ( theWrappedObject->append(b)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, const QByteArray& ba) +{ + ( theWrappedObject->append(ba)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, double d) +{ + ( theWrappedObject->append(d)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, float f) +{ + ( theWrappedObject->append(f)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, int i) +{ + ( theWrappedObject->append(i)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, qint64 i) +{ + ( theWrappedObject->append(i)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, quint64 u) +{ + ( theWrappedObject->append(u)); +} + +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, uint u) +{ + ( theWrappedObject->append(u)); +} + +void PythonQtWrapper_QCborStreamWriter::appendByteString(QCborStreamWriter* theWrappedObject, const char* data, qsizetype len) +{ + ( theWrappedObject->appendByteString(data, len)); +} + +void PythonQtWrapper_QCborStreamWriter::appendNull(QCborStreamWriter* theWrappedObject) +{ + ( theWrappedObject->appendNull()); +} + +void PythonQtWrapper_QCborStreamWriter::appendTextString(QCborStreamWriter* theWrappedObject, const char* utf8, qsizetype len) +{ + ( theWrappedObject->appendTextString(utf8, len)); +} + +void PythonQtWrapper_QCborStreamWriter::appendUndefined(QCborStreamWriter* theWrappedObject) +{ + ( theWrappedObject->appendUndefined()); +} + +QIODevice* PythonQtWrapper_QCborStreamWriter::device(QCborStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +bool PythonQtWrapper_QCborStreamWriter::endArray(QCborStreamWriter* theWrappedObject) +{ + return ( theWrappedObject->endArray()); +} + +bool PythonQtWrapper_QCborStreamWriter::endMap(QCborStreamWriter* theWrappedObject) +{ + return ( theWrappedObject->endMap()); +} + +void PythonQtWrapper_QCborStreamWriter::setDevice(QCborStreamWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QCborStreamWriter::startArray(QCborStreamWriter* theWrappedObject) +{ + ( theWrappedObject->startArray()); +} + +void PythonQtWrapper_QCborStreamWriter::startArray(QCborStreamWriter* theWrappedObject, quint64 count) +{ + ( theWrappedObject->startArray(count)); +} + +void PythonQtWrapper_QCborStreamWriter::startMap(QCborStreamWriter* theWrappedObject) +{ + ( theWrappedObject->startMap()); +} + +void PythonQtWrapper_QCborStreamWriter::startMap(QCborStreamWriter* theWrappedObject, quint64 count) +{ + ( theWrappedObject->startMap(count)); +} + + + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue() +{ +return new QCborValue(); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(QCborKnownTags t_, const QCborValue& tv) +{ +return new QCborValue(t_, tv); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(QCborSimpleType st) +{ +return new QCborValue(st); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(QCborValue::Type t_) +{ +return new QCborValue(t_); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(bool b_) +{ +return new QCborValue(b_); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QByteArray& ba) +{ +return new QCborValue(ba); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QCborArray& a) +{ +return new QCborValue(a); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QCborMap& m) +{ +return new QCborValue(m); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QCborValue& other) +{ +return new QCborValue(other); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QDateTime& dt) +{ +return new QCborValue(dt); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QRegularExpression& rx) +{ +return new QCborValue(rx); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QString& s) +{ +return new QCborValue(s); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QUrl& url) +{ +return new QCborValue(url); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QUuid& uuid) +{ +return new QCborValue(uuid); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const char* s) +{ +return new QCborValue(s); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(double v) +{ +return new QCborValue(v); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(int i) +{ +return new QCborValue(i); } + +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(qint64 i) +{ +return new QCborValue(i); } + +int PythonQtWrapper_QCborValue::compare(QCborValue* theWrappedObject, const QCborValue& other) const +{ + return ( theWrappedObject->compare(other)); +} + +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(QCborStreamReader& reader) +{ + return (QCborValue::fromCbor(reader)); +} + +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(const QByteArray& ba, QCborParserError* error) +{ + return (QCborValue::fromCbor(ba, error)); +} + +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(const char* data, qsizetype len, QCborParserError* error) +{ + return (QCborValue::fromCbor(data, len, error)); +} + +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(const unsigned char* data, qsizetype len, QCborParserError* error) +{ + return (QCborValue::fromCbor(data, len, error)); +} + +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromJsonValue(const QJsonValue& v) +{ + return (QCborValue::fromJsonValue(v)); +} + +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromVariant(const QVariant& variant) +{ + return (QCborValue::fromVariant(variant)); +} + +bool PythonQtWrapper_QCborValue::isArray(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QCborValue::isBool(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isBool()); +} + +bool PythonQtWrapper_QCborValue::isByteArray(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isByteArray()); +} + +bool PythonQtWrapper_QCborValue::isContainer(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isContainer()); +} + +bool PythonQtWrapper_QCborValue::isDateTime(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isDateTime()); +} + +bool PythonQtWrapper_QCborValue::isDouble(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isDouble()); +} + +bool PythonQtWrapper_QCborValue::isFalse(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isFalse()); +} + +bool PythonQtWrapper_QCborValue::isInteger(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isInteger()); +} + +bool PythonQtWrapper_QCborValue::isInvalid(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isInvalid()); +} + +bool PythonQtWrapper_QCborValue::isMap(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isMap()); +} + +bool PythonQtWrapper_QCborValue::isNull(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QCborValue::isRegularExpression(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isRegularExpression()); +} + +bool PythonQtWrapper_QCborValue::isSimpleType(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isSimpleType()); +} + +bool PythonQtWrapper_QCborValue::isSimpleType(QCborValue* theWrappedObject, QCborSimpleType st) const +{ + return ( theWrappedObject->isSimpleType(st)); +} + +bool PythonQtWrapper_QCborValue::isString(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isString()); +} + +bool PythonQtWrapper_QCborValue::isTag(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isTag()); +} + +bool PythonQtWrapper_QCborValue::isTrue(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isTrue()); +} + +bool PythonQtWrapper_QCborValue::isUndefined(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isUndefined()); +} + +bool PythonQtWrapper_QCborValue::isUrl(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isUrl()); +} + +bool PythonQtWrapper_QCborValue::isUuid(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->isUuid()); +} + +bool PythonQtWrapper_QCborValue::__ne__(QCborValue* theWrappedObject, const QCborValue& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QCborValue::__lt__(QCborValue* theWrappedObject, const QCborValue& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QCborValue::writeTo(QCborValue* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QCborValue* PythonQtWrapper_QCborValue::operator_assign(QCborValue* theWrappedObject, const QCborValue& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QCborValue::__eq__(QCborValue* theWrappedObject, const QCborValue& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QCborValue::readFrom(QCborValue* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +const QCborValue PythonQtWrapper_QCborValue::operator_subscript(QCborValue* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QCborValue PythonQtWrapper_QCborValue::operator_subscript(QCborValue* theWrappedObject, qint64 key) const +{ + return ( (*theWrappedObject)[key]); +} + +void PythonQtWrapper_QCborValue::swap(QCborValue* theWrappedObject, QCborValue& other) +{ + ( theWrappedObject->swap(other)); +} + +QCborValue PythonQtWrapper_QCborValue::taggedValue(QCborValue* theWrappedObject, const QCborValue& defaultValue) const +{ + return ( theWrappedObject->taggedValue(defaultValue)); +} + +QCborArray PythonQtWrapper_QCborValue::toArray(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->toArray()); +} + +QCborArray PythonQtWrapper_QCborValue::toArray(QCborValue* theWrappedObject, const QCborArray& defaultValue) const +{ + return ( theWrappedObject->toArray(defaultValue)); +} + +bool PythonQtWrapper_QCborValue::toBool(QCborValue* theWrappedObject, bool defaultValue) const +{ + return ( theWrappedObject->toBool(defaultValue)); +} + +QByteArray PythonQtWrapper_QCborValue::toByteArray(QCborValue* theWrappedObject, const QByteArray& defaultValue) const +{ + return ( theWrappedObject->toByteArray(defaultValue)); +} + +void PythonQtWrapper_QCborValue::toCbor(QCborValue* theWrappedObject, QCborStreamWriter& writer, QCborValue::EncodingOptions opt) +{ + ( theWrappedObject->toCbor(writer, opt)); +} + +QByteArray PythonQtWrapper_QCborValue::toCbor(QCborValue* theWrappedObject, QCborValue::EncodingOptions opt) +{ + return ( theWrappedObject->toCbor(opt)); +} + +QDateTime PythonQtWrapper_QCborValue::toDateTime(QCborValue* theWrappedObject, const QDateTime& defaultValue) const +{ + return ( theWrappedObject->toDateTime(defaultValue)); +} + +QString PythonQtWrapper_QCborValue::toDiagnosticNotation(QCborValue* theWrappedObject, QCborValue::DiagnosticNotationOptions opts) const +{ + return ( theWrappedObject->toDiagnosticNotation(opts)); +} + +double PythonQtWrapper_QCborValue::toDouble(QCborValue* theWrappedObject, double defaultValue) const +{ + return ( theWrappedObject->toDouble(defaultValue)); +} + +qint64 PythonQtWrapper_QCborValue::toInteger(QCborValue* theWrappedObject, qint64 defaultValue) const +{ + return ( theWrappedObject->toInteger(defaultValue)); +} + +QJsonValue PythonQtWrapper_QCborValue::toJsonValue(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->toJsonValue()); +} + +QCborMap PythonQtWrapper_QCborValue::toMap(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->toMap()); +} + +QCborMap PythonQtWrapper_QCborValue::toMap(QCborValue* theWrappedObject, const QCborMap& defaultValue) const +{ + return ( theWrappedObject->toMap(defaultValue)); +} + +QRegularExpression PythonQtWrapper_QCborValue::toRegularExpression(QCborValue* theWrappedObject, const QRegularExpression& defaultValue) const +{ + return ( theWrappedObject->toRegularExpression(defaultValue)); +} + +QCborSimpleType PythonQtWrapper_QCborValue::toSimpleType(QCborValue* theWrappedObject, QCborSimpleType defaultValue) const +{ + return ( theWrappedObject->toSimpleType(defaultValue)); +} + +QString PythonQtWrapper_QCborValue::toString(QCborValue* theWrappedObject, const QString& defaultValue) const +{ + return ( theWrappedObject->toString(defaultValue)); +} + +QUrl PythonQtWrapper_QCborValue::toUrl(QCborValue* theWrappedObject, const QUrl& defaultValue) const +{ + return ( theWrappedObject->toUrl(defaultValue)); +} + +QUuid PythonQtWrapper_QCborValue::toUuid(QCborValue* theWrappedObject, const QUuid& defaultValue) const +{ + return ( theWrappedObject->toUuid(defaultValue)); +} + +QVariant PythonQtWrapper_QCborValue::toVariant(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->toVariant()); +} + +QCborValue::Type PythonQtWrapper_QCborValue::type(QCborValue* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QCborValue::py_toString(QCborValue* obj) { return obj->toString(); } + + +PythonQtShell_QChildEvent::~PythonQtShell_QChildEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QChildEvent* PythonQtWrapper_QChildEvent::new_QChildEvent(QEvent::Type type, QObject* child) +{ +return new PythonQtShell_QChildEvent(type, child); } + +bool PythonQtWrapper_QChildEvent::added(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->added()); +} + +QObject* PythonQtWrapper_QChildEvent::child(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->child()); +} + +bool PythonQtWrapper_QChildEvent::polished(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->polished()); +} + +bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const +{ + return ( theWrappedObject->removed()); +} + + + +QCollator* PythonQtWrapper_QCollator::new_QCollator() +{ +return new QCollator(); } + +QCollator* PythonQtWrapper_QCollator::new_QCollator(const QCollator& arg__1) +{ +return new QCollator(arg__1); } + +QCollator* PythonQtWrapper_QCollator::new_QCollator(const QLocale& locale) +{ +return new QCollator(locale); } + +Qt::CaseSensitivity PythonQtWrapper_QCollator::caseSensitivity(QCollator* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QChar* s1, int len1, const QChar* s2, int len2) const +{ + return ( theWrappedObject->compare(s1, len1, s2, len2)); +} + +int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QString& s1, const QString& s2) const +{ + return ( theWrappedObject->compare(s1, s2)); +} + +bool PythonQtWrapper_QCollator::ignorePunctuation(QCollator* theWrappedObject) const +{ + return ( theWrappedObject->ignorePunctuation()); +} + +QLocale PythonQtWrapper_QCollator::locale(QCollator* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +bool PythonQtWrapper_QCollator::numericMode(QCollator* theWrappedObject) const +{ + return ( theWrappedObject->numericMode()); +} + +bool PythonQtWrapper_QCollator::operator_cast_(QCollator* theWrappedObject, const QString& s1, const QString& s2) const +{ + return ( theWrappedObject->operator()(s1, s2)); +} + +QCollator* PythonQtWrapper_QCollator::operator_assign(QCollator* theWrappedObject, const QCollator& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +void PythonQtWrapper_QCollator::setCaseSensitivity(QCollator* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setCaseSensitivity(cs)); +} + +void PythonQtWrapper_QCollator::setIgnorePunctuation(QCollator* theWrappedObject, bool on) +{ + ( theWrappedObject->setIgnorePunctuation(on)); +} + +void PythonQtWrapper_QCollator::setLocale(QCollator* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +void PythonQtWrapper_QCollator::setNumericMode(QCollator* theWrappedObject, bool on) +{ + ( theWrappedObject->setNumericMode(on)); +} + +QCollatorSortKey PythonQtWrapper_QCollator::sortKey(QCollator* theWrappedObject, const QString& string) const +{ + return ( theWrappedObject->sortKey(string)); +} + +void PythonQtWrapper_QCollator::swap(QCollator* theWrappedObject, QCollator& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::new_QCollatorSortKey(const QCollatorSortKey& other) +{ +return new QCollatorSortKey(other); } + +int PythonQtWrapper_QCollatorSortKey::compare(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& key) const +{ + return ( theWrappedObject->compare(key)); +} + +bool PythonQtWrapper_QCollatorSortKey::__lt__(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& rhs) +{ + return ( (*theWrappedObject)< rhs); +} + +QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::operator_assign(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QCollatorSortKey::swap(QCollatorSortKey* theWrappedObject, QCollatorSortKey& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QCommandLineOption& other) +{ +return new QCommandLineOption(other); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QString& name) +{ +return new QCommandLineOption(name); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QString& name, const QString& description, const QString& valueName, const QString& defaultValue) +{ +return new QCommandLineOption(name, description, valueName, defaultValue); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QStringList& names) +{ +return new QCommandLineOption(names); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QStringList& names, const QString& description, const QString& valueName, const QString& defaultValue) +{ +return new QCommandLineOption(names, description, valueName, defaultValue); } + +QStringList PythonQtWrapper_QCommandLineOption::defaultValues(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->defaultValues()); +} + +QString PythonQtWrapper_QCommandLineOption::description(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +bool PythonQtWrapper_QCommandLineOption::isHidden(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +QStringList PythonQtWrapper_QCommandLineOption::names(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->names()); +} + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::operator_assign(QCommandLineOption* theWrappedObject, const QCommandLineOption& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QCommandLineOption::setDefaultValue(QCommandLineOption* theWrappedObject, const QString& defaultValue) +{ + ( theWrappedObject->setDefaultValue(defaultValue)); +} + +void PythonQtWrapper_QCommandLineOption::setDefaultValues(QCommandLineOption* theWrappedObject, const QStringList& defaultValues) +{ + ( theWrappedObject->setDefaultValues(defaultValues)); +} + +void PythonQtWrapper_QCommandLineOption::setDescription(QCommandLineOption* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setDescription(description)); +} + +void PythonQtWrapper_QCommandLineOption::setHidden(QCommandLineOption* theWrappedObject, bool hidden) +{ + ( theWrappedObject->setHidden(hidden)); +} + +void PythonQtWrapper_QCommandLineOption::setValueName(QCommandLineOption* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setValueName(name)); +} + +void PythonQtWrapper_QCommandLineOption::swap(QCommandLineOption* theWrappedObject, QCommandLineOption& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QCommandLineOption::valueName(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->valueName()); +} + + + +QCommandLineParser* PythonQtWrapper_QCommandLineParser::new_QCommandLineParser() +{ +return new QCommandLineParser(); } + +QCommandLineOption PythonQtWrapper_QCommandLineParser::addHelpOption(QCommandLineParser* theWrappedObject) +{ + return ( theWrappedObject->addHelpOption()); +} + +bool PythonQtWrapper_QCommandLineParser::addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption) +{ + return ( theWrappedObject->addOption(commandLineOption)); +} + +bool PythonQtWrapper_QCommandLineParser::addOptions(QCommandLineParser* theWrappedObject, const QList& options) +{ + return ( theWrappedObject->addOptions(options)); +} + +void PythonQtWrapper_QCommandLineParser::addPositionalArgument(QCommandLineParser* theWrappedObject, const QString& name, const QString& description, const QString& syntax) +{ + ( theWrappedObject->addPositionalArgument(name, description, syntax)); +} + +QCommandLineOption PythonQtWrapper_QCommandLineParser::addVersionOption(QCommandLineParser* theWrappedObject) +{ + return ( theWrappedObject->addVersionOption()); +} + +QString PythonQtWrapper_QCommandLineParser::applicationDescription(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->applicationDescription()); +} + +void PythonQtWrapper_QCommandLineParser::clearPositionalArguments(QCommandLineParser* theWrappedObject) +{ + ( theWrappedObject->clearPositionalArguments()); +} + +QString PythonQtWrapper_QCommandLineParser::errorText(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->errorText()); +} + +QString PythonQtWrapper_QCommandLineParser::helpText(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->helpText()); +} + +bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +{ + return ( theWrappedObject->isSet(option)); +} + +bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->isSet(name)); +} + +QStringList PythonQtWrapper_QCommandLineParser::optionNames(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->optionNames()); +} + +bool PythonQtWrapper_QCommandLineParser::parse(QCommandLineParser* theWrappedObject, const QStringList& arguments) +{ + return ( theWrappedObject->parse(arguments)); +} + +QStringList PythonQtWrapper_QCommandLineParser::positionalArguments(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->positionalArguments()); +} + +void PythonQtWrapper_QCommandLineParser::process(QCommandLineParser* theWrappedObject, const QCoreApplication& app) +{ + ( theWrappedObject->process(app)); +} + +void PythonQtWrapper_QCommandLineParser::process(QCommandLineParser* theWrappedObject, const QStringList& arguments) +{ + ( theWrappedObject->process(arguments)); +} + +void PythonQtWrapper_QCommandLineParser::setApplicationDescription(QCommandLineParser* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setApplicationDescription(description)); +} + +void PythonQtWrapper_QCommandLineParser::setOptionsAfterPositionalArgumentsMode(QCommandLineParser* theWrappedObject, QCommandLineParser::OptionsAfterPositionalArgumentsMode mode) +{ + ( theWrappedObject->setOptionsAfterPositionalArgumentsMode(mode)); +} + +void PythonQtWrapper_QCommandLineParser::setSingleDashWordOptionMode(QCommandLineParser* theWrappedObject, QCommandLineParser::SingleDashWordOptionMode parsingMode) +{ + ( theWrappedObject->setSingleDashWordOptionMode(parsingMode)); +} + +void PythonQtWrapper_QCommandLineParser::showHelp(QCommandLineParser* theWrappedObject, int exitCode) +{ + ( theWrappedObject->showHelp(exitCode)); +} + +void PythonQtWrapper_QCommandLineParser::showVersion(QCommandLineParser* theWrappedObject) +{ + ( theWrappedObject->showVersion()); +} + +QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_tr(const char* sourceText, const char* disambiguation, int n) +{ + return (QCommandLineParser::tr(sourceText, disambiguation, n)); +} + +QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_trUtf8(const char* sourceText, const char* disambiguation, int n) +{ + return (QCommandLineParser::trUtf8(sourceText, disambiguation, n)); +} + +QStringList PythonQtWrapper_QCommandLineParser::unknownOptionNames(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->unknownOptionNames()); +} + +QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +{ + return ( theWrappedObject->value(option)); +} + +QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->value(name)); +} + +QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +{ + return ( theWrappedObject->values(option)); +} + +QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->values(name)); +} + + + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_addLibraryPath(const QString& arg__1) +{ + (QCoreApplication::addLibraryPath(arg__1)); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationDirPath() +{ + return (QCoreApplication::applicationDirPath()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationFilePath() +{ + return (QCoreApplication::applicationFilePath()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationName() +{ + return (QCoreApplication::applicationName()); +} + +qint64 PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationPid() +{ + return (QCoreApplication::applicationPid()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationVersion() +{ + return (QCoreApplication::applicationVersion()); +} + +QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_arguments() +{ + return (QCoreApplication::arguments()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_closingDown() +{ + return (QCoreApplication::closingDown()); +} + +QAbstractEventDispatcher* PythonQtWrapper_QCoreApplication::static_QCoreApplication_eventDispatcher() +{ + return (QCoreApplication::eventDispatcher()); +} + +int PythonQtWrapper_QCoreApplication::static_QCoreApplication_exec() +{ + return (QCoreApplication::exec()); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_exit(int retcode) +{ + (QCoreApplication::exit(retcode)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_flush() +{ + (QCoreApplication::flush()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_hasPendingEvents() +{ + return (QCoreApplication::hasPendingEvents()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_installTranslator(QTranslator* messageFile) +{ + return (QCoreApplication::installTranslator(messageFile)); +} + +QCoreApplication* PythonQtWrapper_QCoreApplication::static_QCoreApplication_instance() +{ + return (QCoreApplication::instance()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isQuitLockEnabled() +{ + return (QCoreApplication::isQuitLockEnabled()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isSetuidAllowed() +{ + return (QCoreApplication::isSetuidAllowed()); +} + +QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_libraryPaths() +{ + return (QCoreApplication::libraryPaths()); +} + +bool PythonQtWrapper_QCoreApplication::notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) +{ + return ( theWrappedObject->notify(arg__1, arg__2)); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationDomain() +{ + return (QCoreApplication::organizationDomain()); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationName() +{ + return (QCoreApplication::organizationName()); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, PythonQtPassOwnershipToCPP event, int priority) +{ + (QCoreApplication::postEvent(receiver, event, priority)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags) +{ + (QCoreApplication::processEvents(flags)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime) +{ + (QCoreApplication::processEvents(flags, maxtime)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeLibraryPath(const QString& arg__1) +{ + (QCoreApplication::removeLibraryPath(arg__1)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType) +{ + (QCoreApplication::removePostedEvents(receiver, eventType)); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeTranslator(QTranslator* messageFile) +{ + return (QCoreApplication::removeTranslator(messageFile)); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event) +{ + return (QCoreApplication::sendEvent(receiver, event)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type) +{ + (QCoreApplication::sendPostedEvents(receiver, event_type)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationName(const QString& application) +{ + (QCoreApplication::setApplicationName(application)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationVersion(const QString& version) +{ + (QCoreApplication::setApplicationVersion(version)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on) +{ + (QCoreApplication::setAttribute(attribute, on)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setEventDispatcher(QAbstractEventDispatcher* eventDispatcher) +{ + (QCoreApplication::setEventDispatcher(eventDispatcher)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setLibraryPaths(const QStringList& arg__1) +{ + (QCoreApplication::setLibraryPaths(arg__1)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationDomain(const QString& orgDomain) +{ + (QCoreApplication::setOrganizationDomain(orgDomain)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationName(const QString& orgName) +{ + (QCoreApplication::setOrganizationName(orgName)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setQuitLockEnabled(bool enabled) +{ + (QCoreApplication::setQuitLockEnabled(enabled)); +} + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setSetuidAllowed(bool allow) +{ + (QCoreApplication::setSetuidAllowed(allow)); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_startingUp() +{ + return (QCoreApplication::startingUp()); +} + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute) +{ + return (QCoreApplication::testAttribute(attribute)); +} + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation, int n) +{ + return (QCoreApplication::translate(context, key, disambiguation, n)); +} + + + +QCryptographicHash* PythonQtWrapper_QCryptographicHash::new_QCryptographicHash(QCryptographicHash::Algorithm method) +{ +return new QCryptographicHash(method); } + +bool PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, QIODevice* device) +{ + return ( theWrappedObject->addData(device)); +} + +void PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->addData(data)); +} + +QByteArray PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method) +{ + return (QCryptographicHash::hash(data, method)); +} + +int PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hashLength(QCryptographicHash::Algorithm method) +{ + return (QCryptographicHash::hashLength(method)); +} + +void PythonQtWrapper_QCryptographicHash::reset(QCryptographicHash* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QByteArray PythonQtWrapper_QCryptographicHash::result(QCryptographicHash* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + + + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream() +{ +return new QDataStream(); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags) +{ +return new QDataStream(arg__1, flags); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QIODevice* arg__1) +{ +return new QDataStream(arg__1); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(const QByteArray& arg__1) +{ +return new QDataStream(arg__1); } + +void PythonQtWrapper_QDataStream::abortTransaction(QDataStream* theWrappedObject) +{ + ( theWrappedObject->abortTransaction()); +} + +bool PythonQtWrapper_QDataStream::atEnd(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +QDataStream::ByteOrder PythonQtWrapper_QDataStream::byteOrder(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->byteOrder()); +} + +bool PythonQtWrapper_QDataStream::commitTransaction(QDataStream* theWrappedObject) +{ + return ( theWrappedObject->commitTransaction()); +} + +QIODevice* PythonQtWrapper_QDataStream::device(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QDataStream::FloatingPointPrecision PythonQtWrapper_QDataStream::floatingPointPrecision(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->floatingPointPrecision()); +} + +void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject) +{ + ( theWrappedObject->resetStatus()); +} + +void PythonQtWrapper_QDataStream::rollbackTransaction(QDataStream* theWrappedObject) +{ + ( theWrappedObject->rollbackTransaction()); +} + +void PythonQtWrapper_QDataStream::setByteOrder(QDataStream* theWrappedObject, QDataStream::ByteOrder arg__1) +{ + ( theWrappedObject->setByteOrder(arg__1)); +} + +void PythonQtWrapper_QDataStream::setDevice(QDataStream* theWrappedObject, QIODevice* arg__1) +{ + ( theWrappedObject->setDevice(arg__1)); +} + +void PythonQtWrapper_QDataStream::setFloatingPointPrecision(QDataStream* theWrappedObject, QDataStream::FloatingPointPrecision precision) +{ + ( theWrappedObject->setFloatingPointPrecision(precision)); +} + +void PythonQtWrapper_QDataStream::setStatus(QDataStream* theWrappedObject, QDataStream::Status status) +{ + ( theWrappedObject->setStatus(status)); +} + +void PythonQtWrapper_QDataStream::setVersion(QDataStream* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setVersion(arg__1)); +} + +int PythonQtWrapper_QDataStream::skipRawData(QDataStream* theWrappedObject, int len) +{ + return ( theWrappedObject->skipRawData(len)); +} + +void PythonQtWrapper_QDataStream::startTransaction(QDataStream* theWrappedObject) +{ + ( theWrappedObject->startTransaction()); +} + +QDataStream::Status PythonQtWrapper_QDataStream::status(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +void PythonQtWrapper_QDataStream::unsetDevice(QDataStream* theWrappedObject) +{ + ( theWrappedObject->unsetDevice()); +} + +int PythonQtWrapper_QDataStream::version(QDataStream* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + + + +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::new_QDeadlineTimer(QDeadlineTimer::ForeverConstant arg__1, Qt::TimerType type_) +{ +return new QDeadlineTimer(arg__1, type_); } + +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::new_QDeadlineTimer(Qt::TimerType type_) +{ +return new QDeadlineTimer(type_); } + +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::new_QDeadlineTimer(qint64 msecs, Qt::TimerType type) +{ +return new QDeadlineTimer(msecs, type); } + +QDeadlineTimer PythonQtWrapper_QDeadlineTimer::static_QDeadlineTimer_addNSecs(QDeadlineTimer dt, qint64 nsecs) +{ + return (QDeadlineTimer::addNSecs(dt, nsecs)); +} + +QDeadlineTimer PythonQtWrapper_QDeadlineTimer::static_QDeadlineTimer_current(Qt::TimerType timerType) +{ + return (QDeadlineTimer::current(timerType)); +} + +qint64 PythonQtWrapper_QDeadlineTimer::deadline(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->deadline()); +} + +qint64 PythonQtWrapper_QDeadlineTimer::deadlineNSecs(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->deadlineNSecs()); +} + +bool PythonQtWrapper_QDeadlineTimer::hasExpired(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->hasExpired()); +} + +bool PythonQtWrapper_QDeadlineTimer::isForever(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->isForever()); +} + +bool PythonQtWrapper_QDeadlineTimer::__ne__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2) +{ + return ( (*theWrappedObject)!= d2); +} + +QDeadlineTimer PythonQtWrapper_QDeadlineTimer::__add__(QDeadlineTimer* theWrappedObject, qint64 msecs) +{ + return ( (*theWrappedObject)+ msecs); +} + +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::__iadd__(QDeadlineTimer* theWrappedObject, qint64 msecs) +{ + return &( (*theWrappedObject)+= msecs); +} + +qint64 PythonQtWrapper_QDeadlineTimer::__sub__(QDeadlineTimer* theWrappedObject, QDeadlineTimer dt2) +{ + return ( (*theWrappedObject)- dt2); +} + +QDeadlineTimer PythonQtWrapper_QDeadlineTimer::__sub__(QDeadlineTimer* theWrappedObject, qint64 msecs) +{ + return ( (*theWrappedObject)- msecs); +} + +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::__isub__(QDeadlineTimer* theWrappedObject, qint64 msecs) +{ + return &( (*theWrappedObject)-= msecs); +} + +bool PythonQtWrapper_QDeadlineTimer::__lt__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2) +{ + return ( (*theWrappedObject)< d2); +} + +bool PythonQtWrapper_QDeadlineTimer::__le__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2) +{ + return ( (*theWrappedObject)<= d2); +} + +bool PythonQtWrapper_QDeadlineTimer::__eq__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2) +{ + return ( (*theWrappedObject)== d2); +} + +bool PythonQtWrapper_QDeadlineTimer::__gt__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2) +{ + return ( (*theWrappedObject)> d2); +} + +bool PythonQtWrapper_QDeadlineTimer::__ge__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2) +{ + return ( (*theWrappedObject)>= d2); +} + +qint64 PythonQtWrapper_QDeadlineTimer::remainingTime(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->remainingTime()); +} + +qint64 PythonQtWrapper_QDeadlineTimer::remainingTimeNSecs(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->remainingTimeNSecs()); +} + +void PythonQtWrapper_QDeadlineTimer::setDeadline(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType timerType) +{ + ( theWrappedObject->setDeadline(msecs, timerType)); +} + +void PythonQtWrapper_QDeadlineTimer::setPreciseDeadline(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs, Qt::TimerType type) +{ + ( theWrappedObject->setPreciseDeadline(secs, nsecs, type)); +} + +void PythonQtWrapper_QDeadlineTimer::setPreciseRemainingTime(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs, Qt::TimerType type) +{ + ( theWrappedObject->setPreciseRemainingTime(secs, nsecs, type)); +} + +void PythonQtWrapper_QDeadlineTimer::setRemainingTime(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType type) +{ + ( theWrappedObject->setRemainingTime(msecs, type)); +} + +void PythonQtWrapper_QDeadlineTimer::setTimerType(QDeadlineTimer* theWrappedObject, Qt::TimerType type) +{ + ( theWrappedObject->setTimerType(type)); +} + +void PythonQtWrapper_QDeadlineTimer::swap(QDeadlineTimer* theWrappedObject, QDeadlineTimer& other) +{ + ( theWrappedObject->swap(other)); +} + +Qt::TimerType PythonQtWrapper_QDeadlineTimer::timerType(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerType()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.h new file mode 100644 index 00000000..b5eae4f6 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core0.h @@ -0,0 +1,1635 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QAbstractAnimation : public QAbstractAnimation +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_updateCurrentTime(int currentTime) { this->updateCurrentTime(currentTime); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { this->updateDirection(direction); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline int py_q_duration() const { return this->duration(); } +inline bool py_q_event(QEvent* event) { return QAbstractAnimation::event(event); } +inline void py_q_updateCurrentTime(int currentTime) { this->updateCurrentTime(currentTime); } +inline void py_q_updateDirection(QAbstractAnimation::Direction direction) { QAbstractAnimation::updateDirection(direction); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QAbstractAnimation::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QAbstractAnimation : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DeletionPolicy ) +enum DeletionPolicy{ + KeepWhenStopped = QAbstractAnimation::KeepWhenStopped, DeleteWhenStopped = QAbstractAnimation::DeleteWhenStopped}; +public slots: +QAbstractAnimation* new_QAbstractAnimation(QObject* parent = nullptr); +void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; } + int currentLoop(QAbstractAnimation* theWrappedObject) const; + int currentLoopTime(QAbstractAnimation* theWrappedObject) const; + int currentTime(QAbstractAnimation* theWrappedObject) const; + QAbstractAnimation::Direction direction(QAbstractAnimation* theWrappedObject) const; + int duration(QAbstractAnimation* theWrappedObject) const; + int py_q_duration(QAbstractAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->py_q_duration());} + bool py_q_event(QAbstractAnimation* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->py_q_event(event));} + QAnimationGroup* group(QAbstractAnimation* theWrappedObject) const; + int loopCount(QAbstractAnimation* theWrappedObject) const; + void setDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction); + void setLoopCount(QAbstractAnimation* theWrappedObject, int loopCount); + QAbstractAnimation::State state(QAbstractAnimation* theWrappedObject) const; + int totalDuration(QAbstractAnimation* theWrappedObject) const; + void updateCurrentTime(QAbstractAnimation* theWrappedObject, int currentTime); + void py_q_updateCurrentTime(QAbstractAnimation* theWrappedObject, int currentTime){ (((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->py_q_updateCurrentTime(currentTime));} + void updateDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction); + void py_q_updateDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction){ (((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->py_q_updateDirection(direction));} + void updateState(QAbstractAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + void py_q_updateState(QAbstractAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtShell_QAbstractItemModel : public QAbstractItemModel +{ +public: + 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 +{ public: +inline void promoted_beginInsertColumns(const QModelIndex& parent, int first, int last) { this->beginInsertColumns(parent, first, last); } +inline void promoted_beginInsertRows(const QModelIndex& parent, int first, int last) { this->beginInsertRows(parent, first, last); } +inline bool promoted_beginMoveColumns(const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationColumn) { return this->beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn); } +inline bool promoted_beginMoveRows(const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationRow) { return this->beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow); } +inline void promoted_beginRemoveColumns(const QModelIndex& parent, int first, int last) { this->beginRemoveColumns(parent, first, last); } +inline void promoted_beginRemoveRows(const QModelIndex& parent, int first, int last) { this->beginRemoveRows(parent, first, last); } +inline void promoted_beginResetModel() { this->beginResetModel(); } +inline void promoted_changePersistentIndex(const QModelIndex& from, const QModelIndex& to) { this->changePersistentIndex(from, to); } +inline void promoted_changePersistentIndexList(const QList& from, const QList& to) { this->changePersistentIndexList(from, to); } +inline QModelIndex promoted_createIndex(int row, int column, quintptr id) const { return this->createIndex(row, column, id); } +inline QModelIndex promoted_createIndex(int row, int column, void* data = nullptr) const { return this->createIndex(row, column, data); } +inline bool promoted_decodeData(int row, int column, const QModelIndex& parent, QDataStream& stream) { return this->decodeData(row, column, parent, stream); } +inline void promoted_encodeData(const QList& indexes, QDataStream& stream) const { this->encodeData(indexes, stream); } +inline void promoted_endInsertColumns() { this->endInsertColumns(); } +inline void promoted_endInsertRows() { this->endInsertRows(); } +inline void promoted_endMoveColumns() { this->endMoveColumns(); } +inline void promoted_endMoveRows() { this->endMoveRows(); } +inline void promoted_endRemoveColumns() { this->endRemoveColumns(); } +inline void promoted_endRemoveRows() { this->endRemoveRows(); } +inline void promoted_endResetModel() { this->endResetModel(); } +inline QList promoted_persistentIndexList() const { return this->persistentIndexList(); } +inline void promoted_resetInternalData() { this->resetInternalData(); } +inline QModelIndex py_q_buddy(const QModelIndex& index) const { return QAbstractItemModel::buddy(index); } +inline bool py_q_canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const { return QAbstractItemModel::canDropMimeData(data, action, row, column, parent); } +inline bool py_q_canFetchMore(const QModelIndex& parent) const { return QAbstractItemModel::canFetchMore(parent); } +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return this->columnCount(parent); } +inline QVariant py_q_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return this->data(index, role); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractItemModel::dropMimeData(data, action, row, column, parent); } +inline void py_q_fetchMore(const QModelIndex& parent) { QAbstractItemModel::fetchMore(parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QAbstractItemModel::flags(index); } +inline bool py_q_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QAbstractItemModel::hasChildren(parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QAbstractItemModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return this->index(row, column, parent); } +inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertColumns(column, count, parent); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertRows(row, count, parent); } +inline QMap py_q_itemData(const QModelIndex& index) const { return QAbstractItemModel::itemData(index); } +inline QList py_q_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QAbstractItemModel::match(start, role, value, hits, flags); } +inline QMimeData* py_q_mimeData(const QList& indexes) const { return QAbstractItemModel::mimeData(indexes); } +inline QStringList py_q_mimeTypes() const { return QAbstractItemModel::mimeTypes(); } +inline bool py_q_moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) { return QAbstractItemModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); } +inline bool py_q_moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) { return QAbstractItemModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); } +inline QModelIndex py_q_parent(const QModelIndex& child) const { return this->parent(child); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeColumns(column, count, parent); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeRows(row, count, parent); } +inline void py_q_revert() { QAbstractItemModel::revert(); } +inline QHash py_q_roleNames() const { return QAbstractItemModel::roleNames(); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return this->rowCount(parent); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setData(index, value, role); } +inline bool py_q_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setHeaderData(section, orientation, value, role); } +inline bool py_q_setItemData(const QModelIndex& index, const QMap& roles) { return QAbstractItemModel::setItemData(index, roles); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QAbstractItemModel::sibling(row, column, idx); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QAbstractItemModel::sort(column, order); } +inline QSize py_q_span(const QModelIndex& index) const { return QAbstractItemModel::span(index); } +inline bool py_q_submit() { return QAbstractItemModel::submit(); } +inline Qt::DropActions py_q_supportedDragActions() const { return QAbstractItemModel::supportedDragActions(); } +inline Qt::DropActions py_q_supportedDropActions() const { return QAbstractItemModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QAbstractItemModel : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractItemModel* new_QAbstractItemModel(QObject* parent = nullptr); +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); + bool beginMoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationRow); + void beginRemoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); + void beginRemoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); + void beginResetModel(QAbstractItemModel* theWrappedObject); + QModelIndex buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + QModelIndex py_q_buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_buddy(index));} + bool canDropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; + bool py_q_canDropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_canDropMimeData(data, action, row, column, parent));} + bool canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const; + bool py_q_canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_canFetchMore(parent));} + void changePersistentIndex(QAbstractItemModel* theWrappedObject, const QModelIndex& from, const QModelIndex& to); + void changePersistentIndexList(QAbstractItemModel* theWrappedObject, const QList& from, const QList& to); + int columnCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + int py_q_columnCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_columnCount(parent));} + QModelIndex createIndex(QAbstractItemModel* theWrappedObject, int row, int column, quintptr id) const; + QModelIndex createIndex(QAbstractItemModel* theWrappedObject, int row, int column, void* data = nullptr) const; + QVariant data(QAbstractItemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const; + QVariant py_q_data(QAbstractItemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_data(index, role));} + bool decodeData(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent, QDataStream& stream); + bool dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); + bool py_q_dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} + void encodeData(QAbstractItemModel* theWrappedObject, const QList& indexes, QDataStream& stream) const; + void endInsertColumns(QAbstractItemModel* theWrappedObject); + void endInsertRows(QAbstractItemModel* theWrappedObject); + void endMoveColumns(QAbstractItemModel* theWrappedObject); + void endMoveRows(QAbstractItemModel* theWrappedObject); + void endRemoveColumns(QAbstractItemModel* theWrappedObject); + void endRemoveRows(QAbstractItemModel* theWrappedObject); + void endResetModel(QAbstractItemModel* theWrappedObject); + void fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent); + void py_q_fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent){ (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_fetchMore(parent));} + Qt::ItemFlags flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + Qt::ItemFlags py_q_flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_flags(index));} + bool hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + bool py_q_hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_hasChildren(parent));} + bool hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; + QVariant headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + QVariant py_q_headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QModelIndex index(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; + QModelIndex py_q_index(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_index(row, column, parent));} + bool insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()); + bool insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + bool py_q_insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} + bool insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()); + bool insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + bool py_q_insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} + QMap itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + QMap py_q_itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_itemData(index));} + QList match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; + QList py_q_match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_match(start, role, value, hits, flags));} + PythonQtPassOwnershipToPython mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const; + PythonQtPassOwnershipToPython py_q_mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_mimeData(indexes));} + QStringList mimeTypes(QAbstractItemModel* theWrappedObject) const; + QStringList py_q_mimeTypes(QAbstractItemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_mimeTypes());} + bool moveColumn(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, const QModelIndex& destinationParent, int destinationChild); + bool moveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); + bool py_q_moveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild));} + bool moveRow(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, const QModelIndex& destinationParent, int destinationChild); + bool moveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); + bool py_q_moveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild));} + QModelIndex parent(QAbstractItemModel* theWrappedObject, const QModelIndex& child) const; + QModelIndex py_q_parent(QAbstractItemModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_parent(child));} + QList persistentIndexList(QAbstractItemModel* theWrappedObject) const; + bool removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()); + bool removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); + bool py_q_removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + bool removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()); + bool removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); + bool py_q_removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + void py_q_revert(QAbstractItemModel* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_revert());} + QHash roleNames(QAbstractItemModel* theWrappedObject) const; + QHash py_q_roleNames(QAbstractItemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_roleNames());} + int rowCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; + int py_q_rowCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_rowCount(parent));} + bool setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); + bool py_q_setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_setData(index, value, role));} + bool setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); + bool py_q_setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_setHeaderData(section, orientation, value, role));} + bool setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles); + bool py_q_setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_setItemData(index, roles));} + QModelIndex sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const; + QModelIndex py_q_sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_sibling(row, column, idx));} + void sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + void py_q_sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_sort(column, order));} + QSize span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; + QSize py_q_span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_span(index));} + bool py_q_submit(QAbstractItemModel* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_submit());} + Qt::DropActions supportedDragActions(QAbstractItemModel* theWrappedObject) const; + Qt::DropActions py_q_supportedDragActions(QAbstractItemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_supportedDragActions());} + Qt::DropActions supportedDropActions(QAbstractItemModel* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QAbstractItemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->py_q_supportedDropActions());} +}; + + + + + +class PythonQtShell_QAbstractListModel : public QAbstractListModel +{ +public: + 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 +{ public: +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractListModel::dropMimeData(data, action, row, column, parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QAbstractListModel::flags(index); } +inline QModelIndex py_q_index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const { return QAbstractListModel::index(row, column, parent); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QAbstractListModel::sibling(row, column, idx); } +}; + +class PythonQtWrapper_QAbstractListModel : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractListModel* new_QAbstractListModel(QObject* parent = nullptr); +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));} + QModelIndex py_q_sibling(QAbstractListModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->py_q_sibling(row, column, idx));} +}; + + + + + +class PythonQtShell_QAbstractState : public QAbstractState +{ +public: + PythonQtShell_QAbstractState(QState* parent = nullptr):QAbstractState(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractState() 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_QAbstractState : public QAbstractState +{ 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 QAbstractState::event(e); } +inline void py_q_onEntry(QEvent* event) { this->onEntry(event); } +inline void py_q_onExit(QEvent* event) { this->onExit(event); } +}; + +class PythonQtWrapper_QAbstractState : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractState* new_QAbstractState(QState* parent = nullptr); +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; + void onEntry(QAbstractState* theWrappedObject, QEvent* event); + void py_q_onEntry(QAbstractState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->py_q_onEntry(event));} + void onExit(QAbstractState* theWrappedObject, QEvent* event); + void py_q_onExit(QAbstractState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->py_q_onExit(event));} + QState* parentState(QAbstractState* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAbstractTransition : public QAbstractTransition +{ +public: + PythonQtShell_QAbstractTransition(QState* sourceState = nullptr):QAbstractTransition(sourceState),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTransition() 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_QAbstractTransition : public QAbstractTransition +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } +inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } +inline bool py_q_event(QEvent* e) { return QAbstractTransition::event(e); } +inline bool py_q_eventTest(QEvent* event) { return this->eventTest(event); } +inline void py_q_onTransition(QEvent* event) { this->onTransition(event); } +}; + +class PythonQtWrapper_QAbstractTransition : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractTransition* new_QAbstractTransition(QState* sourceState = nullptr); +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));} + bool eventTest(QAbstractTransition* theWrappedObject, QEvent* event); + bool py_q_eventTest(QAbstractTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->py_q_eventTest(event));} + QStateMachine* machine(QAbstractTransition* theWrappedObject) const; + void onTransition(QAbstractTransition* theWrappedObject, QEvent* event); + void py_q_onTransition(QAbstractTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->py_q_onTransition(event));} + void removeAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation); + void setTargetState(QAbstractTransition* theWrappedObject, QAbstractState* target); + void setTargetStates(QAbstractTransition* theWrappedObject, const QList& targets); + void setTransitionType(QAbstractTransition* theWrappedObject, QAbstractTransition::TransitionType type); + QState* sourceState(QAbstractTransition* theWrappedObject) const; + QAbstractState* targetState(QAbstractTransition* theWrappedObject) const; + QList targetStates(QAbstractTransition* theWrappedObject) const; + QAbstractTransition::TransitionType transitionType(QAbstractTransition* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAnimationGroup : public QAnimationGroup +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool py_q_event(QEvent* event) { return QAnimationGroup::event(event); } +}; + +class PythonQtWrapper_QAnimationGroup : public QObject +{ Q_OBJECT +public: +public slots: +QAnimationGroup* new_QAnimationGroup(QObject* parent = nullptr); +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; + void clear(QAnimationGroup* theWrappedObject); + bool py_q_event(QAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAnimationGroup*)theWrappedObject)->py_q_event(event));} + int indexOfAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation) const; + void insertAnimation(QAnimationGroup* theWrappedObject, int index, PythonQtPassOwnershipToCPP animation); + void removeAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToPython animation); + PythonQtPassOwnershipToPython takeAnimation(QAnimationGroup* theWrappedObject, int index); +}; + + + + + +class PythonQtWrapper_QApplicationStateChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QApplicationStateChangeEvent* new_QApplicationStateChangeEvent(Qt::ApplicationState state); +void delete_QApplicationStateChangeEvent(QApplicationStateChangeEvent* obj) { delete obj; } + Qt::ApplicationState applicationState(QApplicationStateChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QBasicMutex : public QBasicMutex +{ +public: + PythonQtShell_QBasicMutex():QBasicMutex(),_wrapper(nullptr) {}; + + ~PythonQtShell_QBasicMutex(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QBasicMutex : public QObject +{ Q_OBJECT +public: +public slots: +QBasicMutex* new_QBasicMutex(); +void delete_QBasicMutex(QBasicMutex* obj) { delete obj; } + bool isRecursive(QBasicMutex* theWrappedObject); + bool isRecursive(QBasicMutex* theWrappedObject) const; + void lock(QBasicMutex* theWrappedObject); + bool tryLock(QBasicMutex* theWrappedObject); + bool try_lock(QBasicMutex* theWrappedObject); + void unlock(QBasicMutex* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QBasicTimer : public QObject +{ Q_OBJECT +public: +public slots: +QBasicTimer* new_QBasicTimer(); +QBasicTimer* new_QBasicTimer(const QBasicTimer& arg__1); +void delete_QBasicTimer(QBasicTimer* obj) { delete obj; } + bool isActive(QBasicTimer* theWrappedObject) const; + QBasicTimer* operator_assign(QBasicTimer* theWrappedObject, const QBasicTimer& arg__1); + void start(QBasicTimer* theWrappedObject, int msec, QObject* obj); + void start(QBasicTimer* theWrappedObject, int msec, Qt::TimerType timerType, QObject* obj); + void stop(QBasicTimer* theWrappedObject); + void swap(QBasicTimer* theWrappedObject, QBasicTimer& other); + int timerId(QBasicTimer* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QBuffer : public QBuffer +{ +public: + 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 +{ public: +inline void promoted_connectNotify(const QMetaMethod& arg__1) { this->connectNotify(arg__1); } +inline void promoted_disconnectNotify(const QMetaMethod& arg__1) { this->disconnectNotify(arg__1); } +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QBuffer::atEnd(); } +inline bool py_q_canReadLine() const { return QBuffer::canReadLine(); } +inline void py_q_close() { QBuffer::close(); } +inline void py_q_connectNotify(const QMetaMethod& arg__1) { QBuffer::connectNotify(arg__1); } +inline void py_q_disconnectNotify(const QMetaMethod& arg__1) { QBuffer::disconnectNotify(arg__1); } +inline bool py_q_open(QIODevice::OpenMode openMode) { return QBuffer::open(openMode); } +inline qint64 py_q_pos() const { return QBuffer::pos(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QBuffer::readData(data, maxlen); } +inline bool py_q_seek(qint64 off) { return QBuffer::seek(off); } +inline qint64 py_q_size() const { return QBuffer::size(); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QBuffer::writeData(data, len); } +}; + +class PythonQtWrapper_QBuffer : public QObject +{ Q_OBJECT +public: +public slots: +QBuffer* new_QBuffer(QByteArray* buf, QObject* parent = nullptr); +QBuffer* new_QBuffer(QObject* parent = nullptr); +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());} + void py_q_close(QBuffer* theWrappedObject){ (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_close());} + void connectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1); + void py_q_connectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1){ (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_connectNotify(arg__1));} + const QByteArray* data(QBuffer* theWrappedObject) const; + void disconnectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1); + void py_q_disconnectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1){ (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_disconnectNotify(arg__1));} + bool py_q_open(QBuffer* theWrappedObject, QIODevice::OpenMode openMode){ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_open(openMode));} + qint64 py_q_pos(QBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_pos());} + qint64 py_q_readData(QBuffer* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_readData(data, maxlen));} + bool py_q_seek(QBuffer* theWrappedObject, qint64 off){ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_seek(off));} + void setBuffer(QBuffer* theWrappedObject, QByteArray* a); + void setData(QBuffer* theWrappedObject, const QByteArray& data); + qint64 py_q_size(QBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_size());} + qint64 py_q_writeData(QBuffer* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QByteArrayMatcher : public QObject +{ Q_OBJECT +public: +public slots: +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; } + 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; + void setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern); +}; + + + + + +class PythonQtShell_QByteArray__FromBase64Result : public QByteArray::FromBase64Result +{ +public: + PythonQtShell_QByteArray__FromBase64Result():QByteArray::FromBase64Result(),_wrapper(nullptr) {}; + + ~PythonQtShell_QByteArray__FromBase64Result(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QByteArray__FromBase64Result : public QObject +{ Q_OBJECT +public: +public slots: +QByteArray::FromBase64Result* new_QByteArray__FromBase64Result(); +QByteArray::FromBase64Result* new_QByteArray__FromBase64Result(const QByteArray::FromBase64Result& other) { +PythonQtShell_QByteArray__FromBase64Result* a = new PythonQtShell_QByteArray__FromBase64Result(); +*((QByteArray::FromBase64Result*)a) = other; +return a; } +void delete_QByteArray__FromBase64Result(QByteArray::FromBase64Result* obj) { delete obj; } + bool operator_cast_bool(QByteArray::FromBase64Result* theWrappedObject) const; + bool __ne__(QByteArray::FromBase64Result* theWrappedObject, const QByteArray::FromBase64Result& rhs); + QByteArray* __mul__(QByteArray::FromBase64Result* theWrappedObject); + const QByteArray* __mul__(QByteArray::FromBase64Result* theWrappedObject) const; + bool __eq__(QByteArray::FromBase64Result* theWrappedObject, const QByteArray::FromBase64Result& rhs); + void swap(QByteArray::FromBase64Result* theWrappedObject, QByteArray::FromBase64Result& other); +void py_set_decoded(QByteArray::FromBase64Result* theWrappedObject, QByteArray decoded){ theWrappedObject->decoded = decoded; } +QByteArray py_get_decoded(QByteArray::FromBase64Result* theWrappedObject){ return theWrappedObject->decoded; } +void py_set_decodingStatus(QByteArray::FromBase64Result* theWrappedObject, QByteArray::Base64DecodingStatus decodingStatus){ theWrappedObject->decodingStatus = decodingStatus; } +QByteArray::Base64DecodingStatus py_get_decodingStatus(QByteArray::FromBase64Result* theWrappedObject){ return theWrappedObject->decodingStatus; } +}; + + + + + +class PythonQtWrapper_QCalendar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(System ) +enum class System{ + Gregorian = static_cast(QCalendar::System::Gregorian), Julian = static_cast(QCalendar::System::Julian), Milankovic = static_cast(QCalendar::System::Milankovic), Jalali = static_cast(QCalendar::System::Jalali), IslamicCivil = static_cast(QCalendar::System::IslamicCivil), Last = static_cast(QCalendar::System::Last), User = static_cast(QCalendar::System::User)}; +public slots: +QCalendar* new_QCalendar(); +QCalendar* new_QCalendar(QCalendar::System system); +QCalendar* new_QCalendar(QLatin1String name); +QCalendar* new_QCalendar(QStringView name); +QCalendar* new_QCalendar(const QCalendar& other) { +QCalendar* a = new QCalendar(); +*((QCalendar*)a) = other; +return a; } +void delete_QCalendar(QCalendar* obj) { delete obj; } + QStringList static_QCalendar_availableCalendars(); + QDate dateFromParts(QCalendar* theWrappedObject, const QCalendar::YearMonthDay& parts) const; + QDate dateFromParts(QCalendar* theWrappedObject, int year, int month, int day) const; + QString dateTimeToString(QCalendar* theWrappedObject, QStringView format, const QDateTime& datetime, const QDate& dateOnly, const QTime& timeOnly, const QLocale& locale) const; + int dayOfWeek(QCalendar* theWrappedObject, QDate date) const; + int daysInMonth(QCalendar* theWrappedObject, int month, int year = Unspecified) const; + int daysInYear(QCalendar* theWrappedObject, int year) const; + bool hasYearZero(QCalendar* theWrappedObject) const; + bool isDateValid(QCalendar* theWrappedObject, int year, int month, int day) const; + bool isGregorian(QCalendar* theWrappedObject) const; + bool isLeapYear(QCalendar* theWrappedObject, int year) const; + bool isLunar(QCalendar* theWrappedObject) const; + bool isLuniSolar(QCalendar* theWrappedObject) const; + bool isProleptic(QCalendar* theWrappedObject) const; + bool isSolar(QCalendar* theWrappedObject) const; + bool isValid(QCalendar* theWrappedObject) const; + int maximumDaysInMonth(QCalendar* theWrappedObject) const; + int maximumMonthsInYear(QCalendar* theWrappedObject) const; + int minimumDaysInMonth(QCalendar* theWrappedObject) const; + QString monthName(QCalendar* theWrappedObject, const QLocale& locale, int month, int year = Unspecified, QLocale::FormatType format = QLocale::LongFormat) const; + int monthsInYear(QCalendar* theWrappedObject, int year) const; + QString name(QCalendar* theWrappedObject) const; + QCalendar::YearMonthDay partsFromDate(QCalendar* theWrappedObject, QDate date) const; + QString standaloneMonthName(QCalendar* theWrappedObject, const QLocale& locale, int month, int year = Unspecified, QLocale::FormatType format = QLocale::LongFormat) const; + QString standaloneWeekDayName(QCalendar* theWrappedObject, const QLocale& locale, int day, QLocale::FormatType format = QLocale::LongFormat) const; + QString weekDayName(QCalendar* theWrappedObject, const QLocale& locale, int day, QLocale::FormatType format = QLocale::LongFormat) const; + bool __nonzero__(QCalendar* obj) { return obj->isValid(); } + +public: + const static int Unspecified = QCalendar::Unspecified; + +}; + + + + + +class PythonQtShell_QCalendar__YearMonthDay : public QCalendar::YearMonthDay +{ +public: + PythonQtShell_QCalendar__YearMonthDay():QCalendar::YearMonthDay(),_wrapper(nullptr) {}; + PythonQtShell_QCalendar__YearMonthDay(int y, int m = 1, int d = 1):QCalendar::YearMonthDay(y, m, d),_wrapper(nullptr) {}; + + ~PythonQtShell_QCalendar__YearMonthDay(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QCalendar__YearMonthDay : public QObject +{ Q_OBJECT +public: +public slots: +QCalendar::YearMonthDay* new_QCalendar__YearMonthDay(); +QCalendar::YearMonthDay* new_QCalendar__YearMonthDay(int y, int m = 1, int d = 1); +QCalendar::YearMonthDay* new_QCalendar__YearMonthDay(const QCalendar::YearMonthDay& other) { +PythonQtShell_QCalendar__YearMonthDay* a = new PythonQtShell_QCalendar__YearMonthDay(); +*((QCalendar::YearMonthDay*)a) = other; +return a; } +void delete_QCalendar__YearMonthDay(QCalendar::YearMonthDay* obj) { delete obj; } + bool isValid(QCalendar::YearMonthDay* theWrappedObject) const; + bool __nonzero__(QCalendar::YearMonthDay* obj) { return obj->isValid(); } +void py_set_day(QCalendar::YearMonthDay* theWrappedObject, int day){ theWrappedObject->day = day; } +int py_get_day(QCalendar::YearMonthDay* theWrappedObject){ return theWrappedObject->day; } +void py_set_month(QCalendar::YearMonthDay* theWrappedObject, int month){ theWrappedObject->month = month; } +int py_get_month(QCalendar::YearMonthDay* theWrappedObject){ return theWrappedObject->month; } +void py_set_year(QCalendar::YearMonthDay* theWrappedObject, int year){ theWrappedObject->year = year; } +int py_get_year(QCalendar::YearMonthDay* theWrappedObject){ return theWrappedObject->year; } +}; + + + + + +class PythonQtWrapper_QCborArray : public QObject +{ Q_OBJECT +public: +public slots: +QCborArray* new_QCborArray(); +QCborArray* new_QCborArray(const QCborArray& other); +void delete_QCborArray(QCborArray* obj) { delete obj; } + void append(QCborArray* theWrappedObject, const QCborValue& value); + QCborValue at(QCborArray* theWrappedObject, qsizetype i) const; + void clear(QCborArray* theWrappedObject); + int compare(QCborArray* theWrappedObject, const QCborArray& other) const; + bool contains(QCborArray* theWrappedObject, const QCborValue& value) const; + bool empty(QCborArray* theWrappedObject) const; + QCborValue first(QCborArray* theWrappedObject) const; + QCborArray static_QCborArray_fromJsonArray(const QJsonArray& array); + QCborArray static_QCborArray_fromStringList(const QStringList& list); + QCborArray static_QCborArray_fromVariantList(const QList& list); + void insert(QCborArray* theWrappedObject, qsizetype i, const QCborValue& value); + bool isEmpty(QCborArray* theWrappedObject) const; + QCborValue last(QCborArray* theWrappedObject) const; + bool __ne__(QCborArray* theWrappedObject, const QCborArray& other) const; + QCborArray __add__(QCborArray* theWrappedObject, const QCborValue& v) const; + QCborArray* __iadd__(QCborArray* theWrappedObject, const QCborValue& v); + bool __lt__(QCborArray* theWrappedObject, const QCborArray& other) const; + void writeTo(QCborArray* theWrappedObject, QDataStream& arg__1); + QCborArray* __lshift__(QCborArray* theWrappedObject, const QCborValue& v); + QCborArray* operator_assign(QCborArray* theWrappedObject, const QCborArray& other); + bool __eq__(QCborArray* theWrappedObject, const QCborArray& other) const; + void readFrom(QCborArray* theWrappedObject, QDataStream& arg__1); + const QCborValue operator_subscript(QCborArray* theWrappedObject, qsizetype i) const; + void pop_back(QCborArray* theWrappedObject); + void pop_front(QCborArray* theWrappedObject); + void prepend(QCborArray* theWrappedObject, const QCborValue& value); + void push_back(QCborArray* theWrappedObject, const QCborValue& t); + void push_front(QCborArray* theWrappedObject, const QCborValue& t); + void removeAt(QCborArray* theWrappedObject, qsizetype i); + void removeFirst(QCborArray* theWrappedObject); + void removeLast(QCborArray* theWrappedObject); + qsizetype size(QCborArray* theWrappedObject) const; + void swap(QCborArray* theWrappedObject, QCborArray& other); + QCborValue takeAt(QCborArray* theWrappedObject, qsizetype i); + QCborValue takeFirst(QCborArray* theWrappedObject); + QCborValue takeLast(QCborArray* theWrappedObject); + QCborValue toCborValue(QCborArray* theWrappedObject) const; + QJsonArray toJsonArray(QCborArray* theWrappedObject) const; + QList toVariantList(QCborArray* theWrappedObject) const; + QString py_toString(QCborArray*); + bool __nonzero__(QCborArray* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QCborError : public QCborError +{ +public: + PythonQtShell_QCborError():QCborError(),_wrapper(nullptr) {}; + + ~PythonQtShell_QCborError(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QCborError : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Code ) +enum Code{ + UnknownError = QCborError::UnknownError, AdvancePastEnd = QCborError::AdvancePastEnd, InputOutputError = QCborError::InputOutputError, GarbageAtEnd = QCborError::GarbageAtEnd, EndOfFile = QCborError::EndOfFile, UnexpectedBreak = QCborError::UnexpectedBreak, UnknownType = QCborError::UnknownType, IllegalType = QCborError::IllegalType, IllegalNumber = QCborError::IllegalNumber, IllegalSimpleType = QCborError::IllegalSimpleType, InvalidUtf8String = QCborError::InvalidUtf8String, DataTooLarge = QCborError::DataTooLarge, NestingTooDeep = QCborError::NestingTooDeep, UnsupportedType = QCborError::UnsupportedType, NoError = QCborError::NoError}; +public slots: +QCborError* new_QCborError(); +void delete_QCborError(QCborError* obj) { delete obj; } + QString toString(QCborError* theWrappedObject) const; + QString py_toString(QCborError*); +void py_set_c(QCborError* theWrappedObject, QCborError::Code c){ theWrappedObject->c = c; } +QCborError::Code py_get_c(QCborError* theWrappedObject){ return theWrappedObject->c; } +}; + + + + + +class PythonQtWrapper_QCborMap : public QObject +{ Q_OBJECT +public: +public slots: +QCborMap* new_QCborMap(); +QCborMap* new_QCborMap(const QCborMap& other); +void delete_QCborMap(QCborMap* obj) { delete obj; } + void clear(QCborMap* theWrappedObject); + int compare(QCborMap* theWrappedObject, const QCborMap& other) const; + bool contains(QCborMap* theWrappedObject, const QCborValue& key) const; + bool contains(QCborMap* theWrappedObject, const QString& key) const; + bool contains(QCborMap* theWrappedObject, qint64 key) const; + bool empty(QCborMap* theWrappedObject) const; + QCborMap static_QCborMap_fromJsonObject(const QJsonObject& o); + QCborMap static_QCborMap_fromVariantHash(const QHash& hash); + QCborMap static_QCborMap_fromVariantMap(const QMap& map); + bool isEmpty(QCborMap* theWrappedObject) const; + QVector keys(QCborMap* theWrappedObject) const; + bool __ne__(QCborMap* theWrappedObject, const QCborMap& other) const; + bool __lt__(QCborMap* theWrappedObject, const QCborMap& other) const; + void writeTo(QCborMap* theWrappedObject, QDataStream& arg__1); + QCborMap* operator_assign(QCborMap* theWrappedObject, const QCborMap& other); + bool __eq__(QCborMap* theWrappedObject, const QCborMap& other) const; + void readFrom(QCborMap* theWrappedObject, QDataStream& arg__1); + const QCborValue operator_subscript(QCborMap* theWrappedObject, const QCborValue& key) const; + const QCborValue operator_subscript(QCborMap* theWrappedObject, const QString& key) const; + const QCborValue operator_subscript(QCborMap* theWrappedObject, qint64 key) const; + void remove(QCborMap* theWrappedObject, const QCborValue& key); + void remove(QCborMap* theWrappedObject, const QString& key); + void remove(QCborMap* theWrappedObject, qint64 key); + qsizetype size(QCborMap* theWrappedObject) const; + void swap(QCborMap* theWrappedObject, QCborMap& other); + QCborValue take(QCborMap* theWrappedObject, const QCborValue& key); + QCborValue take(QCborMap* theWrappedObject, const QString& key); + QCborValue take(QCborMap* theWrappedObject, qint64 key); + QCborValue toCborValue(QCborMap* theWrappedObject) const; + QJsonObject toJsonObject(QCborMap* theWrappedObject) const; + QHash toVariantHash(QCborMap* theWrappedObject) const; + QMap toVariantMap(QCborMap* theWrappedObject) const; + QCborValue value(QCborMap* theWrappedObject, const QCborValue& key) const; + QCborValue value(QCborMap* theWrappedObject, const QString& key) const; + QCborValue value(QCborMap* theWrappedObject, qint64 key) const; + QString py_toString(QCborMap*); + bool __nonzero__(QCborMap* obj) { return !obj->isEmpty(); } + + void insert(QCborMap* theWrappedObject, qint64 key, const QCborValue& value_) + { + theWrappedObject->insert(key, value_); + } + + void insert(QCborMap* theWrappedObject, const QString& key, const QCborValue& value_) + { + theWrappedObject->insert(key, value_); + } + +}; + + + + + +class PythonQtShell_QCborParserError : public QCborParserError +{ +public: + PythonQtShell_QCborParserError():QCborParserError(),_wrapper(nullptr) {}; + + ~PythonQtShell_QCborParserError(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QCborParserError : public QObject +{ Q_OBJECT +public: +public slots: +QCborParserError* new_QCborParserError(); +void delete_QCborParserError(QCborParserError* obj) { delete obj; } + QString errorString(QCborParserError* theWrappedObject) const; +void py_set_error(QCborParserError* theWrappedObject, QCborError error){ theWrappedObject->error = error; } +QCborError py_get_error(QCborParserError* theWrappedObject){ return theWrappedObject->error; } +void py_set_offset(QCborParserError* theWrappedObject, qint64 offset){ theWrappedObject->offset = offset; } +qint64 py_get_offset(QCborParserError* theWrappedObject){ return theWrappedObject->offset; } +}; + + + + + +class PythonQtWrapper_QCborStreamReader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StringResultCode Type ) +enum StringResultCode{ + EndOfString = QCborStreamReader::EndOfString, Ok = QCborStreamReader::Ok, Error = QCborStreamReader::Error}; +enum Type{ + UnsignedInteger = QCborStreamReader::UnsignedInteger, NegativeInteger = QCborStreamReader::NegativeInteger, ByteString = QCborStreamReader::ByteString, ByteArray = QCborStreamReader::ByteArray, TextString = QCborStreamReader::TextString, String = QCborStreamReader::String, Array = QCborStreamReader::Array, Map = QCborStreamReader::Map, Tag = QCborStreamReader::Tag, SimpleType = QCborStreamReader::SimpleType, HalfFloat = QCborStreamReader::HalfFloat, Float16 = QCborStreamReader::Float16, Float = QCborStreamReader::Float, Double = QCborStreamReader::Double, Invalid = QCborStreamReader::Invalid}; +public slots: +QCborStreamReader* new_QCborStreamReader(); +QCborStreamReader* new_QCborStreamReader(QIODevice* device); +QCborStreamReader* new_QCborStreamReader(const QByteArray& data); +QCborStreamReader* new_QCborStreamReader(const char* data, qsizetype len); +QCborStreamReader* new_QCborStreamReader(const unsigned char* data, qsizetype len); +void delete_QCborStreamReader(QCborStreamReader* obj) { delete obj; } + void addData(QCborStreamReader* theWrappedObject, const QByteArray& data); + void addData(QCborStreamReader* theWrappedObject, const char* data, qsizetype len); + void addData(QCborStreamReader* theWrappedObject, const unsigned char* data, qsizetype len); + void clear(QCborStreamReader* theWrappedObject); + int containerDepth(QCborStreamReader* theWrappedObject) const; + qint64 currentOffset(QCborStreamReader* theWrappedObject) const; + qsizetype currentStringChunkSize(QCborStreamReader* theWrappedObject) const; + QIODevice* device(QCborStreamReader* theWrappedObject) const; + bool enterContainer(QCborStreamReader* theWrappedObject); + bool hasNext(QCborStreamReader* theWrappedObject) const; + bool isArray(QCborStreamReader* theWrappedObject) const; + bool isBool(QCborStreamReader* theWrappedObject) const; + bool isByteArray(QCborStreamReader* theWrappedObject) const; + bool isContainer(QCborStreamReader* theWrappedObject) const; + bool isDouble(QCborStreamReader* theWrappedObject) const; + bool isFalse(QCborStreamReader* theWrappedObject) const; + bool isFloat(QCborStreamReader* theWrappedObject) const; + bool isFloat16(QCborStreamReader* theWrappedObject) const; + bool isInteger(QCborStreamReader* theWrappedObject) const; + bool isInvalid(QCborStreamReader* theWrappedObject) const; + bool isLengthKnown(QCborStreamReader* theWrappedObject) const; + bool isMap(QCborStreamReader* theWrappedObject) const; + bool isNegativeInteger(QCborStreamReader* theWrappedObject) const; + bool isNull(QCborStreamReader* theWrappedObject) const; + bool isSimpleType(QCborStreamReader* theWrappedObject) const; + bool isSimpleType(QCborStreamReader* theWrappedObject, QCborSimpleType st) const; + bool isString(QCborStreamReader* theWrappedObject) const; + bool isTag(QCborStreamReader* theWrappedObject) const; + bool isTrue(QCborStreamReader* theWrappedObject) const; + bool isUndefined(QCborStreamReader* theWrappedObject) const; + bool isUnsignedInteger(QCborStreamReader* theWrappedObject) const; + bool isValid(QCborStreamReader* theWrappedObject) const; + QCborError lastError(QCborStreamReader* theWrappedObject); + bool leaveContainer(QCborStreamReader* theWrappedObject); + quint64 length(QCborStreamReader* theWrappedObject) const; + bool next(QCborStreamReader* theWrappedObject, int maxRecursion = 10000); + QCborStreamReader::Type parentContainerType(QCborStreamReader* theWrappedObject) const; + void reparse(QCborStreamReader* theWrappedObject); + void reset(QCborStreamReader* theWrappedObject); + void setDevice(QCborStreamReader* theWrappedObject, QIODevice* device); + bool toBool(QCborStreamReader* theWrappedObject) const; + double toDouble(QCborStreamReader* theWrappedObject) const; + float toFloat(QCborStreamReader* theWrappedObject) const; + qint64 toInteger(QCborStreamReader* theWrappedObject) const; + QCborSimpleType toSimpleType(QCborStreamReader* theWrappedObject) const; + quint64 toUnsignedInteger(QCborStreamReader* theWrappedObject) const; + QCborStreamReader::Type type(QCborStreamReader* theWrappedObject) const; + bool __nonzero__(QCborStreamReader* obj) { return obj->isValid(); } + + QByteArray readByteArray(QCborStreamReader* theWrappedObject) { + auto result = theWrappedObject->readByteArray(); + return result.status == QCborStreamReader::Ok ? result.data : QByteArray(); + } + + QString readString(QCborStreamReader* theWrappedObject) { + auto result = theWrappedObject->readString(); + return result.status == QCborStreamReader::Ok ? result.data : QString(); + } + + qint64 toTag(QCborStreamReader* theWrappedObject) const { + return static_cast(theWrappedObject->toTag()); + } + +}; + + + + + +class PythonQtWrapper_QCborStreamWriter : public QObject +{ Q_OBJECT +public: +public slots: +QCborStreamWriter* new_QCborStreamWriter(QByteArray* data); +QCborStreamWriter* new_QCborStreamWriter(QIODevice* device); +void delete_QCborStreamWriter(QCborStreamWriter* obj) { delete obj; } + void append(QCborStreamWriter* theWrappedObject, QCborKnownTags tag); + void append(QCborStreamWriter* theWrappedObject, QCborSimpleType st); + void append(QCborStreamWriter* theWrappedObject, QLatin1String str); + void append(QCborStreamWriter* theWrappedObject, QStringView str); + void append(QCborStreamWriter* theWrappedObject, bool b); + void append(QCborStreamWriter* theWrappedObject, const QByteArray& ba); + void append(QCborStreamWriter* theWrappedObject, double d); + void append(QCborStreamWriter* theWrappedObject, float f); + void append(QCborStreamWriter* theWrappedObject, int i); + void append(QCborStreamWriter* theWrappedObject, qint64 i); + void append(QCborStreamWriter* theWrappedObject, quint64 u); + void append(QCborStreamWriter* theWrappedObject, uint u); + void appendByteString(QCborStreamWriter* theWrappedObject, const char* data, qsizetype len); + void appendNull(QCborStreamWriter* theWrappedObject); + void appendTextString(QCborStreamWriter* theWrappedObject, const char* utf8, qsizetype len); + void appendUndefined(QCborStreamWriter* theWrappedObject); + QIODevice* device(QCborStreamWriter* theWrappedObject) const; + bool endArray(QCborStreamWriter* theWrappedObject); + bool endMap(QCborStreamWriter* theWrappedObject); + void setDevice(QCborStreamWriter* theWrappedObject, QIODevice* device); + void startArray(QCborStreamWriter* theWrappedObject); + void startArray(QCborStreamWriter* theWrappedObject, quint64 count); + void startMap(QCborStreamWriter* theWrappedObject); + void startMap(QCborStreamWriter* theWrappedObject, quint64 count); +}; + + + + + +class PythonQtWrapper_QCborValue : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DiagnosticNotationOption EncodingOption Type ) +Q_FLAGS(DiagnosticNotationOptions EncodingOptions ) +enum DiagnosticNotationOption{ + Compact = QCborValue::Compact, LineWrapped = QCborValue::LineWrapped, ExtendedFormat = QCborValue::ExtendedFormat}; +enum EncodingOption{ + SortKeysInMaps = QCborValue::SortKeysInMaps, UseFloat = QCborValue::UseFloat, UseFloat16 = QCborValue::UseFloat16, UseIntegers = QCborValue::UseIntegers, NoTransformation = QCborValue::NoTransformation}; +enum Type{ + Integer = QCborValue::Integer, ByteArray = QCborValue::ByteArray, String = QCborValue::String, Array = QCborValue::Array, Map = QCborValue::Map, Tag = QCborValue::Tag, SimpleType = QCborValue::SimpleType, False = QCborValue::False, True = QCborValue::True, Null = QCborValue::Null, Undefined = QCborValue::Undefined, Double = QCborValue::Double, DateTime = QCborValue::DateTime, Url = QCborValue::Url, RegularExpression = QCborValue::RegularExpression, Uuid = QCborValue::Uuid, Invalid = QCborValue::Invalid}; +Q_DECLARE_FLAGS(DiagnosticNotationOptions, DiagnosticNotationOption) +Q_DECLARE_FLAGS(EncodingOptions, EncodingOption) +public slots: +QCborValue* new_QCborValue(); +QCborValue* new_QCborValue(QCborKnownTags t_, const QCborValue& tv = QCborValue()); +QCborValue* new_QCborValue(QCborSimpleType st); +QCborValue* new_QCborValue(QCborValue::Type t_); +QCborValue* new_QCborValue(bool b_); +QCborValue* new_QCborValue(const QByteArray& ba); +QCborValue* new_QCborValue(const QCborArray& a); +QCborValue* new_QCborValue(const QCborMap& m); +QCborValue* new_QCborValue(const QCborValue& other); +QCborValue* new_QCborValue(const QDateTime& dt); +QCborValue* new_QCborValue(const QRegularExpression& rx); +QCborValue* new_QCborValue(const QString& s); +QCborValue* new_QCborValue(const QUrl& url); +QCborValue* new_QCborValue(const QUuid& uuid); +QCborValue* new_QCborValue(const char* s); +QCborValue* new_QCborValue(double v); +QCborValue* new_QCborValue(int i); +QCborValue* new_QCborValue(qint64 i); +void delete_QCborValue(QCborValue* obj) { delete obj; } + int compare(QCborValue* theWrappedObject, const QCborValue& other) const; + QCborValue static_QCborValue_fromCbor(QCborStreamReader& reader); + QCborValue static_QCborValue_fromCbor(const QByteArray& ba, QCborParserError* error = nullptr); + QCborValue static_QCborValue_fromCbor(const char* data, qsizetype len, QCborParserError* error = nullptr); + QCborValue static_QCborValue_fromCbor(const unsigned char* data, qsizetype len, QCborParserError* error = nullptr); + QCborValue static_QCborValue_fromJsonValue(const QJsonValue& v); + QCborValue static_QCborValue_fromVariant(const QVariant& variant); + bool isArray(QCborValue* theWrappedObject) const; + bool isBool(QCborValue* theWrappedObject) const; + bool isByteArray(QCborValue* theWrappedObject) const; + bool isContainer(QCborValue* theWrappedObject) const; + bool isDateTime(QCborValue* theWrappedObject) const; + bool isDouble(QCborValue* theWrappedObject) const; + bool isFalse(QCborValue* theWrappedObject) const; + bool isInteger(QCborValue* theWrappedObject) const; + bool isInvalid(QCborValue* theWrappedObject) const; + bool isMap(QCborValue* theWrappedObject) const; + bool isNull(QCborValue* theWrappedObject) const; + bool isRegularExpression(QCborValue* theWrappedObject) const; + bool isSimpleType(QCborValue* theWrappedObject) const; + bool isSimpleType(QCborValue* theWrappedObject, QCborSimpleType st) const; + bool isString(QCborValue* theWrappedObject) const; + bool isTag(QCborValue* theWrappedObject) const; + bool isTrue(QCborValue* theWrappedObject) const; + bool isUndefined(QCborValue* theWrappedObject) const; + bool isUrl(QCborValue* theWrappedObject) const; + bool isUuid(QCborValue* theWrappedObject) const; + bool __ne__(QCborValue* theWrappedObject, const QCborValue& other) const; + bool __lt__(QCborValue* theWrappedObject, const QCborValue& other) const; + void writeTo(QCborValue* theWrappedObject, QDataStream& arg__1); + QCborValue* operator_assign(QCborValue* theWrappedObject, const QCborValue& other); + bool __eq__(QCborValue* theWrappedObject, const QCborValue& other) const; + void readFrom(QCborValue* theWrappedObject, QDataStream& arg__1); + const QCborValue operator_subscript(QCborValue* theWrappedObject, const QString& key) const; + const QCborValue operator_subscript(QCborValue* theWrappedObject, qint64 key) const; + void swap(QCborValue* theWrappedObject, QCborValue& other); + QCborValue taggedValue(QCborValue* theWrappedObject, const QCborValue& defaultValue = QCborValue()) const; + QCborArray toArray(QCborValue* theWrappedObject) const; + QCborArray toArray(QCborValue* theWrappedObject, const QCborArray& defaultValue) const; + bool toBool(QCborValue* theWrappedObject, bool defaultValue = false) const; + QByteArray toByteArray(QCborValue* theWrappedObject, const QByteArray& defaultValue = {}) const; + void toCbor(QCborValue* theWrappedObject, QCborStreamWriter& writer, QCborValue::EncodingOptions opt = QCborValue::NoTransformation); + QByteArray toCbor(QCborValue* theWrappedObject, QCborValue::EncodingOptions opt = QCborValue::NoTransformation); + QDateTime toDateTime(QCborValue* theWrappedObject, const QDateTime& defaultValue = {}) const; + QString toDiagnosticNotation(QCborValue* theWrappedObject, QCborValue::DiagnosticNotationOptions opts = QCborValue::Compact) const; + double toDouble(QCborValue* theWrappedObject, double defaultValue = 0) const; + qint64 toInteger(QCborValue* theWrappedObject, qint64 defaultValue = 0) const; + QJsonValue toJsonValue(QCborValue* theWrappedObject) const; + QCborMap toMap(QCborValue* theWrappedObject) const; + QCborMap toMap(QCborValue* theWrappedObject, const QCborMap& defaultValue) const; + QRegularExpression toRegularExpression(QCborValue* theWrappedObject, const QRegularExpression& defaultValue = {}) const; + QCborSimpleType toSimpleType(QCborValue* theWrappedObject, QCborSimpleType defaultValue = QCborSimpleType::Undefined) const; + QString toString(QCborValue* theWrappedObject, const QString& defaultValue = {}) const; + QUrl toUrl(QCborValue* theWrappedObject, const QUrl& defaultValue = {}) const; + QUuid toUuid(QCborValue* theWrappedObject, const QUuid& defaultValue = {}) const; + QVariant toVariant(QCborValue* theWrappedObject) const; + QCborValue::Type type(QCborValue* theWrappedObject) const; + QString py_toString(QCborValue*); + bool __nonzero__(QCborValue* obj) { return !obj->isNull(); } + + // replace QCborTag with qint64: + QCborValue* new_QCborValue(qint64 tag, const QCborValue& taggedValue) { + return new QCborValue(QCborTag(tag), taggedValue); + } + + qint64 tag(QCborValue* theWrappedObject, qint64 defaultValue) const { + return static_cast(theWrappedObject->tag(QCborTag(defaultValue))); + } + +}; + + + + + +class PythonQtShell_QChildEvent : public QChildEvent +{ +public: + PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(nullptr) {}; + + ~PythonQtShell_QChildEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QChildEvent : public QObject +{ Q_OBJECT +public: +public slots: +QChildEvent* new_QChildEvent(QEvent::Type type, QObject* child); +void delete_QChildEvent(QChildEvent* obj) { delete obj; } + bool added(QChildEvent* theWrappedObject) const; + QObject* child(QChildEvent* theWrappedObject) const; + bool polished(QChildEvent* theWrappedObject) const; + bool removed(QChildEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QCollator : public QObject +{ Q_OBJECT +public: +public slots: +QCollator* new_QCollator(); +QCollator* new_QCollator(const QCollator& arg__1); +QCollator* new_QCollator(const QLocale& locale); +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; + bool ignorePunctuation(QCollator* theWrappedObject) const; + QLocale locale(QCollator* theWrappedObject) const; + bool numericMode(QCollator* theWrappedObject) const; + bool operator_cast_(QCollator* theWrappedObject, const QString& s1, const QString& s2) const; + QCollator* operator_assign(QCollator* theWrappedObject, const QCollator& arg__1); + void setCaseSensitivity(QCollator* theWrappedObject, Qt::CaseSensitivity cs); + void setIgnorePunctuation(QCollator* theWrappedObject, bool on); + void setLocale(QCollator* theWrappedObject, const QLocale& locale); + void setNumericMode(QCollator* theWrappedObject, bool on); + QCollatorSortKey sortKey(QCollator* theWrappedObject, const QString& string) const; + void swap(QCollator* theWrappedObject, QCollator& other); +}; + + + + + +class PythonQtWrapper_QCollatorSortKey : public QObject +{ Q_OBJECT +public: +public slots: +QCollatorSortKey* new_QCollatorSortKey(const QCollatorSortKey& other); +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); + void swap(QCollatorSortKey* theWrappedObject, QCollatorSortKey& other); +}; + + + + + +class PythonQtWrapper_QCommandLineOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Flag ) +enum Flag{ + HiddenFromHelp = QCommandLineOption::HiddenFromHelp, ShortOptionStyle = QCommandLineOption::ShortOptionStyle}; +public slots: +QCommandLineOption* new_QCommandLineOption(const QCommandLineOption& other); +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; } + QStringList defaultValues(QCommandLineOption* theWrappedObject) const; + QString description(QCommandLineOption* theWrappedObject) const; + bool isHidden(QCommandLineOption* theWrappedObject) const; + QStringList names(QCommandLineOption* theWrappedObject) const; + QCommandLineOption* operator_assign(QCommandLineOption* theWrappedObject, const QCommandLineOption& other); + void setDefaultValue(QCommandLineOption* theWrappedObject, const QString& defaultValue); + void setDefaultValues(QCommandLineOption* theWrappedObject, const QStringList& defaultValues); + void setDescription(QCommandLineOption* theWrappedObject, const QString& description); + void setHidden(QCommandLineOption* theWrappedObject, bool hidden); + void setValueName(QCommandLineOption* theWrappedObject, const QString& name); + void swap(QCommandLineOption* theWrappedObject, QCommandLineOption& other); + QString valueName(QCommandLineOption* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QCommandLineParser : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OptionsAfterPositionalArgumentsMode SingleDashWordOptionMode ) +enum OptionsAfterPositionalArgumentsMode{ + ParseAsOptions = QCommandLineParser::ParseAsOptions, ParseAsPositionalArguments = QCommandLineParser::ParseAsPositionalArguments}; +enum SingleDashWordOptionMode{ + ParseAsCompactedShortOptions = QCommandLineParser::ParseAsCompactedShortOptions, ParseAsLongOptions = QCommandLineParser::ParseAsLongOptions}; +public slots: +QCommandLineParser* new_QCommandLineParser(); +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); + void addPositionalArgument(QCommandLineParser* theWrappedObject, const QString& name, const QString& description, const QString& syntax = QString()); + QCommandLineOption addVersionOption(QCommandLineParser* theWrappedObject); + QString applicationDescription(QCommandLineParser* theWrappedObject) const; + void clearPositionalArguments(QCommandLineParser* theWrappedObject); + QString errorText(QCommandLineParser* theWrappedObject) const; + QString helpText(QCommandLineParser* theWrappedObject) const; + bool isSet(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const; + bool isSet(QCommandLineParser* theWrappedObject, const QString& name) const; + QStringList optionNames(QCommandLineParser* theWrappedObject) const; + bool parse(QCommandLineParser* theWrappedObject, const QStringList& arguments); + QStringList positionalArguments(QCommandLineParser* theWrappedObject) const; + void process(QCommandLineParser* theWrappedObject, const QCoreApplication& app); + void process(QCommandLineParser* theWrappedObject, const QStringList& arguments); + void setApplicationDescription(QCommandLineParser* theWrappedObject, const QString& description); + void setOptionsAfterPositionalArgumentsMode(QCommandLineParser* theWrappedObject, QCommandLineParser::OptionsAfterPositionalArgumentsMode mode); + void setSingleDashWordOptionMode(QCommandLineParser* theWrappedObject, QCommandLineParser::SingleDashWordOptionMode parsingMode); + void showHelp(QCommandLineParser* theWrappedObject, int exitCode = 0); + void showVersion(QCommandLineParser* theWrappedObject); + QString static_QCommandLineParser_tr(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + QString static_QCommandLineParser_trUtf8(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + QStringList unknownOptionNames(QCommandLineParser* theWrappedObject) const; + QString value(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const; + QString value(QCommandLineParser* theWrappedObject, const QString& name) const; + QStringList values(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const; + QStringList values(QCommandLineParser* theWrappedObject, const QString& name) const; +}; + + + + + +class PythonQtPublicPromoter_QCoreApplication : public QCoreApplication +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QCoreApplication::event(arg__1); } +inline bool py_q_notify(QObject* arg__1, QEvent* arg__2) { return QCoreApplication::notify(arg__1, arg__2); } +}; + +class PythonQtWrapper_QCoreApplication : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + ApplicationFlags = QCoreApplication::ApplicationFlags}; +public slots: +void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } + void static_QCoreApplication_addLibraryPath(const QString& arg__1); + QString static_QCoreApplication_applicationDirPath(); + QString static_QCoreApplication_applicationFilePath(); + QString static_QCoreApplication_applicationName(); + qint64 static_QCoreApplication_applicationPid(); + QString static_QCoreApplication_applicationVersion(); + QStringList static_QCoreApplication_arguments(); + bool static_QCoreApplication_closingDown(); + bool py_q_event(QCoreApplication* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->py_q_event(arg__1));} + QAbstractEventDispatcher* static_QCoreApplication_eventDispatcher(); + int static_QCoreApplication_exec(); + void static_QCoreApplication_exit(int retcode = 0); + void static_QCoreApplication_flush(); + bool static_QCoreApplication_hasPendingEvents(); + bool static_QCoreApplication_installTranslator(QTranslator* messageFile); + QCoreApplication* static_QCoreApplication_instance(); + bool static_QCoreApplication_isQuitLockEnabled(); + bool static_QCoreApplication_isSetuidAllowed(); + QStringList static_QCoreApplication_libraryPaths(); + bool notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2); + bool py_q_notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->py_q_notify(arg__1, arg__2));} + QString static_QCoreApplication_organizationDomain(); + QString static_QCoreApplication_organizationName(); + void static_QCoreApplication_postEvent(QObject* receiver, PythonQtPassOwnershipToCPP event, int priority = Qt::NormalEventPriority); + void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); + void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime); + void static_QCoreApplication_removeLibraryPath(const QString& arg__1); + void static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType = 0); + bool static_QCoreApplication_removeTranslator(QTranslator* messageFile); + bool static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event); + void static_QCoreApplication_sendPostedEvents(QObject* receiver = nullptr, int event_type = 0); + void static_QCoreApplication_setApplicationName(const QString& application); + void static_QCoreApplication_setApplicationVersion(const QString& version); + void static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on = true); + void static_QCoreApplication_setEventDispatcher(QAbstractEventDispatcher* eventDispatcher); + void static_QCoreApplication_setLibraryPaths(const QStringList& arg__1); + void static_QCoreApplication_setOrganizationDomain(const QString& orgDomain); + void static_QCoreApplication_setOrganizationName(const QString& orgName); + void static_QCoreApplication_setQuitLockEnabled(bool enabled); + void static_QCoreApplication_setSetuidAllowed(bool allow); + bool static_QCoreApplication_startingUp(); + bool static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute); + QString static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation = nullptr, int n = -1); +}; + + + + + +class PythonQtWrapper_QCryptographicHash : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Algorithm ) +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; } + bool addData(QCryptographicHash* theWrappedObject, QIODevice* device); + void addData(QCryptographicHash* theWrappedObject, const QByteArray& data); + QByteArray static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method); + int static_QCryptographicHash_hashLength(QCryptographicHash::Algorithm method); + void reset(QCryptographicHash* theWrappedObject); + QByteArray result(QCryptographicHash* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDataStream : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ByteOrder FloatingPointPrecision Status Version ) +enum ByteOrder{ + BigEndian = QDataStream::BigEndian, LittleEndian = QDataStream::LittleEndian}; +enum FloatingPointPrecision{ + SinglePrecision = QDataStream::SinglePrecision, DoublePrecision = QDataStream::DoublePrecision}; +enum Status{ + Ok = QDataStream::Ok, ReadPastEnd = QDataStream::ReadPastEnd, ReadCorruptData = QDataStream::ReadCorruptData, WriteFailed = QDataStream::WriteFailed}; +enum Version{ + Qt_1_0 = QDataStream::Qt_1_0, Qt_2_0 = QDataStream::Qt_2_0, Qt_2_1 = QDataStream::Qt_2_1, Qt_3_0 = QDataStream::Qt_3_0, Qt_3_1 = QDataStream::Qt_3_1, Qt_3_3 = QDataStream::Qt_3_3, Qt_4_0 = QDataStream::Qt_4_0, Qt_4_1 = QDataStream::Qt_4_1, Qt_4_2 = QDataStream::Qt_4_2, Qt_4_3 = QDataStream::Qt_4_3, Qt_4_4 = QDataStream::Qt_4_4, Qt_4_5 = QDataStream::Qt_4_5, Qt_4_6 = QDataStream::Qt_4_6, Qt_4_7 = QDataStream::Qt_4_7, Qt_4_8 = QDataStream::Qt_4_8, Qt_4_9 = QDataStream::Qt_4_9, Qt_5_0 = QDataStream::Qt_5_0, Qt_5_1 = QDataStream::Qt_5_1, Qt_5_2 = QDataStream::Qt_5_2, Qt_5_3 = QDataStream::Qt_5_3, Qt_5_4 = QDataStream::Qt_5_4, Qt_5_5 = QDataStream::Qt_5_5, Qt_5_6 = QDataStream::Qt_5_6, Qt_5_7 = QDataStream::Qt_5_7, Qt_5_8 = QDataStream::Qt_5_8, Qt_5_9 = QDataStream::Qt_5_9, Qt_5_10 = QDataStream::Qt_5_10, Qt_5_11 = QDataStream::Qt_5_11, Qt_5_12 = QDataStream::Qt_5_12, Qt_5_13 = QDataStream::Qt_5_13, Qt_5_14 = QDataStream::Qt_5_14, Qt_5_15 = QDataStream::Qt_5_15, Qt_DefaultCompiledVersion = QDataStream::Qt_DefaultCompiledVersion}; +public slots: +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 abortTransaction(QDataStream* theWrappedObject); + bool atEnd(QDataStream* theWrappedObject) const; + QDataStream::ByteOrder byteOrder(QDataStream* theWrappedObject) const; + bool commitTransaction(QDataStream* theWrappedObject); + QIODevice* device(QDataStream* theWrappedObject) const; + QDataStream::FloatingPointPrecision floatingPointPrecision(QDataStream* theWrappedObject) const; + void resetStatus(QDataStream* theWrappedObject); + void rollbackTransaction(QDataStream* theWrappedObject); + void setByteOrder(QDataStream* theWrappedObject, QDataStream::ByteOrder arg__1); + void setDevice(QDataStream* theWrappedObject, QIODevice* arg__1); + void setFloatingPointPrecision(QDataStream* theWrappedObject, QDataStream::FloatingPointPrecision precision); + void setStatus(QDataStream* theWrappedObject, QDataStream::Status status); + void setVersion(QDataStream* theWrappedObject, int arg__1); + int skipRawData(QDataStream* theWrappedObject, int len); + void startTransaction(QDataStream* theWrappedObject); + QDataStream::Status status(QDataStream* theWrappedObject) const; + void unsetDevice(QDataStream* theWrappedObject); + int version(QDataStream* theWrappedObject) const; + + QString readQString(QDataStream* d) { QString r; (*d) >> r; return r; } + QString readString(QDataStream* d) { QString r; (*d) >> r; return r; } + QChar readQChar(QDataStream* d) { QChar r; (*d) >> r; return r; } + QStringList readQStringList(QDataStream* d) { QStringList r; (*d) >> r; return r; } + QVariant readQVariant(QDataStream* d) { QVariant r; (*d) >> r; return r; } + bool readBool(QDataStream* d) { bool r; (*d) >> r; return r; } + qint8 readInt8(QDataStream* d) { qint8 r; (*d) >> r; return r; } + quint8 readUInt8(QDataStream* d) { quint8 r; (*d) >> r; return r; } + qint16 readInt16(QDataStream* d) { qint16 r; (*d) >> r; return r; } + quint16 readUInt16(QDataStream* d) { quint16 r; (*d) >> r; return r; } + qint32 readInt32(QDataStream* d) { qint32 r; (*d) >> r; return r; } + quint32 readUInt32(QDataStream* d) { quint32 r; (*d) >> r; return r; } + qint64 readInt64(QDataStream* d) { qint64 r; (*d) >> r; return r; } + quint64 readUInt64(QDataStream* d) { quint64 r; (*d) >> r; return r; } + float readFloat(QDataStream* d) { float r; (*d) >> r; return r; } + double readDouble(QDataStream* d) { double r; (*d) >> r; return r; } + + void writeQString(QDataStream* d, const QString& v) { (*d) << v; } + void writeString(QDataStream* d, const QString& v) { (*d) << v; } + void writeQChar(QDataStream* d, const QChar& v) { (*d) << v; } + void writeQStringList(QDataStream* d, const QStringList& v) { (*d) << v; } + void writeQVariant(QDataStream* d, const QVariant& v) { (*d) << v; } + void writeBool(QDataStream* d, bool v) { (*d) << v; } + void writeInt8(QDataStream* d, qint8 v) { (*d) << v; } + void writeUInt8(QDataStream* d, quint8 v) { (*d) << v; } + void writeInt16(QDataStream* d, qint16 v) { (*d) << v; } + void writeUInt16(QDataStream* d, quint16 v) { (*d) << v; } + void writeInt32(QDataStream* d, qint32 v) { (*d) << v; } + void writeUInt32(QDataStream* d, quint32 v) { (*d) << v; } + void writeInt64(QDataStream* d, qint64 v) { (*d) << v; } + void writeUInt64(QDataStream* d, quint64 v) { (*d) << v; } + void writeFloat(QDataStream* d, float v) { (*d) << v; } + void writeDouble(QDataStream* d, double v) { (*d) << v; } + + int writeRawData(QDataStream* d, PyObject* o) { + bool ok; + QByteArray r = PythonQtConv::PyObjGetBytes(o, false, ok); + return (*d).writeRawData(r.constData(), r.size()); + } + + PyObject* readRawData(QDataStream* d, int len) { + QByteArray r; + r.resize(len); + int result = d->readRawData(r.data(), r.size()); + if (result>=0) { + return PyBytes_FromStringAndSize(r.data(), result); + } else { + Py_INCREF(Py_None); + return Py_None; + } + } + +}; + + + + + +class PythonQtWrapper_QDeadlineTimer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ForeverConstant ) +enum ForeverConstant{ + Forever = QDeadlineTimer::Forever}; +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; } + QDeadlineTimer static_QDeadlineTimer_addNSecs(QDeadlineTimer dt, qint64 nsecs); + QDeadlineTimer static_QDeadlineTimer_current(Qt::TimerType timerType = Qt::CoarseTimer); + qint64 deadline(QDeadlineTimer* theWrappedObject) const; + qint64 deadlineNSecs(QDeadlineTimer* theWrappedObject) const; + bool hasExpired(QDeadlineTimer* theWrappedObject) const; + bool isForever(QDeadlineTimer* theWrappedObject) const; + bool __ne__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2); + QDeadlineTimer __add__(QDeadlineTimer* theWrappedObject, qint64 msecs); + QDeadlineTimer* __iadd__(QDeadlineTimer* theWrappedObject, qint64 msecs); + qint64 __sub__(QDeadlineTimer* theWrappedObject, QDeadlineTimer dt2); + QDeadlineTimer __sub__(QDeadlineTimer* theWrappedObject, qint64 msecs); + QDeadlineTimer* __isub__(QDeadlineTimer* theWrappedObject, qint64 msecs); + bool __lt__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2); + bool __le__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2); + bool __eq__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2); + bool __gt__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2); + bool __ge__(QDeadlineTimer* theWrappedObject, QDeadlineTimer d2); + qint64 remainingTime(QDeadlineTimer* theWrappedObject) const; + qint64 remainingTimeNSecs(QDeadlineTimer* theWrappedObject) const; + void setDeadline(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType timerType = Qt::CoarseTimer); + void setPreciseDeadline(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs = 0, Qt::TimerType type = Qt::CoarseTimer); + void setPreciseRemainingTime(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs = 0, Qt::TimerType type = Qt::CoarseTimer); + void setRemainingTime(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType type = Qt::CoarseTimer); + void setTimerType(QDeadlineTimer* theWrappedObject, Qt::TimerType type); + void swap(QDeadlineTimer* theWrappedObject, QDeadlineTimer& other); + Qt::TimerType timerType(QDeadlineTimer* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.cpp new file mode 100644 index 00000000..39280cfc --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -0,0 +1,7563 @@ +#include "com_trolltech_qt_core1.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QDeferredDeleteEvent* PythonQtWrapper_QDeferredDeleteEvent::new_QDeferredDeleteEvent() +{ +return new QDeferredDeleteEvent(); } + +int PythonQtWrapper_QDeferredDeleteEvent::loopLevel(QDeferredDeleteEvent* theWrappedObject) const +{ + return ( theWrappedObject->loopLevel()); +} + + + +QDir* PythonQtWrapper_QDir::new_QDir(const QDir& arg__1) +{ +return new QDir(arg__1); } + +QDir* PythonQtWrapper_QDir::new_QDir(const QString& path) +{ +return new QDir(path); } + +QDir* PythonQtWrapper_QDir::new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort, QDir::Filters filter) +{ +return new QDir(path, nameFilter, sort, filter); } + +QString PythonQtWrapper_QDir::absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->absoluteFilePath(fileName)); +} + +QString PythonQtWrapper_QDir::absolutePath(QDir* theWrappedObject) const +{ + return ( theWrappedObject->absolutePath()); +} + +void PythonQtWrapper_QDir::static_QDir_addSearchPath(const QString& prefix, const QString& path) +{ + (QDir::addSearchPath(prefix, path)); +} + +QString PythonQtWrapper_QDir::canonicalPath(QDir* theWrappedObject) const +{ + return ( theWrappedObject->canonicalPath()); +} + +bool PythonQtWrapper_QDir::cd(QDir* theWrappedObject, const QString& dirName) +{ + return ( theWrappedObject->cd(dirName)); +} + +bool PythonQtWrapper_QDir::cdUp(QDir* theWrappedObject) +{ + return ( theWrappedObject->cdUp()); +} + +QString PythonQtWrapper_QDir::static_QDir_cleanPath(const QString& path) +{ + return (QDir::cleanPath(path)); +} + +uint PythonQtWrapper_QDir::count(QDir* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QDir PythonQtWrapper_QDir::static_QDir_current() +{ + return (QDir::current()); +} + +QString PythonQtWrapper_QDir::static_QDir_currentPath() +{ + return (QDir::currentPath()); +} + +QString PythonQtWrapper_QDir::dirName(QDir* theWrappedObject) const +{ + return ( theWrappedObject->dirName()); +} + +QList PythonQtWrapper_QDir::static_QDir_drives() +{ + return (QDir::drives()); +} + +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryInfoList(filters, sort)); +} + +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryInfoList(nameFilters, filters, sort)); +} + +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryList(filters, sort)); +} + +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryList(nameFilters, filters, sort)); +} + +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject) const +{ + return ( theWrappedObject->exists()); +} + +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->exists(name)); +} + +QString PythonQtWrapper_QDir::filePath(QDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->filePath(fileName)); +} + +QDir::Filters PythonQtWrapper_QDir::filter(QDir* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +QString PythonQtWrapper_QDir::static_QDir_fromNativeSeparators(const QString& pathName) +{ + return (QDir::fromNativeSeparators(pathName)); +} + +QDir PythonQtWrapper_QDir::static_QDir_home() +{ + return (QDir::home()); +} + +QString PythonQtWrapper_QDir::static_QDir_homePath() +{ + return (QDir::homePath()); +} + +bool PythonQtWrapper_QDir::isAbsolute(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isAbsolute()); +} + +bool PythonQtWrapper_QDir::static_QDir_isAbsolutePath(const QString& path) +{ + return (QDir::isAbsolutePath(path)); +} + +bool PythonQtWrapper_QDir::isEmpty(QDir* theWrappedObject, QDir::Filters filters) const +{ + return ( theWrappedObject->isEmpty(filters)); +} + +bool PythonQtWrapper_QDir::isReadable(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QDir::isRelative(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isRelative()); +} + +bool PythonQtWrapper_QDir::static_QDir_isRelativePath(const QString& path) +{ + return (QDir::isRelativePath(path)); +} + +bool PythonQtWrapper_QDir::isRoot(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isRoot()); +} + +QChar PythonQtWrapper_QDir::static_QDir_listSeparator() +{ + return (QDir::listSeparator()); +} + +bool PythonQtWrapper_QDir::makeAbsolute(QDir* theWrappedObject) +{ + return ( theWrappedObject->makeAbsolute()); +} + +bool PythonQtWrapper_QDir::static_QDir_match(const QString& filter, const QString& fileName) +{ + return (QDir::match(filter, fileName)); +} + +bool PythonQtWrapper_QDir::static_QDir_match(const QStringList& filters, const QString& fileName) +{ + return (QDir::match(filters, fileName)); +} + +bool PythonQtWrapper_QDir::mkdir(QDir* theWrappedObject, const QString& dirName) const +{ + return ( theWrappedObject->mkdir(dirName)); +} + +bool PythonQtWrapper_QDir::mkpath(QDir* theWrappedObject, const QString& dirPath) const +{ + return ( theWrappedObject->mkpath(dirPath)); +} + +QStringList PythonQtWrapper_QDir::nameFilters(QDir* theWrappedObject) const +{ + return ( theWrappedObject->nameFilters()); +} + +QStringList PythonQtWrapper_QDir::static_QDir_nameFiltersFromString(const QString& nameFilter) +{ + return (QDir::nameFiltersFromString(nameFilter)); +} + +bool PythonQtWrapper_QDir::__ne__(QDir* theWrappedObject, const QDir& dir) const +{ + return ( (*theWrappedObject)!= dir); +} + +bool PythonQtWrapper_QDir::__eq__(QDir* theWrappedObject, const QDir& dir) const +{ + return ( (*theWrappedObject)== dir); +} + +QString PythonQtWrapper_QDir::operator_subscript(QDir* theWrappedObject, int arg__1) const +{ + return ( (*theWrappedObject)[arg__1]); +} + +QString PythonQtWrapper_QDir::path(QDir* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QDir::refresh(QDir* theWrappedObject) const +{ + ( theWrappedObject->refresh()); +} + +QString PythonQtWrapper_QDir::relativeFilePath(QDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->relativeFilePath(fileName)); +} + +bool PythonQtWrapper_QDir::remove(QDir* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->remove(fileName)); +} + +bool PythonQtWrapper_QDir::removeRecursively(QDir* theWrappedObject) +{ + return ( theWrappedObject->removeRecursively()); +} + +bool PythonQtWrapper_QDir::rename(QDir* theWrappedObject, const QString& oldName, const QString& newName) +{ + return ( theWrappedObject->rename(oldName, newName)); +} + +bool PythonQtWrapper_QDir::rmdir(QDir* theWrappedObject, const QString& dirName) const +{ + return ( theWrappedObject->rmdir(dirName)); +} + +bool PythonQtWrapper_QDir::rmpath(QDir* theWrappedObject, const QString& dirPath) const +{ + return ( theWrappedObject->rmpath(dirPath)); +} + +QDir PythonQtWrapper_QDir::static_QDir_root() +{ + return (QDir::root()); +} + +QString PythonQtWrapper_QDir::static_QDir_rootPath() +{ + return (QDir::rootPath()); +} + +QStringList PythonQtWrapper_QDir::static_QDir_searchPaths(const QString& prefix) +{ + return (QDir::searchPaths(prefix)); +} + +QChar PythonQtWrapper_QDir::static_QDir_separator() +{ + return (QDir::separator()); +} + +bool PythonQtWrapper_QDir::static_QDir_setCurrent(const QString& path) +{ + return (QDir::setCurrent(path)); +} + +void PythonQtWrapper_QDir::setFilter(QDir* theWrappedObject, QDir::Filters filter) +{ + ( theWrappedObject->setFilter(filter)); +} + +void PythonQtWrapper_QDir::setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters) +{ + ( theWrappedObject->setNameFilters(nameFilters)); +} + +void PythonQtWrapper_QDir::setPath(QDir* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setPath(path)); +} + +void PythonQtWrapper_QDir::static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths) +{ + (QDir::setSearchPaths(prefix, searchPaths)); +} + +void PythonQtWrapper_QDir::setSorting(QDir* theWrappedObject, QDir::SortFlags sort) +{ + ( theWrappedObject->setSorting(sort)); +} + +QDir::SortFlags PythonQtWrapper_QDir::sorting(QDir* theWrappedObject) const +{ + return ( theWrappedObject->sorting()); +} + +void PythonQtWrapper_QDir::swap(QDir* theWrappedObject, QDir& other) +{ + ( theWrappedObject->swap(other)); +} + +QDir PythonQtWrapper_QDir::static_QDir_temp() +{ + return (QDir::temp()); +} + +QString PythonQtWrapper_QDir::static_QDir_tempPath() +{ + return (QDir::tempPath()); +} + +QString PythonQtWrapper_QDir::static_QDir_toNativeSeparators(const QString& pathName) +{ + return (QDir::toNativeSeparators(pathName)); +} + +QString PythonQtWrapper_QDir::py_toString(QDir* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(dir, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(path, filter, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(path, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(path, nameFilters, filters, flags); } + +QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->fileInfo()); +} + +QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->filePath()); +} + +bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->hasNext()); +} + +QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + +QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + + + +QDynamicPropertyChangeEvent* PythonQtWrapper_QDynamicPropertyChangeEvent::new_QDynamicPropertyChangeEvent(const QByteArray& name) +{ +return new QDynamicPropertyChangeEvent(name); } + +QByteArray PythonQtWrapper_QDynamicPropertyChangeEvent::propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->propertyName()); +} + + + +QEasingCurve* PythonQtWrapper_QEasingCurve::new_QEasingCurve(QEasingCurve::Type type) +{ +return new QEasingCurve(type); } + +QEasingCurve* PythonQtWrapper_QEasingCurve::new_QEasingCurve(const QEasingCurve& other) +{ +return new QEasingCurve(other); } + +void PythonQtWrapper_QEasingCurve::addCubicBezierSegment(QEasingCurve* theWrappedObject, const QPointF& c1, const QPointF& c2, const QPointF& endPoint) +{ + ( theWrappedObject->addCubicBezierSegment(c1, c2, endPoint)); +} + +void PythonQtWrapper_QEasingCurve::addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b) +{ + ( theWrappedObject->addTCBSegment(nextPoint, t, c, b)); +} + +qreal PythonQtWrapper_QEasingCurve::amplitude(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->amplitude()); +} + +bool PythonQtWrapper_QEasingCurve::__ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QEasingCurve::writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QEasingCurve* PythonQtWrapper_QEasingCurve::operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QEasingCurve::__eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QEasingCurve::readFrom(QEasingCurve* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +qreal PythonQtWrapper_QEasingCurve::overshoot(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->overshoot()); +} + +qreal PythonQtWrapper_QEasingCurve::period(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->period()); +} + +void PythonQtWrapper_QEasingCurve::setAmplitude(QEasingCurve* theWrappedObject, qreal amplitude) +{ + ( theWrappedObject->setAmplitude(amplitude)); +} + +void PythonQtWrapper_QEasingCurve::setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot) +{ + ( theWrappedObject->setOvershoot(overshoot)); +} + +void PythonQtWrapper_QEasingCurve::setPeriod(QEasingCurve* theWrappedObject, qreal period) +{ + ( theWrappedObject->setPeriod(period)); +} + +void PythonQtWrapper_QEasingCurve::setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QEasingCurve::swap(QEasingCurve* theWrappedObject, QEasingCurve& other) +{ + ( theWrappedObject->swap(other)); +} + +QVector PythonQtWrapper_QEasingCurve::toCubicSpline(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->toCubicSpline()); +} + +QEasingCurve::Type PythonQtWrapper_QEasingCurve::type(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +qreal PythonQtWrapper_QEasingCurve::valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const +{ + return ( theWrappedObject->valueForProgress(progress)); +} + +QString PythonQtWrapper_QEasingCurve::py_toString(QEasingCurve* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QElapsedTimer* PythonQtWrapper_QElapsedTimer::new_QElapsedTimer() +{ +return new QElapsedTimer(); } + +QElapsedTimer::ClockType PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_clockType() +{ + return (QElapsedTimer::clockType()); +} + +qint64 PythonQtWrapper_QElapsedTimer::elapsed(QElapsedTimer* theWrappedObject) const +{ + return ( theWrappedObject->elapsed()); +} + +bool PythonQtWrapper_QElapsedTimer::hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const +{ + return ( theWrappedObject->hasExpired(timeout)); +} + +void PythonQtWrapper_QElapsedTimer::invalidate(QElapsedTimer* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + +bool PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_isMonotonic() +{ + return (QElapsedTimer::isMonotonic()); +} + +bool PythonQtWrapper_QElapsedTimer::isValid(QElapsedTimer* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qint64 PythonQtWrapper_QElapsedTimer::msecsSinceReference(QElapsedTimer* theWrappedObject) const +{ + return ( theWrappedObject->msecsSinceReference()); +} + +qint64 PythonQtWrapper_QElapsedTimer::msecsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +{ + return ( theWrappedObject->msecsTo(other)); +} + +qint64 PythonQtWrapper_QElapsedTimer::nsecsElapsed(QElapsedTimer* theWrappedObject) const +{ + return ( theWrappedObject->nsecsElapsed()); +} + +bool PythonQtWrapper_QElapsedTimer::__ne__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QElapsedTimer::__lt__(QElapsedTimer* theWrappedObject, const QElapsedTimer& v2) +{ + return ( (*theWrappedObject)< v2); +} + +bool PythonQtWrapper_QElapsedTimer::__eq__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +{ + return ( (*theWrappedObject)== other); +} + +qint64 PythonQtWrapper_QElapsedTimer::restart(QElapsedTimer* theWrappedObject) +{ + return ( theWrappedObject->restart()); +} + +qint64 PythonQtWrapper_QElapsedTimer::secsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +{ + return ( theWrappedObject->secsTo(other)); +} + +void PythonQtWrapper_QElapsedTimer::start(QElapsedTimer* theWrappedObject) +{ + ( theWrappedObject->start()); +} + + + +PythonQtShell_QEvent::~PythonQtShell_QEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QEvent* PythonQtWrapper_QEvent::new_QEvent(QEvent::Type type) +{ +return new PythonQtShell_QEvent(type); } + +QEvent* PythonQtWrapper_QEvent::new_QEvent(const QEvent& other) +{ +return new PythonQtShell_QEvent(other); } + +void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject) +{ + ( theWrappedObject->accept()); +} + +void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject) +{ + ( theWrappedObject->ignore()); +} + +bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const +{ + return ( theWrappedObject->isAccepted()); +} + +QEvent* PythonQtWrapper_QEvent::operator_assign(QEvent* theWrappedObject, const QEvent& other) +{ + return &( (*theWrappedObject)= other); +} + +int PythonQtWrapper_QEvent::static_QEvent_registerEventType(int hint) +{ + return (QEvent::registerEventType(hint)); +} + +void PythonQtWrapper_QEvent::setAccepted(QEvent* theWrappedObject, bool accepted) +{ + ( theWrappedObject->setAccepted(accepted)); +} + +bool PythonQtWrapper_QEvent::spontaneous(QEvent* theWrappedObject) const +{ + return ( theWrappedObject->spontaneous()); +} + +QEvent::Type PythonQtWrapper_QEvent::type(QEvent* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QEvent::py_toString(QEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QEventLoop::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(); + } + } +} + QEventLoop::childEvent(event0); +} +void PythonQtShell_QEventLoop::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(); + } + } +} + QEventLoop::customEvent(event0); +} +bool PythonQtShell_QEventLoop::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 QEventLoop::event(event0); +} +bool PythonQtShell_QEventLoop::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 QEventLoop::eventFilter(watched0, event1); +} +void PythonQtShell_QEventLoop::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(); + } + } +} + QEventLoop::timerEvent(event0); +} +QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent) +{ +return new PythonQtShell_QEventLoop(parent); } + +const QMetaObject* PythonQtShell_QEventLoop::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QEventLoop::staticMetaObject); + } else { + return &QEventLoop::staticMetaObject; + } +} +int PythonQtShell_QEventLoop::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QEventLoop::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +{ + return ( theWrappedObject->exec(flags)); +} + +void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode) +{ + ( theWrappedObject->exit(returnCode)); +} + +bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +{ + return ( theWrappedObject->processEvents(flags)); +} + +void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime) +{ + ( theWrappedObject->processEvents(flags, maximumTime)); +} + +void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject) +{ + ( theWrappedObject->wakeUp()); +} + + + +PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QEventTransition::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(); + } + } +} + QEventTransition::childEvent(event0); +} +void PythonQtShell_QEventTransition::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(); + } + } +} + QEventTransition::customEvent(event0); +} +bool PythonQtShell_QEventTransition::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 QEventTransition::event(e0); +} +bool PythonQtShell_QEventTransition::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 QEventTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + 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("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QEventTransition::eventTest(event0); +} +void PythonQtShell_QEventTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + 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(); + } + } +} + QEventTransition::onTransition(event0); +} +void PythonQtShell_QEventTransition::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(); + } + } +} + QEventTransition::timerEvent(event0); +} +QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState) +{ +return new PythonQtShell_QEventTransition(object, type, sourceState); } + +QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QState* sourceState) +{ +return new PythonQtShell_QEventTransition(sourceState); } + +const QMetaObject* PythonQtShell_QEventTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QEventTransition::staticMetaObject); + } else { + return &QEventTransition::staticMetaObject; + } +} +int PythonQtShell_QEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QEventTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QEventTransition::eventSource(QEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->eventSource()); +} + +QEvent::Type PythonQtWrapper_QEventTransition::eventType(QEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->eventType()); +} + +void PythonQtWrapper_QEventTransition::setEventSource(QEventTransition* theWrappedObject, QObject* object) +{ + ( theWrappedObject->setEventSource(object)); +} + +void PythonQtWrapper_QEventTransition::setEventType(QEventTransition* theWrappedObject, QEvent::Type type) +{ + ( theWrappedObject->setEventType(type)); +} + + + +PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStringList PythonQtShell_QFactoryInterface::keys() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keys"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() +{ +return new PythonQtShell_QFactoryInterface(); } + +QStringList PythonQtWrapper_QFactoryInterface::keys(QFactoryInterface* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + + + +PythonQtShell_QFile::~PythonQtShell_QFile() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QFile::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::atEnd(); +} +qint64 PythonQtShell_QFile::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::bytesAvailable(); +} +qint64 PythonQtShell_QFile::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::bytesToWrite(); +} +bool PythonQtShell_QFile::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::canReadLine(); +} +void PythonQtShell_QFile::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(); + } + } +} + QFile::childEvent(event0); +} +void PythonQtShell_QFile::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QFile::close(); +} +void PythonQtShell_QFile::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(); + } + } +} + QFile::customEvent(event0); +} +bool PythonQtShell_QFile::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 QFile::event(event0); +} +bool PythonQtShell_QFile::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 QFile::eventFilter(watched0, event1); +} +QString PythonQtShell_QFile::fileName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fileName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::fileName(); +} +bool PythonQtShell_QFile::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::isSequential(); +} +bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::open(flags0); +} +QFileDevice::Permissions PythonQtShell_QFile::permissions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("permissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::permissions(); +} +qint64 PythonQtShell_QFile::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::pos(); +} +qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::readData(data0, maxlen1); +} +qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::readLineData(data0, maxlen1); +} +bool PythonQtShell_QFile::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::reset(); +} +bool PythonQtShell_QFile::resize(qint64 sz0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::resize(sz0); +} +bool PythonQtShell_QFile::seek(qint64 offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::seek(offset0); +} +bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPermissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::setPermissions(permissionSpec0); +} +qint64 PythonQtShell_QFile::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::size(); +} +void PythonQtShell_QFile::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(); + } + } +} + QFile::timerEvent(event0); +} +bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QFile::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::writeData(data0, len1); +} +QFile* PythonQtWrapper_QFile::new_QFile() +{ +return new PythonQtShell_QFile(); } + +QFile* PythonQtWrapper_QFile::new_QFile(QObject* parent) +{ +return new PythonQtShell_QFile(parent); } + +QFile* PythonQtWrapper_QFile::new_QFile(const QString& name) +{ +return new PythonQtShell_QFile(name); } + +QFile* PythonQtWrapper_QFile::new_QFile(const QString& name, QObject* parent) +{ +return new PythonQtShell_QFile(name, parent); } + +const QMetaObject* PythonQtShell_QFile::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFile::staticMetaObject); + } else { + return &QFile::staticMetaObject; + } +} +int PythonQtShell_QFile::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFile::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QFile::static_QFile_copy(const QString& fileName, const QString& newName) +{ + return (QFile::copy(fileName, newName)); +} + +bool PythonQtWrapper_QFile::copy(QFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->copy(newName)); +} + +QString PythonQtWrapper_QFile::static_QFile_decodeName(const QByteArray& localFileName) +{ + return (QFile::decodeName(localFileName)); +} + +QByteArray PythonQtWrapper_QFile::static_QFile_encodeName(const QString& fileName) +{ + return (QFile::encodeName(fileName)); +} + +bool PythonQtWrapper_QFile::exists(QFile* theWrappedObject) const +{ + return ( theWrappedObject->exists()); +} + +bool PythonQtWrapper_QFile::static_QFile_exists(const QString& fileName) +{ + return (QFile::exists(fileName)); +} + +bool PythonQtWrapper_QFile::link(QFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->link(newName)); +} + +bool PythonQtWrapper_QFile::static_QFile_link(const QString& oldname, const QString& newName) +{ + return (QFile::link(oldname, newName)); +} + +bool PythonQtWrapper_QFile::moveToTrash(QFile* theWrappedObject) +{ + return ( theWrappedObject->moveToTrash()); +} + +bool PythonQtWrapper_QFile::static_QFile_moveToTrash(const QString& fileName, QString* pathInTrash) +{ + return (QFile::moveToTrash(fileName, pathInTrash)); +} + +bool PythonQtWrapper_QFile::open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags) +{ + return ( theWrappedObject->open(fd, ioFlags, handleFlags)); +} + +QFileDevice::Permissions PythonQtWrapper_QFile::static_QFile_permissions(const QString& filename) +{ + return (QFile::permissions(filename)); +} + +bool PythonQtWrapper_QFile::remove(QFile* theWrappedObject) +{ + return ( theWrappedObject->remove()); +} + +bool PythonQtWrapper_QFile::static_QFile_remove(const QString& fileName) +{ + return (QFile::remove(fileName)); +} + +bool PythonQtWrapper_QFile::rename(QFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->rename(newName)); +} + +bool PythonQtWrapper_QFile::static_QFile_rename(const QString& oldName, const QString& newName) +{ + return (QFile::rename(oldName, newName)); +} + +bool PythonQtWrapper_QFile::static_QFile_resize(const QString& filename, qint64 sz) +{ + return (QFile::resize(filename, sz)); +} + +void PythonQtWrapper_QFile::setFileName(QFile* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setFileName(name)); +} + +bool PythonQtWrapper_QFile::static_QFile_setPermissions(const QString& filename, QFileDevice::Permissions permissionSpec) +{ + return (QFile::setPermissions(filename, permissionSpec)); +} + +QString PythonQtWrapper_QFile::symLinkTarget(QFile* theWrappedObject) const +{ + return ( theWrappedObject->symLinkTarget()); +} + +QString PythonQtWrapper_QFile::static_QFile_symLinkTarget(const QString& fileName) +{ + return (QFile::symLinkTarget(fileName)); +} + + + +PythonQtShell_QFileDevice::~PythonQtShell_QFileDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QFileDevice::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::atEnd(); +} +qint64 PythonQtShell_QFileDevice::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::bytesAvailable(); +} +qint64 PythonQtShell_QFileDevice::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::bytesToWrite(); +} +bool PythonQtShell_QFileDevice::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::canReadLine(); +} +void PythonQtShell_QFileDevice::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(); + } + } +} + QFileDevice::childEvent(event0); +} +void PythonQtShell_QFileDevice::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QFileDevice::close(); +} +void PythonQtShell_QFileDevice::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(); + } + } +} + QFileDevice::customEvent(event0); +} +bool PythonQtShell_QFileDevice::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 QFileDevice::event(event0); +} +bool PythonQtShell_QFileDevice::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 QFileDevice::eventFilter(watched0, event1); +} +QString PythonQtShell_QFileDevice::fileName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fileName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::fileName(); +} +bool PythonQtShell_QFileDevice::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::isSequential(); +} +bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::open(mode0); +} +QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("permissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::permissions(); +} +qint64 PythonQtShell_QFileDevice::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::pos(); +} +qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::readData(data0, maxlen1); +} +qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::readLineData(data0, maxlen1); +} +bool PythonQtShell_QFileDevice::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::reset(); +} +bool PythonQtShell_QFileDevice::resize(qint64 sz0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::resize(sz0); +} +bool PythonQtShell_QFileDevice::seek(qint64 offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::seek(offset0); +} +bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPermissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::setPermissions(permissionSpec0); +} +qint64 PythonQtShell_QFileDevice::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::size(); +} +void PythonQtShell_QFileDevice::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(); + } + } +} + QFileDevice::timerEvent(event0); +} +bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::writeData(data0, len1); +} +QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice() +{ +return new PythonQtShell_QFileDevice(); } + +QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice(QObject* parent) +{ +return new PythonQtShell_QFileDevice(parent); } + +const QMetaObject* PythonQtShell_QFileDevice::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileDevice::staticMetaObject); + } else { + return &QFileDevice::staticMetaObject; + } +} +int PythonQtShell_QFileDevice::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileDevice::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QFileDevice::FileError PythonQtWrapper_QFileDevice::error(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QFileDevice::fileName(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QDateTime PythonQtWrapper_QFileDevice::fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const +{ + return ( theWrappedObject->fileTime(time)); +} + +bool PythonQtWrapper_QFileDevice::flush(QFileDevice* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +int PythonQtWrapper_QFileDevice::handle(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +uchar* PythonQtWrapper_QFileDevice::map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags) +{ + return ( theWrappedObject->map(offset, size, flags)); +} + +QFileDevice::Permissions PythonQtWrapper_QFileDevice::permissions(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->permissions()); +} + +bool PythonQtWrapper_QFileDevice::resize(QFileDevice* theWrappedObject, qint64 sz) +{ + return ( theWrappedObject->resize(sz)); +} + +bool PythonQtWrapper_QFileDevice::setFileTime(QFileDevice* theWrappedObject, const QDateTime& newDate, QFileDevice::FileTime fileTime) +{ + return ( theWrappedObject->setFileTime(newDate, fileTime)); +} + +bool PythonQtWrapper_QFileDevice::setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec) +{ + return ( theWrappedObject->setPermissions(permissionSpec)); +} + +bool PythonQtWrapper_QFileDevice::unmap(QFileDevice* theWrappedObject, uchar* address) +{ + return ( theWrappedObject->unmap(address)); +} + +void PythonQtWrapper_QFileDevice::unsetError(QFileDevice* theWrappedObject) +{ + ( theWrappedObject->unsetError()); +} + + + +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo() +{ +return new QFileInfo(); } + +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QDir& dir, const QString& file) +{ +return new QFileInfo(dir, file); } + +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QFile& file) +{ +return new QFileInfo(file); } + +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QFileInfo& fileinfo) +{ +return new QFileInfo(fileinfo); } + +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QString& file) +{ +return new QFileInfo(file); } + +QDir PythonQtWrapper_QFileInfo::absoluteDir(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->absoluteDir()); +} + +QString PythonQtWrapper_QFileInfo::absoluteFilePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->absoluteFilePath()); +} + +QString PythonQtWrapper_QFileInfo::absolutePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->absolutePath()); +} + +QString PythonQtWrapper_QFileInfo::baseName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->baseName()); +} + +QDateTime PythonQtWrapper_QFileInfo::birthTime(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->birthTime()); +} + +QString PythonQtWrapper_QFileInfo::bundleName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->bundleName()); +} + +bool PythonQtWrapper_QFileInfo::caching(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->caching()); +} + +QString PythonQtWrapper_QFileInfo::canonicalFilePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->canonicalFilePath()); +} + +QString PythonQtWrapper_QFileInfo::canonicalPath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->canonicalPath()); +} + +QString PythonQtWrapper_QFileInfo::completeBaseName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->completeBaseName()); +} + +QString PythonQtWrapper_QFileInfo::completeSuffix(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->completeSuffix()); +} + +QDateTime PythonQtWrapper_QFileInfo::created(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->created()); +} + +QDir PythonQtWrapper_QFileInfo::dir(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->dir()); +} + +bool PythonQtWrapper_QFileInfo::exists(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->exists()); +} + +bool PythonQtWrapper_QFileInfo::static_QFileInfo_exists(const QString& file) +{ + return (QFileInfo::exists(file)); +} + +QString PythonQtWrapper_QFileInfo::fileName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QFileInfo::filePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->filePath()); +} + +QString PythonQtWrapper_QFileInfo::group(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +uint PythonQtWrapper_QFileInfo::groupId(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->groupId()); +} + +bool PythonQtWrapper_QFileInfo::isAbsolute(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isAbsolute()); +} + +bool PythonQtWrapper_QFileInfo::isBundle(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isBundle()); +} + +bool PythonQtWrapper_QFileInfo::isDir(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isDir()); +} + +bool PythonQtWrapper_QFileInfo::isExecutable(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isExecutable()); +} + +bool PythonQtWrapper_QFileInfo::isFile(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isFile()); +} + +bool PythonQtWrapper_QFileInfo::isHidden(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QFileInfo::isJunction(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isJunction()); +} + +bool PythonQtWrapper_QFileInfo::isNativePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isNativePath()); +} + +bool PythonQtWrapper_QFileInfo::isReadable(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QFileInfo::isRelative(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isRelative()); +} + +bool PythonQtWrapper_QFileInfo::isRoot(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isRoot()); +} + +bool PythonQtWrapper_QFileInfo::isShortcut(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isShortcut()); +} + +bool PythonQtWrapper_QFileInfo::isSymLink(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isSymLink()); +} + +bool PythonQtWrapper_QFileInfo::isSymbolicLink(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isSymbolicLink()); +} + +bool PythonQtWrapper_QFileInfo::isWritable(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QDateTime PythonQtWrapper_QFileInfo::lastModified(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->lastModified()); +} + +QDateTime PythonQtWrapper_QFileInfo::lastRead(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->lastRead()); +} + +bool PythonQtWrapper_QFileInfo::makeAbsolute(QFileInfo* theWrappedObject) +{ + return ( theWrappedObject->makeAbsolute()); +} + +QDateTime PythonQtWrapper_QFileInfo::metadataChangeTime(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->metadataChangeTime()); +} + +QString PythonQtWrapper_QFileInfo::owner(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->owner()); +} + +uint PythonQtWrapper_QFileInfo::ownerId(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->ownerId()); +} + +QString PythonQtWrapper_QFileInfo::path(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +bool PythonQtWrapper_QFileInfo::permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const +{ + return ( theWrappedObject->permission(permissions)); +} + +QFile::Permissions PythonQtWrapper_QFileInfo::permissions(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->permissions()); +} + +void PythonQtWrapper_QFileInfo::refresh(QFileInfo* theWrappedObject) +{ + ( theWrappedObject->refresh()); +} + +void PythonQtWrapper_QFileInfo::setCaching(QFileInfo* theWrappedObject, bool on) +{ + ( theWrappedObject->setCaching(on)); +} + +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file) +{ + ( theWrappedObject->setFile(dir, file)); +} + +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QFile& file) +{ + ( theWrappedObject->setFile(file)); +} + +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QString& file) +{ + ( theWrappedObject->setFile(file)); +} + +qint64 PythonQtWrapper_QFileInfo::size(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QString PythonQtWrapper_QFileInfo::suffix(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->suffix()); +} + +void PythonQtWrapper_QFileInfo::swap(QFileInfo* theWrappedObject, QFileInfo& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QFileInfo::symLinkTarget(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->symLinkTarget()); +} + +QString PythonQtWrapper_QFileInfo::py_toString(QFileInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QFileSelector::~PythonQtShell_QFileSelector() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFileSelector::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(); + } + } +} + QFileSelector::childEvent(event0); +} +void PythonQtShell_QFileSelector::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(); + } + } +} + QFileSelector::customEvent(event0); +} +bool PythonQtShell_QFileSelector::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 QFileSelector::event(event0); +} +bool PythonQtShell_QFileSelector::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 QFileSelector::eventFilter(watched0, event1); +} +void PythonQtShell_QFileSelector::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(); + } + } +} + QFileSelector::timerEvent(event0); +} +QFileSelector* PythonQtWrapper_QFileSelector::new_QFileSelector(QObject* parent) +{ +return new PythonQtShell_QFileSelector(parent); } + +const QMetaObject* PythonQtShell_QFileSelector::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileSelector::staticMetaObject); + } else { + return &QFileSelector::staticMetaObject; + } +} +int PythonQtShell_QFileSelector::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileSelector::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QFileSelector::allSelectors(QFileSelector* theWrappedObject) const +{ + return ( theWrappedObject->allSelectors()); +} + +QStringList PythonQtWrapper_QFileSelector::extraSelectors(QFileSelector* theWrappedObject) const +{ + return ( theWrappedObject->extraSelectors()); +} + +QString PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QString& filePath) const +{ + return ( theWrappedObject->select(filePath)); +} + +QUrl PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QUrl& filePath) const +{ + return ( theWrappedObject->select(filePath)); +} + +void PythonQtWrapper_QFileSelector::setExtraSelectors(QFileSelector* theWrappedObject, const QStringList& list) +{ + ( theWrappedObject->setExtraSelectors(list)); +} + + + +PythonQtShell_QFileSystemWatcher::~PythonQtShell_QFileSystemWatcher() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFileSystemWatcher::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(); + } + } +} + QFileSystemWatcher::childEvent(event0); +} +void PythonQtShell_QFileSystemWatcher::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(); + } + } +} + QFileSystemWatcher::customEvent(event0); +} +bool PythonQtShell_QFileSystemWatcher::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 QFileSystemWatcher::event(event0); +} +bool PythonQtShell_QFileSystemWatcher::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 QFileSystemWatcher::eventFilter(watched0, event1); +} +void PythonQtShell_QFileSystemWatcher::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(); + } + } +} + QFileSystemWatcher::timerEvent(event0); +} +QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(QObject* parent) +{ +return new PythonQtShell_QFileSystemWatcher(parent); } + +QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(const QStringList& paths, QObject* parent) +{ +return new PythonQtShell_QFileSystemWatcher(paths, parent); } + +const QMetaObject* PythonQtShell_QFileSystemWatcher::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileSystemWatcher::staticMetaObject); + } else { + return &QFileSystemWatcher::staticMetaObject; + } +} +int PythonQtShell_QFileSystemWatcher::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileSystemWatcher::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QFileSystemWatcher::addPath(QFileSystemWatcher* theWrappedObject, const QString& file) +{ + return ( theWrappedObject->addPath(file)); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) +{ + return ( theWrappedObject->addPaths(files)); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::directories(QFileSystemWatcher* theWrappedObject) const +{ + return ( theWrappedObject->directories()); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::files(QFileSystemWatcher* theWrappedObject) const +{ + return ( theWrappedObject->files()); +} + +bool PythonQtWrapper_QFileSystemWatcher::removePath(QFileSystemWatcher* theWrappedObject, const QString& file) +{ + return ( theWrappedObject->removePath(file)); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) +{ + return ( theWrappedObject->removePaths(files)); +} + + + +PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFinalState::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(); + } + } +} + QFinalState::childEvent(event0); +} +void PythonQtShell_QFinalState::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(); + } + } +} + QFinalState::customEvent(event0); +} +bool PythonQtShell_QFinalState::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 QFinalState::event(e0); +} +bool PythonQtShell_QFinalState::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 QFinalState::eventFilter(watched0, event1); +} +void PythonQtShell_QFinalState::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(); + } + } +} + QFinalState::onEntry(event0); +} +void PythonQtShell_QFinalState::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(); + } + } +} + QFinalState::onExit(event0); +} +void PythonQtShell_QFinalState::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(); + } + } +} + QFinalState::timerEvent(event0); +} +QFinalState* PythonQtWrapper_QFinalState::new_QFinalState(QState* parent) +{ +return new PythonQtShell_QFinalState(parent); } + +const QMetaObject* PythonQtShell_QFinalState::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFinalState::staticMetaObject); + } else { + return &QFinalState::staticMetaObject; + } +} +int PythonQtShell_QFinalState::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFinalState::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHistoryState::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(); + } + } +} + QHistoryState::childEvent(event0); +} +void PythonQtShell_QHistoryState::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(); + } + } +} + QHistoryState::customEvent(event0); +} +bool PythonQtShell_QHistoryState::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 QHistoryState::event(e0); +} +bool PythonQtShell_QHistoryState::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 QHistoryState::eventFilter(watched0, event1); +} +void PythonQtShell_QHistoryState::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(); + } + } +} + QHistoryState::onEntry(event0); +} +void PythonQtShell_QHistoryState::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(); + } + } +} + QHistoryState::onExit(event0); +} +void PythonQtShell_QHistoryState::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(); + } + } +} + QHistoryState::timerEvent(event0); +} +QHistoryState* PythonQtWrapper_QHistoryState::new_QHistoryState(QHistoryState::HistoryType type, QState* parent) +{ +return new PythonQtShell_QHistoryState(type, parent); } + +QHistoryState* PythonQtWrapper_QHistoryState::new_QHistoryState(QState* parent) +{ +return new PythonQtShell_QHistoryState(parent); } + +const QMetaObject* PythonQtShell_QHistoryState::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHistoryState::staticMetaObject); + } else { + return &QHistoryState::staticMetaObject; + } +} +int PythonQtShell_QHistoryState::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHistoryState::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAbstractState* PythonQtWrapper_QHistoryState::defaultState(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->defaultState()); +} + +QAbstractTransition* PythonQtWrapper_QHistoryState::defaultTransition(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->defaultTransition()); +} + +QHistoryState::HistoryType PythonQtWrapper_QHistoryState::historyType(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->historyType()); +} + +void PythonQtWrapper_QHistoryState::setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->setDefaultState(state)); +} + +void PythonQtWrapper_QHistoryState::setDefaultTransition(QHistoryState* theWrappedObject, QAbstractTransition* transition) +{ + ( theWrappedObject->setDefaultTransition(transition)); +} + +void PythonQtWrapper_QHistoryState::setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type) +{ + ( theWrappedObject->setHistoryType(type)); +} + + + +PythonQtShell_QIODevice::~PythonQtShell_QIODevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QIODevice::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::atEnd(); +} +qint64 PythonQtShell_QIODevice::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::bytesAvailable(); +} +qint64 PythonQtShell_QIODevice::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::bytesToWrite(); +} +bool PythonQtShell_QIODevice::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::canReadLine(); +} +void PythonQtShell_QIODevice::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(); + } + } +} + QIODevice::childEvent(event0); +} +void PythonQtShell_QIODevice::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QIODevice::close(); +} +void PythonQtShell_QIODevice::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(); + } + } +} + QIODevice::customEvent(event0); +} +bool PythonQtShell_QIODevice::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 QIODevice::event(event0); +} +bool PythonQtShell_QIODevice::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 QIODevice::eventFilter(watched0, event1); +} +bool PythonQtShell_QIODevice::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::isSequential(); +} +bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::open(mode0); +} +qint64 PythonQtShell_QIODevice::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::pos(); +} +qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::readLineData(data0, maxlen1); +} +bool PythonQtShell_QIODevice::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::reset(); +} +bool PythonQtShell_QIODevice::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::seek(pos0); +} +qint64 PythonQtShell_QIODevice::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::size(); +} +void PythonQtShell_QIODevice::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(); + } + } +} + QIODevice::timerEvent(event0); +} +bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +QIODevice* PythonQtWrapper_QIODevice::new_QIODevice() +{ +return new PythonQtShell_QIODevice(); } + +QIODevice* PythonQtWrapper_QIODevice::new_QIODevice(QObject* parent) +{ +return new PythonQtShell_QIODevice(parent); } + +const QMetaObject* PythonQtShell_QIODevice::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIODevice::staticMetaObject); + } else { + return &QIODevice::staticMetaObject; + } +} +int PythonQtShell_QIODevice::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QIODevice::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QIODevice::atEnd(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +qint64 PythonQtWrapper_QIODevice::bytesAvailable(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->bytesAvailable()); +} + +qint64 PythonQtWrapper_QIODevice::bytesToWrite(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->bytesToWrite()); +} + +bool PythonQtWrapper_QIODevice::canReadLine(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->canReadLine()); +} + +void PythonQtWrapper_QIODevice::close(QIODevice* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +void PythonQtWrapper_QIODevice::commitTransaction(QIODevice* theWrappedObject) +{ + ( theWrappedObject->commitTransaction()); +} + +int PythonQtWrapper_QIODevice::currentReadChannel(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->currentReadChannel()); +} + +int PythonQtWrapper_QIODevice::currentWriteChannel(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->currentWriteChannel()); +} + +QString PythonQtWrapper_QIODevice::errorString(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QIODevice::getChar(QIODevice* theWrappedObject, char* c) +{ + return ( theWrappedObject->getChar(c)); +} + +bool PythonQtWrapper_QIODevice::isOpen(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isOpen()); +} + +bool PythonQtWrapper_QIODevice::isReadable(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QIODevice::isSequential(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isSequential()); +} + +bool PythonQtWrapper_QIODevice::isTextModeEnabled(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isTextModeEnabled()); +} + +bool PythonQtWrapper_QIODevice::isTransactionStarted(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isTransactionStarted()); +} + +bool PythonQtWrapper_QIODevice::isWritable(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +bool PythonQtWrapper_QIODevice::open(QIODevice* theWrappedObject, QIODevice::OpenMode mode) +{ + return ( theWrappedObject->open(mode)); +} + +QIODevice::OpenMode PythonQtWrapper_QIODevice::openMode(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->openMode()); +} + +QByteArray PythonQtWrapper_QIODevice::peek(QIODevice* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->peek(maxlen)); +} + +qint64 PythonQtWrapper_QIODevice::pos(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +bool PythonQtWrapper_QIODevice::putChar(QIODevice* theWrappedObject, char c) +{ + return ( theWrappedObject->putChar(c)); +} + +QByteArray PythonQtWrapper_QIODevice::read(QIODevice* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->read(maxlen)); +} + +QByteArray PythonQtWrapper_QIODevice::readAll(QIODevice* theWrappedObject) +{ + return ( theWrappedObject->readAll()); +} + +int PythonQtWrapper_QIODevice::readChannelCount(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->readChannelCount()); +} + +qint64 PythonQtWrapper_QIODevice::readData(QIODevice* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readData(data, maxlen)); +} + +QByteArray PythonQtWrapper_QIODevice::readLine(QIODevice* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->readLine(maxlen)); +} + +qint64 PythonQtWrapper_QIODevice::readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readLineData(data, maxlen)); +} + +bool PythonQtWrapper_QIODevice::reset(QIODevice* theWrappedObject) +{ + return ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QIODevice::rollbackTransaction(QIODevice* theWrappedObject) +{ + ( theWrappedObject->rollbackTransaction()); +} + +bool PythonQtWrapper_QIODevice::seek(QIODevice* theWrappedObject, qint64 pos) +{ + return ( theWrappedObject->seek(pos)); +} + +void PythonQtWrapper_QIODevice::setCurrentReadChannel(QIODevice* theWrappedObject, int channel) +{ + ( theWrappedObject->setCurrentReadChannel(channel)); +} + +void PythonQtWrapper_QIODevice::setCurrentWriteChannel(QIODevice* theWrappedObject, int channel) +{ + ( theWrappedObject->setCurrentWriteChannel(channel)); +} + +void PythonQtWrapper_QIODevice::setErrorString(QIODevice* theWrappedObject, const QString& errorString) +{ + ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setErrorString(errorString)); +} + +void PythonQtWrapper_QIODevice::setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode) +{ + ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setOpenMode(openMode)); +} + +void PythonQtWrapper_QIODevice::setTextModeEnabled(QIODevice* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setTextModeEnabled(enabled)); +} + +qint64 PythonQtWrapper_QIODevice::size(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +qint64 PythonQtWrapper_QIODevice::skip(QIODevice* theWrappedObject, qint64 maxSize) +{ + return ( theWrappedObject->skip(maxSize)); +} + +void PythonQtWrapper_QIODevice::startTransaction(QIODevice* theWrappedObject) +{ + ( theWrappedObject->startTransaction()); +} + +void PythonQtWrapper_QIODevice::ungetChar(QIODevice* theWrappedObject, char c) +{ + ( theWrappedObject->ungetChar(c)); +} + +bool PythonQtWrapper_QIODevice::waitForBytesWritten(QIODevice* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForBytesWritten(msecs)); +} + +bool PythonQtWrapper_QIODevice::waitForReadyRead(QIODevice* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForReadyRead(msecs)); +} + +qint64 PythonQtWrapper_QIODevice::write(QIODevice* theWrappedObject, const QByteArray& data) +{ + return ( theWrappedObject->write(data)); +} + +qint64 PythonQtWrapper_QIODevice::write(QIODevice* theWrappedObject, const char* data) +{ + return ( theWrappedObject->write(data)); +} + +int PythonQtWrapper_QIODevice::writeChannelCount(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->writeChannelCount()); +} + +qint64 PythonQtWrapper_QIODevice::writeData(QIODevice* theWrappedObject, const char* data, qint64 len) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_writeData(data, len)); +} + + + +PythonQtShell_QIdentityProxyModel::~PythonQtShell_QIdentityProxyModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::buddy(index0); +} +bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::canFetchMore(parent0); +} +void PythonQtShell_QIdentityProxyModel::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(); + } + } +} + QIdentityProxyModel::childEvent(event0); +} +int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::columnCount(parent0); +} +void PythonQtShell_QIdentityProxyModel::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(); + } + } +} + QIdentityProxyModel::customEvent(event0); +} +QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::data(proxyIndex0, role1); +} +bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QIdentityProxyModel::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 QIdentityProxyModel::event(event0); +} +bool PythonQtShell_QIdentityProxyModel::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 QIdentityProxyModel::eventFilter(watched0, event1); +} +void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::flags(index0); +} +bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::hasChildren(parent0); +} +QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::index(row0, column1, parent2); +} +bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::itemData(index0); +} +QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapFromSource(sourceIndex0); +} +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapSelectionFromSource(selection0); +} +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapSelectionToSource(selection0); +} +QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapToSource(proxyIndex0); +} +QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mimeData(indexes0); +} +QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mimeTypes(); +} +bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::parent(child0); +} +bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QIdentityProxyModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QIdentityProxyModel::revert(); +} +QHash PythonQtShell_QIdentityProxyModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::roleNames(); +} +int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::rowCount(parent0); +} +bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::setData(index0, value1, role2); +} +bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::setItemData(index0, roles1); +} +void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSourceModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&sourceModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::setSourceModel(sourceModel0); +} +QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::sort(column0, order1); +} +QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::span(index0); +} +bool PythonQtShell_QIdentityProxyModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::submit(); +} +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::supportedDropActions(); +} +void PythonQtShell_QIdentityProxyModel::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(); + } + } +} + QIdentityProxyModel::timerEvent(event0); +} +QIdentityProxyModel* PythonQtWrapper_QIdentityProxyModel::new_QIdentityProxyModel(QObject* parent) +{ +return new PythonQtShell_QIdentityProxyModel(parent); } + +const QMetaObject* PythonQtShell_QIdentityProxyModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIdentityProxyModel::staticMetaObject); + } else { + return &QIdentityProxyModel::staticMetaObject; + } +} +int PythonQtShell_QIdentityProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QIdentityProxyModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray() +{ +return new QJsonArray(); } + +QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray(const QJsonArray& other) +{ +return new QJsonArray(other); } + +void PythonQtWrapper_QJsonArray::append(QJsonArray* theWrappedObject, const QJsonValue& value) +{ + ( theWrappedObject->append(value)); +} + +QJsonValue PythonQtWrapper_QJsonArray::at(QJsonArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +bool PythonQtWrapper_QJsonArray::contains(QJsonArray* theWrappedObject, const QJsonValue& element) const +{ + return ( theWrappedObject->contains(element)); +} + +int PythonQtWrapper_QJsonArray::count(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QJsonArray::empty(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +QJsonValue PythonQtWrapper_QJsonArray::first(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->first()); +} + +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromStringList(const QStringList& list) +{ + return (QJsonArray::fromStringList(list)); +} + +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromVariantList(const QList& list) +{ + return (QJsonArray::fromVariantList(list)); +} + +bool PythonQtWrapper_QJsonArray::isEmpty(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QJsonValue PythonQtWrapper_QJsonArray::last(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->last()); +} + +bool PythonQtWrapper_QJsonArray::__ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QJsonArray PythonQtWrapper_QJsonArray::__add__(QJsonArray* theWrappedObject, const QJsonValue& v) const +{ + return ( (*theWrappedObject)+ v); +} + +QJsonArray* PythonQtWrapper_QJsonArray::__iadd__(QJsonArray* theWrappedObject, const QJsonValue& v) +{ + return &( (*theWrappedObject)+= v); +} + +void PythonQtWrapper_QJsonArray::writeTo(QJsonArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonArray* PythonQtWrapper_QJsonArray::__lshift__(QJsonArray* theWrappedObject, const QJsonValue& v) +{ + return &( (*theWrappedObject) <> (*theWrappedObject); +} + +QJsonValue PythonQtWrapper_QJsonArray::operator_subscript(QJsonArray* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QJsonArray::pop_back(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QJsonArray::pop_front(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QJsonArray::prepend(QJsonArray* theWrappedObject, const QJsonValue& value) +{ + ( theWrappedObject->prepend(value)); +} + +void PythonQtWrapper_QJsonArray::push_back(QJsonArray* theWrappedObject, const QJsonValue& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QJsonArray::push_front(QJsonArray* theWrappedObject, const QJsonValue& t) +{ + ( theWrappedObject->push_front(t)); +} + +void PythonQtWrapper_QJsonArray::removeAt(QJsonArray* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QJsonArray::removeFirst(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QJsonArray::removeLast(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +void PythonQtWrapper_QJsonArray::replace(QJsonArray* theWrappedObject, int i, const QJsonValue& value) +{ + ( theWrappedObject->replace(i, value)); +} + +int PythonQtWrapper_QJsonArray::size(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QJsonArray::swap(QJsonArray* theWrappedObject, QJsonArray& other) +{ + ( theWrappedObject->swap(other)); +} + +QJsonValue PythonQtWrapper_QJsonArray::takeAt(QJsonArray* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QList PythonQtWrapper_QJsonArray::toVariantList(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->toVariantList()); +} + +QString PythonQtWrapper_QJsonArray::py_toString(QJsonArray* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QJsonDocument::~PythonQtShell_QJsonDocument() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument() +{ +return new PythonQtShell_QJsonDocument(); } + +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonArray& array) +{ +return new PythonQtShell_QJsonDocument(array); } + +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonDocument& other) +{ +return new PythonQtShell_QJsonDocument(other); } + +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonObject& object) +{ +return new PythonQtShell_QJsonDocument(object); } + +QJsonArray PythonQtWrapper_QJsonDocument::array(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->array()); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromBinaryData(const QByteArray& data, QJsonDocument::DataValidation validation) +{ + return (QJsonDocument::fromBinaryData(data, validation)); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromJson(const QByteArray& json, QJsonParseError* error) +{ + return (QJsonDocument::fromJson(json, error)); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromRawData(const char* data, int size, QJsonDocument::DataValidation validation) +{ + return (QJsonDocument::fromRawData(data, size, validation)); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromVariant(const QVariant& variant) +{ + return (QJsonDocument::fromVariant(variant)); +} + +bool PythonQtWrapper_QJsonDocument::isArray(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QJsonDocument::isEmpty(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QJsonDocument::isNull(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QJsonDocument::isObject(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isObject()); +} + +QJsonObject PythonQtWrapper_QJsonDocument::object(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +bool PythonQtWrapper_QJsonDocument::__ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QJsonDocument::writeTo(QJsonDocument* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonDocument* PythonQtWrapper_QJsonDocument::operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QJsonDocument::__eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QJsonDocument::readFrom(QJsonDocument* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +const char* PythonQtWrapper_QJsonDocument::rawData(QJsonDocument* theWrappedObject, int* size) const +{ + return ( theWrappedObject->rawData(size)); +} + +void PythonQtWrapper_QJsonDocument::setArray(QJsonDocument* theWrappedObject, const QJsonArray& array) +{ + ( theWrappedObject->setArray(array)); +} + +void PythonQtWrapper_QJsonDocument::setObject(QJsonDocument* theWrappedObject, const QJsonObject& object) +{ + ( theWrappedObject->setObject(object)); +} + +void PythonQtWrapper_QJsonDocument::swap(QJsonDocument* theWrappedObject, QJsonDocument& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QJsonDocument::toBinaryData(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->toBinaryData()); +} + +QByteArray PythonQtWrapper_QJsonDocument::toJson(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->toJson()); +} + +QByteArray PythonQtWrapper_QJsonDocument::toJson(QJsonDocument* theWrappedObject, QJsonDocument::JsonFormat format) const +{ + return ( theWrappedObject->toJson(format)); +} + +QVariant PythonQtWrapper_QJsonDocument::toVariant(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->toVariant()); +} + +QString PythonQtWrapper_QJsonDocument::py_toString(QJsonDocument* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QJsonObject* PythonQtWrapper_QJsonObject::new_QJsonObject() +{ +return new QJsonObject(); } + +QJsonObject* PythonQtWrapper_QJsonObject::new_QJsonObject(const QJsonObject& other) +{ +return new QJsonObject(other); } + +bool PythonQtWrapper_QJsonObject::contains(QJsonObject* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->contains(key)); +} + +int PythonQtWrapper_QJsonObject::count(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QJsonObject::empty(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +QJsonObject PythonQtWrapper_QJsonObject::static_QJsonObject_fromVariantHash(const QHash& map) +{ + return (QJsonObject::fromVariantHash(map)); +} + +QJsonObject PythonQtWrapper_QJsonObject::static_QJsonObject_fromVariantMap(const QMap& map) +{ + return (QJsonObject::fromVariantMap(map)); +} + +bool PythonQtWrapper_QJsonObject::isEmpty(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QStringList PythonQtWrapper_QJsonObject::keys(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +int PythonQtWrapper_QJsonObject::length(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QJsonObject::__ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QJsonObject::writeTo(QJsonObject* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonObject* PythonQtWrapper_QJsonObject::operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QJsonObject::__eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QJsonObject::readFrom(QJsonObject* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QJsonValue PythonQtWrapper_QJsonObject::operator_subscript(QJsonObject* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +void PythonQtWrapper_QJsonObject::remove(QJsonObject* theWrappedObject, const QString& key) +{ + ( theWrappedObject->remove(key)); +} + +int PythonQtWrapper_QJsonObject::size(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QJsonObject::swap(QJsonObject* theWrappedObject, QJsonObject& other) +{ + ( theWrappedObject->swap(other)); +} + +QJsonValue PythonQtWrapper_QJsonObject::take(QJsonObject* theWrappedObject, const QString& key) +{ + return ( theWrappedObject->take(key)); +} + +QHash PythonQtWrapper_QJsonObject::toVariantHash(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->toVariantHash()); +} + +QMap PythonQtWrapper_QJsonObject::toVariantMap(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->toVariantMap()); +} + +QJsonValue PythonQtWrapper_QJsonObject::value(QJsonObject* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->value(key)); +} + +QString PythonQtWrapper_QJsonObject::py_toString(QJsonObject* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QJsonParseError::~PythonQtShell_QJsonParseError() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QJsonParseError* PythonQtWrapper_QJsonParseError::new_QJsonParseError() +{ +return new PythonQtShell_QJsonParseError(); } + +QString PythonQtWrapper_QJsonParseError::errorString(QJsonParseError* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + + + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(QJsonValue::Type arg__1) +{ +return new QJsonValue(arg__1); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(bool b) +{ +return new QJsonValue(b); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonArray& a) +{ +return new QJsonValue(a); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonObject& o) +{ +return new QJsonValue(o); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonValue& other) +{ +return new QJsonValue(other); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QString& s) +{ +return new QJsonValue(s); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const char* s) +{ +return new QJsonValue(s); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(double n) +{ +return new QJsonValue(n); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(int n) +{ +return new QJsonValue(n); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(qint64 v) +{ +return new QJsonValue(v); } + +QJsonValue PythonQtWrapper_QJsonValue::static_QJsonValue_fromVariant(const QVariant& variant) +{ + return (QJsonValue::fromVariant(variant)); +} + +bool PythonQtWrapper_QJsonValue::isArray(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QJsonValue::isBool(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isBool()); +} + +bool PythonQtWrapper_QJsonValue::isDouble(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isDouble()); +} + +bool PythonQtWrapper_QJsonValue::isNull(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QJsonValue::isObject(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isObject()); +} + +bool PythonQtWrapper_QJsonValue::isString(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isString()); +} + +bool PythonQtWrapper_QJsonValue::isUndefined(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isUndefined()); +} + +bool PythonQtWrapper_QJsonValue::__ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QJsonValue::writeTo(QJsonValue* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonValue* PythonQtWrapper_QJsonValue::operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QJsonValue::__eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QJsonValue::readFrom(QJsonValue* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QJsonValue::swap(QJsonValue* theWrappedObject, QJsonValue& other) +{ + ( theWrappedObject->swap(other)); +} + +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toArray()); +} + +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const +{ + return ( theWrappedObject->toArray(defaultValue)); +} + +bool PythonQtWrapper_QJsonValue::toBool(QJsonValue* theWrappedObject, bool defaultValue) const +{ + return ( theWrappedObject->toBool(defaultValue)); +} + +double PythonQtWrapper_QJsonValue::toDouble(QJsonValue* theWrappedObject, double defaultValue) const +{ + return ( theWrappedObject->toDouble(defaultValue)); +} + +int PythonQtWrapper_QJsonValue::toInt(QJsonValue* theWrappedObject, int defaultValue) const +{ + return ( theWrappedObject->toInt(defaultValue)); +} + +QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toObject()); +} + +QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const +{ + return ( theWrappedObject->toObject(defaultValue)); +} + +QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject, const QString& defaultValue) const +{ + return ( theWrappedObject->toString(defaultValue)); +} + +QVariant PythonQtWrapper_QJsonValue::toVariant(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toVariant()); +} + +QJsonValue::Type PythonQtWrapper_QJsonValue::type(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QJsonValue::py_toString(QJsonValue* obj) { return obj->toString(); } + + +PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLibrary::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(); + } + } +} + QLibrary::childEvent(event0); +} +void PythonQtShell_QLibrary::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(); + } + } +} + QLibrary::customEvent(event0); +} +bool PythonQtShell_QLibrary::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 QLibrary::event(event0); +} +bool PythonQtShell_QLibrary::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 QLibrary::eventFilter(watched0, event1); +} +void PythonQtShell_QLibrary::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(); + } + } +} + QLibrary::timerEvent(event0); +} +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(QObject* parent) +{ +return new PythonQtShell_QLibrary(parent); } + +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, QObject* parent) +{ +return new PythonQtShell_QLibrary(fileName, parent); } + +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, const QString& version, QObject* parent) +{ +return new PythonQtShell_QLibrary(fileName, version, parent); } + +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, int verNum, QObject* parent) +{ +return new PythonQtShell_QLibrary(fileName, verNum, parent); } + +const QMetaObject* PythonQtShell_QLibrary::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLibrary::staticMetaObject); + } else { + return &QLibrary::staticMetaObject; + } +} +int PythonQtShell_QLibrary::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLibrary::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QLibrary::errorString(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QLibrary::fileName(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +bool PythonQtWrapper_QLibrary::static_QLibrary_isLibrary(const QString& fileName) +{ + return (QLibrary::isLibrary(fileName)); +} + +bool PythonQtWrapper_QLibrary::isLoaded(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->isLoaded()); +} + +bool PythonQtWrapper_QLibrary::load(QLibrary* theWrappedObject) +{ + return ( theWrappedObject->load()); +} + +QLibrary::LoadHints PythonQtWrapper_QLibrary::loadHints(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->loadHints()); +} + +void PythonQtWrapper_QLibrary::setFileName(QLibrary* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version) +{ + ( theWrappedObject->setFileNameAndVersion(fileName, version)); +} + +void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum) +{ + ( theWrappedObject->setFileNameAndVersion(fileName, verNum)); +} + +void PythonQtWrapper_QLibrary::setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints) +{ + ( theWrappedObject->setLoadHints(hints)); +} + +bool PythonQtWrapper_QLibrary::unload(QLibrary* theWrappedObject) +{ + return ( theWrappedObject->unload()); +} + + + +const char* PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_build() +{ + return (QLibraryInfo::build()); +} + +QDate PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildDate() +{ + return (QLibraryInfo::buildDate()); +} + +bool PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_isDebugBuild() +{ + return (QLibraryInfo::isDebugBuild()); +} + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensedProducts() +{ + return (QLibraryInfo::licensedProducts()); +} + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensee() +{ + return (QLibraryInfo::licensee()); +} + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1) +{ + return (QLibraryInfo::location(arg__1)); +} + +QStringList PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_platformPluginArguments(const QString& platformName) +{ + return (QLibraryInfo::platformPluginArguments(platformName)); +} + +QVersionNumber PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_version() +{ + return (QLibraryInfo::version()); +} + + + +QLockFile* PythonQtWrapper_QLockFile::new_QLockFile(const QString& fileName) +{ +return new QLockFile(fileName); } + +QLockFile::LockError PythonQtWrapper_QLockFile::error(QLockFile* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QLockFile::getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const +{ + return ( theWrappedObject->getLockInfo(pid, hostname, appname)); +} + +bool PythonQtWrapper_QLockFile::isLocked(QLockFile* theWrappedObject) const +{ + return ( theWrappedObject->isLocked()); +} + +bool PythonQtWrapper_QLockFile::lock(QLockFile* theWrappedObject) +{ + return ( theWrappedObject->lock()); +} + +bool PythonQtWrapper_QLockFile::removeStaleLockFile(QLockFile* theWrappedObject) +{ + return ( theWrappedObject->removeStaleLockFile()); +} + +void PythonQtWrapper_QLockFile::setStaleLockTime(QLockFile* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setStaleLockTime(arg__1)); +} + +int PythonQtWrapper_QLockFile::staleLockTime(QLockFile* theWrappedObject) const +{ + return ( theWrappedObject->staleLockTime()); +} + +bool PythonQtWrapper_QLockFile::tryLock(QLockFile* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLock(timeout)); +} + +void PythonQtWrapper_QLockFile::unlock(QLockFile* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +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(); } + +QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF(const QMargins& margins) +{ +return new QMarginsF(margins); } + +QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF(qreal left, qreal top, qreal right, qreal bottom) +{ +return new QMarginsF(left, top, right, bottom); } + +qreal PythonQtWrapper_QMarginsF::bottom(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +bool PythonQtWrapper_QMarginsF::isNull(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +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); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__imul__(QMarginsF* theWrappedObject, qreal factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject) +{ + return (+ (*theWrappedObject)); +} + +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QRectF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QRectF& rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, qreal rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, qreal addend) +{ + return &( (*theWrappedObject)+= addend); +} + +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, qreal rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, qreal subtrahend) +{ + return &( (*theWrappedObject)-= subtrahend); +} + +QMarginsF PythonQtWrapper_QMarginsF::__div__(QMarginsF* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__idiv__(QMarginsF* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QMarginsF::writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMarginsF::__eq__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QMarginsF::readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +qreal PythonQtWrapper_QMarginsF::right(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QMarginsF::setBottom(QMarginsF* theWrappedObject, qreal bottom) +{ + ( theWrappedObject->setBottom(bottom)); +} + +void PythonQtWrapper_QMarginsF::setLeft(QMarginsF* theWrappedObject, qreal left) +{ + ( theWrappedObject->setLeft(left)); +} + +void PythonQtWrapper_QMarginsF::setRight(QMarginsF* theWrappedObject, qreal right) +{ + ( theWrappedObject->setRight(right)); +} + +void PythonQtWrapper_QMarginsF::setTop(QMarginsF* theWrappedObject, qreal top) +{ + ( theWrappedObject->setTop(top)); +} + +QMargins PythonQtWrapper_QMarginsF::toMargins(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->toMargins()); +} + +qreal PythonQtWrapper_QMarginsF::top(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QString PythonQtWrapper_QMarginsF::py_toString(QMarginsF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QMessageAuthenticationCode* PythonQtWrapper_QMessageAuthenticationCode::new_QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray& key) +{ +return new QMessageAuthenticationCode(method, key); } + +bool PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device) +{ + return ( theWrappedObject->addData(device)); +} + +void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->addData(data)); +} + +void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length) +{ + ( theWrappedObject->addData(data, length)); +} + +QByteArray PythonQtWrapper_QMessageAuthenticationCode::static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method) +{ + return (QMessageAuthenticationCode::hash(message, key, method)); +} + +void PythonQtWrapper_QMessageAuthenticationCode::reset(QMessageAuthenticationCode* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QByteArray PythonQtWrapper_QMessageAuthenticationCode::result(QMessageAuthenticationCode* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + +void PythonQtWrapper_QMessageAuthenticationCode::setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key) +{ + ( theWrappedObject->setKey(key)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.h new file mode 100644 index 00000000..ace248d2 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core1.h @@ -0,0 +1,1531 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QDeferredDeleteEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDeferredDeleteEvent* new_QDeferredDeleteEvent(); +void delete_QDeferredDeleteEvent(QDeferredDeleteEvent* obj) { delete obj; } + int loopLevel(QDeferredDeleteEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDir : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Filter SortFlag ) +Q_FLAGS(Filters SortFlags ) +enum Filter{ + Dirs = QDir::Dirs, Files = QDir::Files, Drives = QDir::Drives, NoSymLinks = QDir::NoSymLinks, AllEntries = QDir::AllEntries, TypeMask = QDir::TypeMask, Readable = QDir::Readable, Writable = QDir::Writable, Executable = QDir::Executable, PermissionMask = QDir::PermissionMask, Modified = QDir::Modified, Hidden = QDir::Hidden, System = QDir::System, AccessMask = QDir::AccessMask, AllDirs = QDir::AllDirs, CaseSensitive = QDir::CaseSensitive, NoDot = QDir::NoDot, NoDotDot = QDir::NoDotDot, NoDotAndDotDot = QDir::NoDotAndDotDot, NoFilter = QDir::NoFilter}; +enum SortFlag{ + Name = QDir::Name, Time = QDir::Time, Size = QDir::Size, Unsorted = QDir::Unsorted, SortByMask = QDir::SortByMask, DirsFirst = QDir::DirsFirst, Reversed = QDir::Reversed, IgnoreCase = QDir::IgnoreCase, DirsLast = QDir::DirsLast, LocaleAware = QDir::LocaleAware, Type = QDir::Type, NoSort = QDir::NoSort}; +Q_DECLARE_FLAGS(Filters, Filter) +Q_DECLARE_FLAGS(SortFlags, SortFlag) +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; } + QString absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const; + QString absolutePath(QDir* theWrappedObject) const; + void static_QDir_addSearchPath(const QString& prefix, const QString& path); + QString canonicalPath(QDir* theWrappedObject) const; + bool cd(QDir* theWrappedObject, const QString& dirName); + bool cdUp(QDir* theWrappedObject); + QString static_QDir_cleanPath(const QString& path); + uint count(QDir* theWrappedObject) const; + QDir static_QDir_current(); + QString static_QDir_currentPath(); + QString dirName(QDir* theWrappedObject) const; + QList static_QDir_drives(); + QList entryInfoList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + QList entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + QStringList entryList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + QStringList entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + bool exists(QDir* theWrappedObject) const; + bool exists(QDir* theWrappedObject, const QString& name) const; + QString filePath(QDir* theWrappedObject, const QString& fileName) const; + QDir::Filters filter(QDir* theWrappedObject) const; + QString static_QDir_fromNativeSeparators(const QString& pathName); + QDir static_QDir_home(); + QString static_QDir_homePath(); + bool isAbsolute(QDir* theWrappedObject) const; + bool static_QDir_isAbsolutePath(const QString& path); + bool isEmpty(QDir* theWrappedObject, QDir::Filters filters = QDir::Filters(AllEntries | NoDotAndDotDot)) const; + bool isReadable(QDir* theWrappedObject) const; + bool isRelative(QDir* theWrappedObject) const; + bool static_QDir_isRelativePath(const QString& path); + bool isRoot(QDir* theWrappedObject) const; + QChar static_QDir_listSeparator(); + bool makeAbsolute(QDir* theWrappedObject); + bool static_QDir_match(const QString& filter, const QString& fileName); + bool static_QDir_match(const QStringList& filters, const QString& fileName); + bool mkdir(QDir* theWrappedObject, const QString& dirName) const; + bool mkpath(QDir* theWrappedObject, const QString& dirPath) const; + QStringList nameFilters(QDir* theWrappedObject) const; + QStringList static_QDir_nameFiltersFromString(const QString& nameFilter); + bool __ne__(QDir* theWrappedObject, const QDir& dir) const; + bool __eq__(QDir* theWrappedObject, const QDir& dir) const; + QString operator_subscript(QDir* theWrappedObject, int arg__1) const; + QString path(QDir* theWrappedObject) const; + void refresh(QDir* theWrappedObject) const; + QString relativeFilePath(QDir* theWrappedObject, const QString& fileName) const; + bool remove(QDir* theWrappedObject, const QString& fileName); + bool removeRecursively(QDir* theWrappedObject); + bool rename(QDir* theWrappedObject, const QString& oldName, const QString& newName); + bool rmdir(QDir* theWrappedObject, const QString& dirName) const; + bool rmpath(QDir* theWrappedObject, const QString& dirPath) const; + QDir static_QDir_root(); + QString static_QDir_rootPath(); + QStringList static_QDir_searchPaths(const QString& prefix); + QChar static_QDir_separator(); + bool static_QDir_setCurrent(const QString& path); + void setFilter(QDir* theWrappedObject, QDir::Filters filter); + void setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters); + void setPath(QDir* theWrappedObject, const QString& path); + void static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths); + void setSorting(QDir* theWrappedObject, QDir::SortFlags sort); + QDir::SortFlags sorting(QDir* theWrappedObject) const; + void swap(QDir* theWrappedObject, QDir& other); + QDir static_QDir_temp(); + QString static_QDir_tempPath(); + QString static_QDir_toNativeSeparators(const QString& pathName); + QString py_toString(QDir*); + bool __nonzero__(QDir* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QDirIterator : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IteratorFlag ) +Q_FLAGS(IteratorFlags ) +enum IteratorFlag{ + NoIteratorFlags = QDirIterator::NoIteratorFlags, FollowSymlinks = QDirIterator::FollowSymlinks, Subdirectories = QDirIterator::Subdirectories}; +Q_DECLARE_FLAGS(IteratorFlags, IteratorFlag) +public slots: +QDirIterator* new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags); +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; } + QFileInfo fileInfo(QDirIterator* theWrappedObject) const; + QString fileName(QDirIterator* theWrappedObject) const; + QString filePath(QDirIterator* theWrappedObject) const; + bool hasNext(QDirIterator* theWrappedObject) const; + QString next(QDirIterator* theWrappedObject); + QString path(QDirIterator* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDynamicPropertyChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDynamicPropertyChangeEvent* new_QDynamicPropertyChangeEvent(const QByteArray& name); +void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; } + QByteArray propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QEasingCurve : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + Linear = QEasingCurve::Linear, InQuad = QEasingCurve::InQuad, OutQuad = QEasingCurve::OutQuad, InOutQuad = QEasingCurve::InOutQuad, OutInQuad = QEasingCurve::OutInQuad, InCubic = QEasingCurve::InCubic, OutCubic = QEasingCurve::OutCubic, InOutCubic = QEasingCurve::InOutCubic, OutInCubic = QEasingCurve::OutInCubic, InQuart = QEasingCurve::InQuart, OutQuart = QEasingCurve::OutQuart, InOutQuart = QEasingCurve::InOutQuart, OutInQuart = QEasingCurve::OutInQuart, InQuint = QEasingCurve::InQuint, OutQuint = QEasingCurve::OutQuint, InOutQuint = QEasingCurve::InOutQuint, OutInQuint = QEasingCurve::OutInQuint, InSine = QEasingCurve::InSine, OutSine = QEasingCurve::OutSine, InOutSine = QEasingCurve::InOutSine, OutInSine = QEasingCurve::OutInSine, InExpo = QEasingCurve::InExpo, OutExpo = QEasingCurve::OutExpo, InOutExpo = QEasingCurve::InOutExpo, OutInExpo = QEasingCurve::OutInExpo, InCirc = QEasingCurve::InCirc, OutCirc = QEasingCurve::OutCirc, InOutCirc = QEasingCurve::InOutCirc, OutInCirc = QEasingCurve::OutInCirc, InElastic = QEasingCurve::InElastic, OutElastic = QEasingCurve::OutElastic, InOutElastic = QEasingCurve::InOutElastic, OutInElastic = QEasingCurve::OutInElastic, InBack = QEasingCurve::InBack, OutBack = QEasingCurve::OutBack, InOutBack = QEasingCurve::InOutBack, OutInBack = QEasingCurve::OutInBack, InBounce = QEasingCurve::InBounce, OutBounce = QEasingCurve::OutBounce, InOutBounce = QEasingCurve::InOutBounce, OutInBounce = QEasingCurve::OutInBounce, InCurve = QEasingCurve::InCurve, OutCurve = QEasingCurve::OutCurve, SineCurve = QEasingCurve::SineCurve, CosineCurve = QEasingCurve::CosineCurve, BezierSpline = QEasingCurve::BezierSpline, TCBSpline = QEasingCurve::TCBSpline, Custom = QEasingCurve::Custom, NCurveTypes = QEasingCurve::NCurveTypes}; +public slots: +QEasingCurve* new_QEasingCurve(QEasingCurve::Type type = QEasingCurve::Linear); +QEasingCurve* new_QEasingCurve(const QEasingCurve& other); +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; + bool __ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; + void writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1); + QEasingCurve* operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other); + bool __eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; + void readFrom(QEasingCurve* theWrappedObject, QDataStream& arg__1); + qreal overshoot(QEasingCurve* theWrappedObject) const; + qreal period(QEasingCurve* theWrappedObject) const; + void setAmplitude(QEasingCurve* theWrappedObject, qreal amplitude); + void setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot); + void setPeriod(QEasingCurve* theWrappedObject, qreal period); + void setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type); + void swap(QEasingCurve* theWrappedObject, QEasingCurve& other); + QVector toCubicSpline(QEasingCurve* theWrappedObject) const; + QEasingCurve::Type type(QEasingCurve* theWrappedObject) const; + qreal valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const; + QString py_toString(QEasingCurve*); +}; + + + + + +class PythonQtWrapper_QElapsedTimer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ClockType ) +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; } + QElapsedTimer::ClockType static_QElapsedTimer_clockType(); + qint64 elapsed(QElapsedTimer* theWrappedObject) const; + bool hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const; + void invalidate(QElapsedTimer* theWrappedObject); + bool static_QElapsedTimer_isMonotonic(); + bool isValid(QElapsedTimer* theWrappedObject) const; + qint64 msecsSinceReference(QElapsedTimer* theWrappedObject) const; + qint64 msecsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + qint64 nsecsElapsed(QElapsedTimer* theWrappedObject) const; + bool __ne__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + bool __lt__(QElapsedTimer* theWrappedObject, const QElapsedTimer& v2); + bool __eq__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + qint64 restart(QElapsedTimer* theWrappedObject); + qint64 secsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + void start(QElapsedTimer* theWrappedObject); + bool __nonzero__(QElapsedTimer* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QEvent : public QEvent +{ +public: + PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(nullptr) {}; + PythonQtShell_QEvent(const QEvent& other):QEvent(other),_wrapper(nullptr) {}; + + ~PythonQtShell_QEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + None = QEvent::None, Timer = QEvent::Timer, MouseButtonPress = QEvent::MouseButtonPress, MouseButtonRelease = QEvent::MouseButtonRelease, MouseButtonDblClick = QEvent::MouseButtonDblClick, MouseMove = QEvent::MouseMove, KeyPress = QEvent::KeyPress, KeyRelease = QEvent::KeyRelease, FocusIn = QEvent::FocusIn, FocusOut = QEvent::FocusOut, FocusAboutToChange = QEvent::FocusAboutToChange, Enter = QEvent::Enter, Leave = QEvent::Leave, Paint = QEvent::Paint, Move = QEvent::Move, Resize = QEvent::Resize, Create = QEvent::Create, Destroy = QEvent::Destroy, Show = QEvent::Show, Hide = QEvent::Hide, Close = QEvent::Close, Quit = QEvent::Quit, ParentChange = QEvent::ParentChange, ParentAboutToChange = QEvent::ParentAboutToChange, ThreadChange = QEvent::ThreadChange, WindowActivate = QEvent::WindowActivate, WindowDeactivate = QEvent::WindowDeactivate, ShowToParent = QEvent::ShowToParent, HideToParent = QEvent::HideToParent, Wheel = QEvent::Wheel, WindowTitleChange = QEvent::WindowTitleChange, WindowIconChange = QEvent::WindowIconChange, ApplicationWindowIconChange = QEvent::ApplicationWindowIconChange, ApplicationFontChange = QEvent::ApplicationFontChange, ApplicationLayoutDirectionChange = QEvent::ApplicationLayoutDirectionChange, ApplicationPaletteChange = QEvent::ApplicationPaletteChange, PaletteChange = QEvent::PaletteChange, Clipboard = QEvent::Clipboard, Speech = QEvent::Speech, MetaCall = QEvent::MetaCall, SockAct = QEvent::SockAct, WinEventAct = QEvent::WinEventAct, DeferredDelete = QEvent::DeferredDelete, DragEnter = QEvent::DragEnter, DragMove = QEvent::DragMove, DragLeave = QEvent::DragLeave, Drop = QEvent::Drop, DragResponse = QEvent::DragResponse, ChildAdded = QEvent::ChildAdded, ChildPolished = QEvent::ChildPolished, ChildRemoved = QEvent::ChildRemoved, ShowWindowRequest = QEvent::ShowWindowRequest, PolishRequest = QEvent::PolishRequest, Polish = QEvent::Polish, LayoutRequest = QEvent::LayoutRequest, UpdateRequest = QEvent::UpdateRequest, UpdateLater = QEvent::UpdateLater, EmbeddingControl = QEvent::EmbeddingControl, ActivateControl = QEvent::ActivateControl, DeactivateControl = QEvent::DeactivateControl, ContextMenu = QEvent::ContextMenu, InputMethod = QEvent::InputMethod, TabletMove = QEvent::TabletMove, LocaleChange = QEvent::LocaleChange, LanguageChange = QEvent::LanguageChange, LayoutDirectionChange = QEvent::LayoutDirectionChange, Style = QEvent::Style, TabletPress = QEvent::TabletPress, TabletRelease = QEvent::TabletRelease, OkRequest = QEvent::OkRequest, HelpRequest = QEvent::HelpRequest, IconDrag = QEvent::IconDrag, FontChange = QEvent::FontChange, EnabledChange = QEvent::EnabledChange, ActivationChange = QEvent::ActivationChange, StyleChange = QEvent::StyleChange, IconTextChange = QEvent::IconTextChange, ModifiedChange = QEvent::ModifiedChange, MouseTrackingChange = QEvent::MouseTrackingChange, WindowBlocked = QEvent::WindowBlocked, WindowUnblocked = QEvent::WindowUnblocked, WindowStateChange = QEvent::WindowStateChange, ReadOnlyChange = QEvent::ReadOnlyChange, ToolTip = QEvent::ToolTip, WhatsThis = QEvent::WhatsThis, StatusTip = QEvent::StatusTip, ActionChanged = QEvent::ActionChanged, ActionAdded = QEvent::ActionAdded, ActionRemoved = QEvent::ActionRemoved, FileOpen = QEvent::FileOpen, Shortcut = QEvent::Shortcut, ShortcutOverride = QEvent::ShortcutOverride, WhatsThisClicked = QEvent::WhatsThisClicked, ToolBarChange = QEvent::ToolBarChange, ApplicationActivate = QEvent::ApplicationActivate, ApplicationActivated = QEvent::ApplicationActivated, ApplicationDeactivate = QEvent::ApplicationDeactivate, ApplicationDeactivated = QEvent::ApplicationDeactivated, QueryWhatsThis = QEvent::QueryWhatsThis, EnterWhatsThisMode = QEvent::EnterWhatsThisMode, LeaveWhatsThisMode = QEvent::LeaveWhatsThisMode, ZOrderChange = QEvent::ZOrderChange, HoverEnter = QEvent::HoverEnter, HoverLeave = QEvent::HoverLeave, HoverMove = QEvent::HoverMove, AcceptDropsChange = QEvent::AcceptDropsChange, ZeroTimerEvent = QEvent::ZeroTimerEvent, GraphicsSceneMouseMove = QEvent::GraphicsSceneMouseMove, GraphicsSceneMousePress = QEvent::GraphicsSceneMousePress, GraphicsSceneMouseRelease = QEvent::GraphicsSceneMouseRelease, GraphicsSceneMouseDoubleClick = QEvent::GraphicsSceneMouseDoubleClick, GraphicsSceneContextMenu = QEvent::GraphicsSceneContextMenu, GraphicsSceneHoverEnter = QEvent::GraphicsSceneHoverEnter, GraphicsSceneHoverMove = QEvent::GraphicsSceneHoverMove, GraphicsSceneHoverLeave = QEvent::GraphicsSceneHoverLeave, GraphicsSceneHelp = QEvent::GraphicsSceneHelp, GraphicsSceneDragEnter = QEvent::GraphicsSceneDragEnter, GraphicsSceneDragMove = QEvent::GraphicsSceneDragMove, GraphicsSceneDragLeave = QEvent::GraphicsSceneDragLeave, GraphicsSceneDrop = QEvent::GraphicsSceneDrop, GraphicsSceneWheel = QEvent::GraphicsSceneWheel, KeyboardLayoutChange = QEvent::KeyboardLayoutChange, DynamicPropertyChange = QEvent::DynamicPropertyChange, TabletEnterProximity = QEvent::TabletEnterProximity, TabletLeaveProximity = QEvent::TabletLeaveProximity, NonClientAreaMouseMove = QEvent::NonClientAreaMouseMove, NonClientAreaMouseButtonPress = QEvent::NonClientAreaMouseButtonPress, NonClientAreaMouseButtonRelease = QEvent::NonClientAreaMouseButtonRelease, NonClientAreaMouseButtonDblClick = QEvent::NonClientAreaMouseButtonDblClick, MacSizeChange = QEvent::MacSizeChange, ContentsRectChange = QEvent::ContentsRectChange, MacGLWindowChange = QEvent::MacGLWindowChange, FutureCallOut = QEvent::FutureCallOut, GraphicsSceneResize = QEvent::GraphicsSceneResize, GraphicsSceneMove = QEvent::GraphicsSceneMove, CursorChange = QEvent::CursorChange, ToolTipChange = QEvent::ToolTipChange, NetworkReplyUpdated = QEvent::NetworkReplyUpdated, GrabMouse = QEvent::GrabMouse, UngrabMouse = QEvent::UngrabMouse, GrabKeyboard = QEvent::GrabKeyboard, UngrabKeyboard = QEvent::UngrabKeyboard, MacGLClearDrawable = QEvent::MacGLClearDrawable, StateMachineSignal = QEvent::StateMachineSignal, StateMachineWrapped = QEvent::StateMachineWrapped, TouchBegin = QEvent::TouchBegin, TouchUpdate = QEvent::TouchUpdate, TouchEnd = QEvent::TouchEnd, NativeGesture = QEvent::NativeGesture, RequestSoftwareInputPanel = QEvent::RequestSoftwareInputPanel, CloseSoftwareInputPanel = QEvent::CloseSoftwareInputPanel, WinIdChange = QEvent::WinIdChange, Gesture = QEvent::Gesture, GestureOverride = QEvent::GestureOverride, ScrollPrepare = QEvent::ScrollPrepare, Scroll = QEvent::Scroll, Expose = QEvent::Expose, InputMethodQuery = QEvent::InputMethodQuery, OrientationChange = QEvent::OrientationChange, TouchCancel = QEvent::TouchCancel, ThemeChange = QEvent::ThemeChange, SockClose = QEvent::SockClose, PlatformPanel = QEvent::PlatformPanel, StyleAnimationUpdate = QEvent::StyleAnimationUpdate, ApplicationStateChange = QEvent::ApplicationStateChange, WindowChangeInternal = QEvent::WindowChangeInternal, ScreenChangeInternal = QEvent::ScreenChangeInternal, PlatformSurface = QEvent::PlatformSurface, Pointer = QEvent::Pointer, TabletTrackingChange = QEvent::TabletTrackingChange, User = QEvent::User, MaxUser = QEvent::MaxUser}; +public slots: +QEvent* new_QEvent(QEvent::Type type); +QEvent* new_QEvent(const QEvent& other); +void delete_QEvent(QEvent* obj) { delete obj; } + void accept(QEvent* theWrappedObject); + void ignore(QEvent* theWrappedObject); + bool isAccepted(QEvent* theWrappedObject) const; + QEvent* operator_assign(QEvent* theWrappedObject, const QEvent& other); + int static_QEvent_registerEventType(int hint = -1); + void setAccepted(QEvent* theWrappedObject, bool accepted); + bool spontaneous(QEvent* theWrappedObject) const; + QEvent::Type type(QEvent* theWrappedObject) const; + QString py_toString(QEvent*); +}; + + + + + +class PythonQtShell_QEventLoop : public QEventLoop +{ +public: + PythonQtShell_QEventLoop(QObject* parent = nullptr):QEventLoop(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QEventLoop() 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_QEventLoop : public QEventLoop +{ public: +inline bool py_q_event(QEvent* event) { return QEventLoop::event(event); } +}; + +class PythonQtWrapper_QEventLoop : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ProcessEventsFlag ) +Q_FLAGS(ProcessEventsFlags ) +enum ProcessEventsFlag{ + AllEvents = QEventLoop::AllEvents, ExcludeUserInputEvents = QEventLoop::ExcludeUserInputEvents, ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers, WaitForMoreEvents = QEventLoop::WaitForMoreEvents, X11ExcludeTimers = QEventLoop::X11ExcludeTimers, EventLoopExec = QEventLoop::EventLoopExec, DialogExec = QEventLoop::DialogExec}; +Q_DECLARE_FLAGS(ProcessEventsFlags, ProcessEventsFlag) +public slots: +QEventLoop* new_QEventLoop(QObject* parent = nullptr); +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); + bool isRunning(QEventLoop* theWrappedObject) const; + bool processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); + void processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime); + void wakeUp(QEventLoop* theWrappedObject); +}; + + + + + +class PythonQtShell_QEventTransition : public QEventTransition +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } +inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } +inline bool py_q_event(QEvent* e) { return QEventTransition::event(e); } +inline bool py_q_eventTest(QEvent* event) { return QEventTransition::eventTest(event); } +inline void py_q_onTransition(QEvent* event) { QEventTransition::onTransition(event); } +}; + +class PythonQtWrapper_QEventTransition : public QObject +{ Q_OBJECT +public: +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; } + 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));} + QEvent::Type eventType(QEventTransition* theWrappedObject) const; + void py_q_onTransition(QEventTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->py_q_onTransition(event));} + void setEventSource(QEventTransition* theWrappedObject, QObject* object); + void setEventType(QEventTransition* theWrappedObject, QEvent::Type type); +}; + + + + + +class PythonQtShell_QFactoryInterface : public QFactoryInterface +{ +public: + PythonQtShell_QFactoryInterface():QFactoryInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QFactoryInterface() override; + +QStringList keys() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFactoryInterface : public QFactoryInterface +{ public: +inline QStringList py_q_keys() const { return this->keys(); } +}; + +class PythonQtWrapper_QFactoryInterface : public QObject +{ Q_OBJECT +public: +public slots: +QFactoryInterface* new_QFactoryInterface(); +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());} +}; + + + + + +class PythonQtShell_QFile : public QFile +{ +public: + 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 +{ public: +inline QString py_q_fileName() const { return QFile::fileName(); } +inline bool py_q_open(QIODevice::OpenMode flags) { return QFile::open(flags); } +inline QFileDevice::Permissions py_q_permissions() const { return QFile::permissions(); } +inline bool py_q_resize(qint64 sz) { return QFile::resize(sz); } +inline bool py_q_setPermissions(QFileDevice::Permissions permissionSpec) { return QFile::setPermissions(permissionSpec); } +inline qint64 py_q_size() const { return QFile::size(); } +}; + +class PythonQtWrapper_QFile : public QObject +{ Q_OBJECT +public: +public slots: +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; } + bool static_QFile_copy(const QString& fileName, const QString& newName); + bool copy(QFile* theWrappedObject, const QString& newName); + QString static_QFile_decodeName(const QByteArray& localFileName); + QByteArray static_QFile_encodeName(const QString& fileName); + bool exists(QFile* theWrappedObject) const; + bool static_QFile_exists(const QString& fileName); + QString py_q_fileName(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_fileName());} + bool link(QFile* theWrappedObject, const QString& newName); + bool static_QFile_link(const QString& oldname, const QString& newName); + bool moveToTrash(QFile* theWrappedObject); + bool static_QFile_moveToTrash(const QString& fileName, QString* pathInTrash = nullptr); + bool py_q_open(QFile* theWrappedObject, QIODevice::OpenMode flags){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_open(flags));} + bool open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags = QFileDevice::DontCloseHandle); + QFileDevice::Permissions py_q_permissions(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_permissions());} + QFileDevice::Permissions static_QFile_permissions(const QString& filename); + bool remove(QFile* theWrappedObject); + bool static_QFile_remove(const QString& fileName); + bool rename(QFile* theWrappedObject, const QString& newName); + bool static_QFile_rename(const QString& oldName, const QString& newName); + bool static_QFile_resize(const QString& filename, qint64 sz); + bool py_q_resize(QFile* theWrappedObject, qint64 sz){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_resize(sz));} + void setFileName(QFile* theWrappedObject, const QString& name); + bool py_q_setPermissions(QFile* theWrappedObject, QFileDevice::Permissions permissionSpec){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_setPermissions(permissionSpec));} + bool static_QFile_setPermissions(const QString& filename, QFileDevice::Permissions permissionSpec); + qint64 py_q_size(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_size());} + QString symLinkTarget(QFile* theWrappedObject) const; + QString static_QFile_symLinkTarget(const QString& fileName); +}; + + + + + +class PythonQtShell_QFileDevice : public QFileDevice +{ +public: + 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 +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return this->readLineData(data, maxlen); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QFileDevice::atEnd(); } +inline void py_q_close() { QFileDevice::close(); } +inline QString py_q_fileName() const { return QFileDevice::fileName(); } +inline bool py_q_isSequential() const { return QFileDevice::isSequential(); } +inline QFileDevice::Permissions py_q_permissions() const { return QFileDevice::permissions(); } +inline qint64 py_q_pos() const { return QFileDevice::pos(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QFileDevice::readData(data, maxlen); } +inline qint64 py_q_readLineData(char* data, qint64 maxlen) { return QFileDevice::readLineData(data, maxlen); } +inline bool py_q_resize(qint64 sz) { return QFileDevice::resize(sz); } +inline bool py_q_seek(qint64 offset) { return QFileDevice::seek(offset); } +inline bool py_q_setPermissions(QFileDevice::Permissions permissionSpec) { return QFileDevice::setPermissions(permissionSpec); } +inline qint64 py_q_size() const { return QFileDevice::size(); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QFileDevice::writeData(data, len); } +}; + +class PythonQtWrapper_QFileDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FileError FileHandleFlag FileTime MemoryMapFlags Permission ) +Q_FLAGS(FileHandleFlags Permissions ) +enum FileError{ + NoError = QFileDevice::NoError, ReadError = QFileDevice::ReadError, WriteError = QFileDevice::WriteError, FatalError = QFileDevice::FatalError, ResourceError = QFileDevice::ResourceError, OpenError = QFileDevice::OpenError, AbortError = QFileDevice::AbortError, TimeOutError = QFileDevice::TimeOutError, UnspecifiedError = QFileDevice::UnspecifiedError, RemoveError = QFileDevice::RemoveError, RenameError = QFileDevice::RenameError, PositionError = QFileDevice::PositionError, ResizeError = QFileDevice::ResizeError, PermissionsError = QFileDevice::PermissionsError, CopyError = QFileDevice::CopyError}; +enum FileHandleFlag{ + AutoCloseHandle = QFileDevice::AutoCloseHandle, DontCloseHandle = QFileDevice::DontCloseHandle}; +enum FileTime{ + FileAccessTime = QFileDevice::FileAccessTime, FileBirthTime = QFileDevice::FileBirthTime, FileMetadataChangeTime = QFileDevice::FileMetadataChangeTime, FileModificationTime = QFileDevice::FileModificationTime}; +enum MemoryMapFlags{ + NoOptions = QFileDevice::NoOptions, MapPrivateOption = QFileDevice::MapPrivateOption}; +enum Permission{ + ReadOwner = QFileDevice::ReadOwner, WriteOwner = QFileDevice::WriteOwner, ExeOwner = QFileDevice::ExeOwner, ReadUser = QFileDevice::ReadUser, WriteUser = QFileDevice::WriteUser, ExeUser = QFileDevice::ExeUser, ReadGroup = QFileDevice::ReadGroup, WriteGroup = QFileDevice::WriteGroup, ExeGroup = QFileDevice::ExeGroup, ReadOther = QFileDevice::ReadOther, WriteOther = QFileDevice::WriteOther, ExeOther = QFileDevice::ExeOther}; +Q_DECLARE_FLAGS(FileHandleFlags, FileHandleFlag) +Q_DECLARE_FLAGS(Permissions, Permission) +public slots: +QFileDevice* new_QFileDevice(); +QFileDevice* new_QFileDevice(QObject* parent); +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; + QString fileName(QFileDevice* theWrappedObject) const; + QString py_q_fileName(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_fileName());} + QDateTime fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const; + bool flush(QFileDevice* theWrappedObject); + int handle(QFileDevice* theWrappedObject) const; + bool py_q_isSequential(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_isSequential());} + uchar* map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags = QFileDevice::NoOptions); + QFileDevice::Permissions permissions(QFileDevice* theWrappedObject) const; + QFileDevice::Permissions py_q_permissions(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_permissions());} + qint64 py_q_pos(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_pos());} + qint64 py_q_readData(QFileDevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_readData(data, maxlen));} + qint64 py_q_readLineData(QFileDevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_readLineData(data, maxlen));} + bool resize(QFileDevice* theWrappedObject, qint64 sz); + bool py_q_resize(QFileDevice* theWrappedObject, qint64 sz){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_resize(sz));} + bool py_q_seek(QFileDevice* theWrappedObject, qint64 offset){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_seek(offset));} + bool setFileTime(QFileDevice* theWrappedObject, const QDateTime& newDate, QFileDevice::FileTime fileTime); + bool setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec); + bool py_q_setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_setPermissions(permissionSpec));} + qint64 py_q_size(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_size());} + bool unmap(QFileDevice* theWrappedObject, uchar* address); + void unsetError(QFileDevice* theWrappedObject); + qint64 py_q_writeData(QFileDevice* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QFileInfo : public QObject +{ Q_OBJECT +public: +public slots: +QFileInfo* new_QFileInfo(); +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; } + QDir absoluteDir(QFileInfo* theWrappedObject) const; + QString absoluteFilePath(QFileInfo* theWrappedObject) const; + QString absolutePath(QFileInfo* theWrappedObject) const; + QString baseName(QFileInfo* theWrappedObject) const; + QDateTime birthTime(QFileInfo* theWrappedObject) const; + QString bundleName(QFileInfo* theWrappedObject) const; + bool caching(QFileInfo* theWrappedObject) const; + QString canonicalFilePath(QFileInfo* theWrappedObject) const; + QString canonicalPath(QFileInfo* theWrappedObject) const; + QString completeBaseName(QFileInfo* theWrappedObject) const; + QString completeSuffix(QFileInfo* theWrappedObject) const; + QDateTime created(QFileInfo* theWrappedObject) const; + QDir dir(QFileInfo* theWrappedObject) const; + bool exists(QFileInfo* theWrappedObject) const; + bool static_QFileInfo_exists(const QString& file); + QString fileName(QFileInfo* theWrappedObject) const; + QString filePath(QFileInfo* theWrappedObject) const; + QString group(QFileInfo* theWrappedObject) const; + uint groupId(QFileInfo* theWrappedObject) const; + bool isAbsolute(QFileInfo* theWrappedObject) const; + bool isBundle(QFileInfo* theWrappedObject) const; + bool isDir(QFileInfo* theWrappedObject) const; + bool isExecutable(QFileInfo* theWrappedObject) const; + bool isFile(QFileInfo* theWrappedObject) const; + bool isHidden(QFileInfo* theWrappedObject) const; + bool isJunction(QFileInfo* theWrappedObject) const; + bool isNativePath(QFileInfo* theWrappedObject) const; + bool isReadable(QFileInfo* theWrappedObject) const; + bool isRelative(QFileInfo* theWrappedObject) const; + bool isRoot(QFileInfo* theWrappedObject) const; + bool isShortcut(QFileInfo* theWrappedObject) const; + bool isSymLink(QFileInfo* theWrappedObject) const; + bool isSymbolicLink(QFileInfo* theWrappedObject) const; + bool isWritable(QFileInfo* theWrappedObject) const; + QDateTime lastModified(QFileInfo* theWrappedObject) const; + QDateTime lastRead(QFileInfo* theWrappedObject) const; + bool makeAbsolute(QFileInfo* theWrappedObject); + QDateTime metadataChangeTime(QFileInfo* theWrappedObject) const; + QString owner(QFileInfo* theWrappedObject) const; + uint ownerId(QFileInfo* theWrappedObject) const; + QString path(QFileInfo* theWrappedObject) const; + bool permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const; + QFile::Permissions permissions(QFileInfo* theWrappedObject) const; + void refresh(QFileInfo* theWrappedObject); + void setCaching(QFileInfo* theWrappedObject, bool on); + void setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file); + void setFile(QFileInfo* theWrappedObject, const QFile& file); + void setFile(QFileInfo* theWrappedObject, const QString& file); + qint64 size(QFileInfo* theWrappedObject) const; + QString suffix(QFileInfo* theWrappedObject) const; + void swap(QFileInfo* theWrappedObject, QFileInfo& other); + QString symLinkTarget(QFileInfo* theWrappedObject) const; + QString py_toString(QFileInfo*); +}; + + + + + +class PythonQtShell_QFileSelector : public QFileSelector +{ +public: + PythonQtShell_QFileSelector(QObject* parent = nullptr):QFileSelector(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileSelector() 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_QFileSelector : public QObject +{ Q_OBJECT +public: +public slots: +QFileSelector* new_QFileSelector(QObject* parent = nullptr); +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; + QUrl select(QFileSelector* theWrappedObject, const QUrl& filePath) const; + void setExtraSelectors(QFileSelector* theWrappedObject, const QStringList& list); +}; + + + + + +class PythonQtShell_QFileSystemWatcher : public QFileSystemWatcher +{ +public: + PythonQtShell_QFileSystemWatcher(QObject* parent = nullptr):QFileSystemWatcher(parent),_wrapper(nullptr) {}; + PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr):QFileSystemWatcher(paths, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileSystemWatcher() 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_QFileSystemWatcher : public QObject +{ Q_OBJECT +public: +public slots: +QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = nullptr); +QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr); +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; + QStringList files(QFileSystemWatcher* theWrappedObject) const; + bool removePath(QFileSystemWatcher* theWrappedObject, const QString& file); + QStringList removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); +}; + + + + + +class PythonQtShell_QFinalState : public QFinalState +{ +public: + PythonQtShell_QFinalState(QState* parent = nullptr):QFinalState(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFinalState() 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_QFinalState : public QFinalState +{ 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 QFinalState::event(e); } +inline void py_q_onEntry(QEvent* event) { QFinalState::onEntry(event); } +inline void py_q_onExit(QEvent* event) { QFinalState::onExit(event); } +}; + +class PythonQtWrapper_QFinalState : public QObject +{ Q_OBJECT +public: +public slots: +QFinalState* new_QFinalState(QState* parent = nullptr); +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));} +}; + + + + + +class PythonQtShell_QHistoryState : public QHistoryState +{ +public: + 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 +{ 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 QHistoryState::event(e); } +inline void py_q_onEntry(QEvent* event) { QHistoryState::onEntry(event); } +inline void py_q_onExit(QEvent* event) { QHistoryState::onExit(event); } +}; + +class PythonQtWrapper_QHistoryState : public QObject +{ Q_OBJECT +public: +public slots: +QHistoryState* new_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr); +QHistoryState* new_QHistoryState(QState* parent = nullptr); +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));} + QHistoryState::HistoryType historyType(QHistoryState* theWrappedObject) const; + void py_q_onEntry(QHistoryState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_onEntry(event));} + void py_q_onExit(QHistoryState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_onExit(event));} + void setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state); + void setDefaultTransition(QHistoryState* theWrappedObject, QAbstractTransition* transition); + void setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type); +}; + + + + + +class PythonQtShell_QIODevice : public QIODevice +{ +public: + 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 +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return this->readLineData(data, maxlen); } +inline void promoted_setErrorString(const QString& errorString) { this->setErrorString(errorString); } +inline void promoted_setOpenMode(QIODevice::OpenMode openMode) { this->setOpenMode(openMode); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QIODevice::atEnd(); } +inline qint64 py_q_bytesAvailable() const { return QIODevice::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QIODevice::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QIODevice::canReadLine(); } +inline void py_q_close() { QIODevice::close(); } +inline bool py_q_isSequential() const { return QIODevice::isSequential(); } +inline bool py_q_open(QIODevice::OpenMode mode) { return QIODevice::open(mode); } +inline qint64 py_q_pos() const { return QIODevice::pos(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 py_q_readLineData(char* data, qint64 maxlen) { return QIODevice::readLineData(data, maxlen); } +inline bool py_q_reset() { return QIODevice::reset(); } +inline bool py_q_seek(qint64 pos) { return QIODevice::seek(pos); } +inline qint64 py_q_size() const { return QIODevice::size(); } +inline bool py_q_waitForBytesWritten(int msecs) { return QIODevice::waitForBytesWritten(msecs); } +inline bool py_q_waitForReadyRead(int msecs) { return QIODevice::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +}; + +class PythonQtWrapper_QIODevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OpenModeFlag ) +Q_FLAGS(OpenMode ) +enum OpenModeFlag{ + NotOpen = QIODevice::NotOpen, ReadOnly = QIODevice::ReadOnly, WriteOnly = QIODevice::WriteOnly, ReadWrite = QIODevice::ReadWrite, Append = QIODevice::Append, Truncate = QIODevice::Truncate, Text = QIODevice::Text, Unbuffered = QIODevice::Unbuffered, NewOnly = QIODevice::NewOnly, ExistingOnly = QIODevice::ExistingOnly}; +Q_DECLARE_FLAGS(OpenMode, OpenModeFlag) +public slots: +QIODevice* new_QIODevice(); +QIODevice* new_QIODevice(QObject* parent); +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; + qint64 py_q_bytesAvailable(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_bytesAvailable());} + qint64 bytesToWrite(QIODevice* theWrappedObject) const; + qint64 py_q_bytesToWrite(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_bytesToWrite());} + bool canReadLine(QIODevice* theWrappedObject) const; + bool py_q_canReadLine(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_canReadLine());} + void close(QIODevice* theWrappedObject); + void py_q_close(QIODevice* theWrappedObject){ (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_close());} + void commitTransaction(QIODevice* theWrappedObject); + int currentReadChannel(QIODevice* theWrappedObject) const; + int currentWriteChannel(QIODevice* theWrappedObject) const; + QString errorString(QIODevice* theWrappedObject) const; + bool getChar(QIODevice* theWrappedObject, char* c); + bool isOpen(QIODevice* theWrappedObject) const; + bool isReadable(QIODevice* theWrappedObject) const; + bool isSequential(QIODevice* theWrappedObject) const; + bool py_q_isSequential(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_isSequential());} + bool isTextModeEnabled(QIODevice* theWrappedObject) const; + bool isTransactionStarted(QIODevice* theWrappedObject) const; + bool isWritable(QIODevice* theWrappedObject) const; + bool open(QIODevice* theWrappedObject, QIODevice::OpenMode mode); + bool py_q_open(QIODevice* theWrappedObject, QIODevice::OpenMode mode){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_open(mode));} + QIODevice::OpenMode openMode(QIODevice* theWrappedObject) const; + QByteArray peek(QIODevice* theWrappedObject, qint64 maxlen); + qint64 pos(QIODevice* theWrappedObject) const; + qint64 py_q_pos(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_pos());} + bool putChar(QIODevice* theWrappedObject, char c); + QByteArray read(QIODevice* theWrappedObject, qint64 maxlen); + QByteArray readAll(QIODevice* theWrappedObject); + int readChannelCount(QIODevice* theWrappedObject) const; + qint64 readData(QIODevice* theWrappedObject, char* data, qint64 maxlen); + qint64 py_q_readData(QIODevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_readData(data, maxlen));} + QByteArray readLine(QIODevice* theWrappedObject, qint64 maxlen = 0); + qint64 readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen); + qint64 py_q_readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_readLineData(data, maxlen));} + bool reset(QIODevice* theWrappedObject); + bool py_q_reset(QIODevice* theWrappedObject){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_reset());} + void rollbackTransaction(QIODevice* theWrappedObject); + bool seek(QIODevice* theWrappedObject, qint64 pos); + bool py_q_seek(QIODevice* theWrappedObject, qint64 pos){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_seek(pos));} + void setCurrentReadChannel(QIODevice* theWrappedObject, int channel); + void setCurrentWriteChannel(QIODevice* theWrappedObject, int channel); + void setErrorString(QIODevice* theWrappedObject, const QString& errorString); + void setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode); + void setTextModeEnabled(QIODevice* theWrappedObject, bool enabled); + qint64 size(QIODevice* theWrappedObject) const; + qint64 py_q_size(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_size());} + qint64 skip(QIODevice* theWrappedObject, qint64 maxSize); + void startTransaction(QIODevice* theWrappedObject); + void ungetChar(QIODevice* theWrappedObject, char c); + bool waitForBytesWritten(QIODevice* theWrappedObject, int msecs); + bool py_q_waitForBytesWritten(QIODevice* theWrappedObject, int msecs){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool waitForReadyRead(QIODevice* theWrappedObject, int msecs); + bool py_q_waitForReadyRead(QIODevice* theWrappedObject, int msecs){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + qint64 write(QIODevice* theWrappedObject, const QByteArray& data); + qint64 write(QIODevice* theWrappedObject, const char* data); + int writeChannelCount(QIODevice* theWrappedObject) const; + qint64 writeData(QIODevice* theWrappedObject, const char* data, qint64 len); + qint64 py_q_writeData(QIODevice* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtShell_QIdentityProxyModel : public QIdentityProxyModel +{ +public: + 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 +{ public: +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::columnCount(parent); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QIdentityProxyModel::dropMimeData(data, action, row, column, parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QIdentityProxyModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::index(row, column, parent); } +inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertColumns(column, count, parent); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertRows(row, count, parent); } +inline QModelIndex py_q_mapFromSource(const QModelIndex& sourceIndex) const { return QIdentityProxyModel::mapFromSource(sourceIndex); } +inline QItemSelection py_q_mapSelectionFromSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionFromSource(selection); } +inline QItemSelection py_q_mapSelectionToSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionToSource(selection); } +inline QModelIndex py_q_mapToSource(const QModelIndex& proxyIndex) const { return QIdentityProxyModel::mapToSource(proxyIndex); } +inline QList py_q_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QIdentityProxyModel::match(start, role, value, hits, flags); } +inline bool py_q_moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) { return QIdentityProxyModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); } +inline bool py_q_moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) { return QIdentityProxyModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); } +inline QModelIndex py_q_parent(const QModelIndex& child) const { return QIdentityProxyModel::parent(child); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeColumns(column, count, parent); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeRows(row, count, parent); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::rowCount(parent); } +inline void py_q_setSourceModel(QAbstractItemModel* sourceModel) { QIdentityProxyModel::setSourceModel(sourceModel); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QIdentityProxyModel::sibling(row, column, idx); } +}; + +class PythonQtWrapper_QIdentityProxyModel : public QObject +{ Q_OBJECT +public: +public slots: +QIdentityProxyModel* new_QIdentityProxyModel(QObject* parent = nullptr); +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));} + QModelIndex py_q_index(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_index(row, column, parent));} + bool py_q_insertColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} + bool py_q_insertRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} + QModelIndex py_q_mapFromSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapFromSource(sourceIndex));} + QItemSelection py_q_mapSelectionFromSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapSelectionFromSource(selection));} + QItemSelection py_q_mapSelectionToSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapSelectionToSource(selection));} + QModelIndex py_q_mapToSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapToSource(proxyIndex));} + QList py_q_match(QIdentityProxyModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_match(start, role, value, hits, flags));} + bool py_q_moveColumns(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild));} + bool py_q_moveRows(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild));} + QModelIndex py_q_parent(QIdentityProxyModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_parent(child));} + bool py_q_removeColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + bool py_q_removeRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + int py_q_rowCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_rowCount(parent));} + void py_q_setSourceModel(QIdentityProxyModel* theWrappedObject, QAbstractItemModel* sourceModel){ (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_setSourceModel(sourceModel));} + QModelIndex py_q_sibling(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_sibling(row, column, idx));} +}; + + + + + +class PythonQtWrapper_QJsonArray : public QObject +{ Q_OBJECT +public: +public slots: +QJsonArray* new_QJsonArray(); +QJsonArray* new_QJsonArray(const QJsonArray& other); +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; + int count(QJsonArray* theWrappedObject) const; + bool empty(QJsonArray* theWrappedObject) const; + QJsonValue first(QJsonArray* theWrappedObject) const; + QJsonArray static_QJsonArray_fromStringList(const QStringList& list); + QJsonArray static_QJsonArray_fromVariantList(const QList& list); + bool isEmpty(QJsonArray* theWrappedObject) const; + QJsonValue last(QJsonArray* theWrappedObject) const; + bool __ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const; + QJsonArray __add__(QJsonArray* theWrappedObject, const QJsonValue& v) const; + QJsonArray* __iadd__(QJsonArray* theWrappedObject, const QJsonValue& v); + void writeTo(QJsonArray* theWrappedObject, QDataStream& arg__1); + QJsonArray* __lshift__(QJsonArray* theWrappedObject, const QJsonValue& v); + QJsonArray* operator_assign(QJsonArray* theWrappedObject, const QJsonArray& other); + bool __eq__(QJsonArray* theWrappedObject, const QJsonArray& other) const; + void readFrom(QJsonArray* theWrappedObject, QDataStream& arg__1); + QJsonValue operator_subscript(QJsonArray* theWrappedObject, int i) const; + void pop_back(QJsonArray* theWrappedObject); + void pop_front(QJsonArray* theWrappedObject); + void prepend(QJsonArray* theWrappedObject, const QJsonValue& value); + void push_back(QJsonArray* theWrappedObject, const QJsonValue& t); + void push_front(QJsonArray* theWrappedObject, const QJsonValue& t); + void removeAt(QJsonArray* theWrappedObject, int i); + void removeFirst(QJsonArray* theWrappedObject); + void removeLast(QJsonArray* theWrappedObject); + void replace(QJsonArray* theWrappedObject, int i, const QJsonValue& value); + int size(QJsonArray* theWrappedObject) const; + void swap(QJsonArray* theWrappedObject, QJsonArray& other); + QJsonValue takeAt(QJsonArray* theWrappedObject, int i); + QList toVariantList(QJsonArray* theWrappedObject) const; + QString py_toString(QJsonArray*); + bool __nonzero__(QJsonArray* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QJsonDocument : public QJsonDocument +{ +public: + 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; +}; + +class PythonQtWrapper_QJsonDocument : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DataValidation JsonFormat ) +enum DataValidation{ + Validate = QJsonDocument::Validate, BypassValidation = QJsonDocument::BypassValidation}; +enum JsonFormat{ + Indented = QJsonDocument::Indented, Compact = QJsonDocument::Compact}; +public slots: +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; } + 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); + QJsonDocument static_QJsonDocument_fromRawData(const char* data, int size, QJsonDocument::DataValidation validation = QJsonDocument::Validate); + QJsonDocument static_QJsonDocument_fromVariant(const QVariant& variant); + bool isArray(QJsonDocument* theWrappedObject) const; + bool isEmpty(QJsonDocument* theWrappedObject) const; + bool isNull(QJsonDocument* theWrappedObject) const; + bool isObject(QJsonDocument* theWrappedObject) const; + QJsonObject object(QJsonDocument* theWrappedObject) const; + bool __ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; + void writeTo(QJsonDocument* theWrappedObject, QDataStream& arg__1); + QJsonDocument* operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other); + bool __eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; + void readFrom(QJsonDocument* theWrappedObject, QDataStream& arg__1); + const QJsonValue operator_subscript(QJsonDocument* theWrappedObject, const QString& key) const; + const QJsonValue operator_subscript(QJsonDocument* theWrappedObject, int i) const; + const char* rawData(QJsonDocument* theWrappedObject, int* size) const; + void setArray(QJsonDocument* theWrappedObject, const QJsonArray& array); + void setObject(QJsonDocument* theWrappedObject, const QJsonObject& object); + void swap(QJsonDocument* theWrappedObject, QJsonDocument& other); + QByteArray toBinaryData(QJsonDocument* theWrappedObject) const; + QByteArray toJson(QJsonDocument* theWrappedObject) const; + QByteArray toJson(QJsonDocument* theWrappedObject, QJsonDocument::JsonFormat format) const; + QVariant toVariant(QJsonDocument* theWrappedObject) const; + QString py_toString(QJsonDocument*); + bool __nonzero__(QJsonDocument* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QJsonObject : public QObject +{ Q_OBJECT +public: +public slots: +QJsonObject* new_QJsonObject(); +QJsonObject* new_QJsonObject(const QJsonObject& other); +void delete_QJsonObject(QJsonObject* obj) { delete obj; } + bool contains(QJsonObject* theWrappedObject, const QString& key) const; + int count(QJsonObject* theWrappedObject) const; + bool empty(QJsonObject* theWrappedObject) const; + QJsonObject static_QJsonObject_fromVariantHash(const QHash& map); + QJsonObject static_QJsonObject_fromVariantMap(const QMap& map); + bool isEmpty(QJsonObject* theWrappedObject) const; + QStringList keys(QJsonObject* theWrappedObject) const; + int length(QJsonObject* theWrappedObject) const; + bool __ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const; + void writeTo(QJsonObject* theWrappedObject, QDataStream& arg__1); + QJsonObject* operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other); + bool __eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const; + void readFrom(QJsonObject* theWrappedObject, QDataStream& arg__1); + QJsonValue operator_subscript(QJsonObject* theWrappedObject, const QString& key) const; + void remove(QJsonObject* theWrappedObject, const QString& key); + int size(QJsonObject* theWrappedObject) const; + void swap(QJsonObject* theWrappedObject, QJsonObject& other); + QJsonValue take(QJsonObject* theWrappedObject, const QString& key); + QHash toVariantHash(QJsonObject* theWrappedObject) const; + QMap toVariantMap(QJsonObject* theWrappedObject) const; + QJsonValue value(QJsonObject* theWrappedObject, const QString& key) const; + QString py_toString(QJsonObject*); + bool __nonzero__(QJsonObject* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QJsonParseError : public QJsonParseError +{ +public: + PythonQtShell_QJsonParseError():QJsonParseError(),_wrapper(nullptr) {}; + + ~PythonQtShell_QJsonParseError(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QJsonParseError : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ParseError ) +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; } + 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; } +void py_set_offset(QJsonParseError* theWrappedObject, int offset){ theWrappedObject->offset = offset; } +int py_get_offset(QJsonParseError* theWrappedObject){ return theWrappedObject->offset; } +}; + + + + + +class PythonQtWrapper_QJsonValue : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + Null = QJsonValue::Null, Bool = QJsonValue::Bool, Double = QJsonValue::Double, String = QJsonValue::String, Array = QJsonValue::Array, Object = QJsonValue::Object, Undefined = QJsonValue::Undefined}; +public slots: +QJsonValue* new_QJsonValue(QJsonValue::Type arg__1 = QJsonValue::Null); +QJsonValue* new_QJsonValue(bool b); +QJsonValue* new_QJsonValue(const QJsonArray& a); +QJsonValue* new_QJsonValue(const QJsonObject& o); +QJsonValue* new_QJsonValue(const QJsonValue& other); +QJsonValue* new_QJsonValue(const QString& s); +QJsonValue* new_QJsonValue(const char* s); +QJsonValue* new_QJsonValue(double n); +QJsonValue* new_QJsonValue(int n); +QJsonValue* new_QJsonValue(qint64 v); +void delete_QJsonValue(QJsonValue* obj) { delete obj; } + QJsonValue static_QJsonValue_fromVariant(const QVariant& variant); + bool isArray(QJsonValue* theWrappedObject) const; + bool isBool(QJsonValue* theWrappedObject) const; + bool isDouble(QJsonValue* theWrappedObject) const; + bool isNull(QJsonValue* theWrappedObject) const; + bool isObject(QJsonValue* theWrappedObject) const; + bool isString(QJsonValue* theWrappedObject) const; + bool isUndefined(QJsonValue* theWrappedObject) const; + bool __ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const; + void writeTo(QJsonValue* theWrappedObject, QDataStream& arg__1); + QJsonValue* operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other); + bool __eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const; + void readFrom(QJsonValue* theWrappedObject, QDataStream& arg__1); + const QJsonValue operator_subscript(QJsonValue* theWrappedObject, const QString& key) const; + const QJsonValue operator_subscript(QJsonValue* theWrappedObject, int i) const; + void swap(QJsonValue* theWrappedObject, QJsonValue& other); + QJsonArray toArray(QJsonValue* theWrappedObject) const; + QJsonArray toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const; + bool toBool(QJsonValue* theWrappedObject, bool defaultValue = false) const; + double toDouble(QJsonValue* theWrappedObject, double defaultValue = 0) const; + int toInt(QJsonValue* theWrappedObject, int defaultValue = 0) const; + QJsonObject toObject(QJsonValue* theWrappedObject) const; + QJsonObject toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const; + QString toString(QJsonValue* theWrappedObject) const; + QString toString(QJsonValue* theWrappedObject, const QString& defaultValue) const; + QVariant toVariant(QJsonValue* theWrappedObject) const; + QJsonValue::Type type(QJsonValue* theWrappedObject) const; + QString py_toString(QJsonValue*); + bool __nonzero__(QJsonValue* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QLibrary : public QLibrary +{ +public: + 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 +{ Q_OBJECT +public: +Q_ENUMS(LoadHint ) +Q_FLAGS(LoadHints ) +enum LoadHint{ + ResolveAllSymbolsHint = QLibrary::ResolveAllSymbolsHint, ExportExternalSymbolsHint = QLibrary::ExportExternalSymbolsHint, LoadArchiveMemberHint = QLibrary::LoadArchiveMemberHint, PreventUnloadHint = QLibrary::PreventUnloadHint, DeepBindHint = QLibrary::DeepBindHint}; +Q_DECLARE_FLAGS(LoadHints, LoadHint) +public slots: +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; } + QString errorString(QLibrary* theWrappedObject) const; + QString fileName(QLibrary* theWrappedObject) const; + bool static_QLibrary_isLibrary(const QString& fileName); + bool isLoaded(QLibrary* theWrappedObject) const; + bool load(QLibrary* theWrappedObject); + QLibrary::LoadHints loadHints(QLibrary* theWrappedObject) const; + void setFileName(QLibrary* theWrappedObject, const QString& fileName); + void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version); + void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum); + void setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints); + bool unload(QLibrary* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QLibraryInfo : public QObject +{ Q_OBJECT +public: +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; } + const char* static_QLibraryInfo_build(); + QDate static_QLibraryInfo_buildDate(); + bool static_QLibraryInfo_isDebugBuild(); + QString static_QLibraryInfo_licensedProducts(); + QString static_QLibraryInfo_licensee(); + QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1); + QStringList static_QLibraryInfo_platformPluginArguments(const QString& platformName); + QVersionNumber static_QLibraryInfo_version(); +}; + + + + + +class PythonQtWrapper_QLockFile : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LockError ) +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; } + QLockFile::LockError error(QLockFile* theWrappedObject) const; + bool getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const; + bool isLocked(QLockFile* theWrappedObject) const; + bool lock(QLockFile* theWrappedObject); + bool removeStaleLockFile(QLockFile* theWrappedObject); + void setStaleLockTime(QLockFile* theWrappedObject, int arg__1); + int staleLockTime(QLockFile* theWrappedObject) const; + bool tryLock(QLockFile* theWrappedObject, int timeout = 0); + void unlock(QLockFile* theWrappedObject); +}; + + + + + +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: +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; } + 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); + QMarginsF __add__(QMarginsF* theWrappedObject, const QMarginsF& rhs); + QRectF __add__(QMarginsF* theWrappedObject, const QRectF& rhs); + QMarginsF __add__(QMarginsF* theWrappedObject, qreal rhs); + QMarginsF* __iadd__(QMarginsF* theWrappedObject, const QMarginsF& margins); + QMarginsF* __iadd__(QMarginsF* theWrappedObject, qreal addend); + QMarginsF __sub__(QMarginsF* theWrappedObject); + QMarginsF __sub__(QMarginsF* theWrappedObject, const QMarginsF& rhs); + QMarginsF __sub__(QMarginsF* theWrappedObject, qreal rhs); + QMarginsF* __isub__(QMarginsF* theWrappedObject, const QMarginsF& margins); + QMarginsF* __isub__(QMarginsF* theWrappedObject, qreal subtrahend); + QMarginsF __div__(QMarginsF* theWrappedObject, qreal divisor); + QMarginsF* __idiv__(QMarginsF* theWrappedObject, qreal divisor); + void writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMarginsF* theWrappedObject, const QMarginsF& rhs); + void readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1); + qreal right(QMarginsF* theWrappedObject) const; + void setBottom(QMarginsF* theWrappedObject, qreal bottom); + void setLeft(QMarginsF* theWrappedObject, qreal left); + void setRight(QMarginsF* theWrappedObject, qreal right); + void setTop(QMarginsF* theWrappedObject, qreal top); + QMargins toMargins(QMarginsF* theWrappedObject) const; + qreal top(QMarginsF* theWrappedObject) const; + QString py_toString(QMarginsF*); + bool __nonzero__(QMarginsF* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QMessageAuthenticationCode : public QObject +{ Q_OBJECT +public: +public slots: +QMessageAuthenticationCode* new_QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray& key = QByteArray()); +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); + QByteArray static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method); + void reset(QMessageAuthenticationCode* theWrappedObject); + QByteArray result(QMessageAuthenticationCode* theWrappedObject) const; + void setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key); +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.cpp new file mode 100644 index 00000000..01159497 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -0,0 +1,4209 @@ +#include "com_trolltech_qt_core2.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QMessageLogContext::~PythonQtShell_QMessageLogContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext() +{ +return new PythonQtShell_QMessageLogContext(); } + +QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName) +{ +return new PythonQtShell_QMessageLogContext(fileName, lineNumber, functionName, categoryName); } + + + +QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger() +{ +return new QMessageLogger(); } + +QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger(const char* file, int line, const char* function) +{ +return new QMessageLogger(file, line, function); } + +QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger(const char* file, int line, const char* function, const char* category) +{ +return new QMessageLogger(file, line, function, category); } + + + +QMetaClassInfo* PythonQtWrapper_QMetaClassInfo::new_QMetaClassInfo() +{ +return new QMetaClassInfo(); } + +const QMetaObject* PythonQtWrapper_QMetaClassInfo::enclosingMetaObject(QMetaClassInfo* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +const char* PythonQtWrapper_QMetaClassInfo::name(QMetaClassInfo* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +const char* PythonQtWrapper_QMetaClassInfo::value(QMetaClassInfo* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QMetaEnum* PythonQtWrapper_QMetaEnum::new_QMetaEnum() +{ +return new QMetaEnum(); } + +const QMetaObject* PythonQtWrapper_QMetaEnum::enclosingMetaObject(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +const char* PythonQtWrapper_QMetaEnum::enumName(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->enumName()); +} + +bool PythonQtWrapper_QMetaEnum::isFlag(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->isFlag()); +} + +bool PythonQtWrapper_QMetaEnum::isScoped(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->isScoped()); +} + +bool PythonQtWrapper_QMetaEnum::isValid(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const char* PythonQtWrapper_QMetaEnum::key(QMetaEnum* theWrappedObject, int index) const +{ + return ( theWrappedObject->key(index)); +} + +int PythonQtWrapper_QMetaEnum::keyCount(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->keyCount()); +} + +int PythonQtWrapper_QMetaEnum::keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok) const +{ + return ( theWrappedObject->keyToValue(key, ok)); +} + +int PythonQtWrapper_QMetaEnum::keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok) const +{ + return ( theWrappedObject->keysToValue(keys, ok)); +} + +const char* PythonQtWrapper_QMetaEnum::name(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +const char* PythonQtWrapper_QMetaEnum::scope(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->scope()); +} + +int PythonQtWrapper_QMetaEnum::value(QMetaEnum* theWrappedObject, int index) const +{ + return ( theWrappedObject->value(index)); +} + +const char* PythonQtWrapper_QMetaEnum::valueToKey(QMetaEnum* theWrappedObject, int value) const +{ + return ( theWrappedObject->valueToKey(value)); +} + +QByteArray PythonQtWrapper_QMetaEnum::valueToKeys(QMetaEnum* theWrappedObject, int value) const +{ + return ( theWrappedObject->valueToKeys(value)); +} + + + +QMetaMethod* PythonQtWrapper_QMetaMethod::new_QMetaMethod() +{ +return new QMetaMethod(); } + +QMetaMethod::Access PythonQtWrapper_QMetaMethod::access(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->access()); +} + +int PythonQtWrapper_QMetaMethod::attributes(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +const QMetaObject* PythonQtWrapper_QMetaMethod::enclosingMetaObject(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +void PythonQtWrapper_QMetaMethod::getParameterTypes(QMetaMethod* theWrappedObject, int* types) const +{ + ( theWrappedObject->getParameterTypes(types)); +} + +bool PythonQtWrapper_QMetaMethod::isValid(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QMetaMethod::methodIndex(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->methodIndex()); +} + +QByteArray PythonQtWrapper_QMetaMethod::methodSignature(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->methodSignature()); +} + +QMetaMethod::MethodType PythonQtWrapper_QMetaMethod::methodType(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->methodType()); +} + +QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) const +{ + 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); +} + +int PythonQtWrapper_QMetaMethod::parameterCount(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->parameterCount()); +} + +QList PythonQtWrapper_QMetaMethod::parameterNames(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->parameterNames()); +} + +int PythonQtWrapper_QMetaMethod::parameterType(QMetaMethod* theWrappedObject, int index) const +{ + return ( theWrappedObject->parameterType(index)); +} + +QList PythonQtWrapper_QMetaMethod::parameterTypes(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->parameterTypes()); +} + +int PythonQtWrapper_QMetaMethod::returnType(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->returnType()); +} + +int PythonQtWrapper_QMetaMethod::revision(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +const char* PythonQtWrapper_QMetaMethod::tag(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->tag()); +} + +const char* PythonQtWrapper_QMetaMethod::typeName(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->typeName()); +} + + + +QMetaProperty* PythonQtWrapper_QMetaProperty::new_QMetaProperty() +{ +return new QMetaProperty(); } + +const QMetaObject* PythonQtWrapper_QMetaProperty::enclosingMetaObject(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +QMetaEnum PythonQtWrapper_QMetaProperty::enumerator(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->enumerator()); +} + +bool PythonQtWrapper_QMetaProperty::hasNotifySignal(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->hasNotifySignal()); +} + +bool PythonQtWrapper_QMetaProperty::hasStdCppSet(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->hasStdCppSet()); +} + +bool PythonQtWrapper_QMetaProperty::isConstant(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isConstant()); +} + +bool PythonQtWrapper_QMetaProperty::isDesignable(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isDesignable(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isEditable(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isEditable(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isEnumType(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isEnumType()); +} + +bool PythonQtWrapper_QMetaProperty::isFinal(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isFinal()); +} + +bool PythonQtWrapper_QMetaProperty::isFlagType(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isFlagType()); +} + +bool PythonQtWrapper_QMetaProperty::isReadable(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QMetaProperty::isRequired(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isRequired()); +} + +bool PythonQtWrapper_QMetaProperty::isResettable(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isResettable()); +} + +bool PythonQtWrapper_QMetaProperty::isScriptable(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isScriptable(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isStored(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isStored(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isUser(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isUser(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isValid(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QMetaProperty::isWritable(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +const char* PythonQtWrapper_QMetaProperty::name(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QMetaMethod PythonQtWrapper_QMetaProperty::notifySignal(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->notifySignal()); +} + +int PythonQtWrapper_QMetaProperty::notifySignalIndex(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->notifySignalIndex()); +} + +int PythonQtWrapper_QMetaProperty::propertyIndex(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyIndex()); +} + +QVariant PythonQtWrapper_QMetaProperty::read(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->read(obj)); +} + +QVariant PythonQtWrapper_QMetaProperty::readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const +{ + return ( theWrappedObject->readOnGadget(gadget)); +} + +int PythonQtWrapper_QMetaProperty::relativePropertyIndex(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->relativePropertyIndex()); +} + +bool PythonQtWrapper_QMetaProperty::reset(QMetaProperty* theWrappedObject, QObject* obj) const +{ + return ( theWrappedObject->reset(obj)); +} + +bool PythonQtWrapper_QMetaProperty::resetOnGadget(QMetaProperty* theWrappedObject, void* gadget) const +{ + return ( theWrappedObject->resetOnGadget(gadget)); +} + +int PythonQtWrapper_QMetaProperty::revision(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +QVariant::Type PythonQtWrapper_QMetaProperty::type(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +const char* PythonQtWrapper_QMetaProperty::typeName(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->typeName()); +} + +int PythonQtWrapper_QMetaProperty::userType(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->userType()); +} + +bool PythonQtWrapper_QMetaProperty::write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const +{ + return ( theWrappedObject->write(obj, value)); +} + +bool PythonQtWrapper_QMetaProperty::writeOnGadget(QMetaProperty* theWrappedObject, void* gadget, const QVariant& value) const +{ + return ( theWrappedObject->writeOnGadget(gadget, value)); +} + + + +QMetaType* PythonQtWrapper_QMetaType::new_QMetaType(const int type) +{ +return new QMetaType(type); } + +bool PythonQtWrapper_QMetaType::static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result) +{ + return (QMetaType::compare(lhs, rhs, typeId, result)); +} + +void* PythonQtWrapper_QMetaType::static_QMetaType_construct(int type, void* where, const void* copy) +{ + return (QMetaType::construct(type, where, copy)); +} + +void* PythonQtWrapper_QMetaType::construct(QMetaType* theWrappedObject, void* where, const void* copy) const +{ + return ( theWrappedObject->construct(where, copy)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId) +{ + return (QMetaType::convert(from, fromTypeId, to, toTypeId)); +} + +void* PythonQtWrapper_QMetaType::create(QMetaType* theWrappedObject, const void* copy) const +{ + return ( theWrappedObject->create(copy)); +} + +void* PythonQtWrapper_QMetaType::static_QMetaType_create(int type, const void* copy) +{ + return (QMetaType::create(type, copy)); +} + +void PythonQtWrapper_QMetaType::static_QMetaType_destroy(int type, void* data) +{ + (QMetaType::destroy(type, data)); +} + +void PythonQtWrapper_QMetaType::destroy(QMetaType* theWrappedObject, void* data) const +{ + ( theWrappedObject->destroy(data)); +} + +void PythonQtWrapper_QMetaType::static_QMetaType_destruct(int type, void* where) +{ + (QMetaType::destruct(type, where)); +} + +void PythonQtWrapper_QMetaType::destruct(QMetaType* theWrappedObject, void* data) const +{ + ( theWrappedObject->destruct(data)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_equals(const void* lhs, const void* rhs, int typeId, int* result) +{ + return (QMetaType::equals(lhs, rhs, typeId, result)); +} + +QMetaType::TypeFlags PythonQtWrapper_QMetaType::flags(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredComparators(int typeId) +{ + return (QMetaType::hasRegisteredComparators(typeId)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredConverterFunction(int fromTypeId, int toTypeId) +{ + return (QMetaType::hasRegisteredConverterFunction(fromTypeId, toTypeId)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredDebugStreamOperator(int typeId) +{ + return (QMetaType::hasRegisteredDebugStreamOperator(typeId)); +} + +int PythonQtWrapper_QMetaType::id(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QMetaType::isRegistered(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->isRegistered()); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_isRegistered(int type) +{ + return (QMetaType::isRegistered(type)); +} + +bool PythonQtWrapper_QMetaType::isValid(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_load(QDataStream& stream, int type, void* data) +{ + return (QMetaType::load(stream, type, data)); +} + +const QMetaObject* PythonQtWrapper_QMetaType::metaObject(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->metaObject()); +} + +const QMetaObject* PythonQtWrapper_QMetaType::static_QMetaType_metaObjectForType(int type) +{ + return (QMetaType::metaObjectForType(type)); +} + +QByteArray PythonQtWrapper_QMetaType::name(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QMetaType::__ne__(QMetaType* theWrappedObject, const QMetaType& b) +{ + return ( (*theWrappedObject)!= b); +} + +bool PythonQtWrapper_QMetaType::__eq__(QMetaType* theWrappedObject, const QMetaType& b) +{ + return ( (*theWrappedObject)== b); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId) +{ + return (QMetaType::registerNormalizedTypedef(normalizedTypeName, aliasId)); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_registerTypedef(const char* typeName, int aliasId) +{ + return (QMetaType::registerTypedef(typeName, aliasId)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_save(QDataStream& stream, int type, const void* data) +{ + return (QMetaType::save(stream, type, data)); +} + +int PythonQtWrapper_QMetaType::sizeOf(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->sizeOf()); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_sizeOf(int type) +{ + return (QMetaType::sizeOf(type)); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_type(const QByteArray& typeName) +{ + return (QMetaType::type(typeName)); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_type(const char* typeName) +{ + return (QMetaType::type(typeName)); +} + +QMetaType::TypeFlags PythonQtWrapper_QMetaType::static_QMetaType_typeFlags(int type) +{ + return (QMetaType::typeFlags(type)); +} + +const char* PythonQtWrapper_QMetaType::static_QMetaType_typeName(int type) +{ + return (QMetaType::typeName(type)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_unregisterType(int type) +{ + return (QMetaType::unregisterType(type)); +} + + + +PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMimeData::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(); + } + } +} + QMimeData::childEvent(event0); +} +void PythonQtShell_QMimeData::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(); + } + } +} + QMimeData::customEvent(event0); +} +bool PythonQtShell_QMimeData::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 QMimeData::event(event0); +} +bool PythonQtShell_QMimeData::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 QMimeData::eventFilter(watched0, event1); +} +QStringList PythonQtShell_QMimeData::formats() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("formats"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::formats(); +} +bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::hasFormat(mimetype0); +} +QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("retrieveData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "QVariant::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::retrieveData(mimetype0, preferredType1); +} +void PythonQtShell_QMimeData::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(); + } + } +} + QMimeData::timerEvent(event0); +} +QMimeData* PythonQtWrapper_QMimeData::new_QMimeData() +{ +return new PythonQtShell_QMimeData(); } + +const QMetaObject* PythonQtShell_QMimeData::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMimeData::staticMetaObject); + } else { + return &QMimeData::staticMetaObject; + } +} +int PythonQtShell_QMimeData::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMimeData::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMimeData::clear(QMimeData* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QVariant PythonQtWrapper_QMimeData::colorData(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->colorData()); +} + +QByteArray PythonQtWrapper_QMimeData::data(QMimeData* theWrappedObject, const QString& mimetype) const +{ + return ( theWrappedObject->data(mimetype)); +} + +QStringList PythonQtWrapper_QMimeData::formats(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->formats()); +} + +bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasColor()); +} + +bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const +{ + return ( theWrappedObject->hasFormat(mimetype)); +} + +bool PythonQtWrapper_QMimeData::hasHtml(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasHtml()); +} + +bool PythonQtWrapper_QMimeData::hasImage(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasImage()); +} + +bool PythonQtWrapper_QMimeData::hasText(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasText()); +} + +bool PythonQtWrapper_QMimeData::hasUrls(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasUrls()); +} + +QString PythonQtWrapper_QMimeData::html(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->html()); +} + +QVariant PythonQtWrapper_QMimeData::imageData(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->imageData()); +} + +void PythonQtWrapper_QMimeData::removeFormat(QMimeData* theWrappedObject, const QString& mimetype) +{ + ( theWrappedObject->removeFormat(mimetype)); +} + +QVariant PythonQtWrapper_QMimeData::retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const +{ + return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_retrieveData(mimetype, preferredType)); +} + +void PythonQtWrapper_QMimeData::setColorData(QMimeData* theWrappedObject, const QVariant& color) +{ + ( theWrappedObject->setColorData(color)); +} + +void PythonQtWrapper_QMimeData::setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data) +{ + ( theWrappedObject->setData(mimetype, data)); +} + +void PythonQtWrapper_QMimeData::setHtml(QMimeData* theWrappedObject, const QString& html) +{ + ( theWrappedObject->setHtml(html)); +} + +void PythonQtWrapper_QMimeData::setImageData(QMimeData* theWrappedObject, const QVariant& image) +{ + ( theWrappedObject->setImageData(image)); +} + +void PythonQtWrapper_QMimeData::setText(QMimeData* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QMimeData::setUrls(QMimeData* theWrappedObject, const QList& urls) +{ + ( theWrappedObject->setUrls(urls)); +} + +QString PythonQtWrapper_QMimeData::text(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QList PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->urls()); +} + + + +QMimeDatabase* PythonQtWrapper_QMimeDatabase::new_QMimeDatabase() +{ +return new QMimeDatabase(); } + +QList PythonQtWrapper_QMimeDatabase::allMimeTypes(QMimeDatabase* theWrappedObject) const +{ + return ( theWrappedObject->allMimeTypes()); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const +{ + return ( theWrappedObject->mimeTypeForData(device)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const +{ + return ( theWrappedObject->mimeTypeForData(data)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode) const +{ + return ( theWrappedObject->mimeTypeForFile(fileInfo, mode)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode) const +{ + return ( theWrappedObject->mimeTypeForFile(fileName, mode)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const +{ + return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, device)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const +{ + return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, data)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const +{ + return ( theWrappedObject->mimeTypeForName(nameOrAlias)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const +{ + return ( theWrappedObject->mimeTypeForUrl(url)); +} + +QList PythonQtWrapper_QMimeDatabase::mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->mimeTypesForFileName(fileName)); +} + +QString PythonQtWrapper_QMimeDatabase::suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->suffixForFileName(fileName)); +} + + + +QMimeType* PythonQtWrapper_QMimeType::new_QMimeType() +{ +return new QMimeType(); } + +QMimeType* PythonQtWrapper_QMimeType::new_QMimeType(const QMimeType& other) +{ +return new QMimeType(other); } + +QStringList PythonQtWrapper_QMimeType::aliases(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->aliases()); +} + +QStringList PythonQtWrapper_QMimeType::allAncestors(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->allAncestors()); +} + +QString PythonQtWrapper_QMimeType::comment(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->comment()); +} + +QString PythonQtWrapper_QMimeType::filterString(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->filterString()); +} + +QString PythonQtWrapper_QMimeType::genericIconName(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->genericIconName()); +} + +QStringList PythonQtWrapper_QMimeType::globPatterns(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->globPatterns()); +} + +QString PythonQtWrapper_QMimeType::iconName(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->iconName()); +} + +bool PythonQtWrapper_QMimeType::inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const +{ + return ( theWrappedObject->inherits(mimeTypeName)); +} + +bool PythonQtWrapper_QMimeType::isDefault(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +bool PythonQtWrapper_QMimeType::isValid(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QMimeType::name(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QMimeType::__ne__(QMimeType* theWrappedObject, const QMimeType& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QMimeType* PythonQtWrapper_QMimeType::operator_assign(QMimeType* theWrappedObject, const QMimeType& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QMimeType::__eq__(QMimeType* theWrappedObject, const QMimeType& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringList PythonQtWrapper_QMimeType::parentMimeTypes(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->parentMimeTypes()); +} + +QString PythonQtWrapper_QMimeType::preferredSuffix(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->preferredSuffix()); +} + +QStringList PythonQtWrapper_QMimeType::suffixes(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->suffixes()); +} + +void PythonQtWrapper_QMimeType::swap(QMimeType* theWrappedObject, QMimeType& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QMimeType::py_toString(QMimeType* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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() +{ +return new QMutex(); } + +QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) +{ +return new QMutex(mode); } + +bool PythonQtWrapper_QMutex::isRecursive(QMutex* theWrappedObject) const +{ + return ( theWrappedObject->isRecursive()); +} + +void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) +{ + ( theWrappedObject->lock()); +} + +bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLock(timeout)); +} + +bool PythonQtWrapper_QMutex::try_lock(QMutex* theWrappedObject) +{ + return ( theWrappedObject->try_lock()); +} + +void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QMutexLocker* PythonQtWrapper_QMutexLocker::new_QMutexLocker(QBasicMutex* m) +{ +return new QMutexLocker(m); } + +QMutexLocker* PythonQtWrapper_QMutexLocker::new_QMutexLocker(QRecursiveMutex* m) +{ +return new QMutexLocker(m); } + +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); } +} +void PythonQtShell_QObject::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(); + } + } +} + QObject::childEvent(event0); +} +void PythonQtShell_QObject::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(); + } + } +} + QObject::customEvent(event0); +} +bool PythonQtShell_QObject::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 QObject::event(event0); +} +bool PythonQtShell_QObject::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 QObject::eventFilter(watched0, event1); +} +void PythonQtShell_QObject::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(); + } + } +} + QObject::timerEvent(event0); +} +QObject* PythonQtWrapper_QObject::new_QObject(QObject* parent) +{ +return new PythonQtShell_QObject(parent); } + +const QMetaObject* PythonQtShell_QObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QObject::staticMetaObject); + } else { + return &QObject::staticMetaObject; + } +} +int PythonQtShell_QObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QObject::blockSignals(QObject* theWrappedObject, bool b) +{ + return ( theWrappedObject->blockSignals(b)); +} + +void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(event)); +} + +const QList* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const +{ + return &( theWrappedObject->children()); +} + +void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(event)); +} + +void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) +{ + ( theWrappedObject->dumpObjectInfo()); +} + +void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) const +{ + ( theWrappedObject->dumpObjectInfo()); +} + +void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) +{ + ( theWrappedObject->dumpObjectTree()); +} + +void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) const +{ + ( theWrappedObject->dumpObjectTree()); +} + +QList PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const +{ + return ( theWrappedObject->dynamicPropertyNames()); +} + +bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* event) +{ + return ( theWrappedObject->event(event)); +} + +bool PythonQtWrapper_QObject::eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event) +{ + return ( theWrappedObject->eventFilter(watched, event)); +} + +void PythonQtWrapper_QObject::installEventFilter(QObject* theWrappedObject, QObject* filterObj) +{ + ( theWrappedObject->installEventFilter(filterObj)); +} + +bool PythonQtWrapper_QObject::isSignalConnected(QObject* theWrappedObject, const QMetaMethod& signal) const +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_isSignalConnected(signal)); +} + +bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const +{ + return ( theWrappedObject->isWidgetType()); +} + +bool PythonQtWrapper_QObject::isWindowType(QObject* theWrappedObject) const +{ + return ( theWrappedObject->isWindowType()); +} + +void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) +{ + ( theWrappedObject->killTimer(id)); +} + +void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) +{ + ( theWrappedObject->moveToThread(thread)); +} + +QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const +{ + return ( theWrappedObject->objectName()); +} + +void PythonQtWrapper_QObject::removeEventFilter(QObject* theWrappedObject, QObject* obj) +{ + ( theWrappedObject->removeEventFilter(obj)); +} + +QObject* PythonQtWrapper_QObject::sender(QObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_sender()); +} + +int PythonQtWrapper_QObject::senderSignalIndex(QObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_senderSignalIndex()); +} + +void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setObjectName(name)); +} + +bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const +{ + return ( theWrappedObject->signalsBlocked()); +} + +int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval, Qt::TimerType timerType) +{ + return ( theWrappedObject->startTimer(interval, timerType)); +} + +QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const +{ + return ( theWrappedObject->thread()); +} + +void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(event)); +} + + + +PythonQtShell_QOperatingSystemVersion::~PythonQtShell_QOperatingSystemVersion() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QOperatingSystemVersion* PythonQtWrapper_QOperatingSystemVersion::new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor, int vmicro) +{ +return new PythonQtShell_QOperatingSystemVersion(osType, vmajor, vminor, vmicro); } + +QOperatingSystemVersion PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_current() +{ + return (QOperatingSystemVersion::current()); +} + +QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_currentType() +{ + return (QOperatingSystemVersion::currentType()); +} + +int PythonQtWrapper_QOperatingSystemVersion::majorVersion(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->majorVersion()); +} + +int PythonQtWrapper_QOperatingSystemVersion::microVersion(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->microVersion()); +} + +int PythonQtWrapper_QOperatingSystemVersion::minorVersion(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->minorVersion()); +} + +QString PythonQtWrapper_QOperatingSystemVersion::name(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QOperatingSystemVersion::__lt__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs) +{ + return ( (*theWrappedObject)< rhs); +} + +bool PythonQtWrapper_QOperatingSystemVersion::__le__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs) +{ + return ( (*theWrappedObject)<= rhs); +} + +bool PythonQtWrapper_QOperatingSystemVersion::__gt__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs) +{ + return ( (*theWrappedObject)> rhs); +} + +bool PythonQtWrapper_QOperatingSystemVersion::__ge__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs) +{ + return ( (*theWrappedObject)>= rhs); +} + +int PythonQtWrapper_QOperatingSystemVersion::segmentCount(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->segmentCount()); +} + +QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::type(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QOperatingSystemVersion::py_toString(QOperatingSystemVersion* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QParallelAnimationGroup::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(); + } + } +} + QParallelAnimationGroup::childEvent(event0); +} +void PythonQtShell_QParallelAnimationGroup::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(); + } + } +} + QParallelAnimationGroup::customEvent(event0); +} +int PythonQtShell_QParallelAnimationGroup::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + 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("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QParallelAnimationGroup::duration(); +} +bool PythonQtShell_QParallelAnimationGroup::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 QParallelAnimationGroup::event(event0); +} +bool PythonQtShell_QParallelAnimationGroup::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 QParallelAnimationGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QParallelAnimationGroup::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(); + } + } +} + QParallelAnimationGroup::timerEvent(event0); +} +void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + 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*)¤tTime0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::updateCurrentTime(currentTime0); +} +void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::updateDirection(direction0); +} +void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::updateState(newState0, oldState1); +} +QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QParallelAnimationGroup(parent); } + +const QMetaObject* PythonQtShell_QParallelAnimationGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QParallelAnimationGroup::staticMetaObject); + } else { + return &QParallelAnimationGroup::staticMetaObject; + } +} +int PythonQtShell_QParallelAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QParallelAnimationGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPauseAnimation::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(); + } + } +} + QPauseAnimation::childEvent(event0); +} +void PythonQtShell_QPauseAnimation::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(); + } + } +} + QPauseAnimation::customEvent(event0); +} +int PythonQtShell_QPauseAnimation::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + 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("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPauseAnimation::duration(); +} +bool PythonQtShell_QPauseAnimation::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 QPauseAnimation::event(e0); +} +bool PythonQtShell_QPauseAnimation::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 QPauseAnimation::eventFilter(watched0, event1); +} +void PythonQtShell_QPauseAnimation::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(); + } + } +} + QPauseAnimation::timerEvent(event0); +} +void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::updateDirection(direction0); +} +void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::updateState(newState0, oldState1); +} +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(parent); } + +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(msecs, parent); } + +const QMetaObject* PythonQtShell_QPauseAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPauseAnimation::staticMetaObject); + } else { + return &QPauseAnimation::staticMetaObject; + } +} +int PythonQtShell_QPauseAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPauseAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) +{ + ( theWrappedObject->setDuration(msecs)); +} + + + +QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex() +{ +return new QPersistentModelIndex(); } + +QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QModelIndex& index) +{ +return new QPersistentModelIndex(index); } + +QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QPersistentModelIndex& other) +{ +return new QPersistentModelIndex(other); } + +QModelIndex PythonQtWrapper_QPersistentModelIndex::child(QPersistentModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->child(row, column)); +} + +int PythonQtWrapper_QPersistentModelIndex::column(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QPersistentModelIndex::data(QPersistentModelIndex* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QPersistentModelIndex::flags(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +quintptr PythonQtWrapper_QPersistentModelIndex::internalId(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalId()); +} + +bool PythonQtWrapper_QPersistentModelIndex::isValid(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const QAbstractItemModel* PythonQtWrapper_QPersistentModelIndex::model(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QModelIndex PythonQtWrapper_QPersistentModelIndex::operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->operator const QModelIndex&()); +} + +bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +{ + return ( (*theWrappedObject)< other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + +QModelIndex PythonQtWrapper_QPersistentModelIndex::parent(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +int PythonQtWrapper_QPersistentModelIndex::row(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +QModelIndex PythonQtWrapper_QPersistentModelIndex::sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->sibling(row, column)); +} + +void PythonQtWrapper_QPersistentModelIndex::swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QPersistentModelIndex::py_toString(QPersistentModelIndex* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QProcess::~PythonQtShell_QProcess() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QProcess::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::atEnd(); +} +qint64 PythonQtShell_QProcess::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::bytesAvailable(); +} +qint64 PythonQtShell_QProcess::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::bytesToWrite(); +} +bool PythonQtShell_QProcess::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::canReadLine(); +} +void PythonQtShell_QProcess::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(); + } + } +} + QProcess::childEvent(event0); +} +void PythonQtShell_QProcess::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QProcess::close(); +} +void PythonQtShell_QProcess::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(); + } + } +} + QProcess::customEvent(event0); +} +bool PythonQtShell_QProcess::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 QProcess::event(event0); +} +bool PythonQtShell_QProcess::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 QProcess::eventFilter(watched0, event1); +} +bool PythonQtShell_QProcess::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::isSequential(); +} +bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::open(mode0); +} +qint64 PythonQtShell_QProcess::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::pos(); +} +qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::readData(data0, maxlen1); +} +qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::readLineData(data0, maxlen1); +} +bool PythonQtShell_QProcess::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::reset(); +} +bool PythonQtShell_QProcess::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::seek(pos0); +} +void PythonQtShell_QProcess::setupChildProcess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupChildProcess"); + 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(); + } + } +} + QProcess::setupChildProcess(); +} +qint64 PythonQtShell_QProcess::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::size(); +} +void PythonQtShell_QProcess::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(); + } + } +} + QProcess::timerEvent(event0); +} +bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::writeData(data0, len1); +} +QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) +{ +return new PythonQtShell_QProcess(parent); } + +const QMetaObject* PythonQtShell_QProcess::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProcess::staticMetaObject); + } else { + return &QProcess::staticMetaObject; + } +} +int PythonQtShell_QProcess::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProcess::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QProcess::arguments(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->arguments()); +} + +void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) +{ + ( theWrappedObject->closeReadChannel(channel)); +} + +void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) +{ + ( theWrappedObject->closeWriteChannel()); +} + +QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->environment()); +} + +QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& command) +{ + return (QProcess::execute(command)); +} + +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) +{ + return (QProcess::execute(program, arguments)); +} + +int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->exitCode()); +} + +QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->exitStatus()); +} + +QProcess::InputChannelMode PythonQtWrapper_QProcess::inputChannelMode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->inputChannelMode()); +} + +QString PythonQtWrapper_QProcess::static_QProcess_nullDevice() +{ + return (QProcess::nullDevice()); +} + +QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processChannelMode()); +} + +QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processEnvironment()); +} + +qint64 PythonQtWrapper_QProcess::processId(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processId()); +} + +QString PythonQtWrapper_QProcess::program(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->program()); +} + +QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) +{ + return ( theWrappedObject->readAllStandardError()); +} + +QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) +{ + return ( theWrappedObject->readAllStandardOutput()); +} + +QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->readChannel()); +} + +void PythonQtWrapper_QProcess::setArguments(QProcess* theWrappedObject, const QStringList& arguments) +{ + ( theWrappedObject->setArguments(arguments)); +} + +void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) +{ + ( theWrappedObject->setEnvironment(environment)); +} + +void PythonQtWrapper_QProcess::setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode) +{ + ( theWrappedObject->setInputChannelMode(mode)); +} + +void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) +{ + ( theWrappedObject->setProcessChannelMode(mode)); +} + +void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) +{ + ( theWrappedObject->setProcessEnvironment(environment)); +} + +void PythonQtWrapper_QProcess::setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state) +{ + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setProcessState(state)); +} + +void PythonQtWrapper_QProcess::setProgram(QProcess* theWrappedObject, const QString& program) +{ + ( theWrappedObject->setProgram(program)); +} + +void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) +{ + ( theWrappedObject->setReadChannel(channel)); +} + +void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +{ + ( theWrappedObject->setStandardErrorFile(fileName, mode)); +} + +void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setStandardInputFile(fileName)); +} + +void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +{ + ( theWrappedObject->setStandardOutputFile(fileName, mode)); +} + +void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) +{ + ( theWrappedObject->setStandardOutputProcess(destination)); +} + +void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->setWorkingDirectory(dir)); +} + +void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); +} + +QStringList PythonQtWrapper_QProcess::static_QProcess_splitCommand(QStringView command) +{ + return (QProcess::splitCommand(command)); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(mode)); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(command, mode)); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(program, arguments, mode)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& command) +{ + return (QProcess::startDetached(command)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) +{ + return (QProcess::startDetached(program, arguments)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) +{ + return (QProcess::startDetached(program, arguments, workingDirectory, pid)); +} + +bool PythonQtWrapper_QProcess::startDetached(QProcess* theWrappedObject, qint64* pid) +{ + return ( theWrappedObject->startDetached(pid)); +} + +QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() +{ + return (QProcess::systemEnvironment()); +} + +bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForFinished(msecs)); +} + +bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForStarted(msecs)); +} + +QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->workingDirectory()); +} + + + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment() +{ +return new QProcessEnvironment(); } + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment(const QProcessEnvironment& other) +{ +return new QProcessEnvironment(other); } + +void PythonQtWrapper_QProcessEnvironment::clear(QProcessEnvironment* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QProcessEnvironment::contains(QProcessEnvironment* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->contains(name)); +} + +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& e) +{ + ( theWrappedObject->insert(e)); +} + +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->insert(name, value)); +} + +bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QStringList PythonQtWrapper_QProcessEnvironment::keys(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +bool PythonQtWrapper_QProcessEnvironment::__ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QProcessEnvironment::__eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QProcessEnvironment::remove(QProcessEnvironment* theWrappedObject, const QString& name) +{ + ( theWrappedObject->remove(name)); +} + +void PythonQtWrapper_QProcessEnvironment::swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other) +{ + ( theWrappedObject->swap(other)); +} + +QProcessEnvironment PythonQtWrapper_QProcessEnvironment::static_QProcessEnvironment_systemEnvironment() +{ + return (QProcessEnvironment::systemEnvironment()); +} + +QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->toStringList()); +} + +QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) const +{ + return ( theWrappedObject->value(name, defaultValue)); +} + + + +PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPropertyAnimation::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(); + } + } +} + QPropertyAnimation::childEvent(event0); +} +void PythonQtShell_QPropertyAnimation::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(); + } + } +} + QPropertyAnimation::customEvent(event0); +} +int PythonQtShell_QPropertyAnimation::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + 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("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPropertyAnimation::duration(); +} +bool PythonQtShell_QPropertyAnimation::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 QPropertyAnimation::event(event0); +} +bool PythonQtShell_QPropertyAnimation::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 QPropertyAnimation::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("interpolated"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPropertyAnimation::interpolated(from0, to1, progress2); +} +void PythonQtShell_QPropertyAnimation::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(); + } + } +} + QPropertyAnimation::timerEvent(event0); +} +void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateCurrentValue(value0); +} +void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateDirection(direction0); +} +void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateState(newState0, oldState1); +} +QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) +{ +return new PythonQtShell_QPropertyAnimation(parent); } + +QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) +{ +return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } + +const QMetaObject* PythonQtShell_QPropertyAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPropertyAnimation::staticMetaObject); + } else { + return &QPropertyAnimation::staticMetaObject; + } +} +int PythonQtShell_QPropertyAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPropertyAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const +{ + return ( theWrappedObject->propertyName()); +} + +void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) +{ + ( theWrappedObject->setPropertyName(propertyName)); +} + +void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) +{ + ( theWrappedObject->setTargetObject(target)); +} + +QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const +{ + return ( theWrappedObject->targetObject()); +} + + + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(const QRandomGenerator& other) +{ +return new QRandomGenerator(other); } + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(const unsigned int* begin, const unsigned int* end) +{ +return new QRandomGenerator(begin, end); } + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(const unsigned int* seedBuffer, qsizetype len) +{ +return new QRandomGenerator(seedBuffer, len); } + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(unsigned int seedValue) +{ +return new QRandomGenerator(seedValue); } + +double PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, double highest) +{ + return ( theWrappedObject->bounded(highest)); +} + +int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int highest) +{ + return ( theWrappedObject->bounded(highest)); +} + +int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int lowest, int highest) +{ + return ( theWrappedObject->bounded(lowest, highest)); +} + +unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int highest) +{ + return ( theWrappedObject->bounded(highest)); +} + +unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int lowest, unsigned int highest) +{ + return ( theWrappedObject->bounded(lowest, highest)); +} + +void PythonQtWrapper_QRandomGenerator::discard(QRandomGenerator* theWrappedObject, quint64 z) +{ + ( theWrappedObject->discard(z)); +} + +unsigned int PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generate()); +} + +void PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject, unsigned int* begin, unsigned int* end) +{ + ( theWrappedObject->generate(begin, end)); +} + +quint64 PythonQtWrapper_QRandomGenerator::generate64(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generate64()); +} + +double PythonQtWrapper_QRandomGenerator::generateDouble(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generateDouble()); +} + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_global() +{ + return (QRandomGenerator::global()); +} + +unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_max() +{ + return (QRandomGenerator::max()); +} + +unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_min() +{ + return (QRandomGenerator::min()); +} + +bool PythonQtWrapper_QRandomGenerator::__ne__(QRandomGenerator* theWrappedObject, const QRandomGenerator& rng2) +{ + return ( (*theWrappedObject)!= rng2); +} + +unsigned int PythonQtWrapper_QRandomGenerator::operator_cast_(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->operator()()); +} + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::operator_assign(QRandomGenerator* theWrappedObject, const QRandomGenerator& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QRandomGenerator::__eq__(QRandomGenerator* theWrappedObject, const QRandomGenerator& rng2) +{ + return ( (*theWrappedObject)== rng2); +} + +QRandomGenerator PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_securelySeeded() +{ + return (QRandomGenerator::securelySeeded()); +} + +void PythonQtWrapper_QRandomGenerator::seed(QRandomGenerator* theWrappedObject, unsigned int s) +{ + ( theWrappedObject->seed(s)); +} + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_system() +{ + return (QRandomGenerator::system()); +} + + + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const QRandomGenerator& other) +{ +return new QRandomGenerator64(other); } + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const unsigned int* begin, const unsigned int* end) +{ +return new QRandomGenerator64(begin, end); } + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const unsigned int* seedBuffer, qsizetype len) +{ +return new QRandomGenerator64(seedBuffer, len); } + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(unsigned int seedValue) +{ +return new QRandomGenerator64(seedValue); } + +void PythonQtWrapper_QRandomGenerator64::discard(QRandomGenerator64* theWrappedObject, quint64 z) +{ + ( theWrappedObject->discard(z)); +} + +quint64 PythonQtWrapper_QRandomGenerator64::generate(QRandomGenerator64* theWrappedObject) +{ + return ( theWrappedObject->generate()); +} + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_global() +{ + return (QRandomGenerator64::global()); +} + +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_max() +{ + return (QRandomGenerator64::max()); +} + +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_min() +{ + return (QRandomGenerator64::min()); +} + +quint64 PythonQtWrapper_QRandomGenerator64::operator_cast_(QRandomGenerator64* theWrappedObject) +{ + return ( theWrappedObject->operator()()); +} + +QRandomGenerator64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_securelySeeded() +{ + return (QRandomGenerator64::securelySeeded()); +} + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_system() +{ + return (QRandomGenerator64::system()); +} + + + +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); } + +void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->lockForRead()); +} + +void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->lockForWrite()); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) +{ + return ( theWrappedObject->tryLockForRead()); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLockForRead(timeout)); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) +{ + return ( theWrappedObject->tryLockForWrite()); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLockForWrite(timeout)); +} + +void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QRecursiveMutex* PythonQtWrapper_QRecursiveMutex::new_QRecursiveMutex() +{ +return new QRecursiveMutex(); } + + + +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch() +{ +return new QRegularExpressionMatch(); } + +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch(const QRegularExpressionMatch& match) +{ +return new QRegularExpressionMatch(match); } + +QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->captured(name)); +} + +QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->captured(nth)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedEnd(name)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedEnd(nth)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedLength(name)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedLength(nth)); +} + +QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedRef(name)); +} + +QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedRef(nth)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedStart(name)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedStart(nth)); +} + +QStringList PythonQtWrapper_QRegularExpressionMatch::capturedTexts(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->capturedTexts()); +} + +QStringView PythonQtWrapper_QRegularExpressionMatch::capturedView(QRegularExpressionMatch* theWrappedObject, QStringView name) const +{ + return ( theWrappedObject->capturedView(name)); +} + +QStringView PythonQtWrapper_QRegularExpressionMatch::capturedView(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedView(nth)); +} + +bool PythonQtWrapper_QRegularExpressionMatch::hasMatch(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->hasMatch()); +} + +bool PythonQtWrapper_QRegularExpressionMatch::hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->hasPartialMatch()); +} + +bool PythonQtWrapper_QRegularExpressionMatch::isValid(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QRegularExpressionMatch::lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->lastCapturedIndex()); +} + +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatch::matchOptions(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->matchOptions()); +} + +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatch::matchType(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->matchType()); +} + +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match) +{ + return &( (*theWrappedObject)= match); +} + +QRegularExpression PythonQtWrapper_QRegularExpressionMatch::regularExpression(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} + +void PythonQtWrapper_QRegularExpressionMatch::swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QRegularExpressionMatch::py_toString(QRegularExpressionMatch* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::new_QRegularExpressionMatchIterator() +{ +return new QRegularExpressionMatchIterator(); } + +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator) +{ +return new QRegularExpressionMatchIterator(iterator); } + +bool PythonQtWrapper_QRegularExpressionMatchIterator::hasNext(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->hasNext()); +} + +bool PythonQtWrapper_QRegularExpressionMatchIterator::isValid(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatchIterator::matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->matchOptions()); +} + +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatchIterator::matchType(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->matchType()); +} + +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::next(QRegularExpressionMatchIterator* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator) +{ + return &( (*theWrappedObject)= iterator); +} + +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::peekNext(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->peekNext()); +} + +QRegularExpression PythonQtWrapper_QRegularExpressionMatchIterator::regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} + +void PythonQtWrapper_QRegularExpressionMatchIterator::swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QResource::~PythonQtShell_QResource() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QResource* PythonQtWrapper_QResource::new_QResource(const QString& file, const QLocale& locale) +{ +return new PythonQtShell_QResource(file, locale); } + +QString PythonQtWrapper_QResource::absoluteFilePath(QResource* theWrappedObject) const +{ + return ( theWrappedObject->absoluteFilePath()); +} + +void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) +{ + (QResource::addSearchPath(path)); +} + +QStringList PythonQtWrapper_QResource::children(QResource* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_children()); +} + +QResource::Compression PythonQtWrapper_QResource::compressionAlgorithm(QResource* theWrappedObject) const +{ + return ( theWrappedObject->compressionAlgorithm()); +} + +const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const +{ + return ( theWrappedObject->isCompressed()); +} + +bool PythonQtWrapper_QResource::isDir(QResource* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isDir()); +} + +bool PythonQtWrapper_QResource::isFile(QResource* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isFile()); +} + +bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QDateTime PythonQtWrapper_QResource::lastModified(QResource* theWrappedObject) const +{ + return ( theWrappedObject->lastModified()); +} + +QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) +{ + return (QResource::registerResource(rccFilename, resourceRoot)); +} + +bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) +{ + return (QResource::registerResource(rccData, resourceRoot)); +} + +QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() +{ + return (QResource::searchPaths()); +} + +void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) +{ + ( theWrappedObject->setFileName(file)); +} + +void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QByteArray PythonQtWrapper_QResource::uncompressedData(QResource* theWrappedObject) const +{ + return ( theWrappedObject->uncompressedData()); +} + +qint64 PythonQtWrapper_QResource::uncompressedSize(QResource* theWrappedObject) const +{ + return ( theWrappedObject->uncompressedSize()); +} + +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) +{ + return (QResource::unregisterResource(rccFilename, resourceRoot)); +} + +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) +{ + return (QResource::unregisterResource(rccData, resourceRoot)); +} + + + +PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRunnable::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(); + } + } +} + +} +QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() +{ +return new PythonQtShell_QRunnable(); } + +bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const +{ + return ( theWrappedObject->autoDelete()); +} + +void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject) +{ + ( theWrappedObject->run()); +} + +void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) +{ + ( theWrappedObject->setAutoDelete(_autoDelete)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.h new file mode 100644 index 00000000..1a9c79e2 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core2.h @@ -0,0 +1,1183 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QMessageLogContext : public QMessageLogContext +{ +public: + 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; +}; + +class PythonQtWrapper_QMessageLogContext : public QObject +{ Q_OBJECT +public: +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; } +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; } +void py_set_line(QMessageLogContext* theWrappedObject, int line){ theWrappedObject->line = line; } +int py_get_line(QMessageLogContext* theWrappedObject){ return theWrappedObject->line; } +void py_set_version(QMessageLogContext* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QMessageLogContext* theWrappedObject){ return theWrappedObject->version; } +}; + + + + + +class PythonQtWrapper_QMessageLogger : public QObject +{ Q_OBJECT +public: +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; } +}; + + + + + +class PythonQtWrapper_QMetaClassInfo : public QObject +{ Q_OBJECT +public: +public slots: +QMetaClassInfo* new_QMetaClassInfo(); +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; +}; + + + + + +class PythonQtWrapper_QMetaEnum : public QObject +{ Q_OBJECT +public: +public slots: +QMetaEnum* new_QMetaEnum(); +void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } + const QMetaObject* enclosingMetaObject(QMetaEnum* theWrappedObject) const; + const char* enumName(QMetaEnum* theWrappedObject) const; + bool isFlag(QMetaEnum* theWrappedObject) const; + bool isScoped(QMetaEnum* theWrappedObject) const; + bool isValid(QMetaEnum* theWrappedObject) const; + const char* key(QMetaEnum* theWrappedObject, int index) const; + int keyCount(QMetaEnum* theWrappedObject) const; + int keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok = nullptr) const; + int keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok = nullptr) const; + const char* name(QMetaEnum* theWrappedObject) const; + const char* scope(QMetaEnum* theWrappedObject) const; + int value(QMetaEnum* theWrappedObject, int index) const; + const char* valueToKey(QMetaEnum* theWrappedObject, int value) const; + QByteArray valueToKeys(QMetaEnum* theWrappedObject, int value) const; + bool __nonzero__(QMetaEnum* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QMetaMethod : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Access Attributes MethodType ) +enum Access{ + Private = QMetaMethod::Private, Protected = QMetaMethod::Protected, Public = QMetaMethod::Public}; +enum Attributes{ + Compatibility = QMetaMethod::Compatibility, Cloned = QMetaMethod::Cloned, Scriptable = QMetaMethod::Scriptable}; +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; } + QMetaMethod::Access access(QMetaMethod* theWrappedObject) const; + int attributes(QMetaMethod* theWrappedObject) const; + const QMetaObject* enclosingMetaObject(QMetaMethod* theWrappedObject) const; + void getParameterTypes(QMetaMethod* theWrappedObject, int* types) const; + bool isValid(QMetaMethod* theWrappedObject) const; + int methodIndex(QMetaMethod* theWrappedObject) const; + 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; + int parameterType(QMetaMethod* theWrappedObject, int index) const; + QList parameterTypes(QMetaMethod* theWrappedObject) const; + int returnType(QMetaMethod* theWrappedObject) const; + int revision(QMetaMethod* theWrappedObject) const; + const char* tag(QMetaMethod* theWrappedObject) const; + const char* typeName(QMetaMethod* theWrappedObject) const; + bool __nonzero__(QMetaMethod* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QMetaProperty : public QObject +{ Q_OBJECT +public: +public slots: +QMetaProperty* new_QMetaProperty(); +void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } + const QMetaObject* enclosingMetaObject(QMetaProperty* theWrappedObject) const; + QMetaEnum enumerator(QMetaProperty* theWrappedObject) const; + bool hasNotifySignal(QMetaProperty* theWrappedObject) const; + bool hasStdCppSet(QMetaProperty* theWrappedObject) const; + bool isConstant(QMetaProperty* theWrappedObject) const; + bool isDesignable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isEditable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isEnumType(QMetaProperty* theWrappedObject) const; + bool isFinal(QMetaProperty* theWrappedObject) const; + bool isFlagType(QMetaProperty* theWrappedObject) const; + bool isReadable(QMetaProperty* theWrappedObject) const; + bool isRequired(QMetaProperty* theWrappedObject) const; + bool isResettable(QMetaProperty* theWrappedObject) const; + bool isScriptable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isStored(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isUser(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isValid(QMetaProperty* theWrappedObject) const; + bool isWritable(QMetaProperty* theWrappedObject) const; + const char* name(QMetaProperty* theWrappedObject) const; + QMetaMethod notifySignal(QMetaProperty* theWrappedObject) const; + int notifySignalIndex(QMetaProperty* theWrappedObject) const; + int propertyIndex(QMetaProperty* theWrappedObject) const; + QVariant read(QMetaProperty* theWrappedObject, const QObject* obj) const; + QVariant readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const; + int relativePropertyIndex(QMetaProperty* theWrappedObject) const; + bool reset(QMetaProperty* theWrappedObject, QObject* obj) const; + bool resetOnGadget(QMetaProperty* theWrappedObject, void* gadget) const; + int revision(QMetaProperty* theWrappedObject) const; + QVariant::Type type(QMetaProperty* theWrappedObject) const; + const char* typeName(QMetaProperty* theWrappedObject) const; + int userType(QMetaProperty* theWrappedObject) const; + bool write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const; + bool writeOnGadget(QMetaProperty* theWrappedObject, void* gadget, const QVariant& value) const; + bool __nonzero__(QMetaProperty* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QMetaType : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TypeFlag ) +Q_FLAGS(TypeFlags ) +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) +public slots: +QMetaType* new_QMetaType(const int type = QMetaType::UnknownType); +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; + bool static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId); + void* create(QMetaType* theWrappedObject, const void* copy = nullptr) const; + void* static_QMetaType_create(int type, const void* copy = nullptr); + void static_QMetaType_destroy(int type, void* data); + void destroy(QMetaType* theWrappedObject, void* data) const; + void static_QMetaType_destruct(int type, void* where); + void destruct(QMetaType* theWrappedObject, void* data) const; + bool static_QMetaType_equals(const void* lhs, const void* rhs, int typeId, int* result); + QMetaType::TypeFlags flags(QMetaType* theWrappedObject) const; + bool static_QMetaType_hasRegisteredComparators(int typeId); + bool static_QMetaType_hasRegisteredConverterFunction(int fromTypeId, int toTypeId); + bool static_QMetaType_hasRegisteredDebugStreamOperator(int typeId); + int id(QMetaType* theWrappedObject) const; + bool isRegistered(QMetaType* theWrappedObject) const; + bool static_QMetaType_isRegistered(int type); + bool isValid(QMetaType* theWrappedObject) const; + bool static_QMetaType_load(QDataStream& stream, int type, void* data); + const QMetaObject* metaObject(QMetaType* theWrappedObject) const; + const QMetaObject* static_QMetaType_metaObjectForType(int type); + QByteArray name(QMetaType* theWrappedObject) const; + bool __ne__(QMetaType* theWrappedObject, const QMetaType& b); + bool __eq__(QMetaType* theWrappedObject, const QMetaType& b); + int static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId); + int static_QMetaType_registerTypedef(const char* typeName, int aliasId); + bool static_QMetaType_save(QDataStream& stream, int type, const void* data); + int sizeOf(QMetaType* theWrappedObject) const; + int static_QMetaType_sizeOf(int type); + int static_QMetaType_type(const QByteArray& typeName); + int static_QMetaType_type(const char* typeName); + QMetaType::TypeFlags static_QMetaType_typeFlags(int type); + const char* static_QMetaType_typeName(int type); + bool static_QMetaType_unregisterType(int type); + bool __nonzero__(QMetaType* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QMimeData : public QMimeData +{ +public: + 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 +{ public: +inline QVariant promoted_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return this->retrieveData(mimetype, preferredType); } +inline QStringList py_q_formats() const { return QMimeData::formats(); } +inline bool py_q_hasFormat(const QString& mimetype) const { return QMimeData::hasFormat(mimetype); } +inline QVariant py_q_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return QMimeData::retrieveData(mimetype, preferredType); } +}; + +class PythonQtWrapper_QMimeData : public QObject +{ Q_OBJECT +public: +public slots: +QMimeData* new_QMimeData(); +void delete_QMimeData(QMimeData* obj) { delete obj; } + void clear(QMimeData* theWrappedObject); + QVariant colorData(QMimeData* theWrappedObject) const; + QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; + QStringList formats(QMimeData* theWrappedObject) const; + QStringList py_q_formats(QMimeData* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_formats());} + bool hasColor(QMimeData* theWrappedObject) const; + bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const; + bool py_q_hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_hasFormat(mimetype));} + bool hasHtml(QMimeData* theWrappedObject) const; + bool hasImage(QMimeData* theWrappedObject) const; + bool hasText(QMimeData* theWrappedObject) const; + bool hasUrls(QMimeData* theWrappedObject) const; + QString html(QMimeData* theWrappedObject) const; + QVariant imageData(QMimeData* theWrappedObject) const; + void removeFormat(QMimeData* theWrappedObject, const QString& mimetype); + QVariant retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const; + QVariant py_q_retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_retrieveData(mimetype, preferredType));} + void setColorData(QMimeData* theWrappedObject, const QVariant& color); + void setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data); + void setHtml(QMimeData* theWrappedObject, const QString& html); + void setImageData(QMimeData* theWrappedObject, const QVariant& image); + void setText(QMimeData* theWrappedObject, const QString& text); + void setUrls(QMimeData* theWrappedObject, const QList& urls); + QString text(QMimeData* theWrappedObject) const; + QList urls(QMimeData* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QMimeDatabase : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MatchMode ) +enum MatchMode{ + MatchDefault = QMimeDatabase::MatchDefault, MatchExtension = QMimeDatabase::MatchExtension, MatchContent = QMimeDatabase::MatchContent}; +public slots: +QMimeDatabase* new_QMimeDatabase(); +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; + QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; + QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; + QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const; + QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const; + QMimeType mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const; + QMimeType mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const; + QList mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; + QString suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; +}; + + + + + +class PythonQtWrapper_QMimeType : public QObject +{ Q_OBJECT +public: +public slots: +QMimeType* new_QMimeType(); +QMimeType* new_QMimeType(const QMimeType& other); +void delete_QMimeType(QMimeType* obj) { delete obj; } + QStringList aliases(QMimeType* theWrappedObject) const; + QStringList allAncestors(QMimeType* theWrappedObject) const; + QString comment(QMimeType* theWrappedObject) const; + QString filterString(QMimeType* theWrappedObject) const; + QString genericIconName(QMimeType* theWrappedObject) const; + QStringList globPatterns(QMimeType* theWrappedObject) const; + QString iconName(QMimeType* theWrappedObject) const; + bool inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const; + bool isDefault(QMimeType* theWrappedObject) const; + bool isValid(QMimeType* theWrappedObject) const; + QString name(QMimeType* theWrappedObject) const; + bool __ne__(QMimeType* theWrappedObject, const QMimeType& other) const; + QMimeType* operator_assign(QMimeType* theWrappedObject, const QMimeType& other); + bool __eq__(QMimeType* theWrappedObject, const QMimeType& other) const; + QStringList parentMimeTypes(QMimeType* theWrappedObject) const; + QString preferredSuffix(QMimeType* theWrappedObject) const; + QStringList suffixes(QMimeType* theWrappedObject) const; + void swap(QMimeType* theWrappedObject, QMimeType& other); + QString py_toString(QMimeType*); + bool __nonzero__(QMimeType* obj) { return obj->isValid(); } +}; + + + + + +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: +Q_ENUMS(RecursionMode ) +enum RecursionMode{ + NonRecursive = QMutex::NonRecursive, Recursive = QMutex::Recursive}; +public slots: +QMutex* new_QMutex(); +QMutex* new_QMutex(QMutex::RecursionMode mode); +void delete_QMutex(QMutex* obj) { delete obj; } + bool isRecursive(QMutex* theWrappedObject) const; + void lock(QMutex* theWrappedObject); + bool tryLock(QMutex* theWrappedObject, int timeout = 0); + bool try_lock(QMutex* theWrappedObject); + void unlock(QMutex* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QMutexLocker : public QObject +{ Q_OBJECT +public: +public slots: +QMutexLocker* new_QMutexLocker(QBasicMutex* m); +QMutexLocker* new_QMutexLocker(QRecursiveMutex* m); +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(nullptr) {}; + + ~PythonQtShell_QObject() 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_QObject : public QObject +{ public: +inline void promoted_childEvent(QChildEvent* event) { this->childEvent(event); } +inline void promoted_customEvent(QEvent* event) { this->customEvent(event); } +inline bool promoted_isSignalConnected(const QMetaMethod& signal) const { return this->isSignalConnected(signal); } +inline QObject* promoted_sender() const { return this->sender(); } +inline int promoted_senderSignalIndex() const { return this->senderSignalIndex(); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void py_q_childEvent(QChildEvent* event) { QObject::childEvent(event); } +inline void py_q_customEvent(QEvent* event) { QObject::customEvent(event); } +inline bool py_q_event(QEvent* event) { return QObject::event(event); } +inline bool py_q_eventFilter(QObject* watched, QEvent* event) { return QObject::eventFilter(watched, event); } +inline void py_q_timerEvent(QTimerEvent* event) { QObject::timerEvent(event); } +}; + +class PythonQtWrapper_QObject : public QObject +{ Q_OBJECT +public: +public slots: +QObject* new_QObject(QObject* parent = nullptr); +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));} + const QList* children(QObject* theWrappedObject) const; + void customEvent(QObject* theWrappedObject, QEvent* event); + void py_q_customEvent(QObject* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_customEvent(event));} + void dumpObjectInfo(QObject* theWrappedObject); + void dumpObjectInfo(QObject* theWrappedObject) const; + void dumpObjectTree(QObject* theWrappedObject); + void dumpObjectTree(QObject* theWrappedObject) const; + QList dynamicPropertyNames(QObject* theWrappedObject) const; + bool event(QObject* theWrappedObject, QEvent* event); + bool py_q_event(QObject* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_event(event));} + bool eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event); + bool py_q_eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_eventFilter(watched, event));} + void installEventFilter(QObject* theWrappedObject, QObject* filterObj); + bool isSignalConnected(QObject* theWrappedObject, const QMetaMethod& signal) const; + bool isWidgetType(QObject* theWrappedObject) const; + bool isWindowType(QObject* theWrappedObject) const; + void killTimer(QObject* theWrappedObject, int id); + void moveToThread(QObject* theWrappedObject, QThread* thread); + QString objectName(QObject* theWrappedObject) const; + void removeEventFilter(QObject* theWrappedObject, QObject* obj); + QObject* sender(QObject* theWrappedObject) const; + int senderSignalIndex(QObject* theWrappedObject) const; + void setObjectName(QObject* theWrappedObject, const QString& name); + bool signalsBlocked(QObject* theWrappedObject) const; + int startTimer(QObject* theWrappedObject, int interval, Qt::TimerType timerType = Qt::CoarseTimer); + QThread* thread(QObject* theWrappedObject) const; + void timerEvent(QObject* theWrappedObject, QTimerEvent* event); + void py_q_timerEvent(QObject* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_timerEvent(event));} +}; + + + + + +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(nullptr) {}; + + ~PythonQtShell_QOperatingSystemVersion(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QOperatingSystemVersion : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OSType ) +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; } + QOperatingSystemVersion static_QOperatingSystemVersion_current(); + QOperatingSystemVersion::OSType static_QOperatingSystemVersion_currentType(); + int majorVersion(QOperatingSystemVersion* theWrappedObject) const; + int microVersion(QOperatingSystemVersion* theWrappedObject) const; + int minorVersion(QOperatingSystemVersion* theWrappedObject) const; + QString name(QOperatingSystemVersion* theWrappedObject) const; + bool __lt__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs); + bool __le__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs); + bool __gt__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs); + bool __ge__(QOperatingSystemVersion* theWrappedObject, const QOperatingSystemVersion& rhs); + int segmentCount(QOperatingSystemVersion* theWrappedObject) const; + QOperatingSystemVersion::OSType type(QOperatingSystemVersion* theWrappedObject) const; + QString py_toString(QOperatingSystemVersion*); +}; + + + + + +class PythonQtShell_QParallelAnimationGroup : public QParallelAnimationGroup +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_updateCurrentTime(int currentTime) { this->updateCurrentTime(currentTime); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { this->updateDirection(direction); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline int py_q_duration() const { return QParallelAnimationGroup::duration(); } +inline bool py_q_event(QEvent* event) { return QParallelAnimationGroup::event(event); } +inline void py_q_updateCurrentTime(int currentTime) { QParallelAnimationGroup::updateCurrentTime(currentTime); } +inline void py_q_updateDirection(QAbstractAnimation::Direction direction) { QParallelAnimationGroup::updateDirection(direction); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QParallelAnimationGroup::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QParallelAnimationGroup : public QObject +{ Q_OBJECT +public: +public slots: +QParallelAnimationGroup* new_QParallelAnimationGroup(QObject* parent = nullptr); +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));} + void py_q_updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateDirection(direction));} + void py_q_updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtShell_QPauseAnimation : public QPauseAnimation +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_updateCurrentTime(int arg__1) { this->updateCurrentTime(arg__1); } +inline int py_q_duration() const { return QPauseAnimation::duration(); } +inline bool py_q_event(QEvent* e) { return QPauseAnimation::event(e); } +inline void py_q_updateCurrentTime(int arg__1) { QPauseAnimation::updateCurrentTime(arg__1); } +}; + +class PythonQtWrapper_QPauseAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QPauseAnimation* new_QPauseAnimation(QObject* parent = nullptr); +QPauseAnimation* new_QPauseAnimation(int msecs, QObject* parent = nullptr); +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); + void py_q_updateCurrentTime(QPauseAnimation* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_updateCurrentTime(arg__1));} +}; + + + + + +class PythonQtWrapper_QPersistentModelIndex : public QObject +{ Q_OBJECT +public: +public slots: +QPersistentModelIndex* new_QPersistentModelIndex(); +QPersistentModelIndex* new_QPersistentModelIndex(const QModelIndex& index); +QPersistentModelIndex* new_QPersistentModelIndex(const QPersistentModelIndex& other); +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; + Qt::ItemFlags flags(QPersistentModelIndex* theWrappedObject) const; + quintptr internalId(QPersistentModelIndex* theWrappedObject) const; + bool isValid(QPersistentModelIndex* theWrappedObject) const; + const QAbstractItemModel* model(QPersistentModelIndex* theWrappedObject) const; + QModelIndex operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const; + bool __ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; + bool __lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; + bool __eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; + QModelIndex parent(QPersistentModelIndex* theWrappedObject) const; + int row(QPersistentModelIndex* theWrappedObject) const; + QModelIndex sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const; + void swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other); + QString py_toString(QPersistentModelIndex*); + bool __nonzero__(QPersistentModelIndex* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QProcess : public QProcess +{ +public: + 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 +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline void promoted_setProcessState(QProcess::ProcessState state) { this->setProcessState(state); } +inline void promoted_setupChildProcess() { this->setupChildProcess(); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QProcess::atEnd(); } +inline qint64 py_q_bytesAvailable() const { return QProcess::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QProcess::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QProcess::canReadLine(); } +inline void py_q_close() { QProcess::close(); } +inline bool py_q_isSequential() const { return QProcess::isSequential(); } +inline bool py_q_open(QIODevice::OpenMode mode = QIODevice::ReadWrite) { return QProcess::open(mode); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QProcess::readData(data, maxlen); } +inline void py_q_setupChildProcess() { QProcess::setupChildProcess(); } +inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QProcess::waitForBytesWritten(msecs); } +inline bool py_q_waitForReadyRead(int msecs = 30000) { return QProcess::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QProcess::writeData(data, len); } +}; + +class PythonQtWrapper_QProcess : public QObject +{ Q_OBJECT +public: +public slots: +QProcess* new_QProcess(QObject* parent = nullptr); +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());} + qint64 py_q_bytesToWrite(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_bytesToWrite());} + bool py_q_canReadLine(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_canReadLine());} + void py_q_close(QProcess* theWrappedObject){ (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_close());} + void closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); + void closeWriteChannel(QProcess* theWrappedObject); + QStringList environment(QProcess* theWrappedObject) const; + QProcess::ProcessError error(QProcess* theWrappedObject) const; + int static_QProcess_execute(const QString& command); + int static_QProcess_execute(const QString& program, const QStringList& arguments); + int exitCode(QProcess* theWrappedObject) const; + QProcess::ExitStatus exitStatus(QProcess* theWrappedObject) const; + QProcess::InputChannelMode inputChannelMode(QProcess* theWrappedObject) const; + bool py_q_isSequential(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_isSequential());} + QString static_QProcess_nullDevice(); + bool py_q_open(QProcess* theWrappedObject, QIODevice::OpenMode mode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_open(mode));} + QProcess::ProcessChannelMode processChannelMode(QProcess* theWrappedObject) const; + QProcessEnvironment processEnvironment(QProcess* theWrappedObject) const; + qint64 processId(QProcess* theWrappedObject) const; + QString program(QProcess* theWrappedObject) const; + QByteArray readAllStandardError(QProcess* theWrappedObject); + QByteArray readAllStandardOutput(QProcess* theWrappedObject); + QProcess::ProcessChannel readChannel(QProcess* theWrappedObject) const; + qint64 py_q_readData(QProcess* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_readData(data, maxlen));} + void setArguments(QProcess* theWrappedObject, const QStringList& arguments); + void setEnvironment(QProcess* theWrappedObject, const QStringList& environment); + void setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode); + void setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode); + void setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment); + void setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state); + void setProgram(QProcess* theWrappedObject, const QString& program); + void setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); + void setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); + void setStandardInputFile(QProcess* theWrappedObject, const QString& fileName); + void setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); + void setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination); + void setWorkingDirectory(QProcess* theWrappedObject, const QString& dir); + void setupChildProcess(QProcess* theWrappedObject); + void py_q_setupChildProcess(QProcess* theWrappedObject){ (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_setupChildProcess());} + QStringList static_QProcess_splitCommand(QStringView command); + void start(QProcess* theWrappedObject, QIODevice::OpenMode mode = QIODevice::ReadWrite); + void start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode = QIODevice::ReadWrite); + void start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode = QIODevice::ReadWrite); + bool static_QProcess_startDetached(const QString& command); + bool static_QProcess_startDetached(const QString& program, const QStringList& arguments); + bool static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid = nullptr); + bool startDetached(QProcess* theWrappedObject, qint64* pid = nullptr); + QProcess::ProcessState state(QProcess* theWrappedObject) const; + QStringList static_QProcess_systemEnvironment(); + bool py_q_waitForBytesWritten(QProcess* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool waitForFinished(QProcess* theWrappedObject, int msecs = 30000); + bool py_q_waitForReadyRead(QProcess* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + bool waitForStarted(QProcess* theWrappedObject, int msecs = 30000); + QString workingDirectory(QProcess* theWrappedObject) const; + qint64 py_q_writeData(QProcess* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QProcessEnvironment : public QObject +{ Q_OBJECT +public: +public slots: +QProcessEnvironment* new_QProcessEnvironment(); +QProcessEnvironment* new_QProcessEnvironment(const QProcessEnvironment& other); +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); + void insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value); + bool isEmpty(QProcessEnvironment* theWrappedObject) const; + QStringList keys(QProcessEnvironment* theWrappedObject) const; + bool __ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const; + QProcessEnvironment* operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other); + bool __eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const; + void remove(QProcessEnvironment* theWrappedObject, const QString& name); + void swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other); + QProcessEnvironment static_QProcessEnvironment_systemEnvironment(); + QStringList toStringList(QProcessEnvironment* theWrappedObject) const; + QString value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue = QString()) const; + bool __nonzero__(QProcessEnvironment* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QPropertyAnimation : public QPropertyAnimation +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_updateCurrentValue(const QVariant& value) { this->updateCurrentValue(value); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline bool py_q_event(QEvent* event) { return QPropertyAnimation::event(event); } +inline void py_q_updateCurrentValue(const QVariant& value) { QPropertyAnimation::updateCurrentValue(value); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QPropertyAnimation::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QPropertyAnimation : public QObject +{ Q_OBJECT +public: +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; } + 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); + void setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target); + QObject* targetObject(QPropertyAnimation* theWrappedObject) const; + void py_q_updateCurrentValue(QPropertyAnimation* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_updateCurrentValue(value));} + void py_q_updateState(QPropertyAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtWrapper_QRandomGenerator : public QObject +{ Q_OBJECT +public: +public slots: +QRandomGenerator* new_QRandomGenerator(const QRandomGenerator& other); +QRandomGenerator* new_QRandomGenerator(const unsigned int* begin, const unsigned int* end); +QRandomGenerator* new_QRandomGenerator(const unsigned int* seedBuffer, qsizetype len); +QRandomGenerator* new_QRandomGenerator(unsigned int seedValue = 1); +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); + unsigned int bounded(QRandomGenerator* theWrappedObject, unsigned int highest); + unsigned int bounded(QRandomGenerator* theWrappedObject, unsigned int lowest, unsigned int highest); + void discard(QRandomGenerator* theWrappedObject, quint64 z); + unsigned int generate(QRandomGenerator* theWrappedObject); + void generate(QRandomGenerator* theWrappedObject, unsigned int* begin, unsigned int* end); + quint64 generate64(QRandomGenerator* theWrappedObject); + double generateDouble(QRandomGenerator* theWrappedObject); + QRandomGenerator* static_QRandomGenerator_global(); + unsigned int static_QRandomGenerator_max(); + unsigned int static_QRandomGenerator_min(); + bool __ne__(QRandomGenerator* theWrappedObject, const QRandomGenerator& rng2); + unsigned int operator_cast_(QRandomGenerator* theWrappedObject); + QRandomGenerator* operator_assign(QRandomGenerator* theWrappedObject, const QRandomGenerator& other); + bool __eq__(QRandomGenerator* theWrappedObject, const QRandomGenerator& rng2); + QRandomGenerator static_QRandomGenerator_securelySeeded(); + void seed(QRandomGenerator* theWrappedObject, unsigned int s = 1); + QRandomGenerator* static_QRandomGenerator_system(); +}; + + + + + +class PythonQtWrapper_QRandomGenerator64 : public QObject +{ Q_OBJECT +public: +public slots: +QRandomGenerator64* new_QRandomGenerator64(const QRandomGenerator& other); +QRandomGenerator64* new_QRandomGenerator64(const unsigned int* begin, const unsigned int* end); +QRandomGenerator64* new_QRandomGenerator64(const unsigned int* seedBuffer, qsizetype len); +QRandomGenerator64* new_QRandomGenerator64(unsigned int seedValue = 1); +void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } + void discard(QRandomGenerator64* theWrappedObject, quint64 z); + quint64 generate(QRandomGenerator64* theWrappedObject); + QRandomGenerator64* static_QRandomGenerator64_global(); + quint64 static_QRandomGenerator64_max(); + quint64 static_QRandomGenerator64_min(); + quint64 operator_cast_(QRandomGenerator64* theWrappedObject); + QRandomGenerator64 static_QRandomGenerator64_securelySeeded(); + QRandomGenerator64* static_QRandomGenerator64_system(); +}; + + + + + +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: +Q_ENUMS(RecursionMode ) +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 lockForRead(QReadWriteLock* theWrappedObject); + void lockForWrite(QReadWriteLock* theWrappedObject); + bool tryLockForRead(QReadWriteLock* theWrappedObject); + bool tryLockForRead(QReadWriteLock* theWrappedObject, int timeout); + bool tryLockForWrite(QReadWriteLock* theWrappedObject); + bool tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout); + void unlock(QReadWriteLock* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QRecursiveMutex : public QObject +{ Q_OBJECT +public: +public slots: +QRecursiveMutex* new_QRecursiveMutex(); +void delete_QRecursiveMutex(QRecursiveMutex* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QRegularExpressionMatch : public QObject +{ Q_OBJECT +public: +public slots: +QRegularExpressionMatch* new_QRegularExpressionMatch(); +QRegularExpressionMatch* new_QRegularExpressionMatch(const QRegularExpressionMatch& match); +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; + int capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + int capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + int capturedLength(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + QStringRef capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + QStringRef capturedRef(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + int capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + int capturedStart(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + QStringList capturedTexts(QRegularExpressionMatch* theWrappedObject) const; + QStringView capturedView(QRegularExpressionMatch* theWrappedObject, QStringView name) const; + QStringView capturedView(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + bool hasMatch(QRegularExpressionMatch* theWrappedObject) const; + bool hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const; + bool isValid(QRegularExpressionMatch* theWrappedObject) const; + int lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const; + QRegularExpression::MatchOptions matchOptions(QRegularExpressionMatch* theWrappedObject) const; + QRegularExpression::MatchType matchType(QRegularExpressionMatch* theWrappedObject) const; + QRegularExpressionMatch* operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match); + QRegularExpression regularExpression(QRegularExpressionMatch* theWrappedObject) const; + void swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& other); + QString py_toString(QRegularExpressionMatch*); + bool __nonzero__(QRegularExpressionMatch* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QRegularExpressionMatchIterator : public QObject +{ Q_OBJECT +public: +public slots: +QRegularExpressionMatchIterator* new_QRegularExpressionMatchIterator(); +QRegularExpressionMatchIterator* new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator); +void delete_QRegularExpressionMatchIterator(QRegularExpressionMatchIterator* obj) { delete obj; } + bool hasNext(QRegularExpressionMatchIterator* theWrappedObject) const; + bool isValid(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpression::MatchOptions matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpression::MatchType matchType(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpressionMatch next(QRegularExpressionMatchIterator* theWrappedObject); + QRegularExpressionMatchIterator* operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator); + QRegularExpressionMatch peekNext(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpression regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const; + void swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& other); + bool __nonzero__(QRegularExpressionMatchIterator* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QResource : public QResource +{ +public: + PythonQtShell_QResource(const QString& file = QString(), const QLocale& locale = QLocale()):QResource(file, locale),_wrapper(nullptr) {}; + + ~PythonQtShell_QResource(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QResource : public QResource +{ public: +inline QStringList promoted_children() const { return this->children(); } +inline bool promoted_isDir() const { return this->isDir(); } +inline bool promoted_isFile() const { return this->isFile(); } +}; + +class PythonQtWrapper_QResource : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Compression ) +enum Compression{ + NoCompression = QResource::NoCompression, ZlibCompression = QResource::ZlibCompression, ZstdCompression = QResource::ZstdCompression}; +public slots: +QResource* new_QResource(const QString& file = QString(), const QLocale& locale = QLocale()); +void delete_QResource(QResource* obj) { delete obj; } + QString absoluteFilePath(QResource* theWrappedObject) const; + void static_QResource_addSearchPath(const QString& path); + QStringList children(QResource* theWrappedObject) const; + QResource::Compression compressionAlgorithm(QResource* theWrappedObject) const; + const uchar* data(QResource* theWrappedObject) const; + QString fileName(QResource* theWrappedObject) const; + bool isCompressed(QResource* theWrappedObject) const; + bool isDir(QResource* theWrappedObject) const; + bool isFile(QResource* theWrappedObject) const; + bool isValid(QResource* theWrappedObject) const; + QDateTime lastModified(QResource* theWrappedObject) const; + QLocale locale(QResource* theWrappedObject) const; + bool static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot = QString()); + bool static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot = QString()); + QStringList static_QResource_searchPaths(); + void setFileName(QResource* theWrappedObject, const QString& file); + void setLocale(QResource* theWrappedObject, const QLocale& locale); + qint64 size(QResource* theWrappedObject) const; + QByteArray uncompressedData(QResource* theWrappedObject) const; + qint64 uncompressedSize(QResource* theWrappedObject) const; + bool static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot = QString()); + bool static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot = QString()); + bool __nonzero__(QResource* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QRunnable : public QRunnable +{ +public: + PythonQtShell_QRunnable():QRunnable(),_wrapper(nullptr) {}; + + ~PythonQtShell_QRunnable() override; + +void run() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRunnable : public QRunnable +{ public: +inline void py_q_run() { this->run(); } +}; + +class PythonQtWrapper_QRunnable : public QObject +{ Q_OBJECT +public: +public slots: +QRunnable* new_QRunnable(); +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());} + void setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete); +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.cpp new file mode 100644 index 00000000..9defbddc --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -0,0 +1,6193 @@ +#include "com_trolltech_qt_core3.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSaveFile::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::atEnd(); +} +qint64 PythonQtShell_QSaveFile::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::bytesAvailable(); +} +qint64 PythonQtShell_QSaveFile::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::bytesToWrite(); +} +bool PythonQtShell_QSaveFile::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::canReadLine(); +} +void PythonQtShell_QSaveFile::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(); + } + } +} + QSaveFile::childEvent(event0); +} +void PythonQtShell_QSaveFile::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(); + } + } +} + QSaveFile::customEvent(event0); +} +bool PythonQtShell_QSaveFile::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 QSaveFile::event(event0); +} +bool PythonQtShell_QSaveFile::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 QSaveFile::eventFilter(watched0, event1); +} +QString PythonQtShell_QSaveFile::fileName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fileName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::fileName(); +} +bool PythonQtShell_QSaveFile::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::isSequential(); +} +bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::open(flags0); +} +QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("permissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::permissions(); +} +qint64 PythonQtShell_QSaveFile::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::pos(); +} +qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::readData(data0, maxlen1); +} +qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::readLineData(data0, maxlen1); +} +bool PythonQtShell_QSaveFile::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::reset(); +} +bool PythonQtShell_QSaveFile::resize(qint64 sz0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::resize(sz0); +} +bool PythonQtShell_QSaveFile::seek(qint64 offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::seek(offset0); +} +bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissionSpec0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPermissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::setPermissions(permissionSpec0); +} +qint64 PythonQtShell_QSaveFile::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::size(); +} +void PythonQtShell_QSaveFile::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(); + } + } +} + QSaveFile::timerEvent(event0); +} +bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::writeData(data0, len1); +} +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(QObject* parent) +{ +return new PythonQtShell_QSaveFile(parent); } + +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name) +{ +return new PythonQtShell_QSaveFile(name); } + +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name, QObject* parent) +{ +return new PythonQtShell_QSaveFile(name, parent); } + +const QMetaObject* PythonQtShell_QSaveFile::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSaveFile::staticMetaObject); + } else { + return &QSaveFile::staticMetaObject; + } +} +int PythonQtShell_QSaveFile::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSaveFile::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSaveFile::cancelWriting(QSaveFile* theWrappedObject) +{ + ( theWrappedObject->cancelWriting()); +} + +bool PythonQtWrapper_QSaveFile::commit(QSaveFile* theWrappedObject) +{ + return ( theWrappedObject->commit()); +} + +bool PythonQtWrapper_QSaveFile::directWriteFallback(QSaveFile* theWrappedObject) const +{ + return ( theWrappedObject->directWriteFallback()); +} + +void PythonQtWrapper_QSaveFile::setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setDirectWriteFallback(enabled)); +} + +void PythonQtWrapper_QSaveFile::setFileName(QSaveFile* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setFileName(name)); +} + + + +QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) +{ +return new QSemaphore(n); } + +void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) +{ + ( theWrappedObject->acquire(n)); +} + +int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->available()); +} + +void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) +{ + ( theWrappedObject->release(n)); +} + +bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) +{ + return ( theWrappedObject->tryAcquire(n)); +} + +bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) +{ + return ( theWrappedObject->tryAcquire(n, timeout)); +} + + + +PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSequentialAnimationGroup::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(); + } + } +} + QSequentialAnimationGroup::childEvent(event0); +} +void PythonQtShell_QSequentialAnimationGroup::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(); + } + } +} + QSequentialAnimationGroup::customEvent(event0); +} +int PythonQtShell_QSequentialAnimationGroup::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + 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("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSequentialAnimationGroup::duration(); +} +bool PythonQtShell_QSequentialAnimationGroup::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 QSequentialAnimationGroup::event(event0); +} +bool PythonQtShell_QSequentialAnimationGroup::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 QSequentialAnimationGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QSequentialAnimationGroup::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(); + } + } +} + QSequentialAnimationGroup::timerEvent(event0); +} +void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::updateCurrentTime(arg__1); +} +void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::updateDirection(direction0); +} +void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::updateState(newState0, oldState1); +} +QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QSequentialAnimationGroup(parent); } + +const QMetaObject* PythonQtShell_QSequentialAnimationGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSequentialAnimationGroup::staticMetaObject); + } else { + return &QSequentialAnimationGroup::staticMetaObject; + } +} +int PythonQtShell_QSequentialAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSequentialAnimationGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) +{ + return ( theWrappedObject->addPause(msecs)); +} + +QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const +{ + return ( theWrappedObject->currentAnimation()); +} + +QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) +{ + return ( theWrappedObject->insertPause(index, msecs)); +} + + + +PythonQtShell_QSettings::~PythonQtShell_QSettings() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSettings::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(); + } + } +} + QSettings::childEvent(event0); +} +void PythonQtShell_QSettings::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(); + } + } +} + QSettings::customEvent(event0); +} +bool PythonQtShell_QSettings::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 QSettings::event(event0); +} +bool PythonQtShell_QSettings::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 QSettings::eventFilter(watched0, event1); +} +void PythonQtShell_QSettings::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(); + } + } +} + QSettings::timerEvent(event0); +} +QSettings* PythonQtWrapper_QSettings::new_QSettings(QObject* parent) +{ +return new PythonQtShell_QSettings(parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) +{ +return new PythonQtShell_QSettings(format, scope, organization, application, parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Scope scope, QObject* parent) +{ +return new PythonQtShell_QSettings(scope, parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) +{ +return new PythonQtShell_QSettings(scope, organization, application, parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent) +{ +return new PythonQtShell_QSettings(fileName, format, parent); } + +QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& organization, const QString& application, QObject* parent) +{ +return new PythonQtShell_QSettings(organization, application, parent); } + +const QMetaObject* PythonQtShell_QSettings::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSettings::staticMetaObject); + } else { + return &QSettings::staticMetaObject; + } +} +int PythonQtShell_QSettings::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSettings::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QSettings::allKeys(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->allKeys()); +} + +QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->applicationName()); +} + +void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) +{ + ( theWrappedObject->beginGroup(prefix)); +} + +int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) +{ + return ( theWrappedObject->beginReadArray(prefix)); +} + +void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) +{ + ( theWrappedObject->beginWriteArray(prefix, size)); +} + +QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->childGroups()); +} + +QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->childKeys()); +} + +void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->contains(key)); +} + +QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() +{ + return (QSettings::defaultFormat()); +} + +void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) +{ + ( theWrappedObject->endArray()); +} + +void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) +{ + ( theWrappedObject->endGroup()); +} + +bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->fallbacksEnabled()); +} + +QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +QTextCodec* PythonQtWrapper_QSettings::iniCodec(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->iniCodec()); +} + +bool PythonQtWrapper_QSettings::isAtomicSyncRequired(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->isAtomicSyncRequired()); +} + +bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->organizationName()); +} + +void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) +{ + ( theWrappedObject->remove(key)); +} + +QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->scope()); +} + +void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) +{ + ( theWrappedObject->setArrayIndex(i)); +} + +void PythonQtWrapper_QSettings::setAtomicSyncRequired(QSettings* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAtomicSyncRequired(enable)); +} + +void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) +{ + (QSettings::setDefaultFormat(format)); +} + +void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) +{ + ( theWrappedObject->setFallbacksEnabled(b)); +} + +void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setIniCodec(codec)); +} + +void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) +{ + ( theWrappedObject->setIniCodec(codecName)); +} + +void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) +{ + (QSettings::setPath(format, scope, path)); +} + +void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->setValue(key, value)); +} + +QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) +{ + ( theWrappedObject->sync()); +} + +QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const +{ + return ( theWrappedObject->value(key, defaultValue)); +} + + + +PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSharedMemory::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(); + } + } +} + QSharedMemory::childEvent(event0); +} +void PythonQtShell_QSharedMemory::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(); + } + } +} + QSharedMemory::customEvent(event0); +} +bool PythonQtShell_QSharedMemory::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 QSharedMemory::event(event0); +} +bool PythonQtShell_QSharedMemory::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 QSharedMemory::eventFilter(watched0, event1); +} +void PythonQtShell_QSharedMemory::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(); + } + } +} + QSharedMemory::timerEvent(event0); +} +QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(QObject* parent) +{ +return new PythonQtShell_QSharedMemory(parent); } + +QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(const QString& key, QObject* parent) +{ +return new PythonQtShell_QSharedMemory(key, parent); } + +const QMetaObject* PythonQtShell_QSharedMemory::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSharedMemory::staticMetaObject); + } else { + return &QSharedMemory::staticMetaObject; + } +} +int PythonQtShell_QSharedMemory::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSharedMemory::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSharedMemory::attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode) +{ + return ( theWrappedObject->attach(mode)); +} + +const void* PythonQtWrapper_QSharedMemory::constData(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->constData()); +} + +bool PythonQtWrapper_QSharedMemory::create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode) +{ + return ( theWrappedObject->create(size, mode)); +} + +void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) +{ + return ( theWrappedObject->data()); +} + +const void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QSharedMemory::SharedMemoryError PythonQtWrapper_QSharedMemory::error(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QSharedMemory::errorString(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QSharedMemory::isAttached(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->isAttached()); +} + +QString PythonQtWrapper_QSharedMemory::key(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +bool PythonQtWrapper_QSharedMemory::lock(QSharedMemory* theWrappedObject) +{ + return ( theWrappedObject->lock()); +} + +QString PythonQtWrapper_QSharedMemory::nativeKey(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->nativeKey()); +} + +void PythonQtWrapper_QSharedMemory::setKey(QSharedMemory* theWrappedObject, const QString& key) +{ + ( theWrappedObject->setKey(key)); +} + +void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) +{ + ( theWrappedObject->setNativeKey(key)); +} + +int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) +{ + return ( theWrappedObject->unlock()); +} + + + +QSignalBlocker* PythonQtWrapper_QSignalBlocker::new_QSignalBlocker(QObject& o) +{ +return new QSignalBlocker(o); } + +QSignalBlocker* PythonQtWrapper_QSignalBlocker::new_QSignalBlocker(QObject* o) +{ +return new QSignalBlocker(o); } + +void PythonQtWrapper_QSignalBlocker::reblock(QSignalBlocker* theWrappedObject) +{ + ( theWrappedObject->reblock()); +} + +void PythonQtWrapper_QSignalBlocker::unblock(QSignalBlocker* theWrappedObject) +{ + ( theWrappedObject->unblock()); +} + + + +PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSignalMapper::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(); + } + } +} + QSignalMapper::childEvent(event0); +} +void PythonQtShell_QSignalMapper::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(); + } + } +} + QSignalMapper::customEvent(event0); +} +bool PythonQtShell_QSignalMapper::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 QSignalMapper::event(event0); +} +bool PythonQtShell_QSignalMapper::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 QSignalMapper::eventFilter(watched0, event1); +} +void PythonQtShell_QSignalMapper::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(); + } + } +} + QSignalMapper::timerEvent(event0); +} +QSignalMapper* PythonQtWrapper_QSignalMapper::new_QSignalMapper(QObject* parent) +{ +return new PythonQtShell_QSignalMapper(parent); } + +const QMetaObject* PythonQtShell_QSignalMapper::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSignalMapper::staticMetaObject); + } else { + return &QSignalMapper::staticMetaObject; + } +} +int PythonQtShell_QSignalMapper::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSignalMapper::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const +{ + return ( theWrappedObject->mapping(object)); +} + +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->mapping(widget)); +} + +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->mapping(text)); +} + +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const +{ + return ( theWrappedObject->mapping(id)); +} + +void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) +{ + ( theWrappedObject->removeMappings(sender)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) +{ + ( theWrappedObject->setMapping(sender, object)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget) +{ + ( theWrappedObject->setMapping(sender, widget)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) +{ + ( theWrappedObject->setMapping(sender, text)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) +{ + ( theWrappedObject->setMapping(sender, id)); +} + + + +PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSignalTransition::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(); + } + } +} + QSignalTransition::childEvent(event0); +} +void PythonQtShell_QSignalTransition::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(); + } + } +} + QSignalTransition::customEvent(event0); +} +bool PythonQtShell_QSignalTransition::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 QSignalTransition::event(e0); +} +bool PythonQtShell_QSignalTransition::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 QSignalTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + 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("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSignalTransition::eventTest(event0); +} +void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + 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(); + } + } +} + QSignalTransition::onTransition(event0); +} +void PythonQtShell_QSignalTransition::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(); + } + } +} + QSignalTransition::timerEvent(event0); +} +QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QState* sourceState) +{ +return new PythonQtShell_QSignalTransition(sourceState); } + +QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState) +{ +return new PythonQtShell_QSignalTransition(sender, signal, sourceState); } + +const QMetaObject* PythonQtShell_QSignalTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSignalTransition::staticMetaObject); + } else { + return &QSignalTransition::staticMetaObject; + } +} +int PythonQtShell_QSignalTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSignalTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QSignalTransition::senderObject(QSignalTransition* theWrappedObject) const +{ + return ( theWrappedObject->senderObject()); +} + +void PythonQtWrapper_QSignalTransition::setSenderObject(QSignalTransition* theWrappedObject, const QObject* sender) +{ + ( theWrappedObject->setSenderObject(sender)); +} + +void PythonQtWrapper_QSignalTransition::setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal) +{ + ( theWrappedObject->setSignal(signal)); +} + +QByteArray PythonQtWrapper_QSignalTransition::signal(QSignalTransition* theWrappedObject) const +{ + return ( theWrappedObject->signal()); +} + + + +PythonQtShell_QSocketNotifier::~PythonQtShell_QSocketNotifier() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSocketNotifier::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(); + } + } +} + QSocketNotifier::childEvent(event0); +} +void PythonQtShell_QSocketNotifier::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(); + } + } +} + QSocketNotifier::customEvent(event0); +} +bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSocketNotifier::event(arg__1); +} +bool PythonQtShell_QSocketNotifier::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 QSocketNotifier::eventFilter(watched0, event1); +} +void PythonQtShell_QSocketNotifier::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(); + } + } +} + QSocketNotifier::timerEvent(event0); +} +QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent) +{ +return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } + +const QMetaObject* PythonQtShell_QSocketNotifier::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSocketNotifier::staticMetaObject); + } else { + return &QSocketNotifier::staticMetaObject; + } +} +int PythonQtShell_QSocketNotifier::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSocketNotifier::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +qintptr PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->socket()); +} + +QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_displayName(QStandardPaths::StandardLocation type) +{ + return (QStandardPaths::displayName(type)); +} + +void PythonQtWrapper_QStandardPaths::static_QStandardPaths_enableTestMode(bool testMode) +{ + (QStandardPaths::enableTestMode(testMode)); +} + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths) +{ + return (QStandardPaths::findExecutable(executableName, paths)); +} + +bool PythonQtWrapper_QStandardPaths::static_QStandardPaths_isTestModeEnabled() +{ + return (QStandardPaths::isTestModeEnabled()); +} + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) +{ + return (QStandardPaths::locate(type, fileName, options)); +} + +QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) +{ + return (QStandardPaths::locateAll(type, fileName, options)); +} + +void PythonQtWrapper_QStandardPaths::static_QStandardPaths_setTestModeEnabled(bool testMode) +{ + (QStandardPaths::setTestModeEnabled(testMode)); +} + +QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type) +{ + return (QStandardPaths::standardLocations(type)); +} + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type) +{ + return (QStandardPaths::writableLocation(type)); +} + + + +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); } + +QEvent* PythonQtWrapper_QStateMachine__WrappedEvent::event(QStateMachine::WrappedEvent* theWrappedObject) const +{ + return ( theWrappedObject->event()); +} + +QObject* PythonQtWrapper_QStateMachine__WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + + + +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo() +{ +return new QStorageInfo(); } + +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QDir& dir) +{ +return new QStorageInfo(dir); } + +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QStorageInfo& other) +{ +return new QStorageInfo(other); } + +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QString& path) +{ +return new QStorageInfo(path); } + +int PythonQtWrapper_QStorageInfo::blockSize(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->blockSize()); +} + +qint64 PythonQtWrapper_QStorageInfo::bytesAvailable(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->bytesAvailable()); +} + +qint64 PythonQtWrapper_QStorageInfo::bytesFree(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->bytesFree()); +} + +qint64 PythonQtWrapper_QStorageInfo::bytesTotal(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->bytesTotal()); +} + +QByteArray PythonQtWrapper_QStorageInfo::device(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QString PythonQtWrapper_QStorageInfo::displayName(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->displayName()); +} + +QByteArray PythonQtWrapper_QStorageInfo::fileSystemType(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->fileSystemType()); +} + +bool PythonQtWrapper_QStorageInfo::isReadOnly(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QStorageInfo::isReady(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->isReady()); +} + +bool PythonQtWrapper_QStorageInfo::isRoot(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->isRoot()); +} + +bool PythonQtWrapper_QStorageInfo::isValid(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QList PythonQtWrapper_QStorageInfo::static_QStorageInfo_mountedVolumes() +{ + return (QStorageInfo::mountedVolumes()); +} + +QString PythonQtWrapper_QStorageInfo::name(QStorageInfo* theWrappedObject) const +{ + 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); +} + +bool PythonQtWrapper_QStorageInfo::__eq__(QStorageInfo* theWrappedObject, const QStorageInfo& second) +{ + return ( (*theWrappedObject)== second); +} + +void PythonQtWrapper_QStorageInfo::refresh(QStorageInfo* theWrappedObject) +{ + ( theWrappedObject->refresh()); +} + +QStorageInfo PythonQtWrapper_QStorageInfo::static_QStorageInfo_root() +{ + return (QStorageInfo::root()); +} + +QString PythonQtWrapper_QStorageInfo::rootPath(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->rootPath()); +} + +void PythonQtWrapper_QStorageInfo::setPath(QStorageInfo* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setPath(path)); +} + +QByteArray PythonQtWrapper_QStorageInfo::subvolume(QStorageInfo* theWrappedObject) const +{ + return ( theWrappedObject->subvolume()); +} + +void PythonQtWrapper_QStorageInfo::swap(QStorageInfo* theWrappedObject, QStorageInfo& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QStorageInfo::py_toString(QStorageInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher() +{ +return new QStringMatcher(); } + +QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs) +{ +return new QStringMatcher(pattern, cs); } + +QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QStringMatcher& other) +{ +return new QStringMatcher(other); } + +Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +qsizetype PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, QStringView str, qsizetype from) const +{ + return ( theWrappedObject->indexIn(str, from)); +} + +int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const +{ + return ( theWrappedObject->indexIn(str, from)); +} + +QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setCaseSensitivity(cs)); +} + +void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + + + +PythonQtShell_QSysInfo::~PythonQtShell_QSysInfo() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSysInfo* PythonQtWrapper_QSysInfo::new_QSysInfo() +{ +return new PythonQtShell_QSysInfo(); } + +QByteArray PythonQtWrapper_QSysInfo::static_QSysInfo_bootUniqueId() +{ + return (QSysInfo::bootUniqueId()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_buildAbi() +{ + return (QSysInfo::buildAbi()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_buildCpuArchitecture() +{ + return (QSysInfo::buildCpuArchitecture()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_currentCpuArchitecture() +{ + return (QSysInfo::currentCpuArchitecture()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_kernelType() +{ + return (QSysInfo::kernelType()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_kernelVersion() +{ + return (QSysInfo::kernelVersion()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_machineHostName() +{ + return (QSysInfo::machineHostName()); +} + +QByteArray PythonQtWrapper_QSysInfo::static_QSysInfo_machineUniqueId() +{ + return (QSysInfo::machineUniqueId()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_prettyProductName() +{ + return (QSysInfo::prettyProductName()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_productType() +{ + return (QSysInfo::productType()); +} + +QString PythonQtWrapper_QSysInfo::static_QSysInfo_productVersion() +{ + return (QSysInfo::productVersion()); +} + + + +QSystemSemaphore* PythonQtWrapper_QSystemSemaphore::new_QSystemSemaphore(const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) +{ +return new QSystemSemaphore(key, initialValue, mode); } + +bool PythonQtWrapper_QSystemSemaphore::acquire(QSystemSemaphore* theWrappedObject) +{ + return ( theWrappedObject->acquire()); +} + +QSystemSemaphore::SystemSemaphoreError PythonQtWrapper_QSystemSemaphore::error(QSystemSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QSystemSemaphore::errorString(QSystemSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QSystemSemaphore::key(QSystemSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +bool PythonQtWrapper_QSystemSemaphore::release(QSystemSemaphore* theWrappedObject, int n) +{ + return ( theWrappedObject->release(n)); +} + +void PythonQtWrapper_QSystemSemaphore::setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) +{ + ( theWrappedObject->setKey(key, initialValue, mode)); +} + + + +QTemporaryDir* PythonQtWrapper_QTemporaryDir::new_QTemporaryDir() +{ +return new QTemporaryDir(); } + +QTemporaryDir* PythonQtWrapper_QTemporaryDir::new_QTemporaryDir(const QString& templateName) +{ +return new QTemporaryDir(templateName); } + +bool PythonQtWrapper_QTemporaryDir::autoRemove(QTemporaryDir* theWrappedObject) const +{ + return ( theWrappedObject->autoRemove()); +} + +QString PythonQtWrapper_QTemporaryDir::errorString(QTemporaryDir* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QTemporaryDir::filePath(QTemporaryDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->filePath(fileName)); +} + +bool PythonQtWrapper_QTemporaryDir::isValid(QTemporaryDir* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QTemporaryDir::path(QTemporaryDir* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +bool PythonQtWrapper_QTemporaryDir::remove(QTemporaryDir* theWrappedObject) +{ + return ( theWrappedObject->remove()); +} + +void PythonQtWrapper_QTemporaryDir::setAutoRemove(QTemporaryDir* theWrappedObject, bool b) +{ + ( theWrappedObject->setAutoRemove(b)); +} + + + +PythonQtShell_QTemporaryFile::~PythonQtShell_QTemporaryFile() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QTemporaryFile::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::atEnd(); +} +qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::bytesAvailable(); +} +qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::bytesToWrite(); +} +bool PythonQtShell_QTemporaryFile::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::canReadLine(); +} +void PythonQtShell_QTemporaryFile::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(); + } + } +} + QTemporaryFile::childEvent(event0); +} +void PythonQtShell_QTemporaryFile::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QTemporaryFile::close(); +} +void PythonQtShell_QTemporaryFile::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(); + } + } +} + QTemporaryFile::customEvent(event0); +} +bool PythonQtShell_QTemporaryFile::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 QTemporaryFile::event(event0); +} +bool PythonQtShell_QTemporaryFile::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 QTemporaryFile::eventFilter(watched0, event1); +} +QString PythonQtShell_QTemporaryFile::fileName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("uniqueFilename"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("uniqueFilename", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::fileName(); +} +bool PythonQtShell_QTemporaryFile::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::isSequential(); +} +bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::open(flags0); +} +QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("permissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::permissions(); +} +qint64 PythonQtShell_QTemporaryFile::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::pos(); +} +qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::readData(data0, maxlen1); +} +qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::readLineData(data0, maxlen1); +} +bool PythonQtShell_QTemporaryFile::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::reset(); +} +bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::resize(sz0); +} +bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::seek(offset0); +} +bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions permissionSpec0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPermissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::setPermissions(permissionSpec0); +} +qint64 PythonQtShell_QTemporaryFile::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::size(); +} +void PythonQtShell_QTemporaryFile::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(); + } + } +} + QTemporaryFile::timerEvent(event0); +} +bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::writeData(data0, len1); +} +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile() +{ +return new PythonQtShell_QTemporaryFile(); } + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(QObject* parent) +{ +return new PythonQtShell_QTemporaryFile(parent); } + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName) +{ +return new PythonQtShell_QTemporaryFile(templateName); } + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName, QObject* parent) +{ +return new PythonQtShell_QTemporaryFile(templateName, parent); } + +const QMetaObject* PythonQtShell_QTemporaryFile::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTemporaryFile::staticMetaObject); + } else { + return &QTemporaryFile::staticMetaObject; + } +} +int PythonQtShell_QTemporaryFile::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTemporaryFile::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QTemporaryFile::autoRemove(QTemporaryFile* theWrappedObject) const +{ + return ( theWrappedObject->autoRemove()); +} + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(QFile& file) +{ + return (QTemporaryFile::createLocalFile(file)); +} + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(const QString& fileName) +{ + return (QTemporaryFile::createLocalFile(fileName)); +} + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createNativeFile(QFile& file) +{ + return (QTemporaryFile::createNativeFile(file)); +} + +QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createNativeFile(const QString& fileName) +{ + return (QTemporaryFile::createNativeFile(fileName)); +} + +QString PythonQtWrapper_QTemporaryFile::fileName(QTemporaryFile* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QTemporaryFile::fileTemplate(QTemporaryFile* theWrappedObject) const +{ + return ( theWrappedObject->fileTemplate()); +} + +bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject) +{ + return ( theWrappedObject->open()); +} + +bool PythonQtWrapper_QTemporaryFile::rename(QTemporaryFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->rename(newName)); +} + +void PythonQtWrapper_QTemporaryFile::setAutoRemove(QTemporaryFile* theWrappedObject, bool b) +{ + ( theWrappedObject->setAutoRemove(b)); +} + +void PythonQtWrapper_QTemporaryFile::setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setFileTemplate(name)); +} + + + +QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder() +{ +return new QTextBoundaryFinder(); } + +QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string) +{ +return new QTextBoundaryFinder(type, string); } + +QTextBoundaryFinder* PythonQtWrapper_QTextBoundaryFinder::new_QTextBoundaryFinder(const QTextBoundaryFinder& other) +{ +return new QTextBoundaryFinder(other); } + +QTextBoundaryFinder::BoundaryReasons PythonQtWrapper_QTextBoundaryFinder::boundaryReasons(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->boundaryReasons()); +} + +bool PythonQtWrapper_QTextBoundaryFinder::isAtBoundary(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->isAtBoundary()); +} + +bool PythonQtWrapper_QTextBoundaryFinder::isValid(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QTextBoundaryFinder::position(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QTextBoundaryFinder::setPosition(QTextBoundaryFinder* theWrappedObject, int position) +{ + ( theWrappedObject->setPosition(position)); +} + +QString PythonQtWrapper_QTextBoundaryFinder::string(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->string()); +} + +void PythonQtWrapper_QTextBoundaryFinder::toEnd(QTextBoundaryFinder* theWrappedObject) +{ + ( theWrappedObject->toEnd()); +} + +int PythonQtWrapper_QTextBoundaryFinder::toNextBoundary(QTextBoundaryFinder* theWrappedObject) +{ + return ( theWrappedObject->toNextBoundary()); +} + +int PythonQtWrapper_QTextBoundaryFinder::toPreviousBoundary(QTextBoundaryFinder* theWrappedObject) +{ + return ( theWrappedObject->toPreviousBoundary()); +} + +void PythonQtWrapper_QTextBoundaryFinder::toStart(QTextBoundaryFinder* theWrappedObject) +{ + ( theWrappedObject->toStart()); +} + +QTextBoundaryFinder::BoundaryType PythonQtWrapper_QTextBoundaryFinder::type(QTextBoundaryFinder* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QTextCodec::~PythonQtShell_QTextCodec() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QList PythonQtShell_QTextCodec::aliases() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("aliases"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextCodec::aliases(); +} +QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int length1, QTextCodec::ConverterState* state2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("convertFromUnicode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("convertFromUnicode", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QByteArray(); +} +QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int length1, QTextCodec::ConverterState* state2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("convertToUnicode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("convertToUnicode", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +int PythonQtShell_QTextCodec::mibEnum() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mibEnum"); + 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("mibEnum", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QByteArray PythonQtShell_QTextCodec::name() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("name"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QByteArray"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QByteArray(); +} +QTextCodec* PythonQtWrapper_QTextCodec::new_QTextCodec() +{ +return new PythonQtShell_QTextCodec(); } + +QList PythonQtWrapper_QTextCodec::aliases(QTextCodec* theWrappedObject) const +{ + return ( theWrappedObject->aliases()); +} + +QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableCodecs() +{ + return (QTextCodec::availableCodecs()); +} + +QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableMibs() +{ + return (QTextCodec::availableMibs()); +} + +bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->canEncode(arg__1)); +} + +bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const +{ + return ( theWrappedObject->canEncode(arg__1)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba) +{ + return (QTextCodec::codecForHtml(ba)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec) +{ + return (QTextCodec::codecForHtml(ba, defaultCodec)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForLocale() +{ + return (QTextCodec::codecForLocale()); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForMib(int mib) +{ + return (QTextCodec::codecForMib(mib)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const QByteArray& name) +{ + return (QTextCodec::codecForName(name)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const char* name) +{ + return (QTextCodec::codecForName(name)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba) +{ + return (QTextCodec::codecForUtfText(ba)); +} + +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba, QTextCodec* defaultCodec) +{ + return (QTextCodec::codecForUtfText(ba, defaultCodec)); +} + +QByteArray PythonQtWrapper_QTextCodec::convertFromUnicode(QTextCodec* theWrappedObject, const QChar* in, int length, QTextCodec::ConverterState* state) const +{ + return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_convertFromUnicode(in, length, state)); +} + +QString PythonQtWrapper_QTextCodec::convertToUnicode(QTextCodec* theWrappedObject, const char* in, int length, QTextCodec::ConverterState* state) const +{ + return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_convertToUnicode(in, length, state)); +} + +QByteArray PythonQtWrapper_QTextCodec::fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const +{ + return ( theWrappedObject->fromUnicode(uc)); +} + +QTextDecoder* PythonQtWrapper_QTextCodec::makeDecoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags) const +{ + return ( theWrappedObject->makeDecoder(flags)); +} + +QTextEncoder* PythonQtWrapper_QTextCodec::makeEncoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags) const +{ + return ( theWrappedObject->makeEncoder(flags)); +} + +int PythonQtWrapper_QTextCodec::mibEnum(QTextCodec* theWrappedObject) const +{ + return ( theWrappedObject->mibEnum()); +} + +QByteArray PythonQtWrapper_QTextCodec::name(QTextCodec* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForLocale(QTextCodec* c) +{ + (QTextCodec::setCodecForLocale(c)); +} + +QString PythonQtWrapper_QTextCodec::toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const +{ + return ( theWrappedObject->toUnicode(arg__1)); +} + + + +QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec) +{ +return new QTextDecoder(codec); } + +QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) +{ +return new QTextDecoder(codec, flags); } + +bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const +{ + return ( theWrappedObject->hasFailure()); +} + +bool PythonQtWrapper_QTextDecoder::needsMoreData(QTextDecoder* theWrappedObject) const +{ + return ( theWrappedObject->needsMoreData()); +} + +QString PythonQtWrapper_QTextDecoder::toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba) +{ + return ( theWrappedObject->toUnicode(ba)); +} + + + +QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec) +{ +return new QTextEncoder(codec); } + +QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) +{ +return new QTextEncoder(codec, flags); } + +QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) +{ + return ( theWrappedObject->fromUnicode(str)); +} + +bool PythonQtWrapper_QTextEncoder::hasFailure(QTextEncoder* theWrappedObject) const +{ + return ( theWrappedObject->hasFailure()); +} + + + +PythonQtShell_QTextStream::~PythonQtShell_QTextStream() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextStream* PythonQtWrapper_QTextStream::new_QTextStream() +{ +return new PythonQtShell_QTextStream(); } + +QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(QIODevice* device) +{ +return new PythonQtShell_QTextStream(device); } + +QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode) +{ +return new PythonQtShell_QTextStream(array, openMode); } + +bool PythonQtWrapper_QTextStream::atEnd(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +bool PythonQtWrapper_QTextStream::autoDetectUnicode(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->autoDetectUnicode()); +} + +QTextCodec* PythonQtWrapper_QTextStream::codec(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QIODevice* PythonQtWrapper_QTextStream::device(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QTextStream::FieldAlignment PythonQtWrapper_QTextStream::fieldAlignment(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->fieldAlignment()); +} + +int PythonQtWrapper_QTextStream::fieldWidth(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->fieldWidth()); +} + +void PythonQtWrapper_QTextStream::flush(QTextStream* theWrappedObject) +{ + ( theWrappedObject->flush()); +} + +bool PythonQtWrapper_QTextStream::generateByteOrderMark(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->generateByteOrderMark()); +} + +int PythonQtWrapper_QTextStream::integerBase(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->integerBase()); +} + +QLocale PythonQtWrapper_QTextStream::locale(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +QTextStream::NumberFlags PythonQtWrapper_QTextStream::numberFlags(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->numberFlags()); +} + +QTextStream* PythonQtWrapper_QTextStream::writeByte(QTextStream* theWrappedObject, char ch) +{ + return &( (*theWrappedObject) <>ch); +} + +QTextStream* PythonQtWrapper_QTextStream::readDouble(QTextStream* theWrappedObject, double& f) +{ + return &( (*theWrappedObject) >>f); +} + +QTextStream* PythonQtWrapper_QTextStream::readFloat(QTextStream* theWrappedObject, float& f) +{ + return &( (*theWrappedObject) >>f); +} + +QTextStream* PythonQtWrapper_QTextStream::readLongLong(QTextStream* theWrappedObject, qlonglong& i) +{ + return &( (*theWrappedObject) >>i); +} + +QTextStream* PythonQtWrapper_QTextStream::readInt(QTextStream* theWrappedObject, signed int& i) +{ + return &( (*theWrappedObject) >>i); +} + +QTextStream* PythonQtWrapper_QTextStream::readShort(QTextStream* theWrappedObject, signed short& i) +{ + return &( (*theWrappedObject) >>i); +} + +QChar PythonQtWrapper_QTextStream::padChar(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->padChar()); +} + +qint64 PythonQtWrapper_QTextStream::pos(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QString PythonQtWrapper_QTextStream::read(QTextStream* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->read(maxlen)); +} + +QString PythonQtWrapper_QTextStream::readAll(QTextStream* theWrappedObject) +{ + return ( theWrappedObject->readAll()); +} + +QString PythonQtWrapper_QTextStream::readLine(QTextStream* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->readLine(maxlen)); +} + +bool PythonQtWrapper_QTextStream::readLineInto(QTextStream* theWrappedObject, QString* line, qint64 maxlen) +{ + return ( theWrappedObject->readLineInto(line, maxlen)); +} + +QTextStream::RealNumberNotation PythonQtWrapper_QTextStream::realNumberNotation(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->realNumberNotation()); +} + +int PythonQtWrapper_QTextStream::realNumberPrecision(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->realNumberPrecision()); +} + +void PythonQtWrapper_QTextStream::reset(QTextStream* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QTextStream::resetStatus(QTextStream* theWrappedObject) +{ + ( theWrappedObject->resetStatus()); +} + +bool PythonQtWrapper_QTextStream::seek(QTextStream* theWrappedObject, qint64 pos) +{ + return ( theWrappedObject->seek(pos)); +} + +void PythonQtWrapper_QTextStream::setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoDetectUnicode(enabled)); +} + +void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, const char* codecName) +{ + ( theWrappedObject->setCodec(codecName)); +} + +void PythonQtWrapper_QTextStream::setDevice(QTextStream* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment) +{ + ( theWrappedObject->setFieldAlignment(alignment)); +} + +void PythonQtWrapper_QTextStream::setFieldWidth(QTextStream* theWrappedObject, int width) +{ + ( theWrappedObject->setFieldWidth(width)); +} + +void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) +{ + ( theWrappedObject->setGenerateByteOrderMark(generate)); +} + +void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) +{ + ( theWrappedObject->setIntegerBase(base)); +} + +void PythonQtWrapper_QTextStream::setLocale(QTextStream* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) +{ + ( theWrappedObject->setNumberFlags(flags)); +} + +void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) +{ + ( theWrappedObject->setPadChar(ch)); +} + +void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) +{ + ( theWrappedObject->setRealNumberNotation(notation)); +} + +void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) +{ + ( theWrappedObject->setRealNumberPrecision(precision)); +} + +void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) +{ + ( theWrappedObject->setStatus(status)); +} + +void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) +{ + ( theWrappedObject->skipWhiteSpace()); +} + +QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +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)); +} + +QThread::Priority PythonQtWrapper_QThread::priority(QThread* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + +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::setPriority(QThread* theWrappedObject, QThread::Priority priority) +{ + ( theWrappedObject->setPriority(priority)); +} + +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, QDeadlineTimer deadline) +{ + return ( theWrappedObject->wait(deadline)); +} + +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); } +} +void PythonQtShell_QThreadPool::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(); + } + } +} + QThreadPool::childEvent(event0); +} +void PythonQtShell_QThreadPool::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(); + } + } +} + QThreadPool::customEvent(event0); +} +bool PythonQtShell_QThreadPool::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 QThreadPool::event(event0); +} +bool PythonQtShell_QThreadPool::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 QThreadPool::eventFilter(watched0, event1); +} +void PythonQtShell_QThreadPool::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(); + } + } +} + QThreadPool::timerEvent(event0); +} +QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) +{ +return new PythonQtShell_QThreadPool(parent); } + +const QMetaObject* PythonQtShell_QThreadPool::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QThreadPool::staticMetaObject); + } else { + return &QThreadPool::staticMetaObject; + } +} +int PythonQtShell_QThreadPool::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QThreadPool::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->activeThreadCount()); +} + +void PythonQtWrapper_QThreadPool::cancel(QThreadPool* theWrappedObject, QRunnable* runnable) +{ + ( theWrappedObject->cancel(runnable)); +} + +void PythonQtWrapper_QThreadPool::clear(QThreadPool* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QThreadPool::contains(QThreadPool* theWrappedObject, const QThread* thread) const +{ + return ( theWrappedObject->contains(thread)); +} + +int PythonQtWrapper_QThreadPool::expiryTimeout(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->expiryTimeout()); +} + +QThreadPool* PythonQtWrapper_QThreadPool::static_QThreadPool_globalInstance() +{ + return (QThreadPool::globalInstance()); +} + +int PythonQtWrapper_QThreadPool::maxThreadCount(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->maxThreadCount()); +} + +void PythonQtWrapper_QThreadPool::releaseThread(QThreadPool* theWrappedObject) +{ + ( theWrappedObject->releaseThread()); +} + +void PythonQtWrapper_QThreadPool::reserveThread(QThreadPool* theWrappedObject) +{ + ( theWrappedObject->reserveThread()); +} + +void PythonQtWrapper_QThreadPool::setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout) +{ + ( theWrappedObject->setExpiryTimeout(expiryTimeout)); +} + +void PythonQtWrapper_QThreadPool::setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount) +{ + ( theWrappedObject->setMaxThreadCount(maxThreadCount)); +} + +void PythonQtWrapper_QThreadPool::setStackSize(QThreadPool* theWrappedObject, uint stackSize) +{ + ( theWrappedObject->setStackSize(stackSize)); +} + +uint PythonQtWrapper_QThreadPool::stackSize(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->stackSize()); +} + +void PythonQtWrapper_QThreadPool::start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority) +{ + ( theWrappedObject->start(runnable, priority)); +} + +bool PythonQtWrapper_QThreadPool::tryStart(QThreadPool* theWrappedObject, QRunnable* runnable) +{ + return ( theWrappedObject->tryStart(runnable)); +} + +bool PythonQtWrapper_QThreadPool::tryTake(QThreadPool* theWrappedObject, QRunnable* runnable) +{ + return ( theWrappedObject->tryTake(runnable)); +} + +bool PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDone(msecs)); +} + + + +PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTimeLine::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(); + } + } +} + QTimeLine::childEvent(event0); +} +void PythonQtShell_QTimeLine::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(); + } + } +} + QTimeLine::customEvent(event0); +} +bool PythonQtShell_QTimeLine::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 QTimeLine::event(event0); +} +bool PythonQtShell_QTimeLine::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 QTimeLine::eventFilter(watched0, event1); +} +void PythonQtShell_QTimeLine::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(); + } + } +} + QTimeLine::timerEvent(event0); +} +qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("valueForTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueForTime", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeLine::valueForTime(msec0); +} +QTimeLine* PythonQtWrapper_QTimeLine::new_QTimeLine(int duration, QObject* parent) +{ +return new PythonQtShell_QTimeLine(duration, parent); } + +const QMetaObject* PythonQtShell_QTimeLine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeLine::staticMetaObject); + } else { + return &QTimeLine::staticMetaObject; + } +} +int PythonQtShell_QTimeLine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTimeLine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QTimeLine::currentFrame(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +int PythonQtWrapper_QTimeLine::currentTime(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->currentTime()); +} + +qreal PythonQtWrapper_QTimeLine::currentValue(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->currentValue()); +} + +QTimeLine::CurveShape PythonQtWrapper_QTimeLine::curveShape(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->curveShape()); +} + +QTimeLine::Direction PythonQtWrapper_QTimeLine::direction(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->direction()); +} + +int PythonQtWrapper_QTimeLine::duration(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +QEasingCurve PythonQtWrapper_QTimeLine::easingCurve(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->easingCurve()); +} + +int PythonQtWrapper_QTimeLine::endFrame(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->endFrame()); +} + +int PythonQtWrapper_QTimeLine::frameForTime(QTimeLine* theWrappedObject, int msec) const +{ + return ( theWrappedObject->frameForTime(msec)); +} + +int PythonQtWrapper_QTimeLine::loopCount(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +void PythonQtWrapper_QTimeLine::setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape) +{ + ( theWrappedObject->setCurveShape(shape)); +} + +void PythonQtWrapper_QTimeLine::setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction) +{ + ( theWrappedObject->setDirection(direction)); +} + +void PythonQtWrapper_QTimeLine::setDuration(QTimeLine* theWrappedObject, int duration) +{ + ( theWrappedObject->setDuration(duration)); +} + +void PythonQtWrapper_QTimeLine::setEasingCurve(QTimeLine* theWrappedObject, const QEasingCurve& curve) +{ + ( theWrappedObject->setEasingCurve(curve)); +} + +void PythonQtWrapper_QTimeLine::setEndFrame(QTimeLine* theWrappedObject, int frame) +{ + ( theWrappedObject->setEndFrame(frame)); +} + +void PythonQtWrapper_QTimeLine::setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame) +{ + ( theWrappedObject->setFrameRange(startFrame, endFrame)); +} + +void PythonQtWrapper_QTimeLine::setLoopCount(QTimeLine* theWrappedObject, int count) +{ + ( theWrappedObject->setLoopCount(count)); +} + +void PythonQtWrapper_QTimeLine::setStartFrame(QTimeLine* theWrappedObject, int frame) +{ + ( theWrappedObject->setStartFrame(frame)); +} + +void PythonQtWrapper_QTimeLine::setUpdateInterval(QTimeLine* theWrappedObject, int interval) +{ + ( theWrappedObject->setUpdateInterval(interval)); +} + +int PythonQtWrapper_QTimeLine::startFrame(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->startFrame()); +} + +QTimeLine::State PythonQtWrapper_QTimeLine::state(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +int PythonQtWrapper_QTimeLine::updateInterval(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->updateInterval()); +} + +qreal PythonQtWrapper_QTimeLine::valueForTime(QTimeLine* theWrappedObject, int msec) const +{ + return ( theWrappedObject->valueForTime(msec)); +} + + + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone() +{ +return new QTimeZone(); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(const QByteArray& ianaId) +{ +return new QTimeZone(ianaId); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(const QByteArray& zoneId, int offsetSeconds, const QString& name, const QString& abbreviation, QLocale::Country country, const QString& comment) +{ +return new QTimeZone(zoneId, offsetSeconds, name, abbreviation, country, comment); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(const QTimeZone& other) +{ +return new QTimeZone(other); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(int offsetSeconds) +{ +return new QTimeZone(offsetSeconds); } + +QString PythonQtWrapper_QTimeZone::abbreviation(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +{ + return ( theWrappedObject->abbreviation(atDateTime)); +} + +QList PythonQtWrapper_QTimeZone::static_QTimeZone_availableTimeZoneIds() +{ + return (QTimeZone::availableTimeZoneIds()); +} + +QList PythonQtWrapper_QTimeZone::static_QTimeZone_availableTimeZoneIds(QLocale::Country country) +{ + return (QTimeZone::availableTimeZoneIds(country)); +} + +QList PythonQtWrapper_QTimeZone::static_QTimeZone_availableTimeZoneIds(int offsetSeconds) +{ + return (QTimeZone::availableTimeZoneIds(offsetSeconds)); +} + +QString PythonQtWrapper_QTimeZone::comment(QTimeZone* theWrappedObject) const +{ + return ( theWrappedObject->comment()); +} + +QLocale::Country PythonQtWrapper_QTimeZone::country(QTimeZone* theWrappedObject) const +{ + return ( theWrappedObject->country()); +} + +int PythonQtWrapper_QTimeZone::daylightTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +{ + return ( theWrappedObject->daylightTimeOffset(atDateTime)); +} + +QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QLocale& locale) const +{ + return ( theWrappedObject->displayName(timeType, nameType, locale)); +} + +QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, const QDateTime& atDateTime, QTimeZone::NameType nameType, const QLocale& locale) const +{ + return ( theWrappedObject->displayName(atDateTime, nameType, locale)); +} + +bool PythonQtWrapper_QTimeZone::hasDaylightTime(QTimeZone* theWrappedObject) const +{ + return ( theWrappedObject->hasDaylightTime()); +} + +bool PythonQtWrapper_QTimeZone::hasTransitions(QTimeZone* theWrappedObject) const +{ + return ( theWrappedObject->hasTransitions()); +} + +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_ianaIdToWindowsId(const QByteArray& ianaId) +{ + return (QTimeZone::ianaIdToWindowsId(ianaId)); +} + +QByteArray PythonQtWrapper_QTimeZone::id(QTimeZone* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QTimeZone::isDaylightTime(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +{ + return ( theWrappedObject->isDaylightTime(atDateTime)); +} + +bool PythonQtWrapper_QTimeZone::static_QTimeZone_isTimeZoneIdAvailable(const QByteArray& ianaId) +{ + return (QTimeZone::isTimeZoneIdAvailable(ianaId)); +} + +bool PythonQtWrapper_QTimeZone::isValid(QTimeZone* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QTimeZone::offsetFromUtc(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +{ + return ( theWrappedObject->offsetFromUtc(atDateTime)); +} + +bool PythonQtWrapper_QTimeZone::__ne__(QTimeZone* theWrappedObject, const QTimeZone& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QTimeZone::writeTo(QTimeZone* theWrappedObject, QDataStream& ds) +{ + ds << (*theWrappedObject); +} + +QTimeZone* PythonQtWrapper_QTimeZone::operator_assign(QTimeZone* theWrappedObject, const QTimeZone& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QTimeZone::__eq__(QTimeZone* theWrappedObject, const QTimeZone& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QTimeZone::readFrom(QTimeZone* theWrappedObject, QDataStream& ds) +{ + ds >> (*theWrappedObject); +} + +int PythonQtWrapper_QTimeZone::standardTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +{ + return ( theWrappedObject->standardTimeOffset(atDateTime)); +} + +void PythonQtWrapper_QTimeZone::swap(QTimeZone* theWrappedObject, QTimeZone& other) +{ + ( theWrappedObject->swap(other)); +} + +QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZone() +{ + return (QTimeZone::systemTimeZone()); +} + +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZoneId() +{ + return (QTimeZone::systemTimeZoneId()); +} + +QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_utc() +{ + return (QTimeZone::utc()); +} + +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId) +{ + return (QTimeZone::windowsIdToDefaultIanaId(windowsId)); +} + +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId, QLocale::Country country) +{ + return (QTimeZone::windowsIdToDefaultIanaId(windowsId, country)); +} + +QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId) +{ + return (QTimeZone::windowsIdToIanaIds(windowsId)); +} + +QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId, QLocale::Country country) +{ + return (QTimeZone::windowsIdToIanaIds(windowsId, country)); +} + +QString PythonQtWrapper_QTimeZone::py_toString(QTimeZone* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QTimer::~PythonQtShell_QTimer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTimer::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(); + } + } +} + QTimer::childEvent(event0); +} +void PythonQtShell_QTimer::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(); + } + } +} + QTimer::customEvent(event0); +} +bool PythonQtShell_QTimer::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 QTimer::event(event0); +} +bool PythonQtShell_QTimer::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 QTimer::eventFilter(watched0, event1); +} +void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimer::timerEvent(arg__1); +} +QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent) +{ +return new PythonQtShell_QTimer(parent); } + +const QMetaObject* PythonQtShell_QTimer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimer::staticMetaObject); + } else { + return &QTimer::staticMetaObject; + } +} +int PythonQtShell_QTimer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTimer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QTimer::interval(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->interval()); +} + +bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->isSingleShot()); +} + +int PythonQtWrapper_QTimer::remainingTime(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->remainingTime()); +} + +void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec) +{ + ( theWrappedObject->setInterval(msec)); +} + +void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot) +{ + ( theWrappedObject->setSingleShot(singleShot)); +} + +void PythonQtWrapper_QTimer::setTimerType(QTimer* theWrappedObject, Qt::TimerType atype) +{ + ( theWrappedObject->setTimerType(atype)); +} + +void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member) +{ + (QTimer::singleShot(msec, timerType, receiver, member)); +} + +void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, const QObject* receiver, const char* member) +{ + (QTimer::singleShot(msec, receiver, member)); +} + +int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerId()); +} + +Qt::TimerType PythonQtWrapper_QTimer::timerType(QTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerType()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.h b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.h new file mode 100644 index 00000000..bdf90054 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core3.h @@ -0,0 +1,1405 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QSaveFile : public QSaveFile +{ +public: + 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 +{ public: +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline QString py_q_fileName() const { return QSaveFile::fileName(); } +inline bool py_q_open(QIODevice::OpenMode flags) { return QSaveFile::open(flags); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QSaveFile::writeData(data, len); } +}; + +class PythonQtWrapper_QSaveFile : public QObject +{ Q_OBJECT +public: +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 cancelWriting(QSaveFile* theWrappedObject); + bool commit(QSaveFile* theWrappedObject); + bool directWriteFallback(QSaveFile* theWrappedObject) const; + QString py_q_fileName(QSaveFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_fileName());} + bool py_q_open(QSaveFile* theWrappedObject, QIODevice::OpenMode flags){ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_open(flags));} + void setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled); + void setFileName(QSaveFile* theWrappedObject, const QString& name); + qint64 py_q_writeData(QSaveFile* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QSemaphore : public QObject +{ Q_OBJECT +public: +public slots: +QSemaphore* new_QSemaphore(int n = 0); +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); + bool tryAcquire(QSemaphore* theWrappedObject, int n = 1); + bool tryAcquire(QSemaphore* theWrappedObject, int n, int timeout); +}; + + + + + +class PythonQtShell_QSequentialAnimationGroup : public QSequentialAnimationGroup +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_updateCurrentTime(int arg__1) { this->updateCurrentTime(arg__1); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { this->updateDirection(direction); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline int py_q_duration() const { return QSequentialAnimationGroup::duration(); } +inline bool py_q_event(QEvent* event) { return QSequentialAnimationGroup::event(event); } +inline void py_q_updateCurrentTime(int arg__1) { QSequentialAnimationGroup::updateCurrentTime(arg__1); } +inline void py_q_updateDirection(QAbstractAnimation::Direction direction) { QSequentialAnimationGroup::updateDirection(direction); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QSequentialAnimationGroup::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QSequentialAnimationGroup : public QObject +{ Q_OBJECT +public: +public slots: +QSequentialAnimationGroup* new_QSequentialAnimationGroup(QObject* parent = nullptr); +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());} + bool py_q_event(QSequentialAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_event(event));} + QPauseAnimation* insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs); + void py_q_updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateCurrentTime(arg__1));} + void py_q_updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateDirection(direction));} + void py_q_updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtShell_QSettings : public QSettings +{ +public: + 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, QObject* parent = nullptr):QSettings(scope, 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool py_q_event(QEvent* event) { return QSettings::event(event); } +}; + +class PythonQtWrapper_QSettings : public QObject +{ Q_OBJECT +public: +public slots: +QSettings* new_QSettings(QObject* parent = nullptr); +QSettings* new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr); +QSettings* new_QSettings(QSettings::Scope scope, QObject* parent = nullptr); +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; } + QStringList allKeys(QSettings* theWrappedObject) const; + QString applicationName(QSettings* theWrappedObject) const; + void beginGroup(QSettings* theWrappedObject, const QString& prefix); + int beginReadArray(QSettings* theWrappedObject, const QString& prefix); + void beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size = -1); + QStringList childGroups(QSettings* theWrappedObject) const; + QStringList childKeys(QSettings* theWrappedObject) const; + void clear(QSettings* theWrappedObject); + bool contains(QSettings* theWrappedObject, const QString& key) const; + QSettings::Format static_QSettings_defaultFormat(); + void endArray(QSettings* theWrappedObject); + void endGroup(QSettings* theWrappedObject); + bool py_q_event(QSettings* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSettings*)theWrappedObject)->py_q_event(event));} + bool fallbacksEnabled(QSettings* theWrappedObject) const; + QString fileName(QSettings* theWrappedObject) const; + QSettings::Format format(QSettings* theWrappedObject) const; + QString group(QSettings* theWrappedObject) const; + QTextCodec* iniCodec(QSettings* theWrappedObject) const; + bool isAtomicSyncRequired(QSettings* theWrappedObject) const; + bool isWritable(QSettings* theWrappedObject) const; + QString organizationName(QSettings* theWrappedObject) const; + void remove(QSettings* theWrappedObject, const QString& key); + QSettings::Scope scope(QSettings* theWrappedObject) const; + void setArrayIndex(QSettings* theWrappedObject, int i); + void setAtomicSyncRequired(QSettings* theWrappedObject, bool enable); + void static_QSettings_setDefaultFormat(QSettings::Format format); + void setFallbacksEnabled(QSettings* theWrappedObject, bool b); + void setIniCodec(QSettings* theWrappedObject, QTextCodec* codec); + void setIniCodec(QSettings* theWrappedObject, const char* codecName); + void static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path); + void setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value); + QSettings::Status status(QSettings* theWrappedObject) const; + void sync(QSettings* theWrappedObject); + QVariant value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue = QVariant()) const; +}; + + + + + +class PythonQtShell_QSharedMemory : public QSharedMemory +{ +public: + PythonQtShell_QSharedMemory(QObject* parent = nullptr):QSharedMemory(parent),_wrapper(nullptr) {}; + PythonQtShell_QSharedMemory(const QString& key, QObject* parent = nullptr):QSharedMemory(key, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSharedMemory() 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_QSharedMemory : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AccessMode SharedMemoryError ) +enum AccessMode{ + ReadOnly = QSharedMemory::ReadOnly, ReadWrite = QSharedMemory::ReadWrite}; +enum SharedMemoryError{ + NoError = QSharedMemory::NoError, PermissionDenied = QSharedMemory::PermissionDenied, InvalidSize = QSharedMemory::InvalidSize, KeyError = QSharedMemory::KeyError, AlreadyExists = QSharedMemory::AlreadyExists, NotFound = QSharedMemory::NotFound, LockError = QSharedMemory::LockError, OutOfResources = QSharedMemory::OutOfResources, UnknownError = QSharedMemory::UnknownError}; +public slots: +QSharedMemory* new_QSharedMemory(QObject* parent = nullptr); +QSharedMemory* new_QSharedMemory(const QString& key, QObject* parent = nullptr); +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); + void* data(QSharedMemory* theWrappedObject); + const void* data(QSharedMemory* theWrappedObject) const; + QSharedMemory::SharedMemoryError error(QSharedMemory* theWrappedObject) const; + QString errorString(QSharedMemory* theWrappedObject) const; + bool isAttached(QSharedMemory* theWrappedObject) const; + QString key(QSharedMemory* theWrappedObject) const; + bool lock(QSharedMemory* theWrappedObject); + QString nativeKey(QSharedMemory* theWrappedObject) const; + void setKey(QSharedMemory* theWrappedObject, const QString& key); + void setNativeKey(QSharedMemory* theWrappedObject, const QString& key); + int size(QSharedMemory* theWrappedObject) const; + bool unlock(QSharedMemory* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QSignalBlocker : public QObject +{ Q_OBJECT +public: +public slots: +QSignalBlocker* new_QSignalBlocker(QObject& o); +QSignalBlocker* new_QSignalBlocker(QObject* o); +void delete_QSignalBlocker(QSignalBlocker* obj) { delete obj; } + void reblock(QSignalBlocker* theWrappedObject); + void unblock(QSignalBlocker* theWrappedObject); +}; + + + + + +class PythonQtShell_QSignalMapper : public QSignalMapper +{ +public: + PythonQtShell_QSignalMapper(QObject* parent = nullptr):QSignalMapper(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSignalMapper() 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_QSignalMapper : public QObject +{ Q_OBJECT +public: +public slots: +QSignalMapper* new_QSignalMapper(QObject* parent = nullptr); +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; + QObject* mapping(QSignalMapper* theWrappedObject, int id) const; + void removeMappings(QSignalMapper* theWrappedObject, QObject* sender); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id); +}; + + + + + +class PythonQtShell_QSignalTransition : public QSignalTransition +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } +inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } +inline bool py_q_event(QEvent* e) { return QSignalTransition::event(e); } +inline bool py_q_eventTest(QEvent* event) { return QSignalTransition::eventTest(event); } +inline void py_q_onTransition(QEvent* event) { QSignalTransition::onTransition(event); } +}; + +class PythonQtWrapper_QSignalTransition : public QObject +{ Q_OBJECT +public: +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; } + 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));} + QObject* senderObject(QSignalTransition* theWrappedObject) const; + void setSenderObject(QSignalTransition* theWrappedObject, const QObject* sender); + void setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal); + QByteArray signal(QSignalTransition* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSocketNotifier : public QSocketNotifier +{ +public: + PythonQtShell_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr):QSocketNotifier(socket, arg__2, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSocketNotifier() 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 timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QSocketNotifier::event(arg__1); } +}; + +class PythonQtWrapper_QSocketNotifier : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +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; } + 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; + QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QStandardPaths : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LocateOption StandardLocation ) +Q_FLAGS(LocateOptions ) +enum LocateOption{ + LocateFile = QStandardPaths::LocateFile, LocateDirectory = QStandardPaths::LocateDirectory}; +enum StandardLocation{ + DesktopLocation = QStandardPaths::DesktopLocation, DocumentsLocation = QStandardPaths::DocumentsLocation, FontsLocation = QStandardPaths::FontsLocation, ApplicationsLocation = QStandardPaths::ApplicationsLocation, MusicLocation = QStandardPaths::MusicLocation, MoviesLocation = QStandardPaths::MoviesLocation, PicturesLocation = QStandardPaths::PicturesLocation, TempLocation = QStandardPaths::TempLocation, HomeLocation = QStandardPaths::HomeLocation, DataLocation = QStandardPaths::DataLocation, CacheLocation = QStandardPaths::CacheLocation, GenericDataLocation = QStandardPaths::GenericDataLocation, RuntimeLocation = QStandardPaths::RuntimeLocation, ConfigLocation = QStandardPaths::ConfigLocation, DownloadLocation = QStandardPaths::DownloadLocation, GenericCacheLocation = QStandardPaths::GenericCacheLocation, GenericConfigLocation = QStandardPaths::GenericConfigLocation, AppDataLocation = QStandardPaths::AppDataLocation, AppConfigLocation = QStandardPaths::AppConfigLocation, AppLocalDataLocation = QStandardPaths::AppLocalDataLocation}; +Q_DECLARE_FLAGS(LocateOptions, LocateOption) +public slots: + QString static_QStandardPaths_displayName(QStandardPaths::StandardLocation type); + void static_QStandardPaths_enableTestMode(bool testMode); + QString static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths = QStringList()); + bool static_QStandardPaths_isTestModeEnabled(); + QString static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); + QStringList static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); + void static_QStandardPaths_setTestModeEnabled(bool testMode); + QStringList static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type); + QString static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type); +}; + + + + + +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, StateMachineChildModeSetToParallelError = QStateMachine::StateMachineChildModeSetToParallelError}; +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; } + QEvent* event(QStateMachine::WrappedEvent* theWrappedObject) const; + QObject* object(QStateMachine::WrappedEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QStorageInfo : public QObject +{ Q_OBJECT +public: +public slots: +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; } + int blockSize(QStorageInfo* theWrappedObject) const; + qint64 bytesAvailable(QStorageInfo* theWrappedObject) const; + qint64 bytesFree(QStorageInfo* theWrappedObject) const; + qint64 bytesTotal(QStorageInfo* theWrappedObject) const; + QByteArray device(QStorageInfo* theWrappedObject) const; + QString displayName(QStorageInfo* theWrappedObject) const; + QByteArray fileSystemType(QStorageInfo* theWrappedObject) const; + bool isReadOnly(QStorageInfo* theWrappedObject) const; + bool isReady(QStorageInfo* theWrappedObject) const; + bool isRoot(QStorageInfo* theWrappedObject) const; + 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); + QStorageInfo static_QStorageInfo_root(); + QString rootPath(QStorageInfo* theWrappedObject) const; + void setPath(QStorageInfo* theWrappedObject, const QString& path); + QByteArray subvolume(QStorageInfo* theWrappedObject) const; + void swap(QStorageInfo* theWrappedObject, QStorageInfo& other); + QString py_toString(QStorageInfo*); + bool __nonzero__(QStorageInfo* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QStringMatcher : public QObject +{ Q_OBJECT +public: +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; } + Qt::CaseSensitivity caseSensitivity(QStringMatcher* theWrappedObject) const; + qsizetype indexIn(QStringMatcher* theWrappedObject, QStringView str, qsizetype from = 0) const; + int indexIn(QStringMatcher* theWrappedObject, const QString& str, int from = 0) const; + QString pattern(QStringMatcher* theWrappedObject) const; + void setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs); + void setPattern(QStringMatcher* theWrappedObject, const QString& pattern); +}; + + + + + +class PythonQtShell_QSysInfo : public QSysInfo +{ +public: + PythonQtShell_QSysInfo():QSysInfo(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSysInfo(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSysInfo : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Endian Sizes ) +enum Endian{ + BigEndian = QSysInfo::BigEndian, LittleEndian = QSysInfo::LittleEndian, ByteOrder = QSysInfo::ByteOrder}; +enum Sizes{ + WordSize = QSysInfo::WordSize}; +public slots: +QSysInfo* new_QSysInfo(); +void delete_QSysInfo(QSysInfo* obj) { delete obj; } + QByteArray static_QSysInfo_bootUniqueId(); + QString static_QSysInfo_buildAbi(); + QString static_QSysInfo_buildCpuArchitecture(); + QString static_QSysInfo_currentCpuArchitecture(); + QString static_QSysInfo_kernelType(); + QString static_QSysInfo_kernelVersion(); + QString static_QSysInfo_machineHostName(); + QByteArray static_QSysInfo_machineUniqueId(); + QString static_QSysInfo_prettyProductName(); + QString static_QSysInfo_productType(); + QString static_QSysInfo_productVersion(); +}; + + + + + +class PythonQtWrapper_QSystemSemaphore : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AccessMode SystemSemaphoreError ) +enum AccessMode{ + Open = QSystemSemaphore::Open, Create = QSystemSemaphore::Create}; +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; } + bool acquire(QSystemSemaphore* theWrappedObject); + QSystemSemaphore::SystemSemaphoreError error(QSystemSemaphore* theWrappedObject) const; + QString errorString(QSystemSemaphore* theWrappedObject) const; + QString key(QSystemSemaphore* theWrappedObject) const; + bool release(QSystemSemaphore* theWrappedObject, int n = 1); + void setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); +}; + + + + + +class PythonQtWrapper_QTemporaryDir : public QObject +{ Q_OBJECT +public: +public slots: +QTemporaryDir* new_QTemporaryDir(); +QTemporaryDir* new_QTemporaryDir(const QString& templateName); +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; + bool isValid(QTemporaryDir* theWrappedObject) const; + QString path(QTemporaryDir* theWrappedObject) const; + bool remove(QTemporaryDir* theWrappedObject); + void setAutoRemove(QTemporaryDir* theWrappedObject, bool b); + bool __nonzero__(QTemporaryDir* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTemporaryFile : public QTemporaryFile +{ +public: + 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 +{ public: +inline bool promoted_open(QIODevice::OpenMode flags) { return this->open(flags); } +inline QString py_q_fileName() const { return QTemporaryFile::fileName(); } +inline bool py_q_open(QIODevice::OpenMode flags) { return QTemporaryFile::open(flags); } +}; + +class PythonQtWrapper_QTemporaryFile : public QObject +{ Q_OBJECT +public: +public slots: +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; } + bool autoRemove(QTemporaryFile* theWrappedObject) const; + QTemporaryFile* static_QTemporaryFile_createLocalFile(QFile& file); + QTemporaryFile* static_QTemporaryFile_createLocalFile(const QString& fileName); + QTemporaryFile* static_QTemporaryFile_createNativeFile(QFile& file); + QTemporaryFile* static_QTemporaryFile_createNativeFile(const QString& fileName); + QString fileName(QTemporaryFile* theWrappedObject) const; + QString py_q_fileName(QTemporaryFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->py_q_fileName());} + QString fileTemplate(QTemporaryFile* theWrappedObject) const; + bool open(QTemporaryFile* theWrappedObject); + bool py_q_open(QTemporaryFile* theWrappedObject, QIODevice::OpenMode flags){ return (((PythonQtPublicPromoter_QTemporaryFile*)theWrappedObject)->py_q_open(flags));} + bool rename(QTemporaryFile* theWrappedObject, const QString& newName); + void setAutoRemove(QTemporaryFile* theWrappedObject, bool b); + void setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name); +}; + + + + + +class PythonQtWrapper_QTextBoundaryFinder : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BoundaryReason BoundaryType ) +Q_FLAGS(BoundaryReasons ) +enum BoundaryReason{ + NotAtBoundary = QTextBoundaryFinder::NotAtBoundary, BreakOpportunity = QTextBoundaryFinder::BreakOpportunity, StartOfItem = QTextBoundaryFinder::StartOfItem, EndOfItem = QTextBoundaryFinder::EndOfItem, MandatoryBreak = QTextBoundaryFinder::MandatoryBreak, SoftHyphen = QTextBoundaryFinder::SoftHyphen}; +enum BoundaryType{ + Grapheme = QTextBoundaryFinder::Grapheme, Word = QTextBoundaryFinder::Word, Sentence = QTextBoundaryFinder::Sentence, Line = QTextBoundaryFinder::Line}; +Q_DECLARE_FLAGS(BoundaryReasons, BoundaryReason) +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; } + QTextBoundaryFinder::BoundaryReasons boundaryReasons(QTextBoundaryFinder* theWrappedObject) const; + bool isAtBoundary(QTextBoundaryFinder* theWrappedObject) const; + bool isValid(QTextBoundaryFinder* theWrappedObject) const; + int position(QTextBoundaryFinder* theWrappedObject) const; + void setPosition(QTextBoundaryFinder* theWrappedObject, int position); + QString string(QTextBoundaryFinder* theWrappedObject) const; + void toEnd(QTextBoundaryFinder* theWrappedObject); + int toNextBoundary(QTextBoundaryFinder* theWrappedObject); + int toPreviousBoundary(QTextBoundaryFinder* theWrappedObject); + void toStart(QTextBoundaryFinder* theWrappedObject); + QTextBoundaryFinder::BoundaryType type(QTextBoundaryFinder* theWrappedObject) const; + bool __nonzero__(QTextBoundaryFinder* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextCodec : public QTextCodec +{ +public: + PythonQtShell_QTextCodec():QTextCodec(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextCodec() override; + +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; +}; + +class PythonQtPublicPromoter_QTextCodec : public QTextCodec +{ public: +inline QByteArray promoted_convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const { return this->convertFromUnicode(in, length, state); } +inline QString promoted_convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const { return this->convertToUnicode(in, length, state); } +inline QList py_q_aliases() const { return QTextCodec::aliases(); } +inline QByteArray py_q_convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const { return this->convertFromUnicode(in, length, state); } +inline QString py_q_convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const { return this->convertToUnicode(in, length, state); } +inline int py_q_mibEnum() const { return this->mibEnum(); } +inline QByteArray py_q_name() const { return this->name(); } +}; + +class PythonQtWrapper_QTextCodec : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ConversionFlag ) +Q_FLAGS(ConversionFlags ) +enum ConversionFlag{ + DefaultConversion = QTextCodec::DefaultConversion, ConvertInvalidToNull = QTextCodec::ConvertInvalidToNull, IgnoreHeader = QTextCodec::IgnoreHeader, FreeFunction = QTextCodec::FreeFunction}; +Q_DECLARE_FLAGS(ConversionFlags, ConversionFlag) +public slots: +QTextCodec* new_QTextCodec(); + QList aliases(QTextCodec* theWrappedObject) const; + QList py_q_aliases(QTextCodec* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->py_q_aliases());} + QList static_QTextCodec_availableCodecs(); + QList static_QTextCodec_availableMibs(); + bool canEncode(QTextCodec* theWrappedObject, QChar arg__1) const; + bool canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const; + QTextCodec* static_QTextCodec_codecForHtml(const QByteArray& ba); + QTextCodec* static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec); + QTextCodec* static_QTextCodec_codecForLocale(); + QTextCodec* static_QTextCodec_codecForMib(int mib); + QTextCodec* static_QTextCodec_codecForName(const QByteArray& name); + QTextCodec* static_QTextCodec_codecForName(const char* name); + QTextCodec* static_QTextCodec_codecForUtfText(const QByteArray& ba); + QTextCodec* static_QTextCodec_codecForUtfText(const QByteArray& ba, QTextCodec* defaultCodec); + QByteArray convertFromUnicode(QTextCodec* theWrappedObject, const QChar* in, int length, QTextCodec::ConverterState* state) const; + QByteArray py_q_convertFromUnicode(QTextCodec* theWrappedObject, const QChar* in, int length, QTextCodec::ConverterState* state) const{ return (((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->py_q_convertFromUnicode(in, length, state));} + QString convertToUnicode(QTextCodec* theWrappedObject, const char* in, int length, QTextCodec::ConverterState* state) const; + QString py_q_convertToUnicode(QTextCodec* theWrappedObject, const char* in, int length, QTextCodec::ConverterState* state) const{ return (((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->py_q_convertToUnicode(in, length, state));} + QByteArray fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const; + QTextDecoder* makeDecoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags = QTextCodec::DefaultConversion) const; + QTextEncoder* makeEncoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags = QTextCodec::DefaultConversion) const; + int mibEnum(QTextCodec* theWrappedObject) const; + int py_q_mibEnum(QTextCodec* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->py_q_mibEnum());} + QByteArray name(QTextCodec* theWrappedObject) const; + QByteArray py_q_name(QTextCodec* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->py_q_name());} + void static_QTextCodec_setCodecForLocale(QTextCodec* c); + QString toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const; +}; + + + + + +class PythonQtWrapper_QTextDecoder : public QObject +{ Q_OBJECT +public: +public slots: +QTextDecoder* new_QTextDecoder(const QTextCodec* codec); +QTextDecoder* new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); +void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } + bool hasFailure(QTextDecoder* theWrappedObject) const; + bool needsMoreData(QTextDecoder* theWrappedObject) const; + QString toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba); +}; + + + + + +class PythonQtWrapper_QTextEncoder : public QObject +{ Q_OBJECT +public: +public slots: +QTextEncoder* new_QTextEncoder(const QTextCodec* codec); +QTextEncoder* new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); +void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } + QByteArray fromUnicode(QTextEncoder* theWrappedObject, const QString& str); + bool hasFailure(QTextEncoder* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextStream : public QTextStream +{ +public: + 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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextStream : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FieldAlignment NumberFlag RealNumberNotation Status ) +Q_FLAGS(NumberFlags ) +enum FieldAlignment{ + AlignLeft = QTextStream::AlignLeft, AlignRight = QTextStream::AlignRight, AlignCenter = QTextStream::AlignCenter, AlignAccountingStyle = QTextStream::AlignAccountingStyle}; +enum NumberFlag{ + ShowBase = QTextStream::ShowBase, ForcePoint = QTextStream::ForcePoint, ForceSign = QTextStream::ForceSign, UppercaseBase = QTextStream::UppercaseBase, UppercaseDigits = QTextStream::UppercaseDigits}; +enum RealNumberNotation{ + SmartNotation = QTextStream::SmartNotation, FixedNotation = QTextStream::FixedNotation, ScientificNotation = QTextStream::ScientificNotation}; +enum Status{ + Ok = QTextStream::Ok, ReadPastEnd = QTextStream::ReadPastEnd, ReadCorruptData = QTextStream::ReadCorruptData, WriteFailed = QTextStream::WriteFailed}; +Q_DECLARE_FLAGS(NumberFlags, NumberFlag) +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; } + bool atEnd(QTextStream* theWrappedObject) const; + bool autoDetectUnicode(QTextStream* theWrappedObject) const; + QTextCodec* codec(QTextStream* theWrappedObject) const; + QIODevice* device(QTextStream* theWrappedObject) const; + QTextStream::FieldAlignment fieldAlignment(QTextStream* theWrappedObject) const; + int fieldWidth(QTextStream* theWrappedObject) const; + void flush(QTextStream* theWrappedObject); + bool generateByteOrderMark(QTextStream* theWrappedObject) const; + int integerBase(QTextStream* theWrappedObject) const; + QLocale locale(QTextStream* theWrappedObject) const; + QTextStream::NumberFlags numberFlags(QTextStream* theWrappedObject) const; + QTextStream* writeByte(QTextStream* theWrappedObject, char ch); + QTextStream* writeDouble(QTextStream* theWrappedObject, double f); + QTextStream* writeFloat(QTextStream* theWrappedObject, float f); + QTextStream* writeLongLong(QTextStream* theWrappedObject, qlonglong i); + QTextStream* writeInt(QTextStream* theWrappedObject, signed int i); + QTextStream* writeShort(QTextStream* theWrappedObject, signed short i); + QTextStream* readByte(QTextStream* theWrappedObject, char& ch); + QTextStream* readDouble(QTextStream* theWrappedObject, double& f); + QTextStream* readFloat(QTextStream* theWrappedObject, float& f); + QTextStream* readLongLong(QTextStream* theWrappedObject, qlonglong& i); + QTextStream* readInt(QTextStream* theWrappedObject, signed int& i); + QTextStream* readShort(QTextStream* theWrappedObject, signed short& i); + QChar padChar(QTextStream* theWrappedObject) const; + qint64 pos(QTextStream* theWrappedObject) const; + QString read(QTextStream* theWrappedObject, qint64 maxlen); + QString readAll(QTextStream* theWrappedObject); + QString readLine(QTextStream* theWrappedObject, qint64 maxlen = 0); + bool readLineInto(QTextStream* theWrappedObject, QString* line, qint64 maxlen = 0); + QTextStream::RealNumberNotation realNumberNotation(QTextStream* theWrappedObject) const; + int realNumberPrecision(QTextStream* theWrappedObject) const; + void reset(QTextStream* theWrappedObject); + void resetStatus(QTextStream* theWrappedObject); + bool seek(QTextStream* theWrappedObject, qint64 pos); + void setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled); + void setCodec(QTextStream* theWrappedObject, QTextCodec* codec); + void setCodec(QTextStream* theWrappedObject, const char* codecName); + void setDevice(QTextStream* theWrappedObject, QIODevice* device); + void setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment); + void setFieldWidth(QTextStream* theWrappedObject, int width); + void setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate); + void setIntegerBase(QTextStream* theWrappedObject, int base); + void setLocale(QTextStream* theWrappedObject, const QLocale& locale); + void setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags); + void setPadChar(QTextStream* theWrappedObject, QChar ch); + void setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation); + void setRealNumberPrecision(QTextStream* theWrappedObject, int precision); + void setStatus(QTextStream* theWrappedObject, QTextStream::Status status); + void skipWhiteSpace(QTextStream* theWrappedObject); + QTextStream::Status status(QTextStream* theWrappedObject) const; +}; + + + + + +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: +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; } + 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); + 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); + uint stackSize(QThread* theWrappedObject) const; + void static_QThread_usleep(unsigned long arg__1); + bool wait(QThread* theWrappedObject, QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::Forever)); + bool wait(QThread* theWrappedObject, unsigned long time); + void static_QThread_yieldCurrentThread(); +}; + + + + + +class PythonQtShell_QThreadPool : public QThreadPool +{ +public: + PythonQtShell_QThreadPool(QObject* parent = nullptr):QThreadPool(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QThreadPool() 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_QThreadPool : public QObject +{ Q_OBJECT +public: +public slots: +QThreadPool* new_QThreadPool(QObject* parent = nullptr); +void delete_QThreadPool(QThreadPool* obj) { delete obj; } + int activeThreadCount(QThreadPool* theWrappedObject) const; + void cancel(QThreadPool* theWrappedObject, QRunnable* runnable); + void clear(QThreadPool* theWrappedObject); + bool contains(QThreadPool* theWrappedObject, const QThread* thread) const; + int expiryTimeout(QThreadPool* theWrappedObject) const; + QThreadPool* static_QThreadPool_globalInstance(); + int maxThreadCount(QThreadPool* theWrappedObject) const; + void releaseThread(QThreadPool* theWrappedObject); + void reserveThread(QThreadPool* theWrappedObject); + void setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout); + void setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount); + void setStackSize(QThreadPool* theWrappedObject, uint stackSize); + uint stackSize(QThreadPool* theWrappedObject) const; + void start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority = 0); + bool tryStart(QThreadPool* theWrappedObject, QRunnable* runnable); + bool tryTake(QThreadPool* theWrappedObject, QRunnable* runnable); + bool waitForDone(QThreadPool* theWrappedObject, int msecs = -1); +}; + + + + + +class PythonQtShell_QTimeLine : public QTimeLine +{ +public: + PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = nullptr):QTimeLine(duration, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimeLine() 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; +qreal valueForTime(int msec) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTimeLine : public QTimeLine +{ public: +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void py_q_timerEvent(QTimerEvent* event) { QTimeLine::timerEvent(event); } +inline qreal py_q_valueForTime(int msec) const { return QTimeLine::valueForTime(msec); } +}; + +class PythonQtWrapper_QTimeLine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CurveShape Direction State ) +enum CurveShape{ + EaseInCurve = QTimeLine::EaseInCurve, EaseOutCurve = QTimeLine::EaseOutCurve, EaseInOutCurve = QTimeLine::EaseInOutCurve, LinearCurve = QTimeLine::LinearCurve, SineCurve = QTimeLine::SineCurve, CosineCurve = QTimeLine::CosineCurve}; +enum Direction{ + Forward = QTimeLine::Forward, Backward = QTimeLine::Backward}; +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; } + int currentFrame(QTimeLine* theWrappedObject) const; + int currentTime(QTimeLine* theWrappedObject) const; + qreal currentValue(QTimeLine* theWrappedObject) const; + QTimeLine::CurveShape curveShape(QTimeLine* theWrappedObject) const; + QTimeLine::Direction direction(QTimeLine* theWrappedObject) const; + int duration(QTimeLine* theWrappedObject) const; + QEasingCurve easingCurve(QTimeLine* theWrappedObject) const; + int endFrame(QTimeLine* theWrappedObject) const; + int frameForTime(QTimeLine* theWrappedObject, int msec) const; + int loopCount(QTimeLine* theWrappedObject) const; + void setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape); + void setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction); + void setDuration(QTimeLine* theWrappedObject, int duration); + void setEasingCurve(QTimeLine* theWrappedObject, const QEasingCurve& curve); + void setEndFrame(QTimeLine* theWrappedObject, int frame); + void setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame); + void setLoopCount(QTimeLine* theWrappedObject, int count); + void setStartFrame(QTimeLine* theWrappedObject, int frame); + void setUpdateInterval(QTimeLine* theWrappedObject, int interval); + int startFrame(QTimeLine* theWrappedObject) const; + QTimeLine::State state(QTimeLine* theWrappedObject) const; + void py_q_timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->py_q_timerEvent(event));} + int updateInterval(QTimeLine* theWrappedObject) const; + qreal valueForTime(QTimeLine* theWrappedObject, int msec) const; + qreal py_q_valueForTime(QTimeLine* theWrappedObject, int msec) const{ return (((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->py_q_valueForTime(msec));} +}; + + + + + +class PythonQtWrapper_QTimeZone : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NameType TimeType ) +enum NameType{ + DefaultName = QTimeZone::DefaultName, LongName = QTimeZone::LongName, ShortName = QTimeZone::ShortName, OffsetName = QTimeZone::OffsetName}; +enum TimeType{ + StandardTime = QTimeZone::StandardTime, DaylightTime = QTimeZone::DaylightTime, GenericTime = QTimeZone::GenericTime}; +public slots: +QTimeZone* new_QTimeZone(); +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; } + QString abbreviation(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + QList static_QTimeZone_availableTimeZoneIds(); + QList static_QTimeZone_availableTimeZoneIds(QLocale::Country country); + QList static_QTimeZone_availableTimeZoneIds(int offsetSeconds); + QString comment(QTimeZone* theWrappedObject) const; + QLocale::Country country(QTimeZone* theWrappedObject) const; + int daylightTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + QString displayName(QTimeZone* theWrappedObject, QTimeZone::TimeType timeType, QTimeZone::NameType nameType = QTimeZone::DefaultName, const QLocale& locale = QLocale()) const; + QString displayName(QTimeZone* theWrappedObject, const QDateTime& atDateTime, QTimeZone::NameType nameType = QTimeZone::DefaultName, const QLocale& locale = QLocale()) const; + bool hasDaylightTime(QTimeZone* theWrappedObject) const; + bool hasTransitions(QTimeZone* theWrappedObject) const; + QByteArray static_QTimeZone_ianaIdToWindowsId(const QByteArray& ianaId); + QByteArray id(QTimeZone* theWrappedObject) const; + bool isDaylightTime(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + bool static_QTimeZone_isTimeZoneIdAvailable(const QByteArray& ianaId); + bool isValid(QTimeZone* theWrappedObject) const; + int offsetFromUtc(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + bool __ne__(QTimeZone* theWrappedObject, const QTimeZone& other) const; + void writeTo(QTimeZone* theWrappedObject, QDataStream& ds); + QTimeZone* operator_assign(QTimeZone* theWrappedObject, const QTimeZone& other); + bool __eq__(QTimeZone* theWrappedObject, const QTimeZone& other) const; + void readFrom(QTimeZone* theWrappedObject, QDataStream& ds); + int standardTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + void swap(QTimeZone* theWrappedObject, QTimeZone& other); + QTimeZone static_QTimeZone_systemTimeZone(); + QByteArray static_QTimeZone_systemTimeZoneId(); + QTimeZone static_QTimeZone_utc(); + QByteArray static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId); + QByteArray static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId, QLocale::Country country); + QList static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId); + QList static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId, QLocale::Country country); + QString py_toString(QTimeZone*); + bool __nonzero__(QTimeZone* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTimer : public QTimer +{ +public: + PythonQtShell_QTimer(QObject* parent = nullptr):QTimer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimer() 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* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTimer : public QTimer +{ public: +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QTimer::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QTimer : public QObject +{ Q_OBJECT +public: +public slots: +QTimer* new_QTimer(QObject* parent = nullptr); +void delete_QTimer(QTimer* obj) { delete obj; } + int interval(QTimer* theWrappedObject) const; + bool isActive(QTimer* theWrappedObject) const; + bool isSingleShot(QTimer* theWrappedObject) const; + int remainingTime(QTimer* theWrappedObject) const; + void setInterval(QTimer* theWrappedObject, int msec); + void setSingleShot(QTimer* theWrappedObject, bool singleShot); + void setTimerType(QTimer* theWrappedObject, Qt::TimerType atype); + void static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member); + void static_QTimer_singleShot(int msec, const QObject* receiver, const char* member); + void py_q_timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QTimer*)theWrappedObject)->py_q_timerEvent(arg__1));} + int timerId(QTimer* theWrappedObject) const; + Qt::TimerType timerType(QTimer* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.cpp new file mode 100644 index 00000000..da4a1faf --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.cpp @@ -0,0 +1,1237 @@ +#include "com_trolltech_qt_core4.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QTimerEvent::~PythonQtShell_QTimerEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTimerEvent* PythonQtWrapper_QTimerEvent::new_QTimerEvent(int timerId) +{ +return new PythonQtShell_QTimerEvent(timerId); } + +int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const +{ + return ( theWrappedObject->timerId()); +} + + + +PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTranslator::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(); + } + } +} + QTranslator::childEvent(event0); +} +void PythonQtShell_QTranslator::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(); + } + } +} + QTranslator::customEvent(event0); +} +bool PythonQtShell_QTranslator::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 QTranslator::event(event0); +} +bool PythonQtShell_QTranslator::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 QTranslator::eventFilter(watched0, event1); +} +bool PythonQtShell_QTranslator::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTranslator::isEmpty(); +} +void PythonQtShell_QTranslator::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(); + } + } +} + QTranslator::timerEvent(event0); +} +QString PythonQtShell_QTranslator::translate(const char* context0, const char* sourceText1, const char* disambiguation2, int n3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("translate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("translate", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTranslator::translate(context0, sourceText1, disambiguation2, n3); +} +QTranslator* PythonQtWrapper_QTranslator::new_QTranslator(QObject* parent) +{ +return new PythonQtShell_QTranslator(parent); } + +const QMetaObject* PythonQtShell_QTranslator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTranslator::staticMetaObject); + } else { + return &QTranslator::staticMetaObject; + } +} +int PythonQtShell_QTranslator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTranslator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QTranslator::filePath(QTranslator* theWrappedObject) const +{ + return ( theWrappedObject->filePath()); +} + +bool PythonQtWrapper_QTranslator::isEmpty(QTranslator* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QString PythonQtWrapper_QTranslator::language(QTranslator* theWrappedObject) const +{ + return ( theWrappedObject->language()); +} + +bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const QLocale& locale, const QString& filename, const QString& prefix, const QString& directory, const QString& suffix) +{ + return ( theWrappedObject->load(locale, filename, prefix, directory, suffix)); +} + +bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const QString& filename, const QString& directory, const QString& search_delimiters, const QString& suffix) +{ + return ( theWrappedObject->load(filename, directory, search_delimiters, suffix)); +} + +bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const uchar* data, int len, const QString& directory) +{ + return ( theWrappedObject->load(data, len, directory)); +} + +QString PythonQtWrapper_QTranslator::translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* disambiguation, int n) const +{ + return ( theWrappedObject->translate(context, sourceText, disambiguation, n)); +} + + + +QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery() +{ +return new QUrlQuery(); } + +QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery(const QString& queryString) +{ +return new QUrlQuery(queryString); } + +QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery(const QUrl& url) +{ +return new QUrlQuery(url); } + +QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery(const QUrlQuery& other) +{ +return new QUrlQuery(other); } + +void PythonQtWrapper_QUrlQuery::addQueryItem(QUrlQuery* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->addQueryItem(key, value)); +} + +QStringList PythonQtWrapper_QUrlQuery::allQueryItemValues(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->allQueryItemValues(key, encoding)); +} + +void PythonQtWrapper_QUrlQuery::clear(QUrlQuery* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryPairDelimiter() +{ + return (QUrlQuery::defaultQueryPairDelimiter()); +} + +QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryValueDelimiter() +{ + return (QUrlQuery::defaultQueryValueDelimiter()); +} + +bool PythonQtWrapper_QUrlQuery::hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->hasQueryItem(key)); +} + +bool PythonQtWrapper_QUrlQuery::isEmpty(QUrlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QUrlQuery::__ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QUrlQuery* PythonQtWrapper_QUrlQuery::operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QUrlQuery::__eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QUrlQuery::query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->query(encoding)); +} + +QString PythonQtWrapper_QUrlQuery::queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->queryItemValue(key, encoding)); +} + +QList > PythonQtWrapper_QUrlQuery::queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->queryItems(encoding)); +} + +QChar PythonQtWrapper_QUrlQuery::queryPairDelimiter(QUrlQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryPairDelimiter()); +} + +QChar PythonQtWrapper_QUrlQuery::queryValueDelimiter(QUrlQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryValueDelimiter()); +} + +void PythonQtWrapper_QUrlQuery::removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeAllQueryItems(key)); +} + +void PythonQtWrapper_QUrlQuery::removeQueryItem(QUrlQuery* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeQueryItem(key)); +} + +void PythonQtWrapper_QUrlQuery::setQuery(QUrlQuery* theWrappedObject, const QString& queryString) +{ + ( theWrappedObject->setQuery(queryString)); +} + +void PythonQtWrapper_QUrlQuery::setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter) +{ + ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); +} + +void PythonQtWrapper_QUrlQuery::setQueryItems(QUrlQuery* theWrappedObject, const QList >& query) +{ + ( theWrappedObject->setQueryItems(query)); +} + +void PythonQtWrapper_QUrlQuery::swap(QUrlQuery* theWrappedObject, QUrlQuery& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QUrlQuery::toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->toString(encoding)); +} + +QString PythonQtWrapper_QUrlQuery::py_toString(QUrlQuery* obj) { return obj->toString(); } + + +PythonQtShell_QUuid::~PythonQtShell_QUuid() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QUuid* PythonQtWrapper_QUuid::new_QUuid() +{ +return new PythonQtShell_QUuid(); } + +QUuid* PythonQtWrapper_QUuid::new_QUuid(const QByteArray& arg__1) +{ +return new PythonQtShell_QUuid(arg__1); } + +QUuid* PythonQtWrapper_QUuid::new_QUuid(const QString& arg__1) +{ +return new PythonQtShell_QUuid(arg__1); } + +QUuid* PythonQtWrapper_QUuid::new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8) +{ +return new PythonQtShell_QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8); } + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuid() +{ + return (QUuid::createUuid()); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData) +{ + return (QUuid::createUuidV3(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData) +{ + return (QUuid::createUuidV3(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData) +{ + return (QUuid::createUuidV5(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QString& baseData) +{ + return (QUuid::createUuidV5(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_fromRfc4122(const QByteArray& arg__1) +{ + return (QUuid::fromRfc4122(arg__1)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_fromString(QLatin1String string) +{ + return (QUuid::fromString(string)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_fromString(QStringView string) +{ + return (QUuid::fromString(string)); +} + +bool PythonQtWrapper_QUuid::isNull(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QUuid::__ne__(QUuid* theWrappedObject, const QUuid& orig) const +{ + return ( (*theWrappedObject)!= orig); +} + +bool PythonQtWrapper_QUuid::__lt__(QUuid* theWrappedObject, const QUuid& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QUuid::writeTo(QUuid* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QUuid::__le__(QUuid* theWrappedObject, const QUuid& rhs) +{ + return ( (*theWrappedObject)<= rhs); +} + +bool PythonQtWrapper_QUuid::__eq__(QUuid* theWrappedObject, const QUuid& orig) const +{ + return ( (*theWrappedObject)== orig); +} + +bool PythonQtWrapper_QUuid::__gt__(QUuid* theWrappedObject, const QUuid& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QUuid::__ge__(QUuid* theWrappedObject, const QUuid& rhs) +{ + return ( (*theWrappedObject)>= rhs); +} + +void PythonQtWrapper_QUuid::readFrom(QUuid* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toByteArray()); +} + +QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject, QUuid::StringFormat mode) const +{ + return ( theWrappedObject->toByteArray(mode)); +} + +QByteArray PythonQtWrapper_QUuid::toRfc4122(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toRfc4122()); +} + +QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject, QUuid::StringFormat mode) const +{ + return ( theWrappedObject->toString(mode)); +} + +QUuid::Variant PythonQtWrapper_QUuid::variant(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->variant()); +} + +QUuid::Version PythonQtWrapper_QUuid::version(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QUuid::py_toString(QUuid* obj) { return obj->toString(); } + + +PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QVariantAnimation::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(); + } + } +} + QVariantAnimation::childEvent(event0); +} +void PythonQtShell_QVariantAnimation::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(); + } + } +} + QVariantAnimation::customEvent(event0); +} +int PythonQtShell_QVariantAnimation::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + 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("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariantAnimation::duration(); +} +bool PythonQtShell_QVariantAnimation::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 QVariantAnimation::event(event0); +} +bool PythonQtShell_QVariantAnimation::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 QVariantAnimation::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("interpolated"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariantAnimation::interpolated(from0, to1, progress2); +} +void PythonQtShell_QVariantAnimation::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(); + } + } +} + QVariantAnimation::timerEvent(event0); +} +void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVariantAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVariantAnimation::updateCurrentValue(value0); +} +void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVariantAnimation::updateDirection(direction0); +} +void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVariantAnimation::updateState(newState0, oldState1); +} +QVariantAnimation* PythonQtWrapper_QVariantAnimation::new_QVariantAnimation(QObject* parent) +{ +return new PythonQtShell_QVariantAnimation(parent); } + +const QMetaObject* PythonQtShell_QVariantAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVariantAnimation::staticMetaObject); + } else { + return &QVariantAnimation::staticMetaObject; + } +} +int PythonQtShell_QVariantAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVariantAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QVariant PythonQtWrapper_QVariantAnimation::currentValue(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->currentValue()); +} + +QEasingCurve PythonQtWrapper_QVariantAnimation::easingCurve(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->easingCurve()); +} + +QVariant PythonQtWrapper_QVariantAnimation::endValue(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->endValue()); +} + +QVariant PythonQtWrapper_QVariantAnimation::interpolated(QVariantAnimation* theWrappedObject, const QVariant& from, const QVariant& to, qreal progress) const +{ + return ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_interpolated(from, to, progress)); +} + +QVariant PythonQtWrapper_QVariantAnimation::keyValueAt(QVariantAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->keyValueAt(step)); +} + +QVector > PythonQtWrapper_QVariantAnimation::keyValues(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->keyValues()); +} + +void PythonQtWrapper_QVariantAnimation::setDuration(QVariantAnimation* theWrappedObject, int msecs) +{ + ( theWrappedObject->setDuration(msecs)); +} + +void PythonQtWrapper_QVariantAnimation::setEasingCurve(QVariantAnimation* theWrappedObject, const QEasingCurve& easing) +{ + ( theWrappedObject->setEasingCurve(easing)); +} + +void PythonQtWrapper_QVariantAnimation::setEndValue(QVariantAnimation* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setEndValue(value)); +} + +void PythonQtWrapper_QVariantAnimation::setKeyValueAt(QVariantAnimation* theWrappedObject, qreal step, const QVariant& value) +{ + ( theWrappedObject->setKeyValueAt(step, value)); +} + +void PythonQtWrapper_QVariantAnimation::setKeyValues(QVariantAnimation* theWrappedObject, const QVector >& values) +{ + ( theWrappedObject->setKeyValues(values)); +} + +void PythonQtWrapper_QVariantAnimation::setStartValue(QVariantAnimation* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setStartValue(value)); +} + +QVariant PythonQtWrapper_QVariantAnimation::startValue(QVariantAnimation* theWrappedObject) const +{ + return ( theWrappedObject->startValue()); +} + +void PythonQtWrapper_QVariantAnimation::updateCurrentValue(QVariantAnimation* theWrappedObject, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_updateCurrentValue(value)); +} + + + +QVersionNumber* PythonQtWrapper_QVersionNumber::new_QVersionNumber() +{ +return new QVersionNumber(); } + +QVersionNumber* PythonQtWrapper_QVersionNumber::new_QVersionNumber(const QVector& seg) +{ +return new QVersionNumber(seg); } + +QVersionNumber* PythonQtWrapper_QVersionNumber::new_QVersionNumber(int maj) +{ +return new QVersionNumber(maj); } + +QVersionNumber* PythonQtWrapper_QVersionNumber::new_QVersionNumber(int maj, int min) +{ +return new QVersionNumber(maj, min); } + +QVersionNumber* PythonQtWrapper_QVersionNumber::new_QVersionNumber(int maj, int min, int mic) +{ +return new QVersionNumber(maj, min, mic); } + +QVersionNumber PythonQtWrapper_QVersionNumber::static_QVersionNumber_commonPrefix(const QVersionNumber& v1, const QVersionNumber& v2) +{ + return (QVersionNumber::commonPrefix(v1, v2)); +} + +int PythonQtWrapper_QVersionNumber::static_QVersionNumber_compare(const QVersionNumber& v1, const QVersionNumber& v2) +{ + return (QVersionNumber::compare(v1, v2)); +} + +QVersionNumber PythonQtWrapper_QVersionNumber::static_QVersionNumber_fromString(const QString& string, int* suffixIndex) +{ + return (QVersionNumber::fromString(string, suffixIndex)); +} + +bool PythonQtWrapper_QVersionNumber::isNormalized(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->isNormalized()); +} + +bool PythonQtWrapper_QVersionNumber::isNull(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QVersionNumber::isPrefixOf(QVersionNumber* theWrappedObject, const QVersionNumber& other) const +{ + return ( theWrappedObject->isPrefixOf(other)); +} + +int PythonQtWrapper_QVersionNumber::majorVersion(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->majorVersion()); +} + +int PythonQtWrapper_QVersionNumber::microVersion(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->microVersion()); +} + +int PythonQtWrapper_QVersionNumber::minorVersion(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->minorVersion()); +} + +QVersionNumber PythonQtWrapper_QVersionNumber::normalized(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +bool PythonQtWrapper_QVersionNumber::__ne__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +bool PythonQtWrapper_QVersionNumber::__lt__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs) +{ + return ( (*theWrappedObject)< rhs); +} + +void PythonQtWrapper_QVersionNumber::writeTo(QVersionNumber* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +bool PythonQtWrapper_QVersionNumber::__le__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs) +{ + return ( (*theWrappedObject)<= rhs); +} + +bool PythonQtWrapper_QVersionNumber::__eq__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +bool PythonQtWrapper_QVersionNumber::__gt__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs) +{ + return ( (*theWrappedObject)> rhs); +} + +bool PythonQtWrapper_QVersionNumber::__ge__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs) +{ + return ( (*theWrappedObject)>= rhs); +} + +void PythonQtWrapper_QVersionNumber::readFrom(QVersionNumber* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +int PythonQtWrapper_QVersionNumber::segmentAt(QVersionNumber* theWrappedObject, int index) const +{ + return ( theWrappedObject->segmentAt(index)); +} + +int PythonQtWrapper_QVersionNumber::segmentCount(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->segmentCount()); +} + +QVector PythonQtWrapper_QVersionNumber::segments(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->segments()); +} + +QString PythonQtWrapper_QVersionNumber::toString(QVersionNumber* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QVersionNumber::py_toString(QVersionNumber* obj) { return obj->toString(); } + + +QWaitCondition* PythonQtWrapper_QWaitCondition::new_QWaitCondition() +{ +return new QWaitCondition(); } + +void PythonQtWrapper_QWaitCondition::notify_all(QWaitCondition* theWrappedObject) +{ + ( theWrappedObject->notify_all()); +} + +void PythonQtWrapper_QWaitCondition::notify_one(QWaitCondition* theWrappedObject) +{ + ( theWrappedObject->notify_one()); +} + +bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, QDeadlineTimer deadline) +{ + return ( theWrappedObject->wait(lockedMutex, deadline)); +} + +bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, unsigned long time) +{ + return ( theWrappedObject->wait(lockedMutex, time)); +} + +bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, QDeadlineTimer deadline) +{ + return ( theWrappedObject->wait(lockedReadWriteLock, deadline)); +} + +bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, unsigned long time) +{ + return ( theWrappedObject->wait(lockedReadWriteLock, time)); +} + +void PythonQtWrapper_QWaitCondition::wakeAll(QWaitCondition* theWrappedObject) +{ + ( theWrappedObject->wakeAll()); +} + +void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) +{ + ( theWrappedObject->wakeOne()); +} + + + +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); } +} +QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resolveEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlStreamEntityResolver::resolveEntity(publicId0, systemId1); +} +QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resolveUndeclaredEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveUndeclaredEntity", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlStreamEntityResolver::resolveUndeclaredEntity(name0); +} +QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamEntityResolver::new_QXmlStreamEntityResolver() +{ +return new PythonQtShell_QXmlStreamEntityResolver(); } + +QString PythonQtWrapper_QXmlStreamEntityResolver::resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId) +{ + return ( theWrappedObject->resolveEntity(publicId, systemId)); +} + +QString PythonQtWrapper_QXmlStreamEntityResolver::resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->resolveUndeclaredEntity(name)); +} + + + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.h b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.h new file mode 100644 index 00000000..07268f75 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core4.h @@ -0,0 +1,420 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QTimerEvent : public QTimerEvent +{ +public: + PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimerEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTimerEvent : public QObject +{ Q_OBJECT +public: +public slots: +QTimerEvent* new_QTimerEvent(int timerId); +void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } + int timerId(QTimerEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTranslator : public QTranslator +{ +public: + PythonQtShell_QTranslator(QObject* parent = nullptr):QTranslator(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTranslator() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTranslator : public QTranslator +{ public: +inline bool py_q_isEmpty() const { return QTranslator::isEmpty(); } +inline QString py_q_translate(const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const { return QTranslator::translate(context, sourceText, disambiguation, n); } +}; + +class PythonQtWrapper_QTranslator : public QObject +{ Q_OBJECT +public: +public slots: +QTranslator* new_QTranslator(QObject* parent = nullptr); +void delete_QTranslator(QTranslator* obj) { delete obj; } + QString filePath(QTranslator* theWrappedObject) const; + bool isEmpty(QTranslator* theWrappedObject) const; + bool py_q_isEmpty(QTranslator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->py_q_isEmpty());} + QString language(QTranslator* theWrappedObject) const; + bool load(QTranslator* theWrappedObject, const QLocale& locale, const QString& filename, const QString& prefix = QString(), const QString& directory = QString(), const QString& suffix = QString()); + bool load(QTranslator* theWrappedObject, const QString& filename, const QString& directory = QString(), const QString& search_delimiters = QString(), const QString& suffix = QString()); + bool load(QTranslator* theWrappedObject, const uchar* data, int len, const QString& directory = QString()); + QString translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const; + QString py_q_translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const{ return (((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->py_q_translate(context, sourceText, disambiguation, n));} + bool __nonzero__(QTranslator* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QUrlQuery : public QObject +{ Q_OBJECT +public: +public slots: +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 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); + QChar static_QUrlQuery_defaultQueryPairDelimiter(); + QChar static_QUrlQuery_defaultQueryValueDelimiter(); + bool hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const; + bool isEmpty(QUrlQuery* theWrappedObject) const; + bool __ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const; + QUrlQuery* operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other); + bool __eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const; + QString query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QString queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QList > queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QChar queryPairDelimiter(QUrlQuery* theWrappedObject) const; + QChar queryValueDelimiter(QUrlQuery* theWrappedObject) const; + void removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key); + void removeQueryItem(QUrlQuery* theWrappedObject, const QString& key); + void setQuery(QUrlQuery* theWrappedObject, const QString& queryString); + void setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter); + void setQueryItems(QUrlQuery* theWrappedObject, const QList >& query); + void swap(QUrlQuery* theWrappedObject, QUrlQuery& other); + QString toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QString py_toString(QUrlQuery*); + bool __nonzero__(QUrlQuery* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QUuid : public QUuid +{ +public: + 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; +}; + +class PythonQtWrapper_QUuid : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StringFormat Variant Version ) +enum StringFormat{ + WithBraces = QUuid::WithBraces, WithoutBraces = QUuid::WithoutBraces, Id128 = QUuid::Id128}; +enum Variant{ + VarUnknown = QUuid::VarUnknown, NCS = QUuid::NCS, DCE = QUuid::DCE, Microsoft = QUuid::Microsoft, Reserved = QUuid::Reserved}; +enum Version{ + VerUnknown = QUuid::VerUnknown, Time = QUuid::Time, EmbeddedPOSIX = QUuid::EmbeddedPOSIX, Md5 = QUuid::Md5, Name = QUuid::Name, Random = QUuid::Random, Sha1 = QUuid::Sha1}; +public slots: +QUuid* new_QUuid(); +QUuid* new_QUuid(const QByteArray& arg__1); +QUuid* new_QUuid(const QString& arg__1); +QUuid* new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8); +QUuid* new_QUuid(const QUuid& other) { +PythonQtShell_QUuid* a = new PythonQtShell_QUuid(); +*((QUuid*)a) = other; +return a; } +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); + QUuid static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData); + QUuid static_QUuid_createUuidV5(const QUuid& ns, const QString& baseData); + QUuid static_QUuid_fromRfc4122(const QByteArray& arg__1); + QUuid static_QUuid_fromString(QLatin1String string); + QUuid static_QUuid_fromString(QStringView string); + bool isNull(QUuid* theWrappedObject) const; + bool __ne__(QUuid* theWrappedObject, const QUuid& orig) const; + bool __lt__(QUuid* theWrappedObject, const QUuid& other) const; + void writeTo(QUuid* theWrappedObject, QDataStream& arg__1); + bool __le__(QUuid* theWrappedObject, const QUuid& rhs); + bool __eq__(QUuid* theWrappedObject, const QUuid& orig) const; + bool __gt__(QUuid* theWrappedObject, const QUuid& other) const; + bool __ge__(QUuid* theWrappedObject, const QUuid& rhs); + void readFrom(QUuid* theWrappedObject, QDataStream& arg__1); + QByteArray toByteArray(QUuid* theWrappedObject) const; + QByteArray toByteArray(QUuid* theWrappedObject, QUuid::StringFormat mode) const; + QByteArray toRfc4122(QUuid* theWrappedObject) const; + QString toString(QUuid* theWrappedObject) const; + QString toString(QUuid* theWrappedObject, QUuid::StringFormat mode) const; + QUuid::Variant variant(QUuid* theWrappedObject) const; + QUuid::Version version(QUuid* theWrappedObject) const; + QString py_toString(QUuid*); + bool __nonzero__(QUuid* obj) { return !obj->isNull(); } +void py_set_data1(QUuid* theWrappedObject, uint data1){ theWrappedObject->data1 = data1; } +uint py_get_data1(QUuid* theWrappedObject){ return theWrappedObject->data1; } +void py_set_data2(QUuid* theWrappedObject, ushort data2){ theWrappedObject->data2 = data2; } +ushort py_get_data2(QUuid* theWrappedObject){ return theWrappedObject->data2; } +void py_set_data3(QUuid* theWrappedObject, ushort data3){ theWrappedObject->data3 = data3; } +ushort py_get_data3(QUuid* theWrappedObject){ return theWrappedObject->data3; } +}; + + + + + +class PythonQtShell_QVariantAnimation : public QVariantAnimation +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline QVariant promoted_interpolated(const QVariant& from, const QVariant& to, qreal progress) const { return this->interpolated(from, to, progress); } +inline void promoted_updateCurrentTime(int arg__1) { this->updateCurrentTime(arg__1); } +inline void promoted_updateCurrentValue(const QVariant& value) { this->updateCurrentValue(value); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline int py_q_duration() const { return QVariantAnimation::duration(); } +inline bool py_q_event(QEvent* event) { return QVariantAnimation::event(event); } +inline QVariant py_q_interpolated(const QVariant& from, const QVariant& to, qreal progress) const { return QVariantAnimation::interpolated(from, to, progress); } +inline void py_q_updateCurrentTime(int arg__1) { QVariantAnimation::updateCurrentTime(arg__1); } +inline void py_q_updateCurrentValue(const QVariant& value) { QVariantAnimation::updateCurrentValue(value); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QVariantAnimation::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QVariantAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QVariantAnimation* new_QVariantAnimation(QObject* parent = nullptr); +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; + QVariant endValue(QVariantAnimation* theWrappedObject) const; + bool py_q_event(QVariantAnimation* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->py_q_event(event));} + QVariant interpolated(QVariantAnimation* theWrappedObject, const QVariant& from, const QVariant& to, qreal progress) const; + QVariant py_q_interpolated(QVariantAnimation* theWrappedObject, const QVariant& from, const QVariant& to, qreal progress) const{ return (((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->py_q_interpolated(from, to, progress));} + QVariant keyValueAt(QVariantAnimation* theWrappedObject, qreal step) const; + QVector > keyValues(QVariantAnimation* theWrappedObject) const; + void setDuration(QVariantAnimation* theWrappedObject, int msecs); + void setEasingCurve(QVariantAnimation* theWrappedObject, const QEasingCurve& easing); + void setEndValue(QVariantAnimation* theWrappedObject, const QVariant& value); + void setKeyValueAt(QVariantAnimation* theWrappedObject, qreal step, const QVariant& value); + void setKeyValues(QVariantAnimation* theWrappedObject, const QVector >& values); + void setStartValue(QVariantAnimation* theWrappedObject, const QVariant& value); + QVariant startValue(QVariantAnimation* theWrappedObject) const; + void py_q_updateCurrentTime(QVariantAnimation* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->py_q_updateCurrentTime(arg__1));} + void updateCurrentValue(QVariantAnimation* theWrappedObject, const QVariant& value); + void py_q_updateCurrentValue(QVariantAnimation* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->py_q_updateCurrentValue(value));} + void py_q_updateState(QVariantAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtWrapper_QVersionNumber : public QObject +{ Q_OBJECT +public: +public slots: +QVersionNumber* new_QVersionNumber(); +QVersionNumber* new_QVersionNumber(const QVector& seg); +QVersionNumber* new_QVersionNumber(int maj); +QVersionNumber* new_QVersionNumber(int maj, int min); +QVersionNumber* new_QVersionNumber(int maj, int min, int mic); +QVersionNumber* new_QVersionNumber(const QVersionNumber& other) { +QVersionNumber* a = new QVersionNumber(); +*((QVersionNumber*)a) = other; +return a; } +void delete_QVersionNumber(QVersionNumber* obj) { delete obj; } + QVersionNumber static_QVersionNumber_commonPrefix(const QVersionNumber& v1, const QVersionNumber& v2); + int static_QVersionNumber_compare(const QVersionNumber& v1, const QVersionNumber& v2); + QVersionNumber static_QVersionNumber_fromString(const QString& string, int* suffixIndex = nullptr); + bool isNormalized(QVersionNumber* theWrappedObject) const; + bool isNull(QVersionNumber* theWrappedObject) const; + bool isPrefixOf(QVersionNumber* theWrappedObject, const QVersionNumber& other) const; + int majorVersion(QVersionNumber* theWrappedObject) const; + int microVersion(QVersionNumber* theWrappedObject) const; + int minorVersion(QVersionNumber* theWrappedObject) const; + QVersionNumber normalized(QVersionNumber* theWrappedObject) const; + bool __ne__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs); + bool __lt__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs); + void writeTo(QVersionNumber* theWrappedObject, QDataStream& out); + bool __le__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs); + bool __eq__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs); + bool __gt__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs); + bool __ge__(QVersionNumber* theWrappedObject, const QVersionNumber& rhs); + void readFrom(QVersionNumber* theWrappedObject, QDataStream& in); + int segmentAt(QVersionNumber* theWrappedObject, int index) const; + int segmentCount(QVersionNumber* theWrappedObject) const; + QVector segments(QVersionNumber* theWrappedObject) const; + QString toString(QVersionNumber* theWrappedObject) const; + QString py_toString(QVersionNumber*); + bool __nonzero__(QVersionNumber* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QWaitCondition : public QObject +{ Q_OBJECT +public: +public slots: +QWaitCondition* new_QWaitCondition(); +void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } + void notify_all(QWaitCondition* theWrappedObject); + void notify_one(QWaitCondition* theWrappedObject); + bool wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::Forever)); + bool wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, unsigned long time); + bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::Forever)); + bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, unsigned long time); + void wakeAll(QWaitCondition* theWrappedObject); + void wakeOne(QWaitCondition* theWrappedObject); +}; + + + + + +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(nullptr) {}; + + ~PythonQtShell_QXmlStreamEntityResolver() override; + +QString resolveEntity(const QString& publicId, const QString& systemId) override; +QString resolveUndeclaredEntity(const QString& name) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlStreamEntityResolver : public QXmlStreamEntityResolver +{ public: +inline QString py_q_resolveEntity(const QString& publicId, const QString& systemId) { return QXmlStreamEntityResolver::resolveEntity(publicId, systemId); } +inline QString py_q_resolveUndeclaredEntity(const QString& name) { return QXmlStreamEntityResolver::resolveUndeclaredEntity(name); } +}; + +class PythonQtWrapper_QXmlStreamEntityResolver : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamEntityResolver* new_QXmlStreamEntityResolver(); +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); + QString py_q_resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QXmlStreamEntityResolver*)theWrappedObject)->py_q_resolveUndeclaredEntity(name));} +}; + + + + + +class PythonQtWrapper_QtCore : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QCborKnownTags QCborSimpleType QCborTag QtMsgType ) +enum class QCborKnownTags{ + DateTimeString = static_cast(::QCborKnownTags::DateTimeString), UnixTime_t = static_cast(::QCborKnownTags::UnixTime_t), PositiveBignum = static_cast(::QCborKnownTags::PositiveBignum), NegativeBignum = static_cast(::QCborKnownTags::NegativeBignum), Decimal = static_cast(::QCborKnownTags::Decimal), Bigfloat = static_cast(::QCborKnownTags::Bigfloat), COSE_Encrypt0 = static_cast(::QCborKnownTags::COSE_Encrypt0), COSE_Mac0 = static_cast(::QCborKnownTags::COSE_Mac0), COSE_Sign1 = static_cast(::QCborKnownTags::COSE_Sign1), ExpectedBase64url = static_cast(::QCborKnownTags::ExpectedBase64url), ExpectedBase64 = static_cast(::QCborKnownTags::ExpectedBase64), ExpectedBase16 = static_cast(::QCborKnownTags::ExpectedBase16), EncodedCbor = static_cast(::QCborKnownTags::EncodedCbor), Url = static_cast(::QCborKnownTags::Url), Base64url = static_cast(::QCborKnownTags::Base64url), Base64 = static_cast(::QCborKnownTags::Base64), RegularExpression = static_cast(::QCborKnownTags::RegularExpression), MimeMessage = static_cast(::QCborKnownTags::MimeMessage), Uuid = static_cast(::QCborKnownTags::Uuid), COSE_Encrypt = static_cast(::QCborKnownTags::COSE_Encrypt), COSE_Mac = static_cast(::QCborKnownTags::COSE_Mac), COSE_Sign = static_cast(::QCborKnownTags::COSE_Sign), Signature = static_cast(::QCborKnownTags::Signature)}; +enum class QCborSimpleType{ + False = static_cast(::QCborSimpleType::False), True = static_cast(::QCborSimpleType::True), Null = static_cast(::QCborSimpleType::Null), Undefined = static_cast(::QCborSimpleType::Undefined)}; +enum class QCborTag{ +}; +enum QtMsgType{ + QtDebugMsg = ::QtDebugMsg, QtWarningMsg = ::QtWarningMsg, QtCriticalMsg = ::QtCriticalMsg, QtFatalMsg = ::QtFatalMsg, QtInfoMsg = ::QtInfoMsg, QtSystemMsg = ::QtSystemMsg}; +public slots: +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp new file mode 100644 index 00000000..5e8d5df3 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -0,0 +1,190 @@ +#include +#include +#include "com_trolltech_qt_core0.h" +#include "com_trolltech_qt_core1.h" +#include "com_trolltech_qt_core2.h" +#include "com_trolltech_qt_core3.h" +#include "com_trolltech_qt_core4.h" + +static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != nullptr); + QEvent *object = (QEvent *)ptr; + if (object->type() == QEvent::ApplicationStateChange) { + *class_name = "QApplicationStateChangeEvent"; + return (QApplicationStateChangeEvent*)object; + } + if (object->type() == QEvent::ChildAdded || object->type() == QEvent::ChildPolished || object->type() == QEvent::ChildRemoved) { + *class_name = "QChildEvent"; + return (QChildEvent*)object; + } + if (object->type() == QEvent::DeferredDelete) { + *class_name = "QDeferredDeleteEvent"; + return (QDeferredDeleteEvent*)object; + } + if (object->type() == QEvent::DynamicPropertyChange) { + *class_name = "QDynamicPropertyChangeEvent"; + return (QDynamicPropertyChangeEvent*)object; + } + if (object->type() == QEvent::None) { + *class_name = "QEvent"; + return (QEvent*)object; + } + if (object->type() == QEvent::StateMachineSignal) { + *class_name = "QStateMachine__SignalEvent"; + return (QStateMachine::SignalEvent*)object; + } + if (object->type() == QEvent::StateMachineWrapped) { + *class_name = "QStateMachine__WrappedEvent"; + return (QStateMachine::WrappedEvent*)object; + } + if (object->type() == QEvent::Timer) { + *class_name = "QTimerEvent"; + return (QTimerEvent*)object; + } + return nullptr; +} + + +void PythonQt_init_QtCore(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractItemModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractListModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QBasicMutex", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QByteArray::FromBase64Result", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_Multiply|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCalendar", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QCalendar::YearMonthDay", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QCborArray", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCborError", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QCborMap", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCborParserError", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QCborStreamReader", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QCborStreamWriter", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCborValue", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QChildEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +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, 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, 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, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QJsonParseError", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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::Type_RichCompare); +PythonQt::priv()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, PythonQt::Type_RichCompare); +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, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QProcess::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, PythonQt::Type_RichCompare); +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("QRecursiveMutex", "QMutex", "QtCore", PythonQtCreateObject, nullptr, module, 0); +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, 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, 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, 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, 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, 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, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextCodec", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, 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, 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("QVersionNumber", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +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::priv()->registerGlobalNamespace("QtCore", "QtCore", PythonQtCreateObject, PythonQtWrapper_QtCore::staticMetaObject, module); + +PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QCommandLineOption); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QFileInfo); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QMimeType); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QModelIndex); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QPersistentModelIndex); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QStorageInfo); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QCborValue); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri new file mode 100644 index 00000000..181c29c5 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_core_builtin0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_core_builtin0.cpp \ + $$PWD/com_trolltech_qt_core_builtin_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp new file mode 100644 index 00000000..569c8567 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp @@ -0,0 +1,4600 @@ +#include "com_trolltech_qt_core_builtin0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QBitArray* PythonQtWrapper_QBitArray::new_QBitArray() +{ +return new QBitArray(); } + +QBitArray* PythonQtWrapper_QBitArray::new_QBitArray(const QBitArray& other) +{ +return new QBitArray(other); } + +QBitArray* PythonQtWrapper_QBitArray::new_QBitArray(int size, bool val) +{ +return new QBitArray(size, val); } + +bool PythonQtWrapper_QBitArray::at(QBitArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +const char* PythonQtWrapper_QBitArray::bits(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->bits()); +} + +void PythonQtWrapper_QBitArray::clear(QBitArray* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QBitArray::clearBit(QBitArray* theWrappedObject, int i) +{ + ( theWrappedObject->clearBit(i)); +} + +int PythonQtWrapper_QBitArray::count(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QBitArray::count(QBitArray* theWrappedObject, bool on) const +{ + return ( theWrappedObject->count(on)); +} + +void PythonQtWrapper_QBitArray::fill(QBitArray* theWrappedObject, bool val, int first, int last) +{ + ( theWrappedObject->fill(val, first, last)); +} + +bool PythonQtWrapper_QBitArray::fill(QBitArray* theWrappedObject, bool val, int size) +{ + return ( theWrappedObject->fill(val, size)); +} + +QBitArray PythonQtWrapper_QBitArray::static_QBitArray_fromBits(const char* data, qsizetype len) +{ + return (QBitArray::fromBits(data, len)); +} + +bool PythonQtWrapper_QBitArray::isEmpty(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QBitArray::isNull(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QBitArray::__ne__(QBitArray* theWrappedObject, const QBitArray& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QBitArray PythonQtWrapper_QBitArray::__and__(QBitArray* theWrappedObject, const QBitArray& arg__2) +{ + return ( (*theWrappedObject)& arg__2); +} + +QBitArray* PythonQtWrapper_QBitArray::__iand__(QBitArray* theWrappedObject, const QBitArray& arg__1) +{ + return &( (*theWrappedObject)&= arg__1); +} + +void PythonQtWrapper_QBitArray::writeTo(QBitArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QBitArray* PythonQtWrapper_QBitArray::operator_assign(QBitArray* theWrappedObject, const QBitArray& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QBitArray::__eq__(QBitArray* theWrappedObject, const QBitArray& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QBitArray::readFrom(QBitArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QBitArray PythonQtWrapper_QBitArray::__xor__(QBitArray* theWrappedObject, const QBitArray& arg__2) +{ + return ( (*theWrappedObject)^ arg__2); +} + +QBitArray* PythonQtWrapper_QBitArray::__ixor__(QBitArray* theWrappedObject, const QBitArray& arg__1) +{ + return &( (*theWrappedObject)^= arg__1); +} + +QBitArray PythonQtWrapper_QBitArray::__or__(QBitArray* theWrappedObject, const QBitArray& arg__2) +{ + return ( (*theWrappedObject)| arg__2); +} + +QBitArray* PythonQtWrapper_QBitArray::__ior__(QBitArray* theWrappedObject, const QBitArray& arg__1) +{ + return &( (*theWrappedObject)|= arg__1); +} + +QBitArray PythonQtWrapper_QBitArray::__invert__(QBitArray* theWrappedObject) const +{ + return (~ (*theWrappedObject)); +} + +void PythonQtWrapper_QBitArray::resize(QBitArray* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i) +{ + ( theWrappedObject->setBit(i)); +} + +void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i, bool val) +{ + ( theWrappedObject->setBit(i, val)); +} + +int PythonQtWrapper_QBitArray::size(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QBitArray::swap(QBitArray* theWrappedObject, QBitArray& other) +{ + ( theWrappedObject->swap(other)); +} + +bool PythonQtWrapper_QBitArray::testBit(QBitArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->testBit(i)); +} + +bool PythonQtWrapper_QBitArray::toggleBit(QBitArray* theWrappedObject, int i) +{ + return ( theWrappedObject->toggleBit(i)); +} + +void PythonQtWrapper_QBitArray::truncate(QBitArray* theWrappedObject, int pos) +{ + ( theWrappedObject->truncate(pos)); +} + +QString PythonQtWrapper_QBitArray::py_toString(QBitArray* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QByteArray* PythonQtWrapper_QByteArray::new_QByteArray() +{ +return new QByteArray(); } + +QByteArray* PythonQtWrapper_QByteArray::new_QByteArray(const QByteArray& arg__1) +{ +return new QByteArray(arg__1); } + +QByteArray* PythonQtWrapper_QByteArray::new_QByteArray(int size, char c) +{ +return new QByteArray(size, c); } + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, char c) +{ + return &( theWrappedObject->append(c)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QByteArray& a) +{ + return &( theWrappedObject->append(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QString& s) +{ + return &( theWrappedObject->append(s)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const char* s, int len) +{ + return &( theWrappedObject->append(s, len)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, int count, char c) +{ + return &( theWrappedObject->append(count, c)); +} + +char PythonQtWrapper_QByteArray::at(QByteArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +char PythonQtWrapper_QByteArray::back(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->back()); +} + +int PythonQtWrapper_QByteArray::capacity(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QByteArray::chop(QByteArray* theWrappedObject, int n) +{ + ( theWrappedObject->chop(n)); +} + +QByteArray PythonQtWrapper_QByteArray::chopped(QByteArray* theWrappedObject, int len) const +{ + return ( theWrappedObject->chopped(len)); +} + +void PythonQtWrapper_QByteArray::clear(QByteArray* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QByteArray::compare(QByteArray* theWrappedObject, const QByteArray& a, Qt::CaseSensitivity cs) const +{ + return ( theWrappedObject->compare(a, cs)); +} + +int PythonQtWrapper_QByteArray::compare(QByteArray* theWrappedObject, const char* c, Qt::CaseSensitivity cs) const +{ + return ( theWrappedObject->compare(c, cs)); +} + +bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->contains(c)); +} + +bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->contains(a)); +} + +bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const char* a) const +{ + return ( theWrappedObject->contains(a)); +} + +int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->count(c)); +} + +int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->count(a)); +} + +bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->endsWith(c)); +} + +bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->endsWith(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::fill(QByteArray* theWrappedObject, char c, int size) +{ + return &( theWrappedObject->fill(c, size)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromBase64(const QByteArray& base64) +{ + return (QByteArray::fromBase64(base64)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromBase64(const QByteArray& base64, QByteArray::Base64Options options) +{ + return (QByteArray::fromBase64(base64, options)); +} + +QByteArray::FromBase64Result PythonQtWrapper_QByteArray::static_QByteArray_fromBase64Encoding(const QByteArray& base64, QByteArray::Base64Options options) +{ + return (QByteArray::fromBase64Encoding(base64, options)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromHex(const QByteArray& hexEncoded) +{ + return (QByteArray::fromHex(hexEncoded)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent) +{ + return (QByteArray::fromPercentEncoding(pctEncoded, percent)); +} + +char PythonQtWrapper_QByteArray::front(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->front()); +} + +int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, char c, int from) const +{ + return ( theWrappedObject->indexOf(c, from)); +} + +int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, const QByteArray& a, int from) const +{ + return ( theWrappedObject->indexOf(a, from)); +} + +int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, const QString& s, int from) const +{ + return ( theWrappedObject->indexOf(s, from)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, char c) +{ + return &( theWrappedObject->insert(i, c)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const QByteArray& a) +{ + return &( theWrappedObject->insert(i, a)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const QString& s) +{ + return &( theWrappedObject->insert(i, s)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const char* s, int len) +{ + return &( theWrappedObject->insert(i, s, len)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, int count, char c) +{ + return &( theWrappedObject->insert(i, count, c)); +} + +bool PythonQtWrapper_QByteArray::isEmpty(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QByteArray::isLower(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isLower()); +} + +bool PythonQtWrapper_QByteArray::isNull(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QByteArray::isSharedWith(QByteArray* theWrappedObject, const QByteArray& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +bool PythonQtWrapper_QByteArray::isUpper(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isUpper()); +} + +int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, char c, int from) const +{ + return ( theWrappedObject->lastIndexOf(c, from)); +} + +int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, const QByteArray& a, int from) const +{ + return ( theWrappedObject->lastIndexOf(a, from)); +} + +int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, const QString& s, int from) const +{ + return ( theWrappedObject->lastIndexOf(s, from)); +} + +QByteArray PythonQtWrapper_QByteArray::left(QByteArray* theWrappedObject, int len) const +{ + return ( theWrappedObject->left(len)); +} + +QByteArray PythonQtWrapper_QByteArray::leftJustified(QByteArray* theWrappedObject, int width, char fill, bool truncate) const +{ + return ( theWrappedObject->leftJustified(width, fill, truncate)); +} + +int PythonQtWrapper_QByteArray::length(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QByteArray PythonQtWrapper_QByteArray::mid(QByteArray* theWrappedObject, int index, int len) const +{ + return ( theWrappedObject->mid(index, len)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(double arg__1, char f, int prec) +{ + return (QByteArray::number(arg__1, f, prec)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(int arg__1, int base) +{ + return (QByteArray::number(arg__1, base)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(qlonglong arg__1, int base) +{ + 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); +} + +const QByteArray PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)+ a2); +} + +const QString PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, const QString& s) +{ + return ( (*theWrappedObject)+ s); +} + +const QByteArray PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, const char* a2) +{ + return ( (*theWrappedObject)+ a2); +} + +QByteArray* PythonQtWrapper_QByteArray::__iadd__(QByteArray* theWrappedObject, const QByteArray& a) +{ + return &( (*theWrappedObject)+= a); +} + +bool PythonQtWrapper_QByteArray::__lt__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)< a2); +} + +bool PythonQtWrapper_QByteArray::__lt__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)< s2); +} + +void PythonQtWrapper_QByteArray::writeTo(QByteArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QByteArray::__le__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)<= a2); +} + +bool PythonQtWrapper_QByteArray::__le__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)<= s2); +} + +QByteArray* PythonQtWrapper_QByteArray::operator_assign(QByteArray* theWrappedObject, const QByteArray& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QByteArray::__eq__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)== a2); +} + +bool PythonQtWrapper_QByteArray::__eq__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)== s2); +} + +bool PythonQtWrapper_QByteArray::__gt__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)> a2); +} + +bool PythonQtWrapper_QByteArray::__gt__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)> s2); +} + +bool PythonQtWrapper_QByteArray::__ge__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)>= a2); +} + +bool PythonQtWrapper_QByteArray::__ge__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)>= s2); +} + +void PythonQtWrapper_QByteArray::readFrom(QByteArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, char c) +{ + return &( theWrappedObject->prepend(c)); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, const QByteArray& a) +{ + return &( theWrappedObject->prepend(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, const char* s, int len) +{ + return &( theWrappedObject->prepend(s, len)); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, int count, char c) +{ + return &( theWrappedObject->prepend(count, c)); +} + +void PythonQtWrapper_QByteArray::push_back(QByteArray* theWrappedObject, const QByteArray& a) +{ + ( theWrappedObject->push_back(a)); +} + +void PythonQtWrapper_QByteArray::push_front(QByteArray* theWrappedObject, const QByteArray& a) +{ + ( theWrappedObject->push_front(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::remove(QByteArray* theWrappedObject, int index, int len) +{ + return &( theWrappedObject->remove(index, len)); +} + +QByteArray PythonQtWrapper_QByteArray::repeated(QByteArray* theWrappedObject, int times) const +{ + return ( theWrappedObject->repeated(times)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char before, char after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char before, const QByteArray& after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char c, const QString& after) +{ + return &( theWrappedObject->replace(c, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const QByteArray& before, const QByteArray& after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const QString& before, const QByteArray& after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const char* before, int bsize, const char* after, int asize) +{ + return &( theWrappedObject->replace(before, bsize, after, asize)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, int index, int len, const QByteArray& s) +{ + return &( theWrappedObject->replace(index, len, s)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, int index, int len, const char* s, int alen) +{ + return &( theWrappedObject->replace(index, len, s, alen)); +} + +void PythonQtWrapper_QByteArray::reserve(QByteArray* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QByteArray::resize(QByteArray* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +QByteArray PythonQtWrapper_QByteArray::right(QByteArray* theWrappedObject, int len) const +{ + return ( theWrappedObject->right(len)); +} + +QByteArray PythonQtWrapper_QByteArray::rightJustified(QByteArray* theWrappedObject, int width, char fill, bool truncate) const +{ + return ( theWrappedObject->rightJustified(width, fill, truncate)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, double arg__1, char f, int prec) +{ + return &( theWrappedObject->setNum(arg__1, f, prec)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, float arg__1, char f, int prec) +{ + return &( theWrappedObject->setNum(arg__1, f, prec)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, int arg__1, int base) +{ + return &( theWrappedObject->setNum(arg__1, base)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base) +{ + return &( theWrappedObject->setNum(arg__1, base)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, short arg__1, int base) +{ + return &( theWrappedObject->setNum(arg__1, base)); +} + +QByteArray* PythonQtWrapper_QByteArray::setRawData(QByteArray* theWrappedObject, const char* a, uint n) +{ + return &( theWrappedObject->setRawData(a, n)); +} + +void PythonQtWrapper_QByteArray::shrink_to_fit(QByteArray* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +QByteArray PythonQtWrapper_QByteArray::simplified(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->simplified()); +} + +int PythonQtWrapper_QByteArray::size(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QList PythonQtWrapper_QByteArray::split(QByteArray* theWrappedObject, char sep) const +{ + return ( theWrappedObject->split(sep)); +} + +void PythonQtWrapper_QByteArray::squeeze(QByteArray* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->startsWith(c)); +} + +bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->startsWith(a)); +} + +void PythonQtWrapper_QByteArray::swap(QByteArray* theWrappedObject, QByteArray& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QByteArray::toBase64(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toBase64()); +} + +QByteArray PythonQtWrapper_QByteArray::toBase64(QByteArray* theWrappedObject, QByteArray::Base64Options options) const +{ + return ( theWrappedObject->toBase64(options)); +} + +double PythonQtWrapper_QByteArray::toDouble(QByteArray* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->toDouble(ok)); +} + +float PythonQtWrapper_QByteArray::toFloat(QByteArray* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->toFloat(ok)); +} + +QByteArray PythonQtWrapper_QByteArray::toHex(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toHex()); +} + +QByteArray PythonQtWrapper_QByteArray::toHex(QByteArray* theWrappedObject, char separator) const +{ + return ( theWrappedObject->toHex(separator)); +} + +int PythonQtWrapper_QByteArray::toInt(QByteArray* theWrappedObject, bool* ok, int base) const +{ + return ( theWrappedObject->toInt(ok, base)); +} + +QByteArray PythonQtWrapper_QByteArray::toLower(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toLower()); +} + +QByteArray PythonQtWrapper_QByteArray::toPercentEncoding(QByteArray* theWrappedObject, const QByteArray& exclude, const QByteArray& include, char percent) const +{ + return ( theWrappedObject->toPercentEncoding(exclude, include, percent)); +} + +ushort PythonQtWrapper_QByteArray::toUShort(QByteArray* theWrappedObject, bool* ok, int base) const +{ + return ( theWrappedObject->toUShort(ok, base)); +} + +QByteArray PythonQtWrapper_QByteArray::toUpper(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toUpper()); +} + +QByteArray PythonQtWrapper_QByteArray::trimmed(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->trimmed()); +} + +void PythonQtWrapper_QByteArray::truncate(QByteArray* theWrappedObject, int pos) +{ + ( theWrappedObject->truncate(pos)); +} + + + +QDate* PythonQtWrapper_QDate::new_QDate() +{ +return new QDate(); } + +QDate* PythonQtWrapper_QDate::new_QDate(int y, int m, int d) +{ +return new QDate(y, m, d); } + +QDate* PythonQtWrapper_QDate::new_QDate(int y, int m, int d, QCalendar cal) +{ +return new QDate(y, m, d, cal); } + +QDate PythonQtWrapper_QDate::addDays(QDate* theWrappedObject, qint64 days) const +{ + return ( theWrappedObject->addDays(days)); +} + +QDate PythonQtWrapper_QDate::addMonths(QDate* theWrappedObject, int months) const +{ + return ( theWrappedObject->addMonths(months)); +} + +QDate PythonQtWrapper_QDate::addMonths(QDate* theWrappedObject, int months, QCalendar cal) const +{ + return ( theWrappedObject->addMonths(months, cal)); +} + +QDate PythonQtWrapper_QDate::addYears(QDate* theWrappedObject, int years) const +{ + return ( theWrappedObject->addYears(years)); +} + +QDate PythonQtWrapper_QDate::addYears(QDate* theWrappedObject, int years, QCalendar cal) const +{ + return ( theWrappedObject->addYears(years, cal)); +} + +QDate PythonQtWrapper_QDate::static_QDate_currentDate() +{ + return (QDate::currentDate()); +} + +int PythonQtWrapper_QDate::day(QDate* theWrappedObject) const +{ + return ( theWrappedObject->day()); +} + +int PythonQtWrapper_QDate::day(QDate* theWrappedObject, QCalendar cal) const +{ + return ( theWrappedObject->day(cal)); +} + +int PythonQtWrapper_QDate::dayOfWeek(QDate* theWrappedObject) const +{ + return ( theWrappedObject->dayOfWeek()); +} + +int PythonQtWrapper_QDate::dayOfWeek(QDate* theWrappedObject, QCalendar cal) const +{ + return ( theWrappedObject->dayOfWeek(cal)); +} + +int PythonQtWrapper_QDate::dayOfYear(QDate* theWrappedObject) const +{ + return ( theWrappedObject->dayOfYear()); +} + +int PythonQtWrapper_QDate::dayOfYear(QDate* theWrappedObject, QCalendar cal) const +{ + return ( theWrappedObject->dayOfYear(cal)); +} + +int PythonQtWrapper_QDate::daysInMonth(QDate* theWrappedObject) const +{ + return ( theWrappedObject->daysInMonth()); +} + +int PythonQtWrapper_QDate::daysInMonth(QDate* theWrappedObject, QCalendar cal) const +{ + return ( theWrappedObject->daysInMonth(cal)); +} + +int PythonQtWrapper_QDate::daysInYear(QDate* theWrappedObject) const +{ + return ( theWrappedObject->daysInYear()); +} + +int PythonQtWrapper_QDate::daysInYear(QDate* theWrappedObject, QCalendar cal) const +{ + return ( theWrappedObject->daysInYear(cal)); +} + +qint64 PythonQtWrapper_QDate::daysTo(QDate* theWrappedObject, const QDate& arg__1) const +{ + return ( theWrappedObject->daysTo(arg__1)); +} + +QDateTime PythonQtWrapper_QDate::endOfDay(QDate* theWrappedObject, Qt::TimeSpec spec, int offsetSeconds) const +{ + return ( theWrappedObject->endOfDay(spec, offsetSeconds)); +} + +QDateTime PythonQtWrapper_QDate::endOfDay(QDate* theWrappedObject, const QTimeZone& zone) const +{ + return ( theWrappedObject->endOfDay(zone)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromJulianDay(qint64 jd_) +{ + return (QDate::fromJulianDay(jd_)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, Qt::DateFormat f) +{ + return (QDate::fromString(s, f)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, const QString& format) +{ + return (QDate::fromString(s, format)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, const QString& format, QCalendar cal) +{ + return (QDate::fromString(s, format, cal)); +} + +void PythonQtWrapper_QDate::getDate(QDate* theWrappedObject, int* year, int* month, int* day) +{ + ( theWrappedObject->getDate(year, month, day)); +} + +void PythonQtWrapper_QDate::getDate(QDate* theWrappedObject, int* year, int* month, int* day) const +{ + ( theWrappedObject->getDate(year, month, day)); +} + +bool PythonQtWrapper_QDate::static_QDate_isLeapYear(int year) +{ + return (QDate::isLeapYear(year)); +} + +bool PythonQtWrapper_QDate::isNull(QDate* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDate::isValid(QDate* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QDate::static_QDate_isValid(int y, int m, int d) +{ + return (QDate::isValid(y, m, d)); +} + +QString PythonQtWrapper_QDate::static_QDate_longDayName(int weekday, QDate::MonthNameType type) +{ + return (QDate::longDayName(weekday, type)); +} + +QString PythonQtWrapper_QDate::static_QDate_longMonthName(int month, QDate::MonthNameType type) +{ + return (QDate::longMonthName(month, type)); +} + +int PythonQtWrapper_QDate::month(QDate* theWrappedObject) const +{ + return ( theWrappedObject->month()); +} + +int PythonQtWrapper_QDate::month(QDate* theWrappedObject, QCalendar cal) const +{ + return ( theWrappedObject->month(cal)); +} + +bool PythonQtWrapper_QDate::__ne__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QDate::__lt__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QDate::writeTo(QDate* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QDate::__le__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QDate::__eq__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QDate::__gt__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QDate::__ge__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QDate::readFrom(QDate* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QDate::setDate(QDate* theWrappedObject, int year, int month, int day) +{ + return ( theWrappedObject->setDate(year, month, day)); +} + +bool PythonQtWrapper_QDate::setDate(QDate* theWrappedObject, int year, int month, int day, QCalendar cal) +{ + return ( theWrappedObject->setDate(year, month, day, cal)); +} + +QString PythonQtWrapper_QDate::static_QDate_shortDayName(int weekday, QDate::MonthNameType type) +{ + return (QDate::shortDayName(weekday, type)); +} + +QString PythonQtWrapper_QDate::static_QDate_shortMonthName(int month, QDate::MonthNameType type) +{ + return (QDate::shortMonthName(month, type)); +} + +QDateTime PythonQtWrapper_QDate::startOfDay(QDate* theWrappedObject, Qt::TimeSpec spec, int offsetSeconds) const +{ + return ( theWrappedObject->startOfDay(spec, offsetSeconds)); +} + +QDateTime PythonQtWrapper_QDate::startOfDay(QDate* theWrappedObject, const QTimeZone& zone) const +{ + return ( theWrappedObject->startOfDay(zone)); +} + +qint64 PythonQtWrapper_QDate::toJulianDay(QDate* theWrappedObject) const +{ + return ( theWrappedObject->toJulianDay()); +} + +QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, Qt::DateFormat format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, Qt::DateFormat format, QCalendar cal) const +{ + return ( theWrappedObject->toString(format, cal)); +} + +QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, const QString& format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, const QString& format, QCalendar cal) const +{ + return ( theWrappedObject->toString(format, cal)); +} + +int PythonQtWrapper_QDate::weekNumber(QDate* theWrappedObject, int* yearNum) const +{ + return ( theWrappedObject->weekNumber(yearNum)); +} + +int PythonQtWrapper_QDate::year(QDate* theWrappedObject) const +{ + return ( theWrappedObject->year()); +} + +int PythonQtWrapper_QDate::year(QDate* theWrappedObject, QCalendar cal) const +{ + return ( theWrappedObject->year(cal)); +} + +QString PythonQtWrapper_QDate::py_toString(QDate* obj) { return obj->toString(); } + + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime() +{ +return new QDateTime(); } + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& arg__1) +{ +return new QDateTime(arg__1); } + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& arg__1, const QTime& arg__2, Qt::TimeSpec spec) +{ +return new QDateTime(arg__1, arg__2, spec); } + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& date, const QTime& time, Qt::TimeSpec spec, int offsetSeconds) +{ +return new QDateTime(date, time, spec, offsetSeconds); } + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& date, const QTime& time, const QTimeZone& timeZone) +{ +return new QDateTime(date, time, timeZone); } + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDateTime& other) +{ +return new QDateTime(other); } + +QDateTime PythonQtWrapper_QDateTime::addDays(QDateTime* theWrappedObject, qint64 days) const +{ + return ( theWrappedObject->addDays(days)); +} + +QDateTime PythonQtWrapper_QDateTime::addMSecs(QDateTime* theWrappedObject, qint64 msecs) const +{ + return ( theWrappedObject->addMSecs(msecs)); +} + +QDateTime PythonQtWrapper_QDateTime::addMonths(QDateTime* theWrappedObject, int months) const +{ + return ( theWrappedObject->addMonths(months)); +} + +QDateTime PythonQtWrapper_QDateTime::addSecs(QDateTime* theWrappedObject, qint64 secs) const +{ + return ( theWrappedObject->addSecs(secs)); +} + +QDateTime PythonQtWrapper_QDateTime::addYears(QDateTime* theWrappedObject, int years) const +{ + return ( theWrappedObject->addYears(years)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_currentDateTime() +{ + return (QDateTime::currentDateTime()); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_currentDateTimeUtc() +{ + return (QDateTime::currentDateTimeUtc()); +} + +qint64 PythonQtWrapper_QDateTime::static_QDateTime_currentMSecsSinceEpoch() +{ + return (QDateTime::currentMSecsSinceEpoch()); +} + +qint64 PythonQtWrapper_QDateTime::static_QDateTime_currentSecsSinceEpoch() +{ + return (QDateTime::currentSecsSinceEpoch()); +} + +QDate PythonQtWrapper_QDateTime::date(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->date()); +} + +qint64 PythonQtWrapper_QDateTime::daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const +{ + return ( theWrappedObject->daysTo(arg__1)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromMSecsSinceEpoch(qint64 msecs) +{ + return (QDateTime::fromMSecsSinceEpoch(msecs)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetFromUtc) +{ + return (QDateTime::fromMSecsSinceEpoch(msecs, spec, offsetFromUtc)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, const QTimeZone& timeZone) +{ + return (QDateTime::fromMSecsSinceEpoch(msecs, timeZone)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spe, int offsetFromUtc) +{ + return (QDateTime::fromSecsSinceEpoch(secs, spe, offsetFromUtc)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromSecsSinceEpoch(qint64 secs, const QTimeZone& timeZone) +{ + return (QDateTime::fromSecsSinceEpoch(secs, timeZone)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromString(const QString& s, Qt::DateFormat f) +{ + return (QDateTime::fromString(s, f)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromString(const QString& s, const QString& format) +{ + return (QDateTime::fromString(s, format)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromString(const QString& s, const QString& format, QCalendar cal) +{ + return (QDateTime::fromString(s, format, cal)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC) +{ + return (QDateTime::fromTime_t(secsSince1Jan1970UTC)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec, int offsetFromUtc) +{ + return (QDateTime::fromTime_t(secsSince1Jan1970UTC, spec, offsetFromUtc)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, const QTimeZone& timeZone) +{ + return (QDateTime::fromTime_t(secsSince1Jan1970UTC, timeZone)); +} + +bool PythonQtWrapper_QDateTime::isDaylightTime(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isDaylightTime()); +} + +bool PythonQtWrapper_QDateTime::isNull(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDateTime::isValid(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qint64 PythonQtWrapper_QDateTime::msecsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const +{ + return ( theWrappedObject->msecsTo(arg__1)); +} + +int PythonQtWrapper_QDateTime::offsetFromUtc(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->offsetFromUtc()); +} + +bool PythonQtWrapper_QDateTime::__ne__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QDateTime::__lt__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QDateTime::writeTo(QDateTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QDateTime::__le__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QDateTime::__eq__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QDateTime::__gt__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QDateTime::__ge__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QDateTime::readFrom(QDateTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +qint64 PythonQtWrapper_QDateTime::secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const +{ + return ( theWrappedObject->secsTo(arg__1)); +} + +void PythonQtWrapper_QDateTime::setDate(QDateTime* theWrappedObject, const QDate& date) +{ + ( theWrappedObject->setDate(date)); +} + +void PythonQtWrapper_QDateTime::setMSecsSinceEpoch(QDateTime* theWrappedObject, qint64 msecs) +{ + ( theWrappedObject->setMSecsSinceEpoch(msecs)); +} + +void PythonQtWrapper_QDateTime::setOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds) +{ + ( theWrappedObject->setOffsetFromUtc(offsetSeconds)); +} + +void PythonQtWrapper_QDateTime::setSecsSinceEpoch(QDateTime* theWrappedObject, qint64 secs) +{ + ( theWrappedObject->setSecsSinceEpoch(secs)); +} + +void PythonQtWrapper_QDateTime::setTime(QDateTime* theWrappedObject, const QTime& time) +{ + ( theWrappedObject->setTime(time)); +} + +void PythonQtWrapper_QDateTime::setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) +{ + ( theWrappedObject->setTimeSpec(spec)); +} + +void PythonQtWrapper_QDateTime::setTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone) +{ + ( theWrappedObject->setTimeZone(toZone)); +} + +void PythonQtWrapper_QDateTime::setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC) +{ + ( theWrappedObject->setTime_t(secsSince1Jan1970UTC)); +} + +void PythonQtWrapper_QDateTime::setUtcOffset(QDateTime* theWrappedObject, int seconds) +{ + ( theWrappedObject->setUtcOffset(seconds)); +} + +void PythonQtWrapper_QDateTime::swap(QDateTime* theWrappedObject, QDateTime& other) +{ + ( theWrappedObject->swap(other)); +} + +QTime PythonQtWrapper_QDateTime::time(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->time()); +} + +Qt::TimeSpec PythonQtWrapper_QDateTime::timeSpec(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->timeSpec()); +} + +QTimeZone PythonQtWrapper_QDateTime::timeZone(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->timeZone()); +} + +QString PythonQtWrapper_QDateTime::timeZoneAbbreviation(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->timeZoneAbbreviation()); +} + +QDateTime PythonQtWrapper_QDateTime::toLocalTime(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toLocalTime()); +} + +qint64 PythonQtWrapper_QDateTime::toMSecsSinceEpoch(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toMSecsSinceEpoch()); +} + +QDateTime PythonQtWrapper_QDateTime::toOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds) const +{ + return ( theWrappedObject->toOffsetFromUtc(offsetSeconds)); +} + +qint64 PythonQtWrapper_QDateTime::toSecsSinceEpoch(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toSecsSinceEpoch()); +} + +QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, Qt::DateFormat format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, const QString& format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, const QString& format, QCalendar cal) const +{ + return ( theWrappedObject->toString(format, cal)); +} + +QDateTime PythonQtWrapper_QDateTime::toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) const +{ + return ( theWrappedObject->toTimeSpec(spec)); +} + +QDateTime PythonQtWrapper_QDateTime::toTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone) const +{ + return ( theWrappedObject->toTimeZone(toZone)); +} + +uint PythonQtWrapper_QDateTime::toTime_t(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toTime_t()); +} + +QDateTime PythonQtWrapper_QDateTime::toUTC(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toUTC()); +} + +int PythonQtWrapper_QDateTime::utcOffset(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->utcOffset()); +} + +QString PythonQtWrapper_QDateTime::py_toString(QDateTime* obj) { return obj->toString(); } + + +QLine* PythonQtWrapper_QLine::new_QLine() +{ +return new QLine(); } + +QLine* PythonQtWrapper_QLine::new_QLine(const QPoint& pt1, const QPoint& pt2) +{ +return new QLine(pt1, pt2); } + +QLine* PythonQtWrapper_QLine::new_QLine(int x1, int y1, int x2, int y2) +{ +return new QLine(x1, y1, x2, y2); } + +QPoint PythonQtWrapper_QLine::center(QLine* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +int PythonQtWrapper_QLine::dx(QLine* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +int PythonQtWrapper_QLine::dy(QLine* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +bool PythonQtWrapper_QLine::isNull(QLine* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QLine::__ne__(QLine* theWrappedObject, const QLine& d) const +{ + return ( (*theWrappedObject)!= d); +} + +QLine PythonQtWrapper_QLine::__mul__(QLine* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QLine PythonQtWrapper_QLine::__mul__(QLine* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QLine::writeTo(QLine* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QLine::__eq__(QLine* theWrappedObject, const QLine& d) const +{ + return ( (*theWrappedObject)== d); +} + +void PythonQtWrapper_QLine::readFrom(QLine* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPoint PythonQtWrapper_QLine::p1(QLine* theWrappedObject) const +{ + return ( theWrappedObject->p1()); +} + +QPoint PythonQtWrapper_QLine::p2(QLine* theWrappedObject) const +{ + return ( theWrappedObject->p2()); +} + +void PythonQtWrapper_QLine::setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2) +{ + ( theWrappedObject->setLine(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QLine::setP1(QLine* theWrappedObject, const QPoint& p1) +{ + ( theWrappedObject->setP1(p1)); +} + +void PythonQtWrapper_QLine::setP2(QLine* theWrappedObject, const QPoint& p2) +{ + ( theWrappedObject->setP2(p2)); +} + +void PythonQtWrapper_QLine::setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2) +{ + ( theWrappedObject->setPoints(p1, p2)); +} + +void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +int PythonQtWrapper_QLine::x1(QLine* theWrappedObject) const +{ + return ( theWrappedObject->x1()); +} + +int PythonQtWrapper_QLine::x2(QLine* theWrappedObject) const +{ + return ( theWrappedObject->x2()); +} + +int PythonQtWrapper_QLine::y1(QLine* theWrappedObject) const +{ + return ( theWrappedObject->y1()); +} + +int PythonQtWrapper_QLine::y2(QLine* theWrappedObject) const +{ + return ( theWrappedObject->y2()); +} + +QString PythonQtWrapper_QLine::py_toString(QLine* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QLineF* PythonQtWrapper_QLineF::new_QLineF() +{ +return new QLineF(); } + +QLineF* PythonQtWrapper_QLineF::new_QLineF(const QLine& line) +{ +return new QLineF(line); } + +QLineF* PythonQtWrapper_QLineF::new_QLineF(const QPointF& pt1, const QPointF& pt2) +{ +return new QLineF(pt1, pt2); } + +QLineF* PythonQtWrapper_QLineF::new_QLineF(qreal x1, qreal y1, qreal x2, qreal y2) +{ +return new QLineF(x1, y1, x2, y2); } + +qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->angle()); +} + +qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject, const QLineF& l) const +{ + return ( theWrappedObject->angle(l)); +} + +qreal PythonQtWrapper_QLineF::angleTo(QLineF* theWrappedObject, const QLineF& l) const +{ + return ( theWrappedObject->angleTo(l)); +} + +QPointF PythonQtWrapper_QLineF::center(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +qreal PythonQtWrapper_QLineF::dx(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +qreal PythonQtWrapper_QLineF::dy(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +QLineF PythonQtWrapper_QLineF::static_QLineF_fromPolar(qreal length, qreal angle) +{ + return (QLineF::fromPolar(length, angle)); +} + +QLineF::IntersectType PythonQtWrapper_QLineF::intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const +{ + return ( theWrappedObject->intersect(l, intersectionPoint)); +} + +QLineF::IntersectionType PythonQtWrapper_QLineF::intersects(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const +{ + return ( theWrappedObject->intersects(l, intersectionPoint)); +} + +bool PythonQtWrapper_QLineF::isNull(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QLineF::length(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QLineF PythonQtWrapper_QLineF::normalVector(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->normalVector()); +} + +bool PythonQtWrapper_QLineF::__ne__(QLineF* theWrappedObject, const QLineF& d) const +{ + return ( (*theWrappedObject)!= d); +} + +QLineF PythonQtWrapper_QLineF::__mul__(QLineF* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QLineF PythonQtWrapper_QLineF::__mul__(QLineF* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QLineF::writeTo(QLineF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QLineF::__eq__(QLineF* theWrappedObject, const QLineF& d) const +{ + return ( (*theWrappedObject)== d); +} + +void PythonQtWrapper_QLineF::readFrom(QLineF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPointF PythonQtWrapper_QLineF::p1(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->p1()); +} + +QPointF PythonQtWrapper_QLineF::p2(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->p2()); +} + +QPointF PythonQtWrapper_QLineF::pointAt(QLineF* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->pointAt(t)); +} + +void PythonQtWrapper_QLineF::setAngle(QLineF* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setAngle(angle)); +} + +void PythonQtWrapper_QLineF::setLength(QLineF* theWrappedObject, qreal len) +{ + ( theWrappedObject->setLength(len)); +} + +void PythonQtWrapper_QLineF::setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->setLine(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QLineF::setP1(QLineF* theWrappedObject, const QPointF& p1) +{ + ( theWrappedObject->setP1(p1)); +} + +void PythonQtWrapper_QLineF::setP2(QLineF* theWrappedObject, const QPointF& p2) +{ + ( theWrappedObject->setP2(p2)); +} + +void PythonQtWrapper_QLineF::setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2) +{ + ( theWrappedObject->setPoints(p1, p2)); +} + +QLine PythonQtWrapper_QLineF::toLine(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->toLine()); +} + +void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QLineF PythonQtWrapper_QLineF::unitVector(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->unitVector()); +} + +qreal PythonQtWrapper_QLineF::x1(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->x1()); +} + +qreal PythonQtWrapper_QLineF::x2(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->x2()); +} + +qreal PythonQtWrapper_QLineF::y1(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->y1()); +} + +qreal PythonQtWrapper_QLineF::y2(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->y2()); +} + +QString PythonQtWrapper_QLineF::py_toString(QLineF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QLocale* PythonQtWrapper_QLocale::new_QLocale() +{ +return new QLocale(); } + +QLocale* PythonQtWrapper_QLocale::new_QLocale(QLocale::Language language, QLocale::Country country) +{ +return new QLocale(language, country); } + +QLocale* PythonQtWrapper_QLocale::new_QLocale(QLocale::Language language, QLocale::Script script, QLocale::Country country) +{ +return new QLocale(language, script, country); } + +QLocale* PythonQtWrapper_QLocale::new_QLocale(const QLocale& other) +{ +return new QLocale(other); } + +QLocale* PythonQtWrapper_QLocale::new_QLocale(const QString& name) +{ +return new QLocale(name); } + +QString PythonQtWrapper_QLocale::amText(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->amText()); +} + +QString PythonQtWrapper_QLocale::bcp47Name(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->bcp47Name()); +} + +QLocale PythonQtWrapper_QLocale::static_QLocale_c() +{ + return (QLocale::c()); +} + +QLocale PythonQtWrapper_QLocale::collation(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->collation()); +} + +QList PythonQtWrapper_QLocale::static_QLocale_countriesForLanguage(QLocale::Language lang) +{ + return (QLocale::countriesForLanguage(lang)); +} + +QLocale::Country PythonQtWrapper_QLocale::country(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->country()); +} + +QString PythonQtWrapper_QLocale::static_QLocale_countryToString(QLocale::Country country) +{ + return (QLocale::countryToString(country)); +} + +QString PythonQtWrapper_QLocale::createSeparatedList(QLocale* theWrappedObject, const QStringList& strl) const +{ + return ( theWrappedObject->createSeparatedList(strl)); +} + +QString PythonQtWrapper_QLocale::currencySymbol(QLocale* theWrappedObject, QLocale::CurrencySymbolFormat arg__1) const +{ + return ( theWrappedObject->currencySymbol(arg__1)); +} + +QString PythonQtWrapper_QLocale::dateFormat(QLocale* theWrappedObject, QLocale::FormatType format) const +{ + return ( theWrappedObject->dateFormat(format)); +} + +QString PythonQtWrapper_QLocale::dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const +{ + return ( theWrappedObject->dateTimeFormat(format)); +} + +QString PythonQtWrapper_QLocale::dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const +{ + return ( theWrappedObject->dayName(arg__1, format)); +} + +QChar PythonQtWrapper_QLocale::decimalPoint(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->decimalPoint()); +} + +QChar PythonQtWrapper_QLocale::exponential(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->exponential()); +} + +Qt::DayOfWeek PythonQtWrapper_QLocale::firstDayOfWeek(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->firstDayOfWeek()); +} + +QChar PythonQtWrapper_QLocale::groupSeparator(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->groupSeparator()); +} + +QLocale::Language PythonQtWrapper_QLocale::language(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->language()); +} + +QString PythonQtWrapper_QLocale::static_QLocale_languageToString(QLocale::Language language) +{ + return (QLocale::languageToString(language)); +} + +QList PythonQtWrapper_QLocale::static_QLocale_matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country) +{ + return (QLocale::matchingLocales(language, script, country)); +} + +QLocale::MeasurementSystem PythonQtWrapper_QLocale::measurementSystem(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->measurementSystem()); +} + +QString PythonQtWrapper_QLocale::monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const +{ + return ( theWrappedObject->monthName(arg__1, format)); +} + +QString PythonQtWrapper_QLocale::name(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QString PythonQtWrapper_QLocale::nativeCountryName(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->nativeCountryName()); +} + +QString PythonQtWrapper_QLocale::nativeLanguageName(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->nativeLanguageName()); +} + +QChar PythonQtWrapper_QLocale::negativeSign(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->negativeSign()); +} + +QLocale::NumberOptions PythonQtWrapper_QLocale::numberOptions(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->numberOptions()); +} + +bool PythonQtWrapper_QLocale::__ne__(QLocale* theWrappedObject, const QLocale& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QLocale::writeTo(QLocale* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QLocale::__eq__(QLocale* theWrappedObject, const QLocale& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QLocale::readFrom(QLocale* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QChar PythonQtWrapper_QLocale::percent(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->percent()); +} + +QString PythonQtWrapper_QLocale::pmText(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->pmText()); +} + +QChar PythonQtWrapper_QLocale::positiveSign(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->positiveSign()); +} + +QString PythonQtWrapper_QLocale::quoteString(QLocale* theWrappedObject, const QString& str, QLocale::QuotationStyle style) const +{ + return ( theWrappedObject->quoteString(str, style)); +} + +QLocale::Script PythonQtWrapper_QLocale::script(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->script()); +} + +QString PythonQtWrapper_QLocale::static_QLocale_scriptToString(QLocale::Script script) +{ + return (QLocale::scriptToString(script)); +} + +void PythonQtWrapper_QLocale::static_QLocale_setDefault(const QLocale& locale) +{ + (QLocale::setDefault(locale)); +} + +void PythonQtWrapper_QLocale::setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options) +{ + ( theWrappedObject->setNumberOptions(options)); +} + +QString PythonQtWrapper_QLocale::standaloneDayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const +{ + return ( theWrappedObject->standaloneDayName(arg__1, format)); +} + +QString PythonQtWrapper_QLocale::standaloneMonthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const +{ + return ( theWrappedObject->standaloneMonthName(arg__1, format)); +} + +void PythonQtWrapper_QLocale::swap(QLocale* theWrappedObject, QLocale& other) +{ + ( theWrappedObject->swap(other)); +} + +QLocale PythonQtWrapper_QLocale::static_QLocale_system() +{ + return (QLocale::system()); +} + +Qt::LayoutDirection PythonQtWrapper_QLocale::textDirection(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +QString PythonQtWrapper_QLocale::timeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const +{ + return ( theWrappedObject->timeFormat(format)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol, int precision) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol, precision)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(i, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol, int precision) const +{ + return ( theWrappedObject->toCurrencyString(i, symbol, precision)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, int arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, qlonglong arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, qulonglong arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, short arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, uint arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, ushort arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const +{ + return ( theWrappedObject->toDate(string, arg__2)); +} + +QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format, QCalendar cal) const +{ + return ( theWrappedObject->toDate(string, format, cal)); +} + +QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const +{ + return ( theWrappedObject->toDate(string, format)); +} + +QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, const QString& format, QCalendar cal) const +{ + return ( theWrappedObject->toDate(string, format, cal)); +} + +QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format) const +{ + return ( theWrappedObject->toDateTime(string, format)); +} + +QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format, QCalendar cal) const +{ + return ( theWrappedObject->toDateTime(string, format, cal)); +} + +QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const +{ + return ( theWrappedObject->toDateTime(string, format)); +} + +QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format, QCalendar cal) const +{ + return ( theWrappedObject->toDateTime(string, format, cal)); +} + +double PythonQtWrapper_QLocale::toDouble(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toDouble(s, ok)); +} + +float PythonQtWrapper_QLocale::toFloat(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toFloat(s, ok)); +} + +int PythonQtWrapper_QLocale::toInt(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toInt(s, ok)); +} + +long PythonQtWrapper_QLocale::toLong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toLong(s, ok)); +} + +qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toLongLong(s, ok)); +} + +QString PythonQtWrapper_QLocale::toLower(QLocale* theWrappedObject, const QString& str) const +{ + return ( theWrappedObject->toLower(str)); +} + +short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toShort(s, ok)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format) const +{ + return ( theWrappedObject->toString(date, format)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format, QCalendar cal) const +{ + return ( theWrappedObject->toString(date, format, cal)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, QStringView formatStr, QCalendar cal) const +{ + return ( theWrappedObject->toString(date, formatStr, cal)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, const QString& formatStr) const +{ + return ( theWrappedObject->toString(date, formatStr)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format) const +{ + return ( theWrappedObject->toString(dateTime, format)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format, QCalendar cal) const +{ + return ( theWrappedObject->toString(dateTime, format, cal)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, QStringView formatStr, QCalendar cal) const +{ + return ( theWrappedObject->toString(dateTime, formatStr, cal)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, const QString& format) const +{ + return ( theWrappedObject->toString(dateTime, format)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QTime& time, QLocale::FormatType format) const +{ + return ( theWrappedObject->toString(time, format)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QTime& time, const QString& formatStr) const +{ + return ( theWrappedObject->toString(time, formatStr)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, double i, char f, int prec) const +{ + return ( theWrappedObject->toString(i, f, prec)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, float i, char f, int prec) const +{ + return ( theWrappedObject->toString(i, f, prec)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, int i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, long i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, qlonglong i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, short i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, ulong i) const +{ + return ( theWrappedObject->toString(i)); +} + +QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const +{ + return ( theWrappedObject->toTime(string, arg__2)); +} + +QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format, QCalendar cal) const +{ + return ( theWrappedObject->toTime(string, format, cal)); +} + +QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const +{ + return ( theWrappedObject->toTime(string, format)); +} + +QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, const QString& format, QCalendar cal) const +{ + return ( theWrappedObject->toTime(string, format, cal)); +} + +uint PythonQtWrapper_QLocale::toUInt(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toUInt(s, ok)); +} + +ulong PythonQtWrapper_QLocale::toULong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toULong(s, ok)); +} + +qulonglong PythonQtWrapper_QLocale::toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toULongLong(s, ok)); +} + +ushort PythonQtWrapper_QLocale::toUShort(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toUShort(s, ok)); +} + +QString PythonQtWrapper_QLocale::toUpper(QLocale* theWrappedObject, const QString& str) const +{ + return ( theWrappedObject->toUpper(str)); +} + +QStringList PythonQtWrapper_QLocale::uiLanguages(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->uiLanguages()); +} + +QList PythonQtWrapper_QLocale::weekdays(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->weekdays()); +} + +QChar PythonQtWrapper_QLocale::zeroDigit(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->zeroDigit()); +} + +QString PythonQtWrapper_QLocale::py_toString(QLocale* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPoint* PythonQtWrapper_QPoint::new_QPoint() +{ +return new QPoint(); } + +QPoint* PythonQtWrapper_QPoint::new_QPoint(int xpos, int ypos) +{ +return new QPoint(xpos, ypos); } + +int PythonQtWrapper_QPoint::static_QPoint_dotProduct(const QPoint& p1, const QPoint& p2) +{ + return (QPoint::dotProduct(p1, p2)); +} + +bool PythonQtWrapper_QPoint::isNull(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->manhattanLength()); +} + +bool PythonQtWrapper_QPoint::__ne__(QPoint* theWrappedObject, const QPoint& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QMatrix4x4& matrix) +{ + return ( (*theWrappedObject)* matrix); +} + +QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, double arg__2) +{ + return ( (*theWrappedObject)* arg__2); +} + +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, float arg__2) +{ + return ( (*theWrappedObject)* arg__2); +} + +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, int arg__2) +{ + return ( (*theWrappedObject)* arg__2); +} + +QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, double factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, int factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QPoint PythonQtWrapper_QPoint::__add__(QPoint* theWrappedObject) +{ + return (+ (*theWrappedObject)); +} + +const QPoint PythonQtWrapper_QPoint::__add__(QPoint* theWrappedObject, const QPoint& arg__2) +{ + return ( (*theWrappedObject)+ arg__2); +} + +QPoint* PythonQtWrapper_QPoint::__iadd__(QPoint* theWrappedObject, const QPoint& p) +{ + return &( (*theWrappedObject)+= p); +} + +const QPoint PythonQtWrapper_QPoint::__sub__(QPoint* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +const QPoint PythonQtWrapper_QPoint::__sub__(QPoint* theWrappedObject, const QPoint& arg__2) +{ + return ( (*theWrappedObject)- arg__2); +} + +QPoint* PythonQtWrapper_QPoint::__isub__(QPoint* theWrappedObject, const QPoint& p) +{ + return &( (*theWrappedObject)-= p); +} + +const QPoint PythonQtWrapper_QPoint::__div__(QPoint* theWrappedObject, qreal arg__2) +{ + return ( (*theWrappedObject)/ arg__2); +} + +QPoint* PythonQtWrapper_QPoint::__idiv__(QPoint* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QPoint::writeTo(QPoint* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPoint::__eq__(QPoint* theWrappedObject, const QPoint& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QPoint::readFrom(QPoint* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QPoint::setX(QPoint* theWrappedObject, int x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QPoint::setY(QPoint* theWrappedObject, int y) +{ + ( theWrappedObject->setY(y)); +} + +QPoint PythonQtWrapper_QPoint::transposed(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +int PythonQtWrapper_QPoint::x(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QPoint::y(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QPoint::py_toString(QPoint* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPointF* PythonQtWrapper_QPointF::new_QPointF() +{ +return new QPointF(); } + +QPointF* PythonQtWrapper_QPointF::new_QPointF(const QPoint& p) +{ +return new QPointF(p); } + +QPointF* PythonQtWrapper_QPointF::new_QPointF(qreal xpos, qreal ypos) +{ +return new QPointF(xpos, ypos); } + +qreal PythonQtWrapper_QPointF::static_QPointF_dotProduct(const QPointF& p1, const QPointF& p2) +{ + return (QPointF::dotProduct(p1, p2)); +} + +bool PythonQtWrapper_QPointF::isNull(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QPointF::manhattanLength(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->manhattanLength()); +} + +bool PythonQtWrapper_QPointF::__ne__(QPointF* theWrappedObject, const QPointF& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QMatrix4x4& matrix) +{ + return ( (*theWrappedObject)* matrix); +} + +QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +const QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, qreal arg__2) +{ + return ( (*theWrappedObject)* arg__2); +} + +QPointF* PythonQtWrapper_QPointF::__imul__(QPointF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)*= c); +} + +const QPointF PythonQtWrapper_QPointF::__add__(QPointF* theWrappedObject) +{ + return (+ (*theWrappedObject)); +} + +const QPointF PythonQtWrapper_QPointF::__add__(QPointF* theWrappedObject, const QPointF& arg__2) +{ + return ( (*theWrappedObject)+ arg__2); +} + +QPointF* PythonQtWrapper_QPointF::__iadd__(QPointF* theWrappedObject, const QPointF& p) +{ + return &( (*theWrappedObject)+= p); +} + +const QPointF PythonQtWrapper_QPointF::__sub__(QPointF* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +const QPointF PythonQtWrapper_QPointF::__sub__(QPointF* theWrappedObject, const QPointF& arg__2) +{ + return ( (*theWrappedObject)- arg__2); +} + +QPointF* PythonQtWrapper_QPointF::__isub__(QPointF* theWrappedObject, const QPointF& p) +{ + return &( (*theWrappedObject)-= p); +} + +const QPointF PythonQtWrapper_QPointF::__div__(QPointF* theWrappedObject, qreal arg__2) +{ + return ( (*theWrappedObject)/ arg__2); +} + +QPointF* PythonQtWrapper_QPointF::__idiv__(QPointF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)/= c); +} + +void PythonQtWrapper_QPointF::writeTo(QPointF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPointF::__eq__(QPointF* theWrappedObject, const QPointF& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QPointF::readFrom(QPointF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QPointF::setX(QPointF* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QPointF::setY(QPointF* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +QPoint PythonQtWrapper_QPointF::toPoint(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QPointF::transposed(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +qreal PythonQtWrapper_QPointF::x(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QPointF::y(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QPointF::py_toString(QPointF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRect* PythonQtWrapper_QRect::new_QRect() +{ +return new QRect(); } + +QRect* PythonQtWrapper_QRect::new_QRect(const QPoint& topleft, const QPoint& bottomright) +{ +return new QRect(topleft, bottomright); } + +QRect* PythonQtWrapper_QRect::new_QRect(const QPoint& topleft, const QSize& size) +{ +return new QRect(topleft, size); } + +QRect* PythonQtWrapper_QRect::new_QRect(int left, int top, int width, int height) +{ +return new QRect(left, top, width, height); } + +void PythonQtWrapper_QRect::adjust(QRect* theWrappedObject, int x1, int y1, int x2, int y2) +{ + ( theWrappedObject->adjust(x1, y1, x2, y2)); +} + +QRect PythonQtWrapper_QRect::adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const +{ + return ( theWrappedObject->adjusted(x1, y1, x2, y2)); +} + +int PythonQtWrapper_QRect::bottom(QRect* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +QPoint PythonQtWrapper_QRect::bottomLeft(QRect* theWrappedObject) const +{ + return ( theWrappedObject->bottomLeft()); +} + +QPoint PythonQtWrapper_QRect::bottomRight(QRect* theWrappedObject) const +{ + return ( theWrappedObject->bottomRight()); +} + +QPoint PythonQtWrapper_QRect::center(QRect* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, const QPoint& p, bool proper) const +{ + return ( theWrappedObject->contains(p, proper)); +} + +bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, const QRect& r, bool proper) const +{ + return ( theWrappedObject->contains(r, proper)); +} + +bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->contains(x, y)); +} + +bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, int x, int y, bool proper) const +{ + return ( theWrappedObject->contains(x, y, proper)); +} + +int PythonQtWrapper_QRect::height(QRect* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +QRect PythonQtWrapper_QRect::intersected(QRect* theWrappedObject, const QRect& other) const +{ + return ( theWrappedObject->intersected(other)); +} + +bool PythonQtWrapper_QRect::intersects(QRect* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRect::isEmpty(QRect* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRect::isNull(QRect* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QRect::isValid(QRect* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QRect::left(QRect* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +QRect PythonQtWrapper_QRect::marginsAdded(QRect* theWrappedObject, const QMargins& margins) const +{ + return ( theWrappedObject->marginsAdded(margins)); +} + +QRect PythonQtWrapper_QRect::marginsRemoved(QRect* theWrappedObject, const QMargins& margins) const +{ + return ( theWrappedObject->marginsRemoved(margins)); +} + +void PythonQtWrapper_QRect::moveBottom(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveBottom(pos)); +} + +void PythonQtWrapper_QRect::moveBottomLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveBottomLeft(p)); +} + +void PythonQtWrapper_QRect::moveBottomRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveBottomRight(p)); +} + +void PythonQtWrapper_QRect::moveCenter(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveCenter(p)); +} + +void PythonQtWrapper_QRect::moveLeft(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveLeft(pos)); +} + +void PythonQtWrapper_QRect::moveRight(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveRight(pos)); +} + +void PythonQtWrapper_QRect::moveTo(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveTo(p)); +} + +void PythonQtWrapper_QRect::moveTo(QRect* theWrappedObject, int x, int t) +{ + ( theWrappedObject->moveTo(x, t)); +} + +void PythonQtWrapper_QRect::moveTop(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveTop(pos)); +} + +void PythonQtWrapper_QRect::moveTopLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveTopLeft(p)); +} + +void PythonQtWrapper_QRect::moveTopRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveTopRight(p)); +} + +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); +} + +QRect* PythonQtWrapper_QRect::__iand__(QRect* theWrappedObject, const QRect& r) +{ + return &( (*theWrappedObject)&= r); +} + +QRect PythonQtWrapper_QRect::__add__(QRect* theWrappedObject, const QMargins& margins) +{ + return ( (*theWrappedObject)+ margins); +} + +QRect* PythonQtWrapper_QRect::__iadd__(QRect* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QRect PythonQtWrapper_QRect::__sub__(QRect* theWrappedObject, const QMargins& rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QRect* PythonQtWrapper_QRect::__isub__(QRect* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +void PythonQtWrapper_QRect::writeTo(QRect* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QRect::__eq__(QRect* theWrappedObject, const QRect& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QRect::readFrom(QRect* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QRect PythonQtWrapper_QRect::__or__(QRect* theWrappedObject, const QRect& r) const +{ + return ( (*theWrappedObject)| r); +} + +QRect* PythonQtWrapper_QRect::__ior__(QRect* theWrappedObject, const QRect& r) +{ + return &( (*theWrappedObject)|= r); +} + +int PythonQtWrapper_QRect::right(QRect* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QRect::setBottom(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setBottom(pos)); +} + +void PythonQtWrapper_QRect::setBottomLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setBottomLeft(p)); +} + +void PythonQtWrapper_QRect::setBottomRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setBottomRight(p)); +} + +void PythonQtWrapper_QRect::setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2) +{ + ( theWrappedObject->setCoords(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QRect::setHeight(QRect* theWrappedObject, int h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QRect::setLeft(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setLeft(pos)); +} + +void PythonQtWrapper_QRect::setRect(QRect* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QRect::setRight(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setRight(pos)); +} + +void PythonQtWrapper_QRect::setSize(QRect* theWrappedObject, const QSize& s) +{ + ( theWrappedObject->setSize(s)); +} + +void PythonQtWrapper_QRect::setTop(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setTop(pos)); +} + +void PythonQtWrapper_QRect::setTopLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setTopLeft(p)); +} + +void PythonQtWrapper_QRect::setTopRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setTopRight(p)); +} + +void PythonQtWrapper_QRect::setWidth(QRect* theWrappedObject, int w) +{ + ( theWrappedObject->setWidth(w)); +} + +void PythonQtWrapper_QRect::setX(QRect* theWrappedObject, int x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QRect::setY(QRect* theWrappedObject, int y) +{ + ( theWrappedObject->setY(y)); +} + +QSize PythonQtWrapper_QRect::size(QRect* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +int PythonQtWrapper_QRect::top(QRect* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QPoint PythonQtWrapper_QRect::topLeft(QRect* theWrappedObject) const +{ + return ( theWrappedObject->topLeft()); +} + +QPoint PythonQtWrapper_QRect::topRight(QRect* theWrappedObject) const +{ + return ( theWrappedObject->topRight()); +} + +void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QRect PythonQtWrapper_QRect::transposed(QRect* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QRect PythonQtWrapper_QRect::united(QRect* theWrappedObject, const QRect& other) const +{ + return ( theWrappedObject->united(other)); +} + +int PythonQtWrapper_QRect::width(QRect* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +int PythonQtWrapper_QRect::x(QRect* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QRect::y(QRect* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QRect::py_toString(QRect* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRectF* PythonQtWrapper_QRectF::new_QRectF() +{ +return new QRectF(); } + +QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QPointF& bottomRight) +{ +return new QRectF(topleft, bottomRight); } + +QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QSizeF& size) +{ +return new QRectF(topleft, size); } + +QRectF* PythonQtWrapper_QRectF::new_QRectF(const QRect& rect) +{ +return new QRectF(rect); } + +QRectF* PythonQtWrapper_QRectF::new_QRectF(qreal left, qreal top, qreal width, qreal height) +{ +return new QRectF(left, top, width, height); } + +void PythonQtWrapper_QRectF::adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->adjust(x1, y1, x2, y2)); +} + +QRectF PythonQtWrapper_QRectF::adjusted(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) const +{ + return ( theWrappedObject->adjusted(x1, y1, x2, y2)); +} + +qreal PythonQtWrapper_QRectF::bottom(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +QPointF PythonQtWrapper_QRectF::bottomLeft(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->bottomLeft()); +} + +QPointF PythonQtWrapper_QRectF::bottomRight(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->bottomRight()); +} + +QPointF PythonQtWrapper_QRectF::center(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->contains(p)); +} + +bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QRectF& r) const +{ + return ( theWrappedObject->contains(r)); +} + +bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->contains(x, y)); +} + +qreal PythonQtWrapper_QRectF::height(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +QRectF PythonQtWrapper_QRectF::intersected(QRectF* theWrappedObject, const QRectF& other) const +{ + return ( theWrappedObject->intersected(other)); +} + +bool PythonQtWrapper_QRectF::intersects(QRectF* theWrappedObject, const QRectF& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRectF::isEmpty(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRectF::isNull(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QRectF::isValid(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QRectF::left(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +QRectF PythonQtWrapper_QRectF::marginsAdded(QRectF* theWrappedObject, const QMarginsF& margins) const +{ + return ( theWrappedObject->marginsAdded(margins)); +} + +QRectF PythonQtWrapper_QRectF::marginsRemoved(QRectF* theWrappedObject, const QMarginsF& margins) const +{ + return ( theWrappedObject->marginsRemoved(margins)); +} + +void PythonQtWrapper_QRectF::moveBottom(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveBottom(pos)); +} + +void PythonQtWrapper_QRectF::moveBottomLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveBottomLeft(p)); +} + +void PythonQtWrapper_QRectF::moveBottomRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveBottomRight(p)); +} + +void PythonQtWrapper_QRectF::moveCenter(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveCenter(p)); +} + +void PythonQtWrapper_QRectF::moveLeft(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveLeft(pos)); +} + +void PythonQtWrapper_QRectF::moveRight(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveRight(pos)); +} + +void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTo(p)); +} + +void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->moveTo(x, y)); +} + +void PythonQtWrapper_QRectF::moveTop(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveTop(pos)); +} + +void PythonQtWrapper_QRectF::moveTopLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTopLeft(p)); +} + +void PythonQtWrapper_QRectF::moveTopRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTopRight(p)); +} + +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); +} + +QRectF* PythonQtWrapper_QRectF::__iand__(QRectF* theWrappedObject, const QRectF& r) +{ + return &( (*theWrappedObject)&= r); +} + +QRectF PythonQtWrapper_QRectF::__add__(QRectF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QRectF* PythonQtWrapper_QRectF::__iadd__(QRectF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QRectF PythonQtWrapper_QRectF::__sub__(QRectF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QRectF* PythonQtWrapper_QRectF::__isub__(QRectF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +void PythonQtWrapper_QRectF::writeTo(QRectF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QRectF::__eq__(QRectF* theWrappedObject, const QRectF& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QRectF::readFrom(QRectF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QRectF PythonQtWrapper_QRectF::__or__(QRectF* theWrappedObject, const QRectF& r) const +{ + return ( (*theWrappedObject)| r); +} + +QRectF* PythonQtWrapper_QRectF::__ior__(QRectF* theWrappedObject, const QRectF& r) +{ + return &( (*theWrappedObject)|= r); +} + +qreal PythonQtWrapper_QRectF::right(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QRectF::setBottom(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setBottom(pos)); +} + +void PythonQtWrapper_QRectF::setBottomLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setBottomLeft(p)); +} + +void PythonQtWrapper_QRectF::setBottomRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setBottomRight(p)); +} + +void PythonQtWrapper_QRectF::setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->setCoords(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QRectF::setHeight(QRectF* theWrappedObject, qreal h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QRectF::setLeft(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setLeft(pos)); +} + +void PythonQtWrapper_QRectF::setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QRectF::setRight(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setRight(pos)); +} + +void PythonQtWrapper_QRectF::setSize(QRectF* theWrappedObject, const QSizeF& s) +{ + ( theWrappedObject->setSize(s)); +} + +void PythonQtWrapper_QRectF::setTop(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setTop(pos)); +} + +void PythonQtWrapper_QRectF::setTopLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setTopLeft(p)); +} + +void PythonQtWrapper_QRectF::setTopRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setTopRight(p)); +} + +void PythonQtWrapper_QRectF::setWidth(QRectF* theWrappedObject, qreal w) +{ + ( theWrappedObject->setWidth(w)); +} + +void PythonQtWrapper_QRectF::setX(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setX(pos)); +} + +void PythonQtWrapper_QRectF::setY(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setY(pos)); +} + +QSizeF PythonQtWrapper_QRectF::size(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QRect PythonQtWrapper_QRectF::toAlignedRect(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->toAlignedRect()); +} + +QRect PythonQtWrapper_QRectF::toRect(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->toRect()); +} + +qreal PythonQtWrapper_QRectF::top(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QPointF PythonQtWrapper_QRectF::topLeft(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->topLeft()); +} + +QPointF PythonQtWrapper_QRectF::topRight(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->topRight()); +} + +void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QRectF PythonQtWrapper_QRectF::transposed(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QRectF PythonQtWrapper_QRectF::united(QRectF* theWrappedObject, const QRectF& other) const +{ + return ( theWrappedObject->united(other)); +} + +qreal PythonQtWrapper_QRectF::width(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +qreal PythonQtWrapper_QRectF::x(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QRectF::y(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QRectF::py_toString(QRectF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRegExp* PythonQtWrapper_QRegExp::new_QRegExp() +{ +return new QRegExp(); } + +QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QRegExp& rx) +{ +return new QRegExp(rx); } + +QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs, QRegExp::PatternSyntax syntax) +{ +return new QRegExp(pattern, cs, syntax); } + +QString PythonQtWrapper_QRegExp::cap(QRegExp* theWrappedObject, int nth) +{ + return ( theWrappedObject->cap(nth)); +} + +int PythonQtWrapper_QRegExp::captureCount(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->captureCount()); +} + +QStringList PythonQtWrapper_QRegExp::capturedTexts(QRegExp* theWrappedObject) +{ + return ( theWrappedObject->capturedTexts()); +} + +Qt::CaseSensitivity PythonQtWrapper_QRegExp::caseSensitivity(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +QString PythonQtWrapper_QRegExp::errorString(QRegExp* theWrappedObject) +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QRegExp::static_QRegExp_escape(const QString& str) +{ + return (QRegExp::escape(str)); +} + +bool PythonQtWrapper_QRegExp::exactMatch(QRegExp* theWrappedObject, const QString& str) const +{ + return ( theWrappedObject->exactMatch(str)); +} + +int PythonQtWrapper_QRegExp::indexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const +{ + return ( theWrappedObject->indexIn(str, offset, caretMode)); +} + +bool PythonQtWrapper_QRegExp::isEmpty(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRegExp::isMinimal(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->isMinimal()); +} + +bool PythonQtWrapper_QRegExp::isValid(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QRegExp::lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const +{ + return ( theWrappedObject->lastIndexIn(str, offset, caretMode)); +} + +int PythonQtWrapper_QRegExp::matchedLength(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->matchedLength()); +} + +bool PythonQtWrapper_QRegExp::__ne__(QRegExp* theWrappedObject, const QRegExp& rx) const +{ + return ( (*theWrappedObject)!= rx); +} + +void PythonQtWrapper_QRegExp::writeTo(QRegExp* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +bool PythonQtWrapper_QRegExp::__eq__(QRegExp* theWrappedObject, const QRegExp& rx) const +{ + return ( (*theWrappedObject)== rx); +} + +void PythonQtWrapper_QRegExp::readFrom(QRegExp* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +QString PythonQtWrapper_QRegExp::pattern(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +QRegExp::PatternSyntax PythonQtWrapper_QRegExp::patternSyntax(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->patternSyntax()); +} + +int PythonQtWrapper_QRegExp::pos(QRegExp* theWrappedObject, int nth) +{ + return ( theWrappedObject->pos(nth)); +} + +void PythonQtWrapper_QRegExp::setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setCaseSensitivity(cs)); +} + +void PythonQtWrapper_QRegExp::setMinimal(QRegExp* theWrappedObject, bool minimal) +{ + ( theWrappedObject->setMinimal(minimal)); +} + +void PythonQtWrapper_QRegExp::setPattern(QRegExp* theWrappedObject, const QString& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + +void PythonQtWrapper_QRegExp::setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax) +{ + ( theWrappedObject->setPatternSyntax(syntax)); +} + +void PythonQtWrapper_QRegExp::swap(QRegExp* theWrappedObject, QRegExp& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QRegExp::py_toString(QRegExp* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression() +{ +return new QRegularExpression(); } + +QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QRegularExpression& re) +{ +return new QRegularExpression(re); } + +QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QString& pattern, QRegularExpression::PatternOptions options) +{ +return new QRegularExpression(pattern, options); } + +QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_anchoredPattern(const QString& expression) +{ + return (QRegularExpression::anchoredPattern(expression)); +} + +int PythonQtWrapper_QRegularExpression::captureCount(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->captureCount()); +} + +QString PythonQtWrapper_QRegularExpression::errorString(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_escape(const QString& str) +{ + return (QRegularExpression::escape(str)); +} + +QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +{ + return ( theWrappedObject->globalMatch(subject, offset, matchType, matchOptions)); +} + +bool PythonQtWrapper_QRegularExpression::isValid(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QRegularExpressionMatch PythonQtWrapper_QRegularExpression::match(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +{ + return ( theWrappedObject->match(subject, offset, matchType, matchOptions)); +} + +QStringList PythonQtWrapper_QRegularExpression::namedCaptureGroups(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->namedCaptureGroups()); +} + +bool PythonQtWrapper_QRegularExpression::__ne__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const +{ + return ( (*theWrappedObject)!= re); +} + +void PythonQtWrapper_QRegularExpression::writeTo(QRegularExpression* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +QRegularExpression* PythonQtWrapper_QRegularExpression::operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re) +{ + return &( (*theWrappedObject)= re); +} + +bool PythonQtWrapper_QRegularExpression::__eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const +{ + return ( (*theWrappedObject)== re); +} + +void PythonQtWrapper_QRegularExpression::readFrom(QRegularExpression* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QRegularExpression::optimize(QRegularExpression* theWrappedObject) const +{ + ( theWrappedObject->optimize()); +} + +QString PythonQtWrapper_QRegularExpression::pattern(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +int PythonQtWrapper_QRegularExpression::patternErrorOffset(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->patternErrorOffset()); +} + +QRegularExpression::PatternOptions PythonQtWrapper_QRegularExpression::patternOptions(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->patternOptions()); +} + +void PythonQtWrapper_QRegularExpression::setPattern(QRegularExpression* theWrappedObject, const QString& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + +void PythonQtWrapper_QRegularExpression::setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options) +{ + ( theWrappedObject->setPatternOptions(options)); +} + +void PythonQtWrapper_QRegularExpression::swap(QRegularExpression* theWrappedObject, QRegularExpression& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_wildcardToRegularExpression(const QString& str) +{ + return (QRegularExpression::wildcardToRegularExpression(str)); +} + +QString PythonQtWrapper_QRegularExpression::py_toString(QRegularExpression* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSize* PythonQtWrapper_QSize::new_QSize() +{ +return new QSize(); } + +QSize* PythonQtWrapper_QSize::new_QSize(int w, int h) +{ +return new QSize(w, h); } + +QSize PythonQtWrapper_QSize::boundedTo(QSize* theWrappedObject, const QSize& arg__1) const +{ + return ( theWrappedObject->boundedTo(arg__1)); +} + +QSize PythonQtWrapper_QSize::expandedTo(QSize* theWrappedObject, const QSize& arg__1) const +{ + return ( theWrappedObject->expandedTo(arg__1)); +} + +QSize PythonQtWrapper_QSize::grownBy(QSize* theWrappedObject, QMargins m) const +{ + return ( theWrappedObject->grownBy(m)); +} + +int PythonQtWrapper_QSize::height(QSize* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QSize::isEmpty(QSize* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QSize::isNull(QSize* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QSize::isValid(QSize* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QSize::__ne__(QSize* theWrappedObject, const QSize& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +const QSize PythonQtWrapper_QSize::__mul__(QSize* theWrappedObject, qreal arg__2) +{ + return ( (*theWrappedObject)* arg__2); +} + +QSize* PythonQtWrapper_QSize::__imul__(QSize* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)*= c); +} + +const QSize PythonQtWrapper_QSize::__add__(QSize* theWrappedObject, const QSize& arg__2) +{ + return ( (*theWrappedObject)+ arg__2); +} + +QSize* PythonQtWrapper_QSize::__iadd__(QSize* theWrappedObject, const QSize& arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +const QSize PythonQtWrapper_QSize::__sub__(QSize* theWrappedObject, const QSize& arg__2) +{ + return ( (*theWrappedObject)- arg__2); +} + +QSize* PythonQtWrapper_QSize::__isub__(QSize* theWrappedObject, const QSize& arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +const QSize PythonQtWrapper_QSize::__div__(QSize* theWrappedObject, qreal arg__2) +{ + return ( (*theWrappedObject)/ arg__2); +} + +QSize* PythonQtWrapper_QSize::__idiv__(QSize* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)/= c); +} + +void PythonQtWrapper_QSize::writeTo(QSize* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QSize::__eq__(QSize* theWrappedObject, const QSize& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QSize::readFrom(QSize* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->scale(s, mode)); +} + +void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->scale(w, h, mode)); +} + +QSize PythonQtWrapper_QSize::scaled(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(s, mode)); +} + +QSize PythonQtWrapper_QSize::scaled(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(w, h, mode)); +} + +void PythonQtWrapper_QSize::setHeight(QSize* theWrappedObject, int h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QSize::setWidth(QSize* theWrappedObject, int w) +{ + ( theWrappedObject->setWidth(w)); +} + +QSize PythonQtWrapper_QSize::shrunkBy(QSize* theWrappedObject, QMargins m) const +{ + return ( theWrappedObject->shrunkBy(m)); +} + +void PythonQtWrapper_QSize::transpose(QSize* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +QSize PythonQtWrapper_QSize::transposed(QSize* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +int PythonQtWrapper_QSize::width(QSize* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QSize::py_toString(QSize* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSizeF* PythonQtWrapper_QSizeF::new_QSizeF() +{ +return new QSizeF(); } + +QSizeF* PythonQtWrapper_QSizeF::new_QSizeF(const QSize& sz) +{ +return new QSizeF(sz); } + +QSizeF* PythonQtWrapper_QSizeF::new_QSizeF(qreal w, qreal h) +{ +return new QSizeF(w, h); } + +QSizeF PythonQtWrapper_QSizeF::boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const +{ + return ( theWrappedObject->boundedTo(arg__1)); +} + +QSizeF PythonQtWrapper_QSizeF::expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const +{ + return ( theWrappedObject->expandedTo(arg__1)); +} + +QSizeF PythonQtWrapper_QSizeF::grownBy(QSizeF* theWrappedObject, QMarginsF m) const +{ + return ( theWrappedObject->grownBy(m)); +} + +qreal PythonQtWrapper_QSizeF::height(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QSizeF::isEmpty(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QSizeF::isNull(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QSizeF::isValid(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QSizeF::__ne__(QSizeF* theWrappedObject, const QSizeF& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +const QSizeF PythonQtWrapper_QSizeF::__mul__(QSizeF* theWrappedObject, qreal arg__2) +{ + return ( (*theWrappedObject)* arg__2); +} + +QSizeF* PythonQtWrapper_QSizeF::__imul__(QSizeF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)*= c); +} + +const QSizeF PythonQtWrapper_QSizeF::__add__(QSizeF* theWrappedObject, const QSizeF& arg__2) +{ + return ( (*theWrappedObject)+ arg__2); +} + +QSizeF* PythonQtWrapper_QSizeF::__iadd__(QSizeF* theWrappedObject, const QSizeF& arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +const QSizeF PythonQtWrapper_QSizeF::__sub__(QSizeF* theWrappedObject, const QSizeF& arg__2) +{ + return ( (*theWrappedObject)- arg__2); +} + +QSizeF* PythonQtWrapper_QSizeF::__isub__(QSizeF* theWrappedObject, const QSizeF& arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +const QSizeF PythonQtWrapper_QSizeF::__div__(QSizeF* theWrappedObject, qreal arg__2) +{ + return ( (*theWrappedObject)/ arg__2); +} + +QSizeF* PythonQtWrapper_QSizeF::__idiv__(QSizeF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)/= c); +} + +void PythonQtWrapper_QSizeF::writeTo(QSizeF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QSizeF::__eq__(QSizeF* theWrappedObject, const QSizeF& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QSizeF::readFrom(QSizeF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QSizeF::scale(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->scale(s, mode)); +} + +void PythonQtWrapper_QSizeF::scale(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->scale(w, h, mode)); +} + +QSizeF PythonQtWrapper_QSizeF::scaled(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(s, mode)); +} + +QSizeF PythonQtWrapper_QSizeF::scaled(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(w, h, mode)); +} + +void PythonQtWrapper_QSizeF::setHeight(QSizeF* theWrappedObject, qreal h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QSizeF::setWidth(QSizeF* theWrappedObject, qreal w) +{ + ( theWrappedObject->setWidth(w)); +} + +QSizeF PythonQtWrapper_QSizeF::shrunkBy(QSizeF* theWrappedObject, QMarginsF m) const +{ + return ( theWrappedObject->shrunkBy(m)); +} + +QSize PythonQtWrapper_QSizeF::toSize(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->toSize()); +} + +void PythonQtWrapper_QSizeF::transpose(QSizeF* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +QSizeF PythonQtWrapper_QSizeF::transposed(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +qreal PythonQtWrapper_QSizeF::width(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QSizeF::py_toString(QSizeF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QTime* PythonQtWrapper_QTime::new_QTime() +{ +return new QTime(); } + +QTime* PythonQtWrapper_QTime::new_QTime(int h, int m, int s, int ms) +{ +return new QTime(h, m, s, ms); } + +QTime PythonQtWrapper_QTime::addMSecs(QTime* theWrappedObject, int ms) const +{ + return ( theWrappedObject->addMSecs(ms)); +} + +QTime PythonQtWrapper_QTime::addSecs(QTime* theWrappedObject, int secs) const +{ + return ( theWrappedObject->addSecs(secs)); +} + +QTime PythonQtWrapper_QTime::static_QTime_currentTime() +{ + return (QTime::currentTime()); +} + +int PythonQtWrapper_QTime::elapsed(QTime* theWrappedObject) const +{ + return ( theWrappedObject->elapsed()); +} + +QTime PythonQtWrapper_QTime::static_QTime_fromMSecsSinceStartOfDay(int msecs) +{ + return (QTime::fromMSecsSinceStartOfDay(msecs)); +} + +QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, Qt::DateFormat f) +{ + return (QTime::fromString(s, f)); +} + +QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, const QString& format) +{ + return (QTime::fromString(s, format)); +} + +int PythonQtWrapper_QTime::hour(QTime* theWrappedObject) const +{ + return ( theWrappedObject->hour()); +} + +bool PythonQtWrapper_QTime::isNull(QTime* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QTime::isValid(QTime* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QTime::static_QTime_isValid(int h, int m, int s, int ms) +{ + return (QTime::isValid(h, m, s, ms)); +} + +int PythonQtWrapper_QTime::minute(QTime* theWrappedObject) const +{ + return ( theWrappedObject->minute()); +} + +int PythonQtWrapper_QTime::msec(QTime* theWrappedObject) const +{ + return ( theWrappedObject->msec()); +} + +int PythonQtWrapper_QTime::msecsSinceStartOfDay(QTime* theWrappedObject) const +{ + return ( theWrappedObject->msecsSinceStartOfDay()); +} + +int PythonQtWrapper_QTime::msecsTo(QTime* theWrappedObject, const QTime& arg__1) const +{ + return ( theWrappedObject->msecsTo(arg__1)); +} + +bool PythonQtWrapper_QTime::__ne__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QTime::__lt__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QTime::writeTo(QTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTime::__le__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QTime::__eq__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QTime::__gt__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QTime::__ge__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QTime::readFrom(QTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QTime::restart(QTime* theWrappedObject) +{ + return ( theWrappedObject->restart()); +} + +int PythonQtWrapper_QTime::second(QTime* theWrappedObject) const +{ + return ( theWrappedObject->second()); +} + +int PythonQtWrapper_QTime::secsTo(QTime* theWrappedObject, const QTime& arg__1) const +{ + return ( theWrappedObject->secsTo(arg__1)); +} + +bool PythonQtWrapper_QTime::setHMS(QTime* theWrappedObject, int h, int m, int s, int ms) +{ + return ( theWrappedObject->setHMS(h, m, s, ms)); +} + +void PythonQtWrapper_QTime::start(QTime* theWrappedObject) +{ + ( theWrappedObject->start()); +} + +QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, Qt::DateFormat f) const +{ + return ( theWrappedObject->toString(f)); +} + +QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, const QString& format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QTime::py_toString(QTime* obj) { return obj->toString(); } + + +QUrl* PythonQtWrapper_QUrl::new_QUrl() +{ +return new QUrl(); } + +QUrl* PythonQtWrapper_QUrl::new_QUrl(const QString& url, QUrl::ParsingMode mode) +{ +return new QUrl(url, mode); } + +QUrl* PythonQtWrapper_QUrl::new_QUrl(const QUrl& copy) +{ +return new QUrl(copy); } + +QUrl PythonQtWrapper_QUrl::adjusted(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->adjusted(options)); +} + +QString PythonQtWrapper_QUrl::authority(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->authority(options)); +} + +void PythonQtWrapper_QUrl::clear(QUrl* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QString PythonQtWrapper_QUrl::errorString(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QUrl::fileName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->fileName(options)); +} + +QString PythonQtWrapper_QUrl::fragment(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->fragment(options)); +} + +QString PythonQtWrapper_QUrl::static_QUrl_fromAce(const QByteArray& arg__1) +{ + return (QUrl::fromAce(arg__1)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode) +{ + return (QUrl::fromEncoded(url, mode)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromLocalFile(const QString& localfile) +{ + return (QUrl::fromLocalFile(localfile)); +} + +QString PythonQtWrapper_QUrl::static_QUrl_fromPercentEncoding(const QByteArray& arg__1) +{ + return (QUrl::fromPercentEncoding(arg__1)); +} + +QList PythonQtWrapper_QUrl::static_QUrl_fromStringList(const QStringList& uris, QUrl::ParsingMode mode) +{ + return (QUrl::fromStringList(uris, mode)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromUserInput(const QString& userInput) +{ + return (QUrl::fromUserInput(userInput)); +} + +bool PythonQtWrapper_QUrl::hasFragment(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->hasFragment()); +} + +bool PythonQtWrapper_QUrl::hasQuery(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->hasQuery()); +} + +QString PythonQtWrapper_QUrl::host(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const +{ + return ( theWrappedObject->host(arg__1)); +} + +QStringList PythonQtWrapper_QUrl::static_QUrl_idnWhitelist() +{ + return (QUrl::idnWhitelist()); +} + +bool PythonQtWrapper_QUrl::isEmpty(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QUrl::isLocalFile(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isLocalFile()); +} + +bool PythonQtWrapper_QUrl::isParentOf(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( theWrappedObject->isParentOf(url)); +} + +bool PythonQtWrapper_QUrl::isRelative(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isRelative()); +} + +bool PythonQtWrapper_QUrl::isValid(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QUrl::matches(QUrl* theWrappedObject, const QUrl& url, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->matches(url, options)); +} + +bool PythonQtWrapper_QUrl::__ne__(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( (*theWrappedObject)!= url); +} + +bool PythonQtWrapper_QUrl::__lt__(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( (*theWrappedObject)< url); +} + +void PythonQtWrapper_QUrl::writeTo(QUrl* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QUrl::__eq__(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( (*theWrappedObject)== url); +} + +void PythonQtWrapper_QUrl::readFrom(QUrl* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QString PythonQtWrapper_QUrl::password(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const +{ + return ( theWrappedObject->password(arg__1)); +} + +QString PythonQtWrapper_QUrl::path(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->path(options)); +} + +int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject, int defaultPort) const +{ + return ( theWrappedObject->port(defaultPort)); +} + +QString PythonQtWrapper_QUrl::query(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const +{ + return ( theWrappedObject->query(arg__1)); +} + +QUrl PythonQtWrapper_QUrl::resolved(QUrl* theWrappedObject, const QUrl& relative) const +{ + return ( theWrappedObject->resolved(relative)); +} + +QString PythonQtWrapper_QUrl::scheme(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->scheme()); +} + +void PythonQtWrapper_QUrl::setAuthority(QUrl* theWrappedObject, const QString& authority, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setAuthority(authority, mode)); +} + +void PythonQtWrapper_QUrl::setFragment(QUrl* theWrappedObject, const QString& fragment, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setFragment(fragment, mode)); +} + +void PythonQtWrapper_QUrl::setHost(QUrl* theWrappedObject, const QString& host, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setHost(host, mode)); +} + +void PythonQtWrapper_QUrl::static_QUrl_setIdnWhitelist(const QStringList& arg__1) +{ + (QUrl::setIdnWhitelist(arg__1)); +} + +void PythonQtWrapper_QUrl::setPassword(QUrl* theWrappedObject, const QString& password, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setPassword(password, mode)); +} + +void PythonQtWrapper_QUrl::setPath(QUrl* theWrappedObject, const QString& path, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setPath(path, mode)); +} + +void PythonQtWrapper_QUrl::setPort(QUrl* theWrappedObject, int port) +{ + ( theWrappedObject->setPort(port)); +} + +void PythonQtWrapper_QUrl::setQuery(QUrl* theWrappedObject, const QString& query, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setQuery(query, mode)); +} + +void PythonQtWrapper_QUrl::setQuery(QUrl* theWrappedObject, const QUrlQuery& query) +{ + ( theWrappedObject->setQuery(query)); +} + +void PythonQtWrapper_QUrl::setScheme(QUrl* theWrappedObject, const QString& scheme) +{ + ( theWrappedObject->setScheme(scheme)); +} + +void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setUrl(url, mode)); +} + +void PythonQtWrapper_QUrl::setUserInfo(QUrl* theWrappedObject, const QString& userInfo, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setUserInfo(userInfo, mode)); +} + +void PythonQtWrapper_QUrl::setUserName(QUrl* theWrappedObject, const QString& userName, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setUserName(userName, mode)); +} + +void PythonQtWrapper_QUrl::swap(QUrl* theWrappedObject, QUrl& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QUrl::static_QUrl_toAce(const QString& arg__1) +{ + return (QUrl::toAce(arg__1)); +} + +QString PythonQtWrapper_QUrl::toDisplayString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->toDisplayString(options)); +} + +QByteArray PythonQtWrapper_QUrl::toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->toEncoded(options)); +} + +QString PythonQtWrapper_QUrl::toLocalFile(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->toLocalFile()); +} + +QByteArray PythonQtWrapper_QUrl::static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude, const QByteArray& include) +{ + return (QUrl::toPercentEncoding(arg__1, exclude, include)); +} + +QString PythonQtWrapper_QUrl::toString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->toString(options)); +} + +QStringList PythonQtWrapper_QUrl::static_QUrl_toStringList(const QList& uris, QUrl::FormattingOptions options) +{ + return (QUrl::toStringList(uris, options)); +} + +QString PythonQtWrapper_QUrl::topLevelDomain(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->topLevelDomain(options)); +} + +QString PythonQtWrapper_QUrl::url(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->url(options)); +} + +QString PythonQtWrapper_QUrl::userInfo(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->userInfo(options)); +} + +QString PythonQtWrapper_QUrl::userName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->userName(options)); +} + +QString PythonQtWrapper_QUrl::py_toString(QUrl* obj) { return obj->toString(); } + + +QTextStream* PythonQtWrapper_Qt::static_Qt_bin(QTextStream& s) +{ + return &(Qt::bin(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_bom(QTextStream& s) +{ + return &(Qt::bom(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_center(QTextStream& s) +{ + return &(Qt::center(s)); +} + +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)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_dec(QTextStream& s) +{ + return &(Qt::dec(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_endl(QTextStream& s) +{ + return &(Qt::endl(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_fixed(QTextStream& s) +{ + return &(Qt::fixed(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_flush(QTextStream& s) +{ + return &(Qt::flush(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_forcepoint(QTextStream& s) +{ + return &(Qt::forcepoint(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_forcesign(QTextStream& s) +{ + return &(Qt::forcesign(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_hex(QTextStream& s) +{ + return &(Qt::hex(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_left(QTextStream& s) +{ + return &(Qt::left(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_lowercasebase(QTextStream& s) +{ + return &(Qt::lowercasebase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_lowercasedigits(QTextStream& s) +{ + return &(Qt::lowercasedigits(s)); +} + +bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) +{ + return (Qt::mightBeRichText(arg__1)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_noforcepoint(QTextStream& s) +{ + return &(Qt::noforcepoint(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_noforcesign(QTextStream& s) +{ + return &(Qt::noforcesign(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_noshowbase(QTextStream& s) +{ + return &(Qt::noshowbase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_oct(QTextStream& s) +{ + return &(Qt::oct(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_reset(QTextStream& s) +{ + return &(Qt::reset(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_right(QTextStream& s) +{ + return &(Qt::right(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_scientific(QTextStream& s) +{ + return &(Qt::scientific(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_showbase(QTextStream& s) +{ + return &(Qt::showbase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_uppercasebase(QTextStream& s) +{ + return &(Qt::uppercasebase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_uppercasedigits(QTextStream& s) +{ + return &(Qt::uppercasedigits(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_ws(QTextStream& s) +{ + return &(Qt::ws(s)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h new file mode 100644 index 00000000..a7817acb --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h @@ -0,0 +1,1466 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QBitArray : public QObject +{ Q_OBJECT +public: +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; } + bool at(QBitArray* theWrappedObject, int i) const; + const char* bits(QBitArray* theWrappedObject) const; + void clear(QBitArray* theWrappedObject); + void clearBit(QBitArray* theWrappedObject, int i); + int count(QBitArray* theWrappedObject) const; + int count(QBitArray* theWrappedObject, bool on) const; + void fill(QBitArray* theWrappedObject, bool val, int first, int last); + bool fill(QBitArray* theWrappedObject, bool val, int size = -1); + QBitArray static_QBitArray_fromBits(const char* data, qsizetype len); + bool isEmpty(QBitArray* theWrappedObject) const; + bool isNull(QBitArray* theWrappedObject) const; + bool __ne__(QBitArray* theWrappedObject, const QBitArray& other) const; + QBitArray __and__(QBitArray* theWrappedObject, const QBitArray& arg__2); + QBitArray* __iand__(QBitArray* theWrappedObject, const QBitArray& arg__1); + void writeTo(QBitArray* theWrappedObject, QDataStream& arg__1); + QBitArray* operator_assign(QBitArray* theWrappedObject, const QBitArray& other); + bool __eq__(QBitArray* theWrappedObject, const QBitArray& other) const; + void readFrom(QBitArray* theWrappedObject, QDataStream& arg__1); + QBitArray __xor__(QBitArray* theWrappedObject, const QBitArray& arg__2); + QBitArray* __ixor__(QBitArray* theWrappedObject, const QBitArray& arg__1); + QBitArray __or__(QBitArray* theWrappedObject, const QBitArray& arg__2); + QBitArray* __ior__(QBitArray* theWrappedObject, const QBitArray& arg__1); + QBitArray __invert__(QBitArray* theWrappedObject) const; + void resize(QBitArray* theWrappedObject, int size); + void setBit(QBitArray* theWrappedObject, int i); + void setBit(QBitArray* theWrappedObject, int i, bool val); + int size(QBitArray* theWrappedObject) const; + void swap(QBitArray* theWrappedObject, QBitArray& other); + bool testBit(QBitArray* theWrappedObject, int i) const; + bool toggleBit(QBitArray* theWrappedObject, int i); + void truncate(QBitArray* theWrappedObject, int pos); + QString py_toString(QBitArray*); + bool __nonzero__(QBitArray* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QByteArray : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Base64DecodingStatus Base64Option ) +Q_FLAGS(Base64Options ) +enum class Base64DecodingStatus{ + Ok = static_cast(QByteArray::Base64DecodingStatus::Ok), IllegalInputLength = static_cast(QByteArray::Base64DecodingStatus::IllegalInputLength), IllegalCharacter = static_cast(QByteArray::Base64DecodingStatus::IllegalCharacter), IllegalPadding = static_cast(QByteArray::Base64DecodingStatus::IllegalPadding)}; +enum Base64Option{ + Base64Encoding = QByteArray::Base64Encoding, Base64UrlEncoding = QByteArray::Base64UrlEncoding, KeepTrailingEquals = QByteArray::KeepTrailingEquals, OmitTrailingEquals = QByteArray::OmitTrailingEquals, IgnoreBase64DecodingErrors = QByteArray::IgnoreBase64DecodingErrors, AbortOnBase64DecodingErrors = QByteArray::AbortOnBase64DecodingErrors}; +Q_DECLARE_FLAGS(Base64Options, Base64Option) +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; } + QByteArray* append(QByteArray* theWrappedObject, char c); + QByteArray* append(QByteArray* theWrappedObject, const QByteArray& a); + QByteArray* append(QByteArray* theWrappedObject, const QString& s); + QByteArray* append(QByteArray* theWrappedObject, const char* s, int len); + QByteArray* append(QByteArray* theWrappedObject, int count, char c); + char at(QByteArray* theWrappedObject, int i) const; + char back(QByteArray* theWrappedObject) const; + int capacity(QByteArray* theWrappedObject) const; + void chop(QByteArray* theWrappedObject, int n); + QByteArray chopped(QByteArray* theWrappedObject, int len) const; + void clear(QByteArray* theWrappedObject); + int compare(QByteArray* theWrappedObject, const QByteArray& a, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; + int compare(QByteArray* theWrappedObject, const char* c, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; + bool contains(QByteArray* theWrappedObject, char c) const; + bool contains(QByteArray* theWrappedObject, const QByteArray& a) const; + bool contains(QByteArray* theWrappedObject, const char* a) const; + int count(QByteArray* theWrappedObject, char c) const; + int count(QByteArray* theWrappedObject, const QByteArray& a) const; + bool endsWith(QByteArray* theWrappedObject, char c) const; + bool endsWith(QByteArray* theWrappedObject, const QByteArray& a) const; + QByteArray* fill(QByteArray* theWrappedObject, char c, int size = -1); + QByteArray static_QByteArray_fromBase64(const QByteArray& base64); + QByteArray static_QByteArray_fromBase64(const QByteArray& base64, QByteArray::Base64Options options); + QByteArray::FromBase64Result static_QByteArray_fromBase64Encoding(const QByteArray& base64, QByteArray::Base64Options options = QByteArray::Base64Encoding); + QByteArray static_QByteArray_fromHex(const QByteArray& hexEncoded); + QByteArray static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent = '%'); + char front(QByteArray* theWrappedObject) const; + int indexOf(QByteArray* theWrappedObject, char c, int from = 0) const; + int indexOf(QByteArray* theWrappedObject, const QByteArray& a, int from = 0) const; + int indexOf(QByteArray* theWrappedObject, const QString& s, int from = 0) const; + QByteArray* insert(QByteArray* theWrappedObject, int i, char c); + QByteArray* insert(QByteArray* theWrappedObject, int i, const QByteArray& a); + QByteArray* insert(QByteArray* theWrappedObject, int i, const QString& s); + QByteArray* insert(QByteArray* theWrappedObject, int i, const char* s, int len); + QByteArray* insert(QByteArray* theWrappedObject, int i, int count, char c); + bool isEmpty(QByteArray* theWrappedObject) const; + bool isLower(QByteArray* theWrappedObject) const; + bool isNull(QByteArray* theWrappedObject) const; + bool isSharedWith(QByteArray* theWrappedObject, const QByteArray& other) const; + bool isUpper(QByteArray* theWrappedObject) const; + int lastIndexOf(QByteArray* theWrappedObject, char c, int from = -1) const; + int lastIndexOf(QByteArray* theWrappedObject, const QByteArray& a, int from = -1) const; + int lastIndexOf(QByteArray* theWrappedObject, const QString& s, int from = -1) const; + QByteArray left(QByteArray* theWrappedObject, int len) const; + QByteArray leftJustified(QByteArray* theWrappedObject, int width, char fill = ' ', bool truncate = false) const; + int length(QByteArray* theWrappedObject) const; + QByteArray mid(QByteArray* theWrappedObject, int index, int len = -1) const; + 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); + const QByteArray __add__(QByteArray* theWrappedObject, const char* a2); + QByteArray* __iadd__(QByteArray* theWrappedObject, const QByteArray& a); + bool __lt__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __lt__(QByteArray* theWrappedObject, const QString& s2) const; + void writeTo(QByteArray* theWrappedObject, QDataStream& arg__1); + bool __le__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __le__(QByteArray* theWrappedObject, const QString& s2) const; + QByteArray* operator_assign(QByteArray* theWrappedObject, const QByteArray& arg__1); + bool __eq__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __eq__(QByteArray* theWrappedObject, const QString& s2) const; + bool __gt__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __gt__(QByteArray* theWrappedObject, const QString& s2) const; + bool __ge__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __ge__(QByteArray* theWrappedObject, const QString& s2) const; + void readFrom(QByteArray* theWrappedObject, QDataStream& arg__1); + QByteArray* prepend(QByteArray* theWrappedObject, char c); + QByteArray* prepend(QByteArray* theWrappedObject, const QByteArray& a); + QByteArray* prepend(QByteArray* theWrappedObject, const char* s, int len); + QByteArray* prepend(QByteArray* theWrappedObject, int count, char c); + void push_back(QByteArray* theWrappedObject, const QByteArray& a); + void push_front(QByteArray* theWrappedObject, const QByteArray& a); + QByteArray* remove(QByteArray* theWrappedObject, int index, int len); + QByteArray repeated(QByteArray* theWrappedObject, int times) const; + QByteArray* replace(QByteArray* theWrappedObject, char before, char after); + QByteArray* replace(QByteArray* theWrappedObject, char before, const QByteArray& after); + QByteArray* replace(QByteArray* theWrappedObject, char c, const QString& after); + QByteArray* replace(QByteArray* theWrappedObject, const QByteArray& before, const QByteArray& after); + QByteArray* replace(QByteArray* theWrappedObject, const QString& before, const QByteArray& after); + QByteArray* replace(QByteArray* theWrappedObject, const char* before, int bsize, const char* after, int asize); + QByteArray* replace(QByteArray* theWrappedObject, int index, int len, const QByteArray& s); + QByteArray* replace(QByteArray* theWrappedObject, int index, int len, const char* s, int alen); + void reserve(QByteArray* theWrappedObject, int size); + void resize(QByteArray* theWrappedObject, int size); + QByteArray right(QByteArray* theWrappedObject, int len) const; + QByteArray rightJustified(QByteArray* theWrappedObject, int width, char fill = ' ', bool truncate = false) const; + QByteArray* setNum(QByteArray* theWrappedObject, double arg__1, char f = 'g', int prec = 6); + QByteArray* setNum(QByteArray* theWrappedObject, float arg__1, char f = 'g', int prec = 6); + QByteArray* setNum(QByteArray* theWrappedObject, int arg__1, int base = 10); + QByteArray* setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base = 10); + QByteArray* setNum(QByteArray* theWrappedObject, short arg__1, int base = 10); + QByteArray* setRawData(QByteArray* theWrappedObject, const char* a, uint n); + void shrink_to_fit(QByteArray* theWrappedObject); + QByteArray simplified(QByteArray* theWrappedObject) const; + int size(QByteArray* theWrappedObject) const; + QList split(QByteArray* theWrappedObject, char sep) const; + void squeeze(QByteArray* theWrappedObject); + bool startsWith(QByteArray* theWrappedObject, char c) const; + bool startsWith(QByteArray* theWrappedObject, const QByteArray& a) const; + void swap(QByteArray* theWrappedObject, QByteArray& other); + QByteArray toBase64(QByteArray* theWrappedObject) const; + QByteArray toBase64(QByteArray* theWrappedObject, QByteArray::Base64Options options) const; + double toDouble(QByteArray* theWrappedObject, bool* ok = nullptr) const; + float toFloat(QByteArray* theWrappedObject, bool* ok = nullptr) const; + QByteArray toHex(QByteArray* theWrappedObject) const; + QByteArray toHex(QByteArray* theWrappedObject, char separator) const; + int toInt(QByteArray* theWrappedObject, bool* ok = nullptr, int base = 10) const; + QByteArray toLower(QByteArray* theWrappedObject) const; + QByteArray toPercentEncoding(QByteArray* theWrappedObject, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray(), char percent = '%') const; + ushort toUShort(QByteArray* theWrappedObject, bool* ok = nullptr, int base = 10) const; + QByteArray toUpper(QByteArray* theWrappedObject) const; + QByteArray trimmed(QByteArray* theWrappedObject) const; + void truncate(QByteArray* theWrappedObject, int pos); + bool __nonzero__(QByteArray* obj) { return !obj->isEmpty(); } + + PyObject* data(QByteArray* b) { + return PyBytes_FromStringAndSize(b->data(), b->size()); + } + +}; + + + + + +class PythonQtWrapper_QDate : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MonthNameType ) +enum MonthNameType{ + DateFormat = QDate::DateFormat, StandaloneFormat = QDate::StandaloneFormat}; +public slots: +QDate* new_QDate(); +QDate* new_QDate(int y, int m, int d); +QDate* new_QDate(int y, int m, int d, QCalendar cal); +QDate* new_QDate(const QDate& other) { +QDate* a = new QDate(); +*((QDate*)a) = other; +return a; } +void delete_QDate(QDate* obj) { delete obj; } + QDate addDays(QDate* theWrappedObject, qint64 days) const; + QDate addMonths(QDate* theWrappedObject, int months) const; + QDate addMonths(QDate* theWrappedObject, int months, QCalendar cal) const; + QDate addYears(QDate* theWrappedObject, int years) const; + QDate addYears(QDate* theWrappedObject, int years, QCalendar cal) const; + QDate static_QDate_currentDate(); + int day(QDate* theWrappedObject) const; + int day(QDate* theWrappedObject, QCalendar cal) const; + int dayOfWeek(QDate* theWrappedObject) const; + int dayOfWeek(QDate* theWrappedObject, QCalendar cal) const; + int dayOfYear(QDate* theWrappedObject) const; + int dayOfYear(QDate* theWrappedObject, QCalendar cal) const; + int daysInMonth(QDate* theWrappedObject) const; + int daysInMonth(QDate* theWrappedObject, QCalendar cal) const; + int daysInYear(QDate* theWrappedObject) const; + int daysInYear(QDate* theWrappedObject, QCalendar cal) const; + qint64 daysTo(QDate* theWrappedObject, const QDate& arg__1) const; + QDateTime endOfDay(QDate* theWrappedObject, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; + QDateTime endOfDay(QDate* theWrappedObject, const QTimeZone& zone) const; + QDate static_QDate_fromJulianDay(qint64 jd_); + QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); + QDate static_QDate_fromString(const QString& s, const QString& format); + QDate static_QDate_fromString(const QString& s, const QString& format, QCalendar cal); + void getDate(QDate* theWrappedObject, int* year, int* month, int* day); + void getDate(QDate* theWrappedObject, int* year, int* month, int* day) const; + bool static_QDate_isLeapYear(int year); + bool isNull(QDate* theWrappedObject) const; + bool isValid(QDate* theWrappedObject) const; + bool static_QDate_isValid(int y, int m, int d); + QString static_QDate_longDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); + QString static_QDate_longMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); + int month(QDate* theWrappedObject) const; + int month(QDate* theWrappedObject, QCalendar cal) const; + bool __ne__(QDate* theWrappedObject, const QDate& other) const; + bool __lt__(QDate* theWrappedObject, const QDate& other) const; + void writeTo(QDate* theWrappedObject, QDataStream& arg__1); + bool __le__(QDate* theWrappedObject, const QDate& other) const; + bool __eq__(QDate* theWrappedObject, const QDate& other) const; + bool __gt__(QDate* theWrappedObject, const QDate& other) const; + bool __ge__(QDate* theWrappedObject, const QDate& other) const; + void readFrom(QDate* theWrappedObject, QDataStream& arg__1); + bool setDate(QDate* theWrappedObject, int year, int month, int day); + bool setDate(QDate* theWrappedObject, int year, int month, int day, QCalendar cal); + QString static_QDate_shortDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); + QString static_QDate_shortMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); + QDateTime startOfDay(QDate* theWrappedObject, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; + QDateTime startOfDay(QDate* theWrappedObject, const QTimeZone& zone) const; + qint64 toJulianDay(QDate* theWrappedObject) const; + QString toString(QDate* theWrappedObject, Qt::DateFormat format = Qt::TextDate) const; + QString toString(QDate* theWrappedObject, Qt::DateFormat format, QCalendar cal) const; + QString toString(QDate* theWrappedObject, const QString& format) const; + QString toString(QDate* theWrappedObject, const QString& format, QCalendar cal) const; + int weekNumber(QDate* theWrappedObject, int* yearNum = nullptr) const; + int year(QDate* theWrappedObject) const; + int year(QDate* theWrappedObject, QCalendar cal) const; + QString py_toString(QDate*); + bool __nonzero__(QDate* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QDateTime : public QObject +{ Q_OBJECT +public: +Q_ENUMS(YearRange ) +enum class YearRange{ + First = static_cast(QDateTime::YearRange::First), Last = static_cast(QDateTime::YearRange::Last)}; +public slots: +QDateTime* new_QDateTime(); +QDateTime* new_QDateTime(const QDate& arg__1); +QDateTime* new_QDateTime(const QDate& arg__1, const QTime& arg__2, Qt::TimeSpec spec = Qt::LocalTime); +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; } + QDateTime addDays(QDateTime* theWrappedObject, qint64 days) const; + QDateTime addMSecs(QDateTime* theWrappedObject, qint64 msecs) const; + QDateTime addMonths(QDateTime* theWrappedObject, int months) const; + QDateTime addSecs(QDateTime* theWrappedObject, qint64 secs) const; + QDateTime addYears(QDateTime* theWrappedObject, int years) const; + QDateTime static_QDateTime_currentDateTime(); + QDateTime static_QDateTime_currentDateTimeUtc(); + qint64 static_QDateTime_currentMSecsSinceEpoch(); + qint64 static_QDateTime_currentSecsSinceEpoch(); + QDate date(QDateTime* theWrappedObject) const; + qint64 daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + QDateTime static_QDateTime_fromMSecsSinceEpoch(qint64 msecs); + QDateTime static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetFromUtc = 0); + QDateTime static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, const QTimeZone& timeZone); + QDateTime static_QDateTime_fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spe = Qt::LocalTime, int offsetFromUtc = 0); + QDateTime static_QDateTime_fromSecsSinceEpoch(qint64 secs, const QTimeZone& timeZone); + QDateTime static_QDateTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); + QDateTime static_QDateTime_fromString(const QString& s, const QString& format); + QDateTime static_QDateTime_fromString(const QString& s, const QString& format, QCalendar cal); + QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC); + QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec, int offsetFromUtc = 0); + QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, const QTimeZone& timeZone); + bool isDaylightTime(QDateTime* theWrappedObject) const; + bool isNull(QDateTime* theWrappedObject) const; + bool isValid(QDateTime* theWrappedObject) const; + qint64 msecsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + int offsetFromUtc(QDateTime* theWrappedObject) const; + bool __ne__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __lt__(QDateTime* theWrappedObject, const QDateTime& other) const; + void writeTo(QDateTime* theWrappedObject, QDataStream& arg__1); + bool __le__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __eq__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __gt__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __ge__(QDateTime* theWrappedObject, const QDateTime& other) const; + void readFrom(QDateTime* theWrappedObject, QDataStream& arg__1); + qint64 secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + void setDate(QDateTime* theWrappedObject, const QDate& date); + void setMSecsSinceEpoch(QDateTime* theWrappedObject, qint64 msecs); + void setOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds); + void setSecsSinceEpoch(QDateTime* theWrappedObject, qint64 secs); + void setTime(QDateTime* theWrappedObject, const QTime& time); + void setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec); + void setTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone); + void setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC); + void setUtcOffset(QDateTime* theWrappedObject, int seconds); + void swap(QDateTime* theWrappedObject, QDateTime& other); + QTime time(QDateTime* theWrappedObject) const; + Qt::TimeSpec timeSpec(QDateTime* theWrappedObject) const; + QTimeZone timeZone(QDateTime* theWrappedObject) const; + QString timeZoneAbbreviation(QDateTime* theWrappedObject) const; + QDateTime toLocalTime(QDateTime* theWrappedObject) const; + qint64 toMSecsSinceEpoch(QDateTime* theWrappedObject) const; + QDateTime toOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds) const; + qint64 toSecsSinceEpoch(QDateTime* theWrappedObject) const; + QString toString(QDateTime* theWrappedObject, Qt::DateFormat format = Qt::TextDate) const; + QString toString(QDateTime* theWrappedObject, const QString& format) const; + QString toString(QDateTime* theWrappedObject, const QString& format, QCalendar cal) const; + QDateTime toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) const; + QDateTime toTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone) const; + uint toTime_t(QDateTime* theWrappedObject) const; + QDateTime toUTC(QDateTime* theWrappedObject) const; + int utcOffset(QDateTime* theWrappedObject) const; + QString py_toString(QDateTime*); + bool __nonzero__(QDateTime* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QLine : public QObject +{ Q_OBJECT +public: +public slots: +QLine* new_QLine(); +QLine* new_QLine(const QPoint& pt1, const QPoint& pt2); +QLine* new_QLine(int x1, int y1, int x2, int y2); +QLine* new_QLine(const QLine& other) { +QLine* a = new QLine(); +*((QLine*)a) = other; +return a; } +void delete_QLine(QLine* obj) { delete obj; } + QPoint center(QLine* theWrappedObject) const; + int dx(QLine* theWrappedObject) const; + int dy(QLine* theWrappedObject) const; + bool isNull(QLine* theWrappedObject) const; + bool __ne__(QLine* theWrappedObject, const QLine& d) const; + QLine __mul__(QLine* theWrappedObject, const QMatrix& m); + QLine __mul__(QLine* theWrappedObject, const QTransform& m); + void writeTo(QLine* theWrappedObject, QDataStream& arg__1); + bool __eq__(QLine* theWrappedObject, const QLine& d) const; + void readFrom(QLine* theWrappedObject, QDataStream& arg__1); + QPoint p1(QLine* theWrappedObject) const; + QPoint p2(QLine* theWrappedObject) const; + void setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2); + void setP1(QLine* theWrappedObject, const QPoint& p1); + void setP2(QLine* theWrappedObject, const QPoint& p2); + void setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2); + void translate(QLine* theWrappedObject, const QPoint& p); + void translate(QLine* theWrappedObject, int dx, int dy); + QLine translated(QLine* theWrappedObject, const QPoint& p) const; + QLine translated(QLine* theWrappedObject, int dx, int dy) const; + int x1(QLine* theWrappedObject) const; + int x2(QLine* theWrappedObject) const; + int y1(QLine* theWrappedObject) const; + int y2(QLine* theWrappedObject) const; + QString py_toString(QLine*); + bool __nonzero__(QLine* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QLineF : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IntersectType ) +enum IntersectType{ + NoIntersection = QLineF::NoIntersection, BoundedIntersection = QLineF::BoundedIntersection, UnboundedIntersection = QLineF::UnboundedIntersection}; +public slots: +QLineF* new_QLineF(); +QLineF* new_QLineF(const QLine& line); +QLineF* new_QLineF(const QPointF& pt1, const QPointF& pt2); +QLineF* new_QLineF(qreal x1, qreal y1, qreal x2, qreal y2); +QLineF* new_QLineF(const QLineF& other) { +QLineF* a = new QLineF(); +*((QLineF*)a) = other; +return a; } +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; + QPointF center(QLineF* theWrappedObject) const; + qreal dx(QLineF* theWrappedObject) const; + qreal dy(QLineF* theWrappedObject) const; + QLineF static_QLineF_fromPolar(qreal length, qreal angle); + QLineF::IntersectType intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const; + QLineF::IntersectionType intersects(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const; + bool isNull(QLineF* theWrappedObject) const; + qreal length(QLineF* theWrappedObject) const; + QLineF normalVector(QLineF* theWrappedObject) const; + bool __ne__(QLineF* theWrappedObject, const QLineF& d) const; + QLineF __mul__(QLineF* theWrappedObject, const QMatrix& m); + QLineF __mul__(QLineF* theWrappedObject, const QTransform& m); + void writeTo(QLineF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QLineF* theWrappedObject, const QLineF& d) const; + void readFrom(QLineF* theWrappedObject, QDataStream& arg__1); + QPointF p1(QLineF* theWrappedObject) const; + QPointF p2(QLineF* theWrappedObject) const; + QPointF pointAt(QLineF* theWrappedObject, qreal t) const; + void setAngle(QLineF* theWrappedObject, qreal angle); + void setLength(QLineF* theWrappedObject, qreal len); + void setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); + void setP1(QLineF* theWrappedObject, const QPointF& p1); + void setP2(QLineF* theWrappedObject, const QPointF& p2); + void setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2); + QLine toLine(QLineF* theWrappedObject) const; + void translate(QLineF* theWrappedObject, const QPointF& p); + void translate(QLineF* theWrappedObject, qreal dx, qreal dy); + QLineF translated(QLineF* theWrappedObject, const QPointF& p) const; + QLineF translated(QLineF* theWrappedObject, qreal dx, qreal dy) const; + QLineF unitVector(QLineF* theWrappedObject) const; + qreal x1(QLineF* theWrappedObject) const; + qreal x2(QLineF* theWrappedObject) const; + qreal y1(QLineF* theWrappedObject) const; + qreal y2(QLineF* theWrappedObject) const; + QString py_toString(QLineF*); + bool __nonzero__(QLineF* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QLocale : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Country CurrencySymbolFormat DataSizeFormat FloatingPointPrecisionOption FormatType Language MeasurementSystem NumberOption QuotationStyle Script ) +Q_FLAGS(NumberOptions ) +enum Country{ + AnyCountry = QLocale::AnyCountry, Afghanistan = QLocale::Afghanistan, Albania = QLocale::Albania, Algeria = QLocale::Algeria, AmericanSamoa = QLocale::AmericanSamoa, Andorra = QLocale::Andorra, Angola = QLocale::Angola, Anguilla = QLocale::Anguilla, Antarctica = QLocale::Antarctica, AntiguaAndBarbuda = QLocale::AntiguaAndBarbuda, Argentina = QLocale::Argentina, Armenia = QLocale::Armenia, Aruba = QLocale::Aruba, Australia = QLocale::Australia, Austria = QLocale::Austria, Azerbaijan = QLocale::Azerbaijan, Bahamas = QLocale::Bahamas, Bahrain = QLocale::Bahrain, Bangladesh = QLocale::Bangladesh, Barbados = QLocale::Barbados, Belarus = QLocale::Belarus, Belgium = QLocale::Belgium, Belize = QLocale::Belize, Benin = QLocale::Benin, Bermuda = QLocale::Bermuda, Bhutan = QLocale::Bhutan, Bolivia = QLocale::Bolivia, BosniaAndHerzegowina = QLocale::BosniaAndHerzegowina, Botswana = QLocale::Botswana, BouvetIsland = QLocale::BouvetIsland, Brazil = QLocale::Brazil, BritishIndianOceanTerritory = QLocale::BritishIndianOceanTerritory, Brunei = QLocale::Brunei, Bulgaria = QLocale::Bulgaria, BurkinaFaso = QLocale::BurkinaFaso, Burundi = QLocale::Burundi, Cambodia = QLocale::Cambodia, Cameroon = QLocale::Cameroon, Canada = QLocale::Canada, CapeVerde = QLocale::CapeVerde, CaymanIslands = QLocale::CaymanIslands, CentralAfricanRepublic = QLocale::CentralAfricanRepublic, Chad = QLocale::Chad, Chile = QLocale::Chile, China = QLocale::China, ChristmasIsland = QLocale::ChristmasIsland, CocosIslands = QLocale::CocosIslands, Colombia = QLocale::Colombia, Comoros = QLocale::Comoros, CongoKinshasa = QLocale::CongoKinshasa, CongoBrazzaville = QLocale::CongoBrazzaville, CookIslands = QLocale::CookIslands, CostaRica = QLocale::CostaRica, IvoryCoast = QLocale::IvoryCoast, Croatia = QLocale::Croatia, Cuba = QLocale::Cuba, Cyprus = QLocale::Cyprus, CzechRepublic = QLocale::CzechRepublic, Denmark = QLocale::Denmark, Djibouti = QLocale::Djibouti, Dominica = QLocale::Dominica, DominicanRepublic = QLocale::DominicanRepublic, EastTimor = QLocale::EastTimor, Ecuador = QLocale::Ecuador, Egypt = QLocale::Egypt, ElSalvador = QLocale::ElSalvador, EquatorialGuinea = QLocale::EquatorialGuinea, Eritrea = QLocale::Eritrea, Estonia = QLocale::Estonia, Ethiopia = QLocale::Ethiopia, FalklandIslands = QLocale::FalklandIslands, FaroeIslands = QLocale::FaroeIslands, Fiji = QLocale::Fiji, Finland = QLocale::Finland, France = QLocale::France, Guernsey = QLocale::Guernsey, FrenchGuiana = QLocale::FrenchGuiana, FrenchPolynesia = QLocale::FrenchPolynesia, FrenchSouthernTerritories = QLocale::FrenchSouthernTerritories, Gabon = QLocale::Gabon, Gambia = QLocale::Gambia, Georgia = QLocale::Georgia, Germany = QLocale::Germany, Ghana = QLocale::Ghana, Gibraltar = QLocale::Gibraltar, Greece = QLocale::Greece, Greenland = QLocale::Greenland, Grenada = QLocale::Grenada, Guadeloupe = QLocale::Guadeloupe, Guam = QLocale::Guam, Guatemala = QLocale::Guatemala, Guinea = QLocale::Guinea, GuineaBissau = QLocale::GuineaBissau, Guyana = QLocale::Guyana, Haiti = QLocale::Haiti, HeardAndMcDonaldIslands = QLocale::HeardAndMcDonaldIslands, Honduras = QLocale::Honduras, HongKong = QLocale::HongKong, Hungary = QLocale::Hungary, Iceland = QLocale::Iceland, India = QLocale::India, Indonesia = QLocale::Indonesia, Iran = QLocale::Iran, Iraq = QLocale::Iraq, Ireland = QLocale::Ireland, Israel = QLocale::Israel, Italy = QLocale::Italy, Jamaica = QLocale::Jamaica, Japan = QLocale::Japan, Jordan = QLocale::Jordan, Kazakhstan = QLocale::Kazakhstan, Kenya = QLocale::Kenya, Kiribati = QLocale::Kiribati, NorthKorea = QLocale::NorthKorea, SouthKorea = QLocale::SouthKorea, Kuwait = QLocale::Kuwait, Kyrgyzstan = QLocale::Kyrgyzstan, Laos = QLocale::Laos, Latvia = QLocale::Latvia, Lebanon = QLocale::Lebanon, Lesotho = QLocale::Lesotho, Liberia = QLocale::Liberia, Libya = QLocale::Libya, Liechtenstein = QLocale::Liechtenstein, Lithuania = QLocale::Lithuania, Luxembourg = QLocale::Luxembourg, Macau = QLocale::Macau, Macedonia = QLocale::Macedonia, Madagascar = QLocale::Madagascar, Malawi = QLocale::Malawi, Malaysia = QLocale::Malaysia, Maldives = QLocale::Maldives, Mali = QLocale::Mali, Malta = QLocale::Malta, MarshallIslands = QLocale::MarshallIslands, Martinique = QLocale::Martinique, Mauritania = QLocale::Mauritania, Mauritius = QLocale::Mauritius, Mayotte = QLocale::Mayotte, Mexico = QLocale::Mexico, Micronesia = QLocale::Micronesia, Moldova = QLocale::Moldova, Monaco = QLocale::Monaco, Mongolia = QLocale::Mongolia, Montserrat = QLocale::Montserrat, Morocco = QLocale::Morocco, Mozambique = QLocale::Mozambique, Myanmar = QLocale::Myanmar, Namibia = QLocale::Namibia, NauruCountry = QLocale::NauruCountry, Nepal = QLocale::Nepal, Netherlands = QLocale::Netherlands, CuraSao = QLocale::CuraSao, NewCaledonia = QLocale::NewCaledonia, NewZealand = QLocale::NewZealand, Nicaragua = QLocale::Nicaragua, Niger = QLocale::Niger, Nigeria = QLocale::Nigeria, Niue = QLocale::Niue, NorfolkIsland = QLocale::NorfolkIsland, NorthernMarianaIslands = QLocale::NorthernMarianaIslands, Norway = QLocale::Norway, Oman = QLocale::Oman, Pakistan = QLocale::Pakistan, Palau = QLocale::Palau, PalestinianTerritories = QLocale::PalestinianTerritories, Panama = QLocale::Panama, PapuaNewGuinea = QLocale::PapuaNewGuinea, Paraguay = QLocale::Paraguay, Peru = QLocale::Peru, Philippines = QLocale::Philippines, Pitcairn = QLocale::Pitcairn, Poland = QLocale::Poland, Portugal = QLocale::Portugal, PuertoRico = QLocale::PuertoRico, Qatar = QLocale::Qatar, Reunion = QLocale::Reunion, Romania = QLocale::Romania, Russia = QLocale::Russia, Rwanda = QLocale::Rwanda, SaintKittsAndNevis = QLocale::SaintKittsAndNevis, SaintLucia = QLocale::SaintLucia, SaintVincentAndTheGrenadines = QLocale::SaintVincentAndTheGrenadines, Samoa = QLocale::Samoa, SanMarino = QLocale::SanMarino, SaoTomeAndPrincipe = QLocale::SaoTomeAndPrincipe, SaudiArabia = QLocale::SaudiArabia, Senegal = QLocale::Senegal, Seychelles = QLocale::Seychelles, SierraLeone = QLocale::SierraLeone, Singapore = QLocale::Singapore, Slovakia = QLocale::Slovakia, Slovenia = QLocale::Slovenia, SolomonIslands = QLocale::SolomonIslands, Somalia = QLocale::Somalia, SouthAfrica = QLocale::SouthAfrica, SouthGeorgiaAndTheSouthSandwichIslands = QLocale::SouthGeorgiaAndTheSouthSandwichIslands, Spain = QLocale::Spain, SriLanka = QLocale::SriLanka, SaintHelena = QLocale::SaintHelena, SaintPierreAndMiquelon = QLocale::SaintPierreAndMiquelon, Sudan = QLocale::Sudan, Suriname = QLocale::Suriname, SvalbardAndJanMayenIslands = QLocale::SvalbardAndJanMayenIslands, Swaziland = QLocale::Swaziland, Sweden = QLocale::Sweden, Switzerland = QLocale::Switzerland, Syria = QLocale::Syria, Taiwan = QLocale::Taiwan, Tajikistan = QLocale::Tajikistan, Tanzania = QLocale::Tanzania, Thailand = QLocale::Thailand, Togo = QLocale::Togo, TokelauCountry = QLocale::TokelauCountry, Tonga = QLocale::Tonga, TrinidadAndTobago = QLocale::TrinidadAndTobago, Tunisia = QLocale::Tunisia, Turkey = QLocale::Turkey, Turkmenistan = QLocale::Turkmenistan, TurksAndCaicosIslands = QLocale::TurksAndCaicosIslands, TuvaluCountry = QLocale::TuvaluCountry, Uganda = QLocale::Uganda, Ukraine = QLocale::Ukraine, UnitedArabEmirates = QLocale::UnitedArabEmirates, UnitedKingdom = QLocale::UnitedKingdom, UnitedStates = QLocale::UnitedStates, UnitedStatesMinorOutlyingIslands = QLocale::UnitedStatesMinorOutlyingIslands, Uruguay = QLocale::Uruguay, Uzbekistan = QLocale::Uzbekistan, Vanuatu = QLocale::Vanuatu, VaticanCityState = QLocale::VaticanCityState, Venezuela = QLocale::Venezuela, Vietnam = QLocale::Vietnam, BritishVirginIslands = QLocale::BritishVirginIslands, UnitedStatesVirginIslands = QLocale::UnitedStatesVirginIslands, WallisAndFutunaIslands = QLocale::WallisAndFutunaIslands, WesternSahara = QLocale::WesternSahara, Yemen = QLocale::Yemen, CanaryIslands = QLocale::CanaryIslands, Zambia = QLocale::Zambia, Zimbabwe = QLocale::Zimbabwe, ClippertonIsland = QLocale::ClippertonIsland, Montenegro = QLocale::Montenegro, Serbia = QLocale::Serbia, SaintBarthelemy = QLocale::SaintBarthelemy, SaintMartin = QLocale::SaintMartin, LatinAmerica = QLocale::LatinAmerica, AscensionIsland = QLocale::AscensionIsland, AlandIslands = QLocale::AlandIslands, DiegoGarcia = QLocale::DiegoGarcia, CeutaAndMelilla = QLocale::CeutaAndMelilla, IsleOfMan = QLocale::IsleOfMan, Jersey = QLocale::Jersey, TristanDaCunha = QLocale::TristanDaCunha, SouthSudan = QLocale::SouthSudan, Bonaire = QLocale::Bonaire, SintMaarten = QLocale::SintMaarten, Kosovo = QLocale::Kosovo, EuropeanUnion = QLocale::EuropeanUnion, OutlyingOceania = QLocale::OutlyingOceania, World = QLocale::World, Europe = QLocale::Europe, DemocraticRepublicOfCongo = QLocale::DemocraticRepublicOfCongo, DemocraticRepublicOfKorea = QLocale::DemocraticRepublicOfKorea, LatinAmericaAndTheCaribbean = QLocale::LatinAmericaAndTheCaribbean, PeoplesRepublicOfCongo = QLocale::PeoplesRepublicOfCongo, RepublicOfKorea = QLocale::RepublicOfKorea, RussianFederation = QLocale::RussianFederation, SyrianArabRepublic = QLocale::SyrianArabRepublic, Tokelau = QLocale::Tokelau, Tuvalu = QLocale::Tuvalu, LastCountry = QLocale::LastCountry}; +enum CurrencySymbolFormat{ + CurrencyIsoCode = QLocale::CurrencyIsoCode, CurrencySymbol = QLocale::CurrencySymbol, CurrencyDisplayName = QLocale::CurrencyDisplayName}; +enum DataSizeFormat{ + DataSizeBase1000 = QLocale::DataSizeBase1000, DataSizeSIQuantifiers = QLocale::DataSizeSIQuantifiers, DataSizeIecFormat = QLocale::DataSizeIecFormat, DataSizeTraditionalFormat = QLocale::DataSizeTraditionalFormat, DataSizeSIFormat = QLocale::DataSizeSIFormat}; +enum FloatingPointPrecisionOption{ + FloatingPointShortest = QLocale::FloatingPointShortest}; +enum FormatType{ + LongFormat = QLocale::LongFormat, ShortFormat = QLocale::ShortFormat, NarrowFormat = QLocale::NarrowFormat}; +enum Language{ + AnyLanguage = QLocale::AnyLanguage, C = QLocale::C, Abkhazian = QLocale::Abkhazian, Oromo = QLocale::Oromo, Afar = QLocale::Afar, Afrikaans = QLocale::Afrikaans, Albanian = QLocale::Albanian, Amharic = QLocale::Amharic, Arabic = QLocale::Arabic, Armenian = QLocale::Armenian, Assamese = QLocale::Assamese, Aymara = QLocale::Aymara, Azerbaijani = QLocale::Azerbaijani, Bashkir = QLocale::Bashkir, Basque = QLocale::Basque, Bengali = QLocale::Bengali, Dzongkha = QLocale::Dzongkha, Bihari = QLocale::Bihari, Bislama = QLocale::Bislama, Breton = QLocale::Breton, Bulgarian = QLocale::Bulgarian, Burmese = QLocale::Burmese, Belarusian = QLocale::Belarusian, Khmer = QLocale::Khmer, Catalan = QLocale::Catalan, Chinese = QLocale::Chinese, Corsican = QLocale::Corsican, Croatian = QLocale::Croatian, Czech = QLocale::Czech, Danish = QLocale::Danish, Dutch = QLocale::Dutch, English = QLocale::English, Esperanto = QLocale::Esperanto, Estonian = QLocale::Estonian, Faroese = QLocale::Faroese, Fijian = QLocale::Fijian, Finnish = QLocale::Finnish, French = QLocale::French, WesternFrisian = QLocale::WesternFrisian, Gaelic = QLocale::Gaelic, Galician = QLocale::Galician, Georgian = QLocale::Georgian, German = QLocale::German, Greek = QLocale::Greek, Greenlandic = QLocale::Greenlandic, Guarani = QLocale::Guarani, Gujarati = QLocale::Gujarati, Hausa = QLocale::Hausa, Hebrew = QLocale::Hebrew, Hindi = QLocale::Hindi, Hungarian = QLocale::Hungarian, Icelandic = QLocale::Icelandic, Indonesian = QLocale::Indonesian, Interlingua = QLocale::Interlingua, Interlingue = QLocale::Interlingue, Inuktitut = QLocale::Inuktitut, Inupiak = QLocale::Inupiak, Irish = QLocale::Irish, Italian = QLocale::Italian, Japanese = QLocale::Japanese, Javanese = QLocale::Javanese, Kannada = QLocale::Kannada, Kashmiri = QLocale::Kashmiri, Kazakh = QLocale::Kazakh, Kinyarwanda = QLocale::Kinyarwanda, Kirghiz = QLocale::Kirghiz, Korean = QLocale::Korean, Kurdish = QLocale::Kurdish, Rundi = QLocale::Rundi, Lao = QLocale::Lao, Latin = QLocale::Latin, Latvian = QLocale::Latvian, Lingala = QLocale::Lingala, Lithuanian = QLocale::Lithuanian, Macedonian = QLocale::Macedonian, Malagasy = QLocale::Malagasy, Malay = QLocale::Malay, Malayalam = QLocale::Malayalam, Maltese = QLocale::Maltese, Maori = QLocale::Maori, Marathi = QLocale::Marathi, Marshallese = QLocale::Marshallese, Mongolian = QLocale::Mongolian, NauruLanguage = QLocale::NauruLanguage, Nepali = QLocale::Nepali, NorwegianBokmal = QLocale::NorwegianBokmal, Occitan = QLocale::Occitan, Oriya = QLocale::Oriya, Pashto = QLocale::Pashto, Persian = QLocale::Persian, Polish = QLocale::Polish, Portuguese = QLocale::Portuguese, Punjabi = QLocale::Punjabi, Quechua = QLocale::Quechua, Romansh = QLocale::Romansh, Romanian = QLocale::Romanian, Russian = QLocale::Russian, Samoan = QLocale::Samoan, Sango = QLocale::Sango, Sanskrit = QLocale::Sanskrit, Serbian = QLocale::Serbian, Ossetic = QLocale::Ossetic, SouthernSotho = QLocale::SouthernSotho, Tswana = QLocale::Tswana, Shona = QLocale::Shona, Sindhi = QLocale::Sindhi, Sinhala = QLocale::Sinhala, Swati = QLocale::Swati, Slovak = QLocale::Slovak, Slovenian = QLocale::Slovenian, Somali = QLocale::Somali, Spanish = QLocale::Spanish, Sundanese = QLocale::Sundanese, Swahili = QLocale::Swahili, Swedish = QLocale::Swedish, Sardinian = QLocale::Sardinian, Tajik = QLocale::Tajik, Tamil = QLocale::Tamil, Tatar = QLocale::Tatar, Telugu = QLocale::Telugu, Thai = QLocale::Thai, Tibetan = QLocale::Tibetan, Tigrinya = QLocale::Tigrinya, Tongan = QLocale::Tongan, Tsonga = QLocale::Tsonga, Turkish = QLocale::Turkish, Turkmen = QLocale::Turkmen, Tahitian = QLocale::Tahitian, Uighur = QLocale::Uighur, Ukrainian = QLocale::Ukrainian, Urdu = QLocale::Urdu, Uzbek = QLocale::Uzbek, Vietnamese = QLocale::Vietnamese, Volapuk = QLocale::Volapuk, Welsh = QLocale::Welsh, Wolof = QLocale::Wolof, Xhosa = QLocale::Xhosa, Yiddish = QLocale::Yiddish, Yoruba = QLocale::Yoruba, Zhuang = QLocale::Zhuang, Zulu = QLocale::Zulu, NorwegianNynorsk = QLocale::NorwegianNynorsk, Bosnian = QLocale::Bosnian, Divehi = QLocale::Divehi, Manx = QLocale::Manx, Cornish = QLocale::Cornish, Akan = QLocale::Akan, Konkani = QLocale::Konkani, Ga = QLocale::Ga, Igbo = QLocale::Igbo, Kamba = QLocale::Kamba, Syriac = QLocale::Syriac, Blin = QLocale::Blin, Geez = QLocale::Geez, Koro = QLocale::Koro, Sidamo = QLocale::Sidamo, Atsam = QLocale::Atsam, Tigre = QLocale::Tigre, Jju = QLocale::Jju, Friulian = QLocale::Friulian, Venda = QLocale::Venda, Ewe = QLocale::Ewe, Walamo = QLocale::Walamo, Hawaiian = QLocale::Hawaiian, Tyap = QLocale::Tyap, Nyanja = QLocale::Nyanja, Filipino = QLocale::Filipino, SwissGerman = QLocale::SwissGerman, SichuanYi = QLocale::SichuanYi, Kpelle = QLocale::Kpelle, LowGerman = QLocale::LowGerman, SouthNdebele = QLocale::SouthNdebele, NorthernSotho = QLocale::NorthernSotho, NorthernSami = QLocale::NorthernSami, Taroko = QLocale::Taroko, Gusii = QLocale::Gusii, Taita = QLocale::Taita, Fulah = QLocale::Fulah, Kikuyu = QLocale::Kikuyu, Samburu = QLocale::Samburu, Sena = QLocale::Sena, NorthNdebele = QLocale::NorthNdebele, Rombo = QLocale::Rombo, Tachelhit = QLocale::Tachelhit, Kabyle = QLocale::Kabyle, Nyankole = QLocale::Nyankole, Bena = QLocale::Bena, Vunjo = QLocale::Vunjo, Bambara = QLocale::Bambara, Embu = QLocale::Embu, Cherokee = QLocale::Cherokee, Morisyen = QLocale::Morisyen, Makonde = QLocale::Makonde, Langi = QLocale::Langi, Ganda = QLocale::Ganda, Bemba = QLocale::Bemba, Kabuverdianu = QLocale::Kabuverdianu, Meru = QLocale::Meru, Kalenjin = QLocale::Kalenjin, Nama = QLocale::Nama, Machame = QLocale::Machame, Colognian = QLocale::Colognian, Masai = QLocale::Masai, Soga = QLocale::Soga, Luyia = QLocale::Luyia, Asu = QLocale::Asu, Teso = QLocale::Teso, Saho = QLocale::Saho, KoyraChiini = QLocale::KoyraChiini, Rwa = QLocale::Rwa, Luo = QLocale::Luo, Chiga = QLocale::Chiga, CentralMoroccoTamazight = QLocale::CentralMoroccoTamazight, KoyraboroSenni = QLocale::KoyraboroSenni, Shambala = QLocale::Shambala, Bodo = QLocale::Bodo, Avaric = QLocale::Avaric, Chamorro = QLocale::Chamorro, Chechen = QLocale::Chechen, Church = QLocale::Church, Chuvash = QLocale::Chuvash, Cree = QLocale::Cree, Haitian = QLocale::Haitian, Herero = QLocale::Herero, HiriMotu = QLocale::HiriMotu, Kanuri = QLocale::Kanuri, Komi = QLocale::Komi, Kongo = QLocale::Kongo, Kwanyama = QLocale::Kwanyama, Limburgish = QLocale::Limburgish, LubaKatanga = QLocale::LubaKatanga, Luxembourgish = QLocale::Luxembourgish, Navaho = QLocale::Navaho, Ndonga = QLocale::Ndonga, Ojibwa = QLocale::Ojibwa, Pali = QLocale::Pali, Walloon = QLocale::Walloon, Aghem = QLocale::Aghem, Basaa = QLocale::Basaa, Zarma = QLocale::Zarma, Duala = QLocale::Duala, JolaFonyi = QLocale::JolaFonyi, Ewondo = QLocale::Ewondo, Bafia = QLocale::Bafia, MakhuwaMeetto = QLocale::MakhuwaMeetto, Mundang = QLocale::Mundang, Kwasio = QLocale::Kwasio, Nuer = QLocale::Nuer, Sakha = QLocale::Sakha, Sangu = QLocale::Sangu, CongoSwahili = QLocale::CongoSwahili, Tasawaq = QLocale::Tasawaq, Vai = QLocale::Vai, Walser = QLocale::Walser, Yangben = QLocale::Yangben, Avestan = QLocale::Avestan, Asturian = QLocale::Asturian, Ngomba = QLocale::Ngomba, Kako = QLocale::Kako, Meta = QLocale::Meta, Ngiemboon = QLocale::Ngiemboon, Aragonese = QLocale::Aragonese, Akkadian = QLocale::Akkadian, AncientEgyptian = QLocale::AncientEgyptian, AncientGreek = QLocale::AncientGreek, Aramaic = QLocale::Aramaic, Balinese = QLocale::Balinese, Bamun = QLocale::Bamun, BatakToba = QLocale::BatakToba, Buginese = QLocale::Buginese, Buhid = QLocale::Buhid, Carian = QLocale::Carian, Chakma = QLocale::Chakma, ClassicalMandaic = QLocale::ClassicalMandaic, Coptic = QLocale::Coptic, Dogri = QLocale::Dogri, EasternCham = QLocale::EasternCham, EasternKayah = QLocale::EasternKayah, Etruscan = QLocale::Etruscan, Gothic = QLocale::Gothic, Hanunoo = QLocale::Hanunoo, Ingush = QLocale::Ingush, LargeFloweryMiao = QLocale::LargeFloweryMiao, Lepcha = QLocale::Lepcha, Limbu = QLocale::Limbu, Lisu = QLocale::Lisu, Lu = QLocale::Lu, Lycian = QLocale::Lycian, Lydian = QLocale::Lydian, Mandingo = QLocale::Mandingo, Manipuri = QLocale::Manipuri, Meroitic = QLocale::Meroitic, NorthernThai = QLocale::NorthernThai, OldIrish = QLocale::OldIrish, OldNorse = QLocale::OldNorse, OldPersian = QLocale::OldPersian, OldTurkish = QLocale::OldTurkish, Pahlavi = QLocale::Pahlavi, Parthian = QLocale::Parthian, Phoenician = QLocale::Phoenician, PrakritLanguage = QLocale::PrakritLanguage, Rejang = QLocale::Rejang, Sabaean = QLocale::Sabaean, Samaritan = QLocale::Samaritan, Santali = QLocale::Santali, Saurashtra = QLocale::Saurashtra, Sora = QLocale::Sora, Sylheti = QLocale::Sylheti, Tagbanwa = QLocale::Tagbanwa, TaiDam = QLocale::TaiDam, TaiNua = QLocale::TaiNua, Ugaritic = QLocale::Ugaritic, Akoose = QLocale::Akoose, Lakota = QLocale::Lakota, StandardMoroccanTamazight = QLocale::StandardMoroccanTamazight, Mapuche = QLocale::Mapuche, CentralKurdish = QLocale::CentralKurdish, LowerSorbian = QLocale::LowerSorbian, UpperSorbian = QLocale::UpperSorbian, Kenyang = QLocale::Kenyang, Mohawk = QLocale::Mohawk, Nko = QLocale::Nko, Prussian = QLocale::Prussian, Kiche = QLocale::Kiche, SouthernSami = QLocale::SouthernSami, LuleSami = QLocale::LuleSami, InariSami = QLocale::InariSami, SkoltSami = QLocale::SkoltSami, Warlpiri = QLocale::Warlpiri, ManichaeanMiddlePersian = QLocale::ManichaeanMiddlePersian, Mende = QLocale::Mende, AncientNorthArabian = QLocale::AncientNorthArabian, LinearA = QLocale::LinearA, HmongNjua = QLocale::HmongNjua, Ho = QLocale::Ho, Lezghian = QLocale::Lezghian, Bassa = QLocale::Bassa, Mono = QLocale::Mono, TedimChin = QLocale::TedimChin, Maithili = QLocale::Maithili, Ahom = QLocale::Ahom, AmericanSignLanguage = QLocale::AmericanSignLanguage, ArdhamagadhiPrakrit = QLocale::ArdhamagadhiPrakrit, Bhojpuri = QLocale::Bhojpuri, HieroglyphicLuwian = QLocale::HieroglyphicLuwian, LiteraryChinese = QLocale::LiteraryChinese, Mazanderani = QLocale::Mazanderani, Mru = QLocale::Mru, Newari = QLocale::Newari, NorthernLuri = QLocale::NorthernLuri, Palauan = QLocale::Palauan, Papiamento = QLocale::Papiamento, Saraiki = QLocale::Saraiki, TokelauLanguage = QLocale::TokelauLanguage, TokPisin = QLocale::TokPisin, TuvaluLanguage = QLocale::TuvaluLanguage, UncodedLanguages = QLocale::UncodedLanguages, Cantonese = QLocale::Cantonese, Osage = QLocale::Osage, Tangut = QLocale::Tangut, Ido = QLocale::Ido, Lojban = QLocale::Lojban, Sicilian = QLocale::Sicilian, SouthernKurdish = QLocale::SouthernKurdish, WesternBalochi = QLocale::WesternBalochi, Cebuano = QLocale::Cebuano, Erzya = QLocale::Erzya, Chickasaw = QLocale::Chickasaw, Muscogee = QLocale::Muscogee, Silesian = QLocale::Silesian, NigerianPidgin = QLocale::NigerianPidgin, Afan = QLocale::Afan, Bhutani = QLocale::Bhutani, Byelorussian = QLocale::Byelorussian, Cambodian = QLocale::Cambodian, Chewa = QLocale::Chewa, Frisian = QLocale::Frisian, Kurundi = QLocale::Kurundi, Moldavian = QLocale::Moldavian, Norwegian = QLocale::Norwegian, RhaetoRomance = QLocale::RhaetoRomance, SerboCroatian = QLocale::SerboCroatian, Tagalog = QLocale::Tagalog, Twi = QLocale::Twi, Uigur = QLocale::Uigur, LastLanguage = QLocale::LastLanguage}; +enum MeasurementSystem{ + MetricSystem = QLocale::MetricSystem, ImperialUSSystem = QLocale::ImperialUSSystem, ImperialUKSystem = QLocale::ImperialUKSystem, ImperialSystem = QLocale::ImperialSystem}; +enum NumberOption{ + DefaultNumberOptions = QLocale::DefaultNumberOptions, OmitGroupSeparator = QLocale::OmitGroupSeparator, RejectGroupSeparator = QLocale::RejectGroupSeparator, OmitLeadingZeroInExponent = QLocale::OmitLeadingZeroInExponent, RejectLeadingZeroInExponent = QLocale::RejectLeadingZeroInExponent, IncludeTrailingZeroesAfterDot = QLocale::IncludeTrailingZeroesAfterDot, RejectTrailingZeroesAfterDot = QLocale::RejectTrailingZeroesAfterDot}; +enum QuotationStyle{ + StandardQuotation = QLocale::StandardQuotation, AlternateQuotation = QLocale::AlternateQuotation}; +enum Script{ + AnyScript = QLocale::AnyScript, ArabicScript = QLocale::ArabicScript, CyrillicScript = QLocale::CyrillicScript, DeseretScript = QLocale::DeseretScript, GurmukhiScript = QLocale::GurmukhiScript, SimplifiedHanScript = QLocale::SimplifiedHanScript, TraditionalHanScript = QLocale::TraditionalHanScript, LatinScript = QLocale::LatinScript, MongolianScript = QLocale::MongolianScript, TifinaghScript = QLocale::TifinaghScript, ArmenianScript = QLocale::ArmenianScript, BengaliScript = QLocale::BengaliScript, CherokeeScript = QLocale::CherokeeScript, DevanagariScript = QLocale::DevanagariScript, EthiopicScript = QLocale::EthiopicScript, GeorgianScript = QLocale::GeorgianScript, GreekScript = QLocale::GreekScript, GujaratiScript = QLocale::GujaratiScript, HebrewScript = QLocale::HebrewScript, JapaneseScript = QLocale::JapaneseScript, KhmerScript = QLocale::KhmerScript, KannadaScript = QLocale::KannadaScript, KoreanScript = QLocale::KoreanScript, LaoScript = QLocale::LaoScript, MalayalamScript = QLocale::MalayalamScript, MyanmarScript = QLocale::MyanmarScript, OriyaScript = QLocale::OriyaScript, TamilScript = QLocale::TamilScript, TeluguScript = QLocale::TeluguScript, ThaanaScript = QLocale::ThaanaScript, ThaiScript = QLocale::ThaiScript, TibetanScript = QLocale::TibetanScript, SinhalaScript = QLocale::SinhalaScript, SyriacScript = QLocale::SyriacScript, YiScript = QLocale::YiScript, VaiScript = QLocale::VaiScript, AvestanScript = QLocale::AvestanScript, BalineseScript = QLocale::BalineseScript, BamumScript = QLocale::BamumScript, BatakScript = QLocale::BatakScript, BopomofoScript = QLocale::BopomofoScript, BrahmiScript = QLocale::BrahmiScript, BugineseScript = QLocale::BugineseScript, BuhidScript = QLocale::BuhidScript, CanadianAboriginalScript = QLocale::CanadianAboriginalScript, CarianScript = QLocale::CarianScript, ChakmaScript = QLocale::ChakmaScript, ChamScript = QLocale::ChamScript, CopticScript = QLocale::CopticScript, CypriotScript = QLocale::CypriotScript, EgyptianHieroglyphsScript = QLocale::EgyptianHieroglyphsScript, FraserScript = QLocale::FraserScript, GlagoliticScript = QLocale::GlagoliticScript, GothicScript = QLocale::GothicScript, HanScript = QLocale::HanScript, HangulScript = QLocale::HangulScript, HanunooScript = QLocale::HanunooScript, ImperialAramaicScript = QLocale::ImperialAramaicScript, InscriptionalPahlaviScript = QLocale::InscriptionalPahlaviScript, InscriptionalParthianScript = QLocale::InscriptionalParthianScript, JavaneseScript = QLocale::JavaneseScript, KaithiScript = QLocale::KaithiScript, KatakanaScript = QLocale::KatakanaScript, KayahLiScript = QLocale::KayahLiScript, KharoshthiScript = QLocale::KharoshthiScript, LannaScript = QLocale::LannaScript, LepchaScript = QLocale::LepchaScript, LimbuScript = QLocale::LimbuScript, LinearBScript = QLocale::LinearBScript, LycianScript = QLocale::LycianScript, LydianScript = QLocale::LydianScript, MandaeanScript = QLocale::MandaeanScript, MeiteiMayekScript = QLocale::MeiteiMayekScript, MeroiticScript = QLocale::MeroiticScript, MeroiticCursiveScript = QLocale::MeroiticCursiveScript, NkoScript = QLocale::NkoScript, NewTaiLueScript = QLocale::NewTaiLueScript, OghamScript = QLocale::OghamScript, OlChikiScript = QLocale::OlChikiScript, OldItalicScript = QLocale::OldItalicScript, OldPersianScript = QLocale::OldPersianScript, OldSouthArabianScript = QLocale::OldSouthArabianScript, OrkhonScript = QLocale::OrkhonScript, OsmanyaScript = QLocale::OsmanyaScript, PhagsPaScript = QLocale::PhagsPaScript, PhoenicianScript = QLocale::PhoenicianScript, PollardPhoneticScript = QLocale::PollardPhoneticScript, RejangScript = QLocale::RejangScript, RunicScript = QLocale::RunicScript, SamaritanScript = QLocale::SamaritanScript, SaurashtraScript = QLocale::SaurashtraScript, SharadaScript = QLocale::SharadaScript, ShavianScript = QLocale::ShavianScript, SoraSompengScript = QLocale::SoraSompengScript, CuneiformScript = QLocale::CuneiformScript, SundaneseScript = QLocale::SundaneseScript, SylotiNagriScript = QLocale::SylotiNagriScript, TagalogScript = QLocale::TagalogScript, TagbanwaScript = QLocale::TagbanwaScript, TaiLeScript = QLocale::TaiLeScript, TaiVietScript = QLocale::TaiVietScript, TakriScript = QLocale::TakriScript, UgariticScript = QLocale::UgariticScript, BrailleScript = QLocale::BrailleScript, HiraganaScript = QLocale::HiraganaScript, CaucasianAlbanianScript = QLocale::CaucasianAlbanianScript, BassaVahScript = QLocale::BassaVahScript, DuployanScript = QLocale::DuployanScript, ElbasanScript = QLocale::ElbasanScript, GranthaScript = QLocale::GranthaScript, PahawhHmongScript = QLocale::PahawhHmongScript, KhojkiScript = QLocale::KhojkiScript, LinearAScript = QLocale::LinearAScript, MahajaniScript = QLocale::MahajaniScript, ManichaeanScript = QLocale::ManichaeanScript, MendeKikakuiScript = QLocale::MendeKikakuiScript, ModiScript = QLocale::ModiScript, MroScript = QLocale::MroScript, OldNorthArabianScript = QLocale::OldNorthArabianScript, NabataeanScript = QLocale::NabataeanScript, PalmyreneScript = QLocale::PalmyreneScript, PauCinHauScript = QLocale::PauCinHauScript, OldPermicScript = QLocale::OldPermicScript, PsalterPahlaviScript = QLocale::PsalterPahlaviScript, SiddhamScript = QLocale::SiddhamScript, KhudawadiScript = QLocale::KhudawadiScript, TirhutaScript = QLocale::TirhutaScript, VarangKshitiScript = QLocale::VarangKshitiScript, AhomScript = QLocale::AhomScript, AnatolianHieroglyphsScript = QLocale::AnatolianHieroglyphsScript, HatranScript = QLocale::HatranScript, MultaniScript = QLocale::MultaniScript, OldHungarianScript = QLocale::OldHungarianScript, SignWritingScript = QLocale::SignWritingScript, AdlamScript = QLocale::AdlamScript, BhaiksukiScript = QLocale::BhaiksukiScript, MarchenScript = QLocale::MarchenScript, NewaScript = QLocale::NewaScript, OsageScript = QLocale::OsageScript, TangutScript = QLocale::TangutScript, HanWithBopomofoScript = QLocale::HanWithBopomofoScript, JamoScript = QLocale::JamoScript, SimplifiedChineseScript = QLocale::SimplifiedChineseScript, TraditionalChineseScript = QLocale::TraditionalChineseScript, LastScript = QLocale::LastScript}; +Q_DECLARE_FLAGS(NumberOptions, NumberOption) +public slots: +QLocale* new_QLocale(); +QLocale* new_QLocale(QLocale::Language language, QLocale::Country country = QLocale::AnyCountry); +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; } + QString amText(QLocale* theWrappedObject) const; + QString bcp47Name(QLocale* theWrappedObject) const; + QLocale static_QLocale_c(); + QLocale collation(QLocale* theWrappedObject) const; + QList static_QLocale_countriesForLanguage(QLocale::Language lang); + QLocale::Country country(QLocale* theWrappedObject) const; + QString static_QLocale_countryToString(QLocale::Country country); + QString createSeparatedList(QLocale* theWrappedObject, const QStringList& strl) const; + QString currencySymbol(QLocale* theWrappedObject, QLocale::CurrencySymbolFormat arg__1 = QLocale::CurrencySymbol) const; + QString dateFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; + QString dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; + QString dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + QChar decimalPoint(QLocale* theWrappedObject) const; + QChar exponential(QLocale* theWrappedObject) const; + Qt::DayOfWeek firstDayOfWeek(QLocale* theWrappedObject) const; + QChar groupSeparator(QLocale* theWrappedObject) const; + QLocale::Language language(QLocale* theWrappedObject) const; + QString static_QLocale_languageToString(QLocale::Language language); + QList static_QLocale_matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country); + QLocale::MeasurementSystem measurementSystem(QLocale* theWrappedObject) const; + QString monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + QString name(QLocale* theWrappedObject) const; + QString nativeCountryName(QLocale* theWrappedObject) const; + QString nativeLanguageName(QLocale* theWrappedObject) const; + QChar negativeSign(QLocale* theWrappedObject) const; + QLocale::NumberOptions numberOptions(QLocale* theWrappedObject) const; + bool __ne__(QLocale* theWrappedObject, const QLocale& other) const; + void writeTo(QLocale* theWrappedObject, QDataStream& arg__1); + bool __eq__(QLocale* theWrappedObject, const QLocale& other) const; + void readFrom(QLocale* theWrappedObject, QDataStream& arg__1); + QChar percent(QLocale* theWrappedObject) const; + QString pmText(QLocale* theWrappedObject) const; + QChar positiveSign(QLocale* theWrappedObject) const; + QString quoteString(QLocale* theWrappedObject, const QString& str, QLocale::QuotationStyle style = QLocale::StandardQuotation) const; + QLocale::Script script(QLocale* theWrappedObject) const; + QString static_QLocale_scriptToString(QLocale::Script script); + void static_QLocale_setDefault(const QLocale& locale); + void setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options); + QString standaloneDayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + QString standaloneMonthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + void swap(QLocale* theWrappedObject, QLocale& other); + QLocale static_QLocale_system(); + Qt::LayoutDirection textDirection(QLocale* theWrappedObject) const; + QString timeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; + QString toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol, int precision) const; + QString toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol, int precision) const; + QString toCurrencyString(QLocale* theWrappedObject, int arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, qlonglong arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, qulonglong arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, short arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, uint arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, ushort arg__1, const QString& symbol = QString()) const; + QDate toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; + QDate toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format, QCalendar cal) const; + QDate toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const; + QDate toDate(QLocale* theWrappedObject, const QString& string, const QString& format, QCalendar cal) const; + QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format = QLocale::LongFormat) const; + QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format, QCalendar cal) const; + QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; + QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format, QCalendar cal) const; + double toDouble(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + float toFloat(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + int toInt(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + long toLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + qlonglong toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + QString toLower(QLocale* theWrappedObject, const QString& str) const; + short toShort(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + QString toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format = QLocale::LongFormat) const; + QString toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format, QCalendar cal) const; + QString toString(QLocale* theWrappedObject, const QDate& date, QStringView formatStr, QCalendar cal) const; + QString toString(QLocale* theWrappedObject, const QDate& date, const QString& formatStr) const; + QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format = QLocale::LongFormat) const; + QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format, QCalendar cal) const; + QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, QStringView formatStr, QCalendar cal) const; + QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, const QString& format) const; + QString toString(QLocale* theWrappedObject, const QTime& time, QLocale::FormatType format = QLocale::LongFormat) const; + QString toString(QLocale* theWrappedObject, const QTime& time, const QString& formatStr) const; + QString toString(QLocale* theWrappedObject, double i, char f = 'g', int prec = 6) const; + QString toString(QLocale* theWrappedObject, float i, char f = 'g', int prec = 6) const; + QString toString(QLocale* theWrappedObject, int i) const; + QString toString(QLocale* theWrappedObject, long i) const; + QString toString(QLocale* theWrappedObject, qlonglong i) const; + QString toString(QLocale* theWrappedObject, short i) const; + QString toString(QLocale* theWrappedObject, ulong i) const; + QTime toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; + QTime toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format, QCalendar cal) const; + QTime toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; + QTime toTime(QLocale* theWrappedObject, const QString& string, const QString& format, QCalendar cal) const; + uint toUInt(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + ulong toULong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + qulonglong toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + ushort toUShort(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + QString toUpper(QLocale* theWrappedObject, const QString& str) const; + QStringList uiLanguages(QLocale* theWrappedObject) const; + QList weekdays(QLocale* theWrappedObject) const; + QChar zeroDigit(QLocale* theWrappedObject) const; + QString py_toString(QLocale*); +}; + + + + + +class PythonQtWrapper_QPoint : public QObject +{ Q_OBJECT +public: +public slots: +QPoint* new_QPoint(); +QPoint* new_QPoint(int xpos, int ypos); +QPoint* new_QPoint(const QPoint& other) { +QPoint* a = new QPoint(); +*((QPoint*)a) = other; +return a; } +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& arg__2); + QPoint __mul__(QPoint* theWrappedObject, const QMatrix& m); + QPoint __mul__(QPoint* theWrappedObject, const QMatrix4x4& matrix); + QPoint __mul__(QPoint* theWrappedObject, const QTransform& m); + const QPoint __mul__(QPoint* theWrappedObject, double arg__2); + const QPoint __mul__(QPoint* theWrappedObject, float arg__2); + const QPoint __mul__(QPoint* theWrappedObject, int arg__2); + QPoint* __imul__(QPoint* theWrappedObject, double factor); + QPoint* __imul__(QPoint* theWrappedObject, float factor); + QPoint* __imul__(QPoint* theWrappedObject, int factor); + const QPoint __add__(QPoint* theWrappedObject); + const QPoint __add__(QPoint* theWrappedObject, const QPoint& arg__2); + QPoint* __iadd__(QPoint* theWrappedObject, const QPoint& p); + const QPoint __sub__(QPoint* theWrappedObject); + const QPoint __sub__(QPoint* theWrappedObject, const QPoint& arg__2); + QPoint* __isub__(QPoint* theWrappedObject, const QPoint& p); + const QPoint __div__(QPoint* theWrappedObject, qreal arg__2); + QPoint* __idiv__(QPoint* theWrappedObject, qreal divisor); + void writeTo(QPoint* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPoint* theWrappedObject, const QPoint& arg__2); + void readFrom(QPoint* theWrappedObject, QDataStream& arg__1); + void setX(QPoint* theWrappedObject, int x); + void setY(QPoint* theWrappedObject, int y); + QPoint transposed(QPoint* theWrappedObject) const; + int x(QPoint* theWrappedObject) const; + int y(QPoint* theWrappedObject) const; + QString py_toString(QPoint*); + bool __nonzero__(QPoint* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QPointF : public QObject +{ Q_OBJECT +public: +public slots: +QPointF* new_QPointF(); +QPointF* new_QPointF(const QPoint& p); +QPointF* new_QPointF(qreal xpos, qreal ypos); +QPointF* new_QPointF(const QPointF& other) { +QPointF* a = new QPointF(); +*((QPointF*)a) = other; +return a; } +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& arg__2); + QPointF __mul__(QPointF* theWrappedObject, const QMatrix& m); + QPointF __mul__(QPointF* theWrappedObject, const QMatrix4x4& matrix); + QPointF __mul__(QPointF* theWrappedObject, const QTransform& m); + const QPointF __mul__(QPointF* theWrappedObject, qreal arg__2); + QPointF* __imul__(QPointF* theWrappedObject, qreal c); + const QPointF __add__(QPointF* theWrappedObject); + const QPointF __add__(QPointF* theWrappedObject, const QPointF& arg__2); + QPointF* __iadd__(QPointF* theWrappedObject, const QPointF& p); + const QPointF __sub__(QPointF* theWrappedObject); + const QPointF __sub__(QPointF* theWrappedObject, const QPointF& arg__2); + QPointF* __isub__(QPointF* theWrappedObject, const QPointF& p); + const QPointF __div__(QPointF* theWrappedObject, qreal arg__2); + QPointF* __idiv__(QPointF* theWrappedObject, qreal c); + void writeTo(QPointF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPointF* theWrappedObject, const QPointF& arg__2); + void readFrom(QPointF* theWrappedObject, QDataStream& arg__1); + void setX(QPointF* theWrappedObject, qreal x); + void setY(QPointF* theWrappedObject, qreal y); + QPoint toPoint(QPointF* theWrappedObject) const; + QPointF transposed(QPointF* theWrappedObject) const; + qreal x(QPointF* theWrappedObject) const; + qreal y(QPointF* theWrappedObject) const; + QString py_toString(QPointF*); + bool __nonzero__(QPointF* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QRect : public QObject +{ Q_OBJECT +public: +public slots: +QRect* new_QRect(); +QRect* new_QRect(const QPoint& topleft, const QPoint& bottomright); +QRect* new_QRect(const QPoint& topleft, const QSize& size); +QRect* new_QRect(int left, int top, int width, int height); +QRect* new_QRect(const QRect& other) { +QRect* a = new QRect(); +*((QRect*)a) = other; +return a; } +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; + QPoint bottomLeft(QRect* theWrappedObject) const; + QPoint bottomRight(QRect* theWrappedObject) const; + QPoint center(QRect* theWrappedObject) const; + bool contains(QRect* theWrappedObject, const QPoint& p, bool proper = false) const; + bool contains(QRect* theWrappedObject, const QRect& r, bool proper = false) const; + bool contains(QRect* theWrappedObject, int x, int y) const; + bool contains(QRect* theWrappedObject, int x, int y, bool proper) const; + int height(QRect* theWrappedObject) const; + QRect intersected(QRect* theWrappedObject, const QRect& other) const; + bool intersects(QRect* theWrappedObject, const QRect& r) const; + bool isEmpty(QRect* theWrappedObject) const; + bool isNull(QRect* theWrappedObject) const; + bool isValid(QRect* theWrappedObject) const; + int left(QRect* theWrappedObject) const; + QRect marginsAdded(QRect* theWrappedObject, const QMargins& margins) const; + QRect marginsRemoved(QRect* theWrappedObject, const QMargins& margins) const; + void moveBottom(QRect* theWrappedObject, int pos); + void moveBottomLeft(QRect* theWrappedObject, const QPoint& p); + void moveBottomRight(QRect* theWrappedObject, const QPoint& p); + void moveCenter(QRect* theWrappedObject, const QPoint& p); + void moveLeft(QRect* theWrappedObject, int pos); + void moveRight(QRect* theWrappedObject, int pos); + void moveTo(QRect* theWrappedObject, const QPoint& p); + void moveTo(QRect* theWrappedObject, int x, int t); + void moveTop(QRect* theWrappedObject, int pos); + 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); + QRect* __iadd__(QRect* theWrappedObject, const QMargins& margins); + QRect __sub__(QRect* theWrappedObject, const QMargins& rhs); + QRect* __isub__(QRect* theWrappedObject, const QMargins& margins); + void writeTo(QRect* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRect* theWrappedObject, const QRect& arg__2); + void readFrom(QRect* theWrappedObject, QDataStream& arg__1); + QRect __or__(QRect* theWrappedObject, const QRect& r) const; + QRect* __ior__(QRect* theWrappedObject, const QRect& r); + int right(QRect* theWrappedObject) const; + void setBottom(QRect* theWrappedObject, int pos); + void setBottomLeft(QRect* theWrappedObject, const QPoint& p); + void setBottomRight(QRect* theWrappedObject, const QPoint& p); + void setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2); + void setHeight(QRect* theWrappedObject, int h); + void setLeft(QRect* theWrappedObject, int pos); + void setRect(QRect* theWrappedObject, int x, int y, int w, int h); + void setRight(QRect* theWrappedObject, int pos); + void setSize(QRect* theWrappedObject, const QSize& s); + void setTop(QRect* theWrappedObject, int pos); + void setTopLeft(QRect* theWrappedObject, const QPoint& p); + void setTopRight(QRect* theWrappedObject, const QPoint& p); + void setWidth(QRect* theWrappedObject, int w); + void setX(QRect* theWrappedObject, int x); + void setY(QRect* theWrappedObject, int y); + QSize size(QRect* theWrappedObject) const; + int top(QRect* theWrappedObject) const; + QPoint topLeft(QRect* theWrappedObject) const; + QPoint topRight(QRect* theWrappedObject) const; + void translate(QRect* theWrappedObject, const QPoint& p); + void translate(QRect* theWrappedObject, int dx, int dy); + QRect translated(QRect* theWrappedObject, const QPoint& p) const; + QRect translated(QRect* theWrappedObject, int dx, int dy) const; + QRect transposed(QRect* theWrappedObject) const; + QRect united(QRect* theWrappedObject, const QRect& other) const; + int width(QRect* theWrappedObject) const; + int x(QRect* theWrappedObject) const; + int y(QRect* theWrappedObject) const; + QString py_toString(QRect*); + bool __nonzero__(QRect* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QRectF : public QObject +{ Q_OBJECT +public: +public slots: +QRectF* new_QRectF(); +QRectF* new_QRectF(const QPointF& topleft, const QPointF& bottomRight); +QRectF* new_QRectF(const QPointF& topleft, const QSizeF& size); +QRectF* new_QRectF(const QRect& rect); +QRectF* new_QRectF(qreal left, qreal top, qreal width, qreal height); +QRectF* new_QRectF(const QRectF& other) { +QRectF* a = new QRectF(); +*((QRectF*)a) = other; +return a; } +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; + QPointF bottomLeft(QRectF* theWrappedObject) const; + QPointF bottomRight(QRectF* theWrappedObject) const; + QPointF center(QRectF* theWrappedObject) const; + bool contains(QRectF* theWrappedObject, const QPointF& p) const; + bool contains(QRectF* theWrappedObject, const QRectF& r) const; + bool contains(QRectF* theWrappedObject, qreal x, qreal y) const; + qreal height(QRectF* theWrappedObject) const; + QRectF intersected(QRectF* theWrappedObject, const QRectF& other) const; + bool intersects(QRectF* theWrappedObject, const QRectF& r) const; + bool isEmpty(QRectF* theWrappedObject) const; + bool isNull(QRectF* theWrappedObject) const; + bool isValid(QRectF* theWrappedObject) const; + qreal left(QRectF* theWrappedObject) const; + QRectF marginsAdded(QRectF* theWrappedObject, const QMarginsF& margins) const; + QRectF marginsRemoved(QRectF* theWrappedObject, const QMarginsF& margins) const; + void moveBottom(QRectF* theWrappedObject, qreal pos); + void moveBottomLeft(QRectF* theWrappedObject, const QPointF& p); + void moveBottomRight(QRectF* theWrappedObject, const QPointF& p); + void moveCenter(QRectF* theWrappedObject, const QPointF& p); + void moveLeft(QRectF* theWrappedObject, qreal pos); + void moveRight(QRectF* theWrappedObject, qreal pos); + void moveTo(QRectF* theWrappedObject, const QPointF& p); + void moveTo(QRectF* theWrappedObject, qreal x, qreal y); + void moveTop(QRectF* theWrappedObject, qreal pos); + 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); + QRectF* __iadd__(QRectF* theWrappedObject, const QMarginsF& margins); + QRectF __sub__(QRectF* theWrappedObject, const QMarginsF& rhs); + QRectF* __isub__(QRectF* theWrappedObject, const QMarginsF& margins); + void writeTo(QRectF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRectF* theWrappedObject, const QRectF& arg__2); + void readFrom(QRectF* theWrappedObject, QDataStream& arg__1); + QRectF __or__(QRectF* theWrappedObject, const QRectF& r) const; + QRectF* __ior__(QRectF* theWrappedObject, const QRectF& r); + qreal right(QRectF* theWrappedObject) const; + void setBottom(QRectF* theWrappedObject, qreal pos); + void setBottomLeft(QRectF* theWrappedObject, const QPointF& p); + void setBottomRight(QRectF* theWrappedObject, const QPointF& p); + void setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); + void setHeight(QRectF* theWrappedObject, qreal h); + void setLeft(QRectF* theWrappedObject, qreal pos); + void setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setRight(QRectF* theWrappedObject, qreal pos); + void setSize(QRectF* theWrappedObject, const QSizeF& s); + void setTop(QRectF* theWrappedObject, qreal pos); + void setTopLeft(QRectF* theWrappedObject, const QPointF& p); + void setTopRight(QRectF* theWrappedObject, const QPointF& p); + void setWidth(QRectF* theWrappedObject, qreal w); + void setX(QRectF* theWrappedObject, qreal pos); + void setY(QRectF* theWrappedObject, qreal pos); + QSizeF size(QRectF* theWrappedObject) const; + QRect toAlignedRect(QRectF* theWrappedObject) const; + QRect toRect(QRectF* theWrappedObject) const; + qreal top(QRectF* theWrappedObject) const; + QPointF topLeft(QRectF* theWrappedObject) const; + QPointF topRight(QRectF* theWrappedObject) const; + void translate(QRectF* theWrappedObject, const QPointF& p); + void translate(QRectF* theWrappedObject, qreal dx, qreal dy); + QRectF translated(QRectF* theWrappedObject, const QPointF& p) const; + QRectF translated(QRectF* theWrappedObject, qreal dx, qreal dy) const; + QRectF transposed(QRectF* theWrappedObject) const; + QRectF united(QRectF* theWrappedObject, const QRectF& other) const; + qreal width(QRectF* theWrappedObject) const; + qreal x(QRectF* theWrappedObject) const; + qreal y(QRectF* theWrappedObject) const; + QString py_toString(QRectF*); + bool __nonzero__(QRectF* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QRegExp : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CaretMode PatternSyntax ) +enum CaretMode{ + CaretAtZero = QRegExp::CaretAtZero, CaretAtOffset = QRegExp::CaretAtOffset, CaretWontMatch = QRegExp::CaretWontMatch}; +enum PatternSyntax{ + RegExp = QRegExp::RegExp, Wildcard = QRegExp::Wildcard, FixedString = QRegExp::FixedString, RegExp2 = QRegExp::RegExp2, WildcardUnix = QRegExp::WildcardUnix, W3CXmlSchema11 = QRegExp::W3CXmlSchema11}; +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; } + QString cap(QRegExp* theWrappedObject, int nth = 0); + int captureCount(QRegExp* theWrappedObject) const; + QStringList capturedTexts(QRegExp* theWrappedObject); + Qt::CaseSensitivity caseSensitivity(QRegExp* theWrappedObject) const; + QString errorString(QRegExp* theWrappedObject); + QString static_QRegExp_escape(const QString& str); + bool exactMatch(QRegExp* theWrappedObject, const QString& str) const; + int indexIn(QRegExp* theWrappedObject, const QString& str, int offset = 0, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; + bool isEmpty(QRegExp* theWrappedObject) const; + bool isMinimal(QRegExp* theWrappedObject) const; + bool isValid(QRegExp* theWrappedObject) const; + int lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset = -1, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; + int matchedLength(QRegExp* theWrappedObject) const; + bool __ne__(QRegExp* theWrappedObject, const QRegExp& rx) const; + void writeTo(QRegExp* theWrappedObject, QDataStream& out); + bool __eq__(QRegExp* theWrappedObject, const QRegExp& rx) const; + void readFrom(QRegExp* theWrappedObject, QDataStream& in); + QString pattern(QRegExp* theWrappedObject) const; + QRegExp::PatternSyntax patternSyntax(QRegExp* theWrappedObject) const; + int pos(QRegExp* theWrappedObject, int nth = 0); + void setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs); + void setMinimal(QRegExp* theWrappedObject, bool minimal); + void setPattern(QRegExp* theWrappedObject, const QString& pattern); + void setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax); + void swap(QRegExp* theWrappedObject, QRegExp& other); + QString py_toString(QRegExp*); + bool __nonzero__(QRegExp* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QRegularExpression : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MatchOption MatchType PatternOption ) +Q_FLAGS(MatchOptions PatternOptions ) +enum MatchOption{ + NoMatchOption = QRegularExpression::NoMatchOption, AnchoredMatchOption = QRegularExpression::AnchoredMatchOption, DontCheckSubjectStringMatchOption = QRegularExpression::DontCheckSubjectStringMatchOption}; +enum MatchType{ + NormalMatch = QRegularExpression::NormalMatch, PartialPreferCompleteMatch = QRegularExpression::PartialPreferCompleteMatch, PartialPreferFirstMatch = QRegularExpression::PartialPreferFirstMatch, NoMatch = QRegularExpression::NoMatch}; +enum PatternOption{ + NoPatternOption = QRegularExpression::NoPatternOption, CaseInsensitiveOption = QRegularExpression::CaseInsensitiveOption, DotMatchesEverythingOption = QRegularExpression::DotMatchesEverythingOption, MultilineOption = QRegularExpression::MultilineOption, ExtendedPatternSyntaxOption = QRegularExpression::ExtendedPatternSyntaxOption, InvertedGreedinessOption = QRegularExpression::InvertedGreedinessOption, DontCaptureOption = QRegularExpression::DontCaptureOption, UseUnicodePropertiesOption = QRegularExpression::UseUnicodePropertiesOption, OptimizeOnFirstUsageOption = QRegularExpression::OptimizeOnFirstUsageOption, DontAutomaticallyOptimizeOption = QRegularExpression::DontAutomaticallyOptimizeOption}; +Q_DECLARE_FLAGS(MatchOptions, MatchOption) +Q_DECLARE_FLAGS(PatternOptions, PatternOption) +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; } + QString static_QRegularExpression_anchoredPattern(const QString& expression); + int captureCount(QRegularExpression* theWrappedObject) const; + QString errorString(QRegularExpression* theWrappedObject) const; + QString static_QRegularExpression_escape(const QString& str); + QRegularExpressionMatchIterator globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + bool isValid(QRegularExpression* theWrappedObject) const; + QRegularExpressionMatch match(QRegularExpression* theWrappedObject, const QString& subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + QStringList namedCaptureGroups(QRegularExpression* theWrappedObject) const; + bool __ne__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const; + void writeTo(QRegularExpression* theWrappedObject, QDataStream& out); + QRegularExpression* operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re); + bool __eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const; + void readFrom(QRegularExpression* theWrappedObject, QDataStream& in); + void optimize(QRegularExpression* theWrappedObject) const; + QString pattern(QRegularExpression* theWrappedObject) const; + int patternErrorOffset(QRegularExpression* theWrappedObject) const; + QRegularExpression::PatternOptions patternOptions(QRegularExpression* theWrappedObject) const; + void setPattern(QRegularExpression* theWrappedObject, const QString& pattern); + void setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options); + void swap(QRegularExpression* theWrappedObject, QRegularExpression& other); + QString static_QRegularExpression_wildcardToRegularExpression(const QString& str); + QString py_toString(QRegularExpression*); + bool __nonzero__(QRegularExpression* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QSize : public QObject +{ Q_OBJECT +public: +public slots: +QSize* new_QSize(); +QSize* new_QSize(int w, int h); +QSize* new_QSize(const QSize& other) { +QSize* a = new QSize(); +*((QSize*)a) = other; +return a; } +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; + QSize grownBy(QSize* theWrappedObject, QMargins m) 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& arg__2); + const QSize __mul__(QSize* theWrappedObject, qreal arg__2); + QSize* __imul__(QSize* theWrappedObject, qreal c); + const QSize __add__(QSize* theWrappedObject, const QSize& arg__2); + QSize* __iadd__(QSize* theWrappedObject, const QSize& arg__1); + const QSize __sub__(QSize* theWrappedObject, const QSize& arg__2); + QSize* __isub__(QSize* theWrappedObject, const QSize& arg__1); + const QSize __div__(QSize* theWrappedObject, qreal arg__2); + QSize* __idiv__(QSize* theWrappedObject, qreal c); + void writeTo(QSize* theWrappedObject, QDataStream& arg__1); + bool __eq__(QSize* theWrappedObject, const QSize& arg__2); + void readFrom(QSize* theWrappedObject, QDataStream& arg__1); + void scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode); + void scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode); + QSize scaled(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) const; + QSize scaled(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) const; + void setHeight(QSize* theWrappedObject, int h); + void setWidth(QSize* theWrappedObject, int w); + QSize shrunkBy(QSize* theWrappedObject, QMargins m) const; + void transpose(QSize* theWrappedObject); + QSize transposed(QSize* theWrappedObject) const; + int width(QSize* theWrappedObject) const; + QString py_toString(QSize*); + bool __nonzero__(QSize* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QSizeF : public QObject +{ Q_OBJECT +public: +public slots: +QSizeF* new_QSizeF(); +QSizeF* new_QSizeF(const QSize& sz); +QSizeF* new_QSizeF(qreal w, qreal h); +QSizeF* new_QSizeF(const QSizeF& other) { +QSizeF* a = new QSizeF(); +*((QSizeF*)a) = other; +return a; } +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; + QSizeF grownBy(QSizeF* theWrappedObject, QMarginsF m) 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& arg__2); + const QSizeF __mul__(QSizeF* theWrappedObject, qreal arg__2); + QSizeF* __imul__(QSizeF* theWrappedObject, qreal c); + const QSizeF __add__(QSizeF* theWrappedObject, const QSizeF& arg__2); + QSizeF* __iadd__(QSizeF* theWrappedObject, const QSizeF& arg__1); + const QSizeF __sub__(QSizeF* theWrappedObject, const QSizeF& arg__2); + QSizeF* __isub__(QSizeF* theWrappedObject, const QSizeF& arg__1); + const QSizeF __div__(QSizeF* theWrappedObject, qreal arg__2); + QSizeF* __idiv__(QSizeF* theWrappedObject, qreal c); + void writeTo(QSizeF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QSizeF* theWrappedObject, const QSizeF& arg__2); + void readFrom(QSizeF* theWrappedObject, QDataStream& arg__1); + void scale(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode); + void scale(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode); + QSizeF scaled(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) const; + QSizeF scaled(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) const; + void setHeight(QSizeF* theWrappedObject, qreal h); + void setWidth(QSizeF* theWrappedObject, qreal w); + QSizeF shrunkBy(QSizeF* theWrappedObject, QMarginsF m) const; + QSize toSize(QSizeF* theWrappedObject) const; + void transpose(QSizeF* theWrappedObject); + QSizeF transposed(QSizeF* theWrappedObject) const; + qreal width(QSizeF* theWrappedObject) const; + QString py_toString(QSizeF*); + bool __nonzero__(QSizeF* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTime : public QObject +{ Q_OBJECT +public: +public slots: +QTime* new_QTime(); +QTime* new_QTime(int h, int m, int s = 0, int ms = 0); +QTime* new_QTime(const QTime& other) { +QTime* a = new QTime(); +*((QTime*)a) = other; +return a; } +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(); + int elapsed(QTime* theWrappedObject) const; + QTime static_QTime_fromMSecsSinceStartOfDay(int msecs); + QTime static_QTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); + QTime static_QTime_fromString(const QString& s, const QString& format); + int hour(QTime* theWrappedObject) const; + bool isNull(QTime* theWrappedObject) const; + bool isValid(QTime* theWrappedObject) const; + bool static_QTime_isValid(int h, int m, int s, int ms = 0); + int minute(QTime* theWrappedObject) const; + int msec(QTime* theWrappedObject) const; + int msecsSinceStartOfDay(QTime* theWrappedObject) const; + int msecsTo(QTime* theWrappedObject, const QTime& arg__1) const; + bool __ne__(QTime* theWrappedObject, const QTime& other) const; + bool __lt__(QTime* theWrappedObject, const QTime& other) const; + void writeTo(QTime* theWrappedObject, QDataStream& arg__1); + bool __le__(QTime* theWrappedObject, const QTime& other) const; + bool __eq__(QTime* theWrappedObject, const QTime& other) const; + bool __gt__(QTime* theWrappedObject, const QTime& other) const; + bool __ge__(QTime* theWrappedObject, const QTime& other) const; + void readFrom(QTime* theWrappedObject, QDataStream& arg__1); + int restart(QTime* theWrappedObject); + int second(QTime* theWrappedObject) const; + int secsTo(QTime* theWrappedObject, const QTime& arg__1) const; + bool setHMS(QTime* theWrappedObject, int h, int m, int s, int ms = 0); + void start(QTime* theWrappedObject); + QString toString(QTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; + QString toString(QTime* theWrappedObject, const QString& format) const; + QString py_toString(QTime*); + bool __nonzero__(QTime* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QUrl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ComponentFormattingOption ParsingMode UrlFormattingOption UserInputResolutionOption ) +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{ + TolerantMode = QUrl::TolerantMode, StrictMode = QUrl::StrictMode, DecodedMode = QUrl::DecodedMode}; +enum UrlFormattingOption{ + None = QUrl::None, RemoveScheme = QUrl::RemoveScheme, RemovePassword = QUrl::RemovePassword, RemoveUserInfo = QUrl::RemoveUserInfo, RemovePort = QUrl::RemovePort, RemoveAuthority = QUrl::RemoveAuthority, RemovePath = QUrl::RemovePath, RemoveQuery = QUrl::RemoveQuery, RemoveFragment = QUrl::RemoveFragment, PreferLocalFile = QUrl::PreferLocalFile, StripTrailingSlash = QUrl::StripTrailingSlash, RemoveFilename = QUrl::RemoveFilename, NormalizePathSegments = QUrl::NormalizePathSegments}; +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; } + QUrl adjusted(QUrl* theWrappedObject, QUrl::FormattingOptions options) const; + QString authority(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + void clear(QUrl* theWrappedObject); + QString errorString(QUrl* theWrappedObject) const; + QString fileName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + QString fragment(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + QString static_QUrl_fromAce(const QByteArray& arg__1); + QUrl static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode = QUrl::TolerantMode); + QUrl static_QUrl_fromLocalFile(const QString& localfile); + QString static_QUrl_fromPercentEncoding(const QByteArray& arg__1); + QList static_QUrl_fromStringList(const QStringList& uris, QUrl::ParsingMode mode = QUrl::TolerantMode); + QUrl static_QUrl_fromUserInput(const QString& userInput); + bool hasFragment(QUrl* theWrappedObject) const; + bool hasQuery(QUrl* theWrappedObject) const; + QString host(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::FullyDecoded) const; + QStringList static_QUrl_idnWhitelist(); + bool isEmpty(QUrl* theWrappedObject) const; + bool isLocalFile(QUrl* theWrappedObject) const; + bool isParentOf(QUrl* theWrappedObject, const QUrl& url) const; + bool isRelative(QUrl* theWrappedObject) const; + bool isValid(QUrl* theWrappedObject) const; + bool matches(QUrl* theWrappedObject, const QUrl& url, QUrl::FormattingOptions options) const; + bool __ne__(QUrl* theWrappedObject, const QUrl& url) const; + bool __lt__(QUrl* theWrappedObject, const QUrl& url) const; + void writeTo(QUrl* theWrappedObject, QDataStream& arg__1); + bool __eq__(QUrl* theWrappedObject, const QUrl& url) const; + void readFrom(QUrl* theWrappedObject, QDataStream& arg__1); + QString password(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::FullyDecoded) const; + QString path(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + int port(QUrl* theWrappedObject, int defaultPort = -1) const; + QString query(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::PrettyDecoded) const; + QUrl resolved(QUrl* theWrappedObject, const QUrl& relative) const; + QString scheme(QUrl* theWrappedObject) const; + void setAuthority(QUrl* theWrappedObject, const QString& authority, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setFragment(QUrl* theWrappedObject, const QString& fragment, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setHost(QUrl* theWrappedObject, const QString& host, QUrl::ParsingMode mode = QUrl::DecodedMode); + void static_QUrl_setIdnWhitelist(const QStringList& arg__1); + void setPassword(QUrl* theWrappedObject, const QString& password, QUrl::ParsingMode mode = QUrl::DecodedMode); + void setPath(QUrl* theWrappedObject, const QString& path, QUrl::ParsingMode mode = QUrl::DecodedMode); + void setPort(QUrl* theWrappedObject, int port); + void setQuery(QUrl* theWrappedObject, const QString& query, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setQuery(QUrl* theWrappedObject, const QUrlQuery& query); + void setScheme(QUrl* theWrappedObject, const QString& scheme); + void setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setUserInfo(QUrl* theWrappedObject, const QString& userInfo, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setUserName(QUrl* theWrappedObject, const QString& userName, QUrl::ParsingMode mode = QUrl::DecodedMode); + void swap(QUrl* theWrappedObject, QUrl& other); + QByteArray static_QUrl_toAce(const QString& arg__1); + QString toDisplayString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; + QByteArray toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FullyEncoded) const; + QString toLocalFile(QUrl* theWrappedObject) const; + QByteArray static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray()); + QString toString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; + QStringList static_QUrl_toStringList(const QList& uris, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)); + QString topLevelDomain(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + QString url(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; + QString userInfo(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + QString userName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + QString py_toString(QUrl*); + bool __nonzero__(QUrl* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_Qt : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AlignmentFlag AnchorPoint ApplicationAttribute ApplicationState ArrowType AspectRatioMode Axis BGMode BrushStyle CaseSensitivity CheckState ChecksumType ClipOperation ConnectionType ContextMenuPolicy CoordinateSystem Corner CursorMoveStyle CursorShape DateFormat DayOfWeek DockWidgetArea DockWidgetAreaSizes DropAction Edge EnterKeyType EventPriority FillRule FindChildOption FocusPolicy FocusReason GestureFlag GestureState GestureType GlobalColor HighDpiScaleFactorRoundingPolicy HitTestAccuracy ImageConversionFlag InputMethodHint InputMethodQuery ItemDataRole ItemFlag ItemSelectionMode ItemSelectionOperation Key KeyboardModifier LayoutDirection MaskMode MatchFlag MouseButton MouseEventFlag MouseEventSource NativeGestureType NavigationMode Orientation PenCapStyle PenJoinStyle PenStyle ScreenOrientation ScrollBarPolicy ScrollPhase ShortcutContext SizeHint SizeMode SortOrder SplitBehaviorFlags TabFocusBehavior TextElideMode TextFlag TextFormat TextInteractionFlag TileRule TimeSpec TimerType ToolBarArea ToolBarAreaSizes ToolButtonStyle TouchPointState TransformationMode UIEffect WhiteSpaceMode WidgetAttribute WindowFrameSection WindowModality WindowState WindowType ) +Q_FLAGS(Alignment DockWidgetAreas DropActions FindChildOptions GestureFlags ImageConversionFlags InputMethodHints InputMethodQueries ItemFlags KeyboardModifiers MatchFlags MouseButtons MouseEventFlags Orientations ScreenOrientations SplitBehavior TextInteractionFlags ToolBarAreas TouchPointStates WindowStates WindowFlags ) +enum AlignmentFlag{ + AlignLeft = Qt::AlignLeft, AlignLeading = Qt::AlignLeading, AlignRight = Qt::AlignRight, AlignTrailing = Qt::AlignTrailing, AlignHCenter = Qt::AlignHCenter, AlignJustify = Qt::AlignJustify, AlignAbsolute = Qt::AlignAbsolute, AlignHorizontal_Mask = Qt::AlignHorizontal_Mask, AlignTop = Qt::AlignTop, AlignBottom = Qt::AlignBottom, AlignVCenter = Qt::AlignVCenter, AlignBaseline = Qt::AlignBaseline, AlignVertical_Mask = Qt::AlignVertical_Mask, AlignCenter = Qt::AlignCenter}; +enum AnchorPoint{ + AnchorLeft = Qt::AnchorLeft, AnchorHorizontalCenter = Qt::AnchorHorizontalCenter, AnchorRight = Qt::AnchorRight, AnchorTop = Qt::AnchorTop, AnchorVerticalCenter = Qt::AnchorVerticalCenter, AnchorBottom = Qt::AnchorBottom}; +enum ApplicationAttribute{ + AA_ImmediateWidgetCreation = Qt::AA_ImmediateWidgetCreation, AA_MSWindowsUseDirect3DByDefault = Qt::AA_MSWindowsUseDirect3DByDefault, AA_DontShowIconsInMenus = Qt::AA_DontShowIconsInMenus, AA_NativeWindows = Qt::AA_NativeWindows, AA_DontCreateNativeWidgetSiblings = Qt::AA_DontCreateNativeWidgetSiblings, AA_PluginApplication = Qt::AA_PluginApplication, AA_MacPluginApplication = Qt::AA_MacPluginApplication, AA_DontUseNativeMenuBar = Qt::AA_DontUseNativeMenuBar, AA_MacDontSwapCtrlAndMeta = Qt::AA_MacDontSwapCtrlAndMeta, AA_Use96Dpi = Qt::AA_Use96Dpi, AA_DisableNativeVirtualKeyboard = Qt::AA_DisableNativeVirtualKeyboard, AA_X11InitThreads = Qt::AA_X11InitThreads, AA_SynthesizeTouchForUnhandledMouseEvents = Qt::AA_SynthesizeTouchForUnhandledMouseEvents, AA_SynthesizeMouseForUnhandledTouchEvents = Qt::AA_SynthesizeMouseForUnhandledTouchEvents, AA_UseHighDpiPixmaps = Qt::AA_UseHighDpiPixmaps, AA_ForceRasterWidgets = Qt::AA_ForceRasterWidgets, AA_UseDesktopOpenGL = Qt::AA_UseDesktopOpenGL, AA_UseOpenGLES = Qt::AA_UseOpenGLES, AA_UseSoftwareOpenGL = Qt::AA_UseSoftwareOpenGL, AA_ShareOpenGLContexts = Qt::AA_ShareOpenGLContexts, AA_SetPalette = Qt::AA_SetPalette, AA_EnableHighDpiScaling = Qt::AA_EnableHighDpiScaling, AA_DisableHighDpiScaling = Qt::AA_DisableHighDpiScaling, AA_UseStyleSheetPropagationInWidgetStyles = Qt::AA_UseStyleSheetPropagationInWidgetStyles, AA_DontUseNativeDialogs = Qt::AA_DontUseNativeDialogs, AA_SynthesizeMouseForUnhandledTabletEvents = Qt::AA_SynthesizeMouseForUnhandledTabletEvents, AA_CompressHighFrequencyEvents = Qt::AA_CompressHighFrequencyEvents, AA_DontCheckOpenGLContextThreadAffinity = Qt::AA_DontCheckOpenGLContextThreadAffinity, AA_DisableShaderDiskCache = Qt::AA_DisableShaderDiskCache, AA_DontShowShortcutsInContextMenus = Qt::AA_DontShowShortcutsInContextMenus, AA_CompressTabletEvents = Qt::AA_CompressTabletEvents, AA_DisableWindowContextHelpButton = Qt::AA_DisableWindowContextHelpButton, AA_DisableSessionManager = Qt::AA_DisableSessionManager, AA_AttributeCount = Qt::AA_AttributeCount}; +enum ApplicationState{ + ApplicationSuspended = Qt::ApplicationSuspended, ApplicationHidden = Qt::ApplicationHidden, ApplicationInactive = Qt::ApplicationInactive, ApplicationActive = Qt::ApplicationActive}; +enum ArrowType{ + NoArrow = Qt::NoArrow, UpArrow = Qt::UpArrow, DownArrow = Qt::DownArrow, LeftArrow = Qt::LeftArrow, RightArrow = Qt::RightArrow}; +enum AspectRatioMode{ + IgnoreAspectRatio = Qt::IgnoreAspectRatio, KeepAspectRatio = Qt::KeepAspectRatio, KeepAspectRatioByExpanding = Qt::KeepAspectRatioByExpanding}; +enum Axis{ + XAxis = Qt::XAxis, YAxis = Qt::YAxis, ZAxis = Qt::ZAxis}; +enum BGMode{ + TransparentMode = Qt::TransparentMode, OpaqueMode = Qt::OpaqueMode}; +enum BrushStyle{ + NoBrush = Qt::NoBrush, SolidPattern = Qt::SolidPattern, Dense1Pattern = Qt::Dense1Pattern, Dense2Pattern = Qt::Dense2Pattern, Dense3Pattern = Qt::Dense3Pattern, Dense4Pattern = Qt::Dense4Pattern, Dense5Pattern = Qt::Dense5Pattern, Dense6Pattern = Qt::Dense6Pattern, Dense7Pattern = Qt::Dense7Pattern, HorPattern = Qt::HorPattern, VerPattern = Qt::VerPattern, CrossPattern = Qt::CrossPattern, BDiagPattern = Qt::BDiagPattern, FDiagPattern = Qt::FDiagPattern, DiagCrossPattern = Qt::DiagCrossPattern, LinearGradientPattern = Qt::LinearGradientPattern, RadialGradientPattern = Qt::RadialGradientPattern, ConicalGradientPattern = Qt::ConicalGradientPattern, TexturePattern = Qt::TexturePattern}; +enum CaseSensitivity{ + CaseInsensitive = Qt::CaseInsensitive, CaseSensitive = Qt::CaseSensitive}; +enum CheckState{ + Unchecked = Qt::Unchecked, PartiallyChecked = Qt::PartiallyChecked, Checked = Qt::Checked}; +enum ChecksumType{ + ChecksumIso3309 = Qt::ChecksumIso3309, ChecksumItuV41 = Qt::ChecksumItuV41}; +enum ClipOperation{ + NoClip = Qt::NoClip, ReplaceClip = Qt::ReplaceClip, IntersectClip = Qt::IntersectClip}; +enum ConnectionType{ + AutoConnection = Qt::AutoConnection, DirectConnection = Qt::DirectConnection, QueuedConnection = Qt::QueuedConnection, BlockingQueuedConnection = Qt::BlockingQueuedConnection, UniqueConnection = Qt::UniqueConnection}; +enum ContextMenuPolicy{ + NoContextMenu = Qt::NoContextMenu, DefaultContextMenu = Qt::DefaultContextMenu, ActionsContextMenu = Qt::ActionsContextMenu, CustomContextMenu = Qt::CustomContextMenu, PreventContextMenu = Qt::PreventContextMenu}; +enum CoordinateSystem{ + DeviceCoordinates = Qt::DeviceCoordinates, LogicalCoordinates = Qt::LogicalCoordinates}; +enum Corner{ + TopLeftCorner = Qt::TopLeftCorner, TopRightCorner = Qt::TopRightCorner, BottomLeftCorner = Qt::BottomLeftCorner, BottomRightCorner = Qt::BottomRightCorner}; +enum CursorMoveStyle{ + LogicalMoveStyle = Qt::LogicalMoveStyle, VisualMoveStyle = Qt::VisualMoveStyle}; +enum CursorShape{ + ArrowCursor = Qt::ArrowCursor, UpArrowCursor = Qt::UpArrowCursor, CrossCursor = Qt::CrossCursor, WaitCursor = Qt::WaitCursor, IBeamCursor = Qt::IBeamCursor, SizeVerCursor = Qt::SizeVerCursor, SizeHorCursor = Qt::SizeHorCursor, SizeBDiagCursor = Qt::SizeBDiagCursor, SizeFDiagCursor = Qt::SizeFDiagCursor, SizeAllCursor = Qt::SizeAllCursor, BlankCursor = Qt::BlankCursor, SplitVCursor = Qt::SplitVCursor, SplitHCursor = Qt::SplitHCursor, PointingHandCursor = Qt::PointingHandCursor, ForbiddenCursor = Qt::ForbiddenCursor, WhatsThisCursor = Qt::WhatsThisCursor, BusyCursor = Qt::BusyCursor, OpenHandCursor = Qt::OpenHandCursor, ClosedHandCursor = Qt::ClosedHandCursor, DragCopyCursor = Qt::DragCopyCursor, DragMoveCursor = Qt::DragMoveCursor, DragLinkCursor = Qt::DragLinkCursor, LastCursor = Qt::LastCursor, BitmapCursor = Qt::BitmapCursor, CustomCursor = Qt::CustomCursor}; +enum DateFormat{ + TextDate = Qt::TextDate, ISODate = Qt::ISODate, SystemLocaleDate = Qt::SystemLocaleDate, LocalDate = Qt::LocalDate, LocaleDate = Qt::LocaleDate, SystemLocaleShortDate = Qt::SystemLocaleShortDate, SystemLocaleLongDate = Qt::SystemLocaleLongDate, DefaultLocaleShortDate = Qt::DefaultLocaleShortDate, DefaultLocaleLongDate = Qt::DefaultLocaleLongDate, RFC2822Date = Qt::RFC2822Date, ISODateWithMs = Qt::ISODateWithMs}; +enum DayOfWeek{ + Monday = Qt::Monday, Tuesday = Qt::Tuesday, Wednesday = Qt::Wednesday, Thursday = Qt::Thursday, Friday = Qt::Friday, Saturday = Qt::Saturday, Sunday = Qt::Sunday}; +enum DockWidgetArea{ + LeftDockWidgetArea = Qt::LeftDockWidgetArea, RightDockWidgetArea = Qt::RightDockWidgetArea, TopDockWidgetArea = Qt::TopDockWidgetArea, BottomDockWidgetArea = Qt::BottomDockWidgetArea, DockWidgetArea_Mask = Qt::DockWidgetArea_Mask, AllDockWidgetAreas = Qt::AllDockWidgetAreas, NoDockWidgetArea = Qt::NoDockWidgetArea}; +enum DockWidgetAreaSizes{ + NDockWidgetAreas = Qt::NDockWidgetAreas}; +enum DropAction{ + CopyAction = Qt::CopyAction, MoveAction = Qt::MoveAction, LinkAction = Qt::LinkAction, ActionMask = Qt::ActionMask, TargetMoveAction = Qt::TargetMoveAction, IgnoreAction = Qt::IgnoreAction}; +enum Edge{ + TopEdge = Qt::TopEdge, LeftEdge = Qt::LeftEdge, RightEdge = Qt::RightEdge, BottomEdge = Qt::BottomEdge}; +enum EnterKeyType{ + EnterKeyDefault = Qt::EnterKeyDefault, EnterKeyReturn = Qt::EnterKeyReturn, EnterKeyDone = Qt::EnterKeyDone, EnterKeyGo = Qt::EnterKeyGo, EnterKeySend = Qt::EnterKeySend, EnterKeySearch = Qt::EnterKeySearch, EnterKeyNext = Qt::EnterKeyNext, EnterKeyPrevious = Qt::EnterKeyPrevious}; +enum EventPriority{ + HighEventPriority = Qt::HighEventPriority, NormalEventPriority = Qt::NormalEventPriority, LowEventPriority = Qt::LowEventPriority}; +enum FillRule{ + OddEvenFill = Qt::OddEvenFill, WindingFill = Qt::WindingFill}; +enum FindChildOption{ + FindDirectChildrenOnly = Qt::FindDirectChildrenOnly, FindChildrenRecursively = Qt::FindChildrenRecursively}; +enum FocusPolicy{ + NoFocus = Qt::NoFocus, TabFocus = Qt::TabFocus, ClickFocus = Qt::ClickFocus, StrongFocus = Qt::StrongFocus, WheelFocus = Qt::WheelFocus}; +enum FocusReason{ + MouseFocusReason = Qt::MouseFocusReason, TabFocusReason = Qt::TabFocusReason, BacktabFocusReason = Qt::BacktabFocusReason, ActiveWindowFocusReason = Qt::ActiveWindowFocusReason, PopupFocusReason = Qt::PopupFocusReason, ShortcutFocusReason = Qt::ShortcutFocusReason, MenuBarFocusReason = Qt::MenuBarFocusReason, OtherFocusReason = Qt::OtherFocusReason, NoFocusReason = Qt::NoFocusReason}; +enum GestureFlag{ + DontStartGestureOnChildren = Qt::DontStartGestureOnChildren, ReceivePartialGestures = Qt::ReceivePartialGestures, IgnoredGesturesPropagateToParent = Qt::IgnoredGesturesPropagateToParent}; +enum GestureState{ + NoGesture = Qt::NoGesture, GestureStarted = Qt::GestureStarted, GestureUpdated = Qt::GestureUpdated, GestureFinished = Qt::GestureFinished, GestureCanceled = Qt::GestureCanceled}; +enum GestureType{ + TapGesture = Qt::TapGesture, TapAndHoldGesture = Qt::TapAndHoldGesture, PanGesture = Qt::PanGesture, PinchGesture = Qt::PinchGesture, SwipeGesture = Qt::SwipeGesture, CustomGesture = Qt::CustomGesture, LastGestureType = Qt::LastGestureType}; +enum GlobalColor{ + color0 = Qt::color0, color1 = Qt::color1, black = Qt::black, white = Qt::white, darkGray = Qt::darkGray, gray = Qt::gray, lightGray = Qt::lightGray, red = Qt::red, green = Qt::green, blue = Qt::blue, cyan = Qt::cyan, magenta = Qt::magenta, yellow = Qt::yellow, darkRed = Qt::darkRed, darkGreen = Qt::darkGreen, darkBlue = Qt::darkBlue, darkCyan = Qt::darkCyan, darkMagenta = Qt::darkMagenta, darkYellow = Qt::darkYellow, transparent = Qt::transparent}; +enum class HighDpiScaleFactorRoundingPolicy{ + Unset = static_cast(Qt::HighDpiScaleFactorRoundingPolicy::Unset), Round = static_cast(Qt::HighDpiScaleFactorRoundingPolicy::Round), Ceil = static_cast(Qt::HighDpiScaleFactorRoundingPolicy::Ceil), Floor = static_cast(Qt::HighDpiScaleFactorRoundingPolicy::Floor), RoundPreferFloor = static_cast(Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor), PassThrough = static_cast(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough)}; +enum HitTestAccuracy{ + ExactHit = Qt::ExactHit, FuzzyHit = Qt::FuzzyHit}; +enum ImageConversionFlag{ + ColorMode_Mask = Qt::ColorMode_Mask, AutoColor = Qt::AutoColor, ColorOnly = Qt::ColorOnly, MonoOnly = Qt::MonoOnly, AlphaDither_Mask = Qt::AlphaDither_Mask, ThresholdAlphaDither = Qt::ThresholdAlphaDither, OrderedAlphaDither = Qt::OrderedAlphaDither, DiffuseAlphaDither = Qt::DiffuseAlphaDither, NoAlpha = Qt::NoAlpha, Dither_Mask = Qt::Dither_Mask, DiffuseDither = Qt::DiffuseDither, OrderedDither = Qt::OrderedDither, ThresholdDither = Qt::ThresholdDither, DitherMode_Mask = Qt::DitherMode_Mask, AutoDither = Qt::AutoDither, PreferDither = Qt::PreferDither, AvoidDither = Qt::AvoidDither, NoOpaqueDetection = Qt::NoOpaqueDetection, NoFormatConversion = Qt::NoFormatConversion}; +enum InputMethodHint{ + ImhNone = Qt::ImhNone, ImhHiddenText = Qt::ImhHiddenText, ImhSensitiveData = Qt::ImhSensitiveData, ImhNoAutoUppercase = Qt::ImhNoAutoUppercase, ImhPreferNumbers = Qt::ImhPreferNumbers, ImhPreferUppercase = Qt::ImhPreferUppercase, ImhPreferLowercase = Qt::ImhPreferLowercase, ImhNoPredictiveText = Qt::ImhNoPredictiveText, ImhDate = Qt::ImhDate, ImhTime = Qt::ImhTime, ImhPreferLatin = Qt::ImhPreferLatin, ImhMultiLine = Qt::ImhMultiLine, ImhNoEditMenu = Qt::ImhNoEditMenu, ImhNoTextHandles = Qt::ImhNoTextHandles, ImhDigitsOnly = Qt::ImhDigitsOnly, ImhFormattedNumbersOnly = Qt::ImhFormattedNumbersOnly, ImhUppercaseOnly = Qt::ImhUppercaseOnly, ImhLowercaseOnly = Qt::ImhLowercaseOnly, ImhDialableCharactersOnly = Qt::ImhDialableCharactersOnly, ImhEmailCharactersOnly = Qt::ImhEmailCharactersOnly, ImhUrlCharactersOnly = Qt::ImhUrlCharactersOnly, ImhLatinOnly = Qt::ImhLatinOnly, ImhExclusiveInputMask = Qt::ImhExclusiveInputMask}; +enum InputMethodQuery{ + ImEnabled = Qt::ImEnabled, ImCursorRectangle = Qt::ImCursorRectangle, ImMicroFocus = Qt::ImMicroFocus, ImFont = Qt::ImFont, ImCursorPosition = Qt::ImCursorPosition, ImSurroundingText = Qt::ImSurroundingText, ImCurrentSelection = Qt::ImCurrentSelection, ImMaximumTextLength = Qt::ImMaximumTextLength, ImAnchorPosition = Qt::ImAnchorPosition, ImHints = Qt::ImHints, ImPreferredLanguage = Qt::ImPreferredLanguage, ImAbsolutePosition = Qt::ImAbsolutePosition, ImTextBeforeCursor = Qt::ImTextBeforeCursor, ImTextAfterCursor = Qt::ImTextAfterCursor, ImEnterKeyType = Qt::ImEnterKeyType, ImAnchorRectangle = Qt::ImAnchorRectangle, ImInputItemClipRectangle = Qt::ImInputItemClipRectangle, ImPlatformData = Qt::ImPlatformData, ImQueryInput = Qt::ImQueryInput, ImQueryAll = Qt::ImQueryAll}; +enum ItemDataRole{ + DisplayRole = Qt::DisplayRole, DecorationRole = Qt::DecorationRole, EditRole = Qt::EditRole, ToolTipRole = Qt::ToolTipRole, StatusTipRole = Qt::StatusTipRole, WhatsThisRole = Qt::WhatsThisRole, FontRole = Qt::FontRole, TextAlignmentRole = Qt::TextAlignmentRole, BackgroundRole = Qt::BackgroundRole, ForegroundRole = Qt::ForegroundRole, BackgroundColorRole = Qt::BackgroundColorRole, TextColorRole = Qt::TextColorRole, CheckStateRole = Qt::CheckStateRole, AccessibleTextRole = Qt::AccessibleTextRole, AccessibleDescriptionRole = Qt::AccessibleDescriptionRole, SizeHintRole = Qt::SizeHintRole, InitialSortOrderRole = Qt::InitialSortOrderRole, DisplayPropertyRole = Qt::DisplayPropertyRole, DecorationPropertyRole = Qt::DecorationPropertyRole, ToolTipPropertyRole = Qt::ToolTipPropertyRole, StatusTipPropertyRole = Qt::StatusTipPropertyRole, WhatsThisPropertyRole = Qt::WhatsThisPropertyRole, UserRole = Qt::UserRole}; +enum ItemFlag{ + NoItemFlags = Qt::NoItemFlags, ItemIsSelectable = Qt::ItemIsSelectable, ItemIsEditable = Qt::ItemIsEditable, ItemIsDragEnabled = Qt::ItemIsDragEnabled, ItemIsDropEnabled = Qt::ItemIsDropEnabled, ItemIsUserCheckable = Qt::ItemIsUserCheckable, ItemIsEnabled = Qt::ItemIsEnabled, ItemIsAutoTristate = Qt::ItemIsAutoTristate, ItemIsTristate = Qt::ItemIsTristate, ItemNeverHasChildren = Qt::ItemNeverHasChildren, ItemIsUserTristate = Qt::ItemIsUserTristate}; +enum ItemSelectionMode{ + ContainsItemShape = Qt::ContainsItemShape, IntersectsItemShape = Qt::IntersectsItemShape, ContainsItemBoundingRect = Qt::ContainsItemBoundingRect, IntersectsItemBoundingRect = Qt::IntersectsItemBoundingRect}; +enum ItemSelectionOperation{ + ReplaceSelection = Qt::ReplaceSelection, AddToSelection = Qt::AddToSelection}; +enum Key{ + Key_Escape = Qt::Key_Escape, Key_Tab = Qt::Key_Tab, Key_Backtab = Qt::Key_Backtab, Key_Backspace = Qt::Key_Backspace, Key_Return = Qt::Key_Return, Key_Enter = Qt::Key_Enter, Key_Insert = Qt::Key_Insert, Key_Delete = Qt::Key_Delete, Key_Pause = Qt::Key_Pause, Key_Print = Qt::Key_Print, Key_SysReq = Qt::Key_SysReq, Key_Clear = Qt::Key_Clear, Key_Home = Qt::Key_Home, Key_End = Qt::Key_End, Key_Left = Qt::Key_Left, Key_Up = Qt::Key_Up, Key_Right = Qt::Key_Right, Key_Down = Qt::Key_Down, Key_PageUp = Qt::Key_PageUp, Key_PageDown = Qt::Key_PageDown, Key_Shift = Qt::Key_Shift, Key_Control = Qt::Key_Control, Key_Meta = Qt::Key_Meta, Key_Alt = Qt::Key_Alt, Key_CapsLock = Qt::Key_CapsLock, Key_NumLock = Qt::Key_NumLock, Key_ScrollLock = Qt::Key_ScrollLock, Key_F1 = Qt::Key_F1, Key_F2 = Qt::Key_F2, Key_F3 = Qt::Key_F3, Key_F4 = Qt::Key_F4, Key_F5 = Qt::Key_F5, Key_F6 = Qt::Key_F6, Key_F7 = Qt::Key_F7, Key_F8 = Qt::Key_F8, Key_F9 = Qt::Key_F9, Key_F10 = Qt::Key_F10, Key_F11 = Qt::Key_F11, Key_F12 = Qt::Key_F12, Key_F13 = Qt::Key_F13, Key_F14 = Qt::Key_F14, Key_F15 = Qt::Key_F15, Key_F16 = Qt::Key_F16, Key_F17 = Qt::Key_F17, Key_F18 = Qt::Key_F18, Key_F19 = Qt::Key_F19, Key_F20 = Qt::Key_F20, Key_F21 = Qt::Key_F21, Key_F22 = Qt::Key_F22, Key_F23 = Qt::Key_F23, Key_F24 = Qt::Key_F24, Key_F25 = Qt::Key_F25, Key_F26 = Qt::Key_F26, Key_F27 = Qt::Key_F27, Key_F28 = Qt::Key_F28, Key_F29 = Qt::Key_F29, Key_F30 = Qt::Key_F30, Key_F31 = Qt::Key_F31, Key_F32 = Qt::Key_F32, Key_F33 = Qt::Key_F33, Key_F34 = Qt::Key_F34, Key_F35 = Qt::Key_F35, Key_Super_L = Qt::Key_Super_L, Key_Super_R = Qt::Key_Super_R, Key_Menu = Qt::Key_Menu, Key_Hyper_L = Qt::Key_Hyper_L, Key_Hyper_R = Qt::Key_Hyper_R, Key_Help = Qt::Key_Help, Key_Direction_L = Qt::Key_Direction_L, Key_Direction_R = Qt::Key_Direction_R, Key_Space = Qt::Key_Space, Key_Any = Qt::Key_Any, Key_Exclam = Qt::Key_Exclam, Key_QuoteDbl = Qt::Key_QuoteDbl, Key_NumberSign = Qt::Key_NumberSign, Key_Dollar = Qt::Key_Dollar, Key_Percent = Qt::Key_Percent, Key_Ampersand = Qt::Key_Ampersand, Key_Apostrophe = Qt::Key_Apostrophe, Key_ParenLeft = Qt::Key_ParenLeft, Key_ParenRight = Qt::Key_ParenRight, Key_Asterisk = Qt::Key_Asterisk, Key_Plus = Qt::Key_Plus, Key_Comma = Qt::Key_Comma, Key_Minus = Qt::Key_Minus, Key_Period = Qt::Key_Period, Key_Slash = Qt::Key_Slash, Key_0 = Qt::Key_0, Key_1 = Qt::Key_1, Key_2 = Qt::Key_2, Key_3 = Qt::Key_3, Key_4 = Qt::Key_4, Key_5 = Qt::Key_5, Key_6 = Qt::Key_6, Key_7 = Qt::Key_7, Key_8 = Qt::Key_8, Key_9 = Qt::Key_9, Key_Colon = Qt::Key_Colon, Key_Semicolon = Qt::Key_Semicolon, Key_Less = Qt::Key_Less, Key_Equal = Qt::Key_Equal, Key_Greater = Qt::Key_Greater, Key_Question = Qt::Key_Question, Key_At = Qt::Key_At, Key_A = Qt::Key_A, Key_B = Qt::Key_B, Key_C = Qt::Key_C, Key_D = Qt::Key_D, Key_E = Qt::Key_E, Key_F = Qt::Key_F, Key_G = Qt::Key_G, Key_H = Qt::Key_H, Key_I = Qt::Key_I, Key_J = Qt::Key_J, Key_K = Qt::Key_K, Key_L = Qt::Key_L, Key_M = Qt::Key_M, Key_N = Qt::Key_N, Key_O = Qt::Key_O, Key_P = Qt::Key_P, Key_Q = Qt::Key_Q, Key_R = Qt::Key_R, Key_S = Qt::Key_S, Key_T = Qt::Key_T, Key_U = Qt::Key_U, Key_V = Qt::Key_V, Key_W = Qt::Key_W, Key_X = Qt::Key_X, Key_Y = Qt::Key_Y, Key_Z = Qt::Key_Z, Key_BracketLeft = Qt::Key_BracketLeft, Key_Backslash = Qt::Key_Backslash, Key_BracketRight = Qt::Key_BracketRight, Key_AsciiCircum = Qt::Key_AsciiCircum, Key_Underscore = Qt::Key_Underscore, Key_QuoteLeft = Qt::Key_QuoteLeft, Key_BraceLeft = Qt::Key_BraceLeft, Key_Bar = Qt::Key_Bar, Key_BraceRight = Qt::Key_BraceRight, Key_AsciiTilde = Qt::Key_AsciiTilde, Key_nobreakspace = Qt::Key_nobreakspace, Key_exclamdown = Qt::Key_exclamdown, Key_cent = Qt::Key_cent, Key_sterling = Qt::Key_sterling, Key_currency = Qt::Key_currency, Key_yen = Qt::Key_yen, Key_brokenbar = Qt::Key_brokenbar, Key_section = Qt::Key_section, Key_diaeresis = Qt::Key_diaeresis, Key_copyright = Qt::Key_copyright, Key_ordfeminine = Qt::Key_ordfeminine, Key_guillemotleft = Qt::Key_guillemotleft, Key_notsign = Qt::Key_notsign, Key_hyphen = Qt::Key_hyphen, Key_registered = Qt::Key_registered, Key_macron = Qt::Key_macron, Key_degree = Qt::Key_degree, Key_plusminus = Qt::Key_plusminus, Key_twosuperior = Qt::Key_twosuperior, Key_threesuperior = Qt::Key_threesuperior, Key_acute = Qt::Key_acute, Key_mu = Qt::Key_mu, Key_paragraph = Qt::Key_paragraph, Key_periodcentered = Qt::Key_periodcentered, Key_cedilla = Qt::Key_cedilla, Key_onesuperior = Qt::Key_onesuperior, Key_masculine = Qt::Key_masculine, Key_guillemotright = Qt::Key_guillemotright, Key_onequarter = Qt::Key_onequarter, Key_onehalf = Qt::Key_onehalf, Key_threequarters = Qt::Key_threequarters, Key_questiondown = Qt::Key_questiondown, Key_Agrave = Qt::Key_Agrave, Key_Aacute = Qt::Key_Aacute, Key_Acircumflex = Qt::Key_Acircumflex, Key_Atilde = Qt::Key_Atilde, Key_Adiaeresis = Qt::Key_Adiaeresis, Key_Aring = Qt::Key_Aring, Key_AE = Qt::Key_AE, Key_Ccedilla = Qt::Key_Ccedilla, Key_Egrave = Qt::Key_Egrave, Key_Eacute = Qt::Key_Eacute, Key_Ecircumflex = Qt::Key_Ecircumflex, Key_Ediaeresis = Qt::Key_Ediaeresis, Key_Igrave = Qt::Key_Igrave, Key_Iacute = Qt::Key_Iacute, Key_Icircumflex = Qt::Key_Icircumflex, Key_Idiaeresis = Qt::Key_Idiaeresis, Key_ETH = Qt::Key_ETH, Key_Ntilde = Qt::Key_Ntilde, Key_Ograve = Qt::Key_Ograve, Key_Oacute = Qt::Key_Oacute, Key_Ocircumflex = Qt::Key_Ocircumflex, Key_Otilde = Qt::Key_Otilde, Key_Odiaeresis = Qt::Key_Odiaeresis, Key_multiply = Qt::Key_multiply, Key_Ooblique = Qt::Key_Ooblique, Key_Ugrave = Qt::Key_Ugrave, Key_Uacute = Qt::Key_Uacute, Key_Ucircumflex = Qt::Key_Ucircumflex, Key_Udiaeresis = Qt::Key_Udiaeresis, Key_Yacute = Qt::Key_Yacute, Key_THORN = Qt::Key_THORN, Key_ssharp = Qt::Key_ssharp, Key_division = Qt::Key_division, Key_ydiaeresis = Qt::Key_ydiaeresis, Key_AltGr = Qt::Key_AltGr, Key_Multi_key = Qt::Key_Multi_key, Key_Codeinput = Qt::Key_Codeinput, Key_SingleCandidate = Qt::Key_SingleCandidate, Key_MultipleCandidate = Qt::Key_MultipleCandidate, Key_PreviousCandidate = Qt::Key_PreviousCandidate, Key_Mode_switch = Qt::Key_Mode_switch, Key_Kanji = Qt::Key_Kanji, Key_Muhenkan = Qt::Key_Muhenkan, Key_Henkan = Qt::Key_Henkan, Key_Romaji = Qt::Key_Romaji, Key_Hiragana = Qt::Key_Hiragana, Key_Katakana = Qt::Key_Katakana, Key_Hiragana_Katakana = Qt::Key_Hiragana_Katakana, Key_Zenkaku = Qt::Key_Zenkaku, Key_Hankaku = Qt::Key_Hankaku, Key_Zenkaku_Hankaku = Qt::Key_Zenkaku_Hankaku, Key_Touroku = Qt::Key_Touroku, Key_Massyo = Qt::Key_Massyo, Key_Kana_Lock = Qt::Key_Kana_Lock, Key_Kana_Shift = Qt::Key_Kana_Shift, Key_Eisu_Shift = Qt::Key_Eisu_Shift, Key_Eisu_toggle = Qt::Key_Eisu_toggle, Key_Hangul = Qt::Key_Hangul, Key_Hangul_Start = Qt::Key_Hangul_Start, Key_Hangul_End = Qt::Key_Hangul_End, Key_Hangul_Hanja = Qt::Key_Hangul_Hanja, Key_Hangul_Jamo = Qt::Key_Hangul_Jamo, Key_Hangul_Romaja = Qt::Key_Hangul_Romaja, Key_Hangul_Jeonja = Qt::Key_Hangul_Jeonja, Key_Hangul_Banja = Qt::Key_Hangul_Banja, Key_Hangul_PreHanja = Qt::Key_Hangul_PreHanja, Key_Hangul_PostHanja = Qt::Key_Hangul_PostHanja, Key_Hangul_Special = Qt::Key_Hangul_Special, Key_Dead_Grave = Qt::Key_Dead_Grave, Key_Dead_Acute = Qt::Key_Dead_Acute, Key_Dead_Circumflex = Qt::Key_Dead_Circumflex, Key_Dead_Tilde = Qt::Key_Dead_Tilde, Key_Dead_Macron = Qt::Key_Dead_Macron, Key_Dead_Breve = Qt::Key_Dead_Breve, Key_Dead_Abovedot = Qt::Key_Dead_Abovedot, Key_Dead_Diaeresis = Qt::Key_Dead_Diaeresis, Key_Dead_Abovering = Qt::Key_Dead_Abovering, Key_Dead_Doubleacute = Qt::Key_Dead_Doubleacute, Key_Dead_Caron = Qt::Key_Dead_Caron, Key_Dead_Cedilla = Qt::Key_Dead_Cedilla, Key_Dead_Ogonek = Qt::Key_Dead_Ogonek, Key_Dead_Iota = Qt::Key_Dead_Iota, Key_Dead_Voiced_Sound = Qt::Key_Dead_Voiced_Sound, Key_Dead_Semivoiced_Sound = Qt::Key_Dead_Semivoiced_Sound, Key_Dead_Belowdot = Qt::Key_Dead_Belowdot, Key_Dead_Hook = Qt::Key_Dead_Hook, Key_Dead_Horn = Qt::Key_Dead_Horn, Key_Dead_Stroke = Qt::Key_Dead_Stroke, Key_Dead_Abovecomma = Qt::Key_Dead_Abovecomma, Key_Dead_Abovereversedcomma = Qt::Key_Dead_Abovereversedcomma, Key_Dead_Doublegrave = Qt::Key_Dead_Doublegrave, Key_Dead_Belowring = Qt::Key_Dead_Belowring, Key_Dead_Belowmacron = Qt::Key_Dead_Belowmacron, Key_Dead_Belowcircumflex = Qt::Key_Dead_Belowcircumflex, Key_Dead_Belowtilde = Qt::Key_Dead_Belowtilde, Key_Dead_Belowbreve = Qt::Key_Dead_Belowbreve, Key_Dead_Belowdiaeresis = Qt::Key_Dead_Belowdiaeresis, Key_Dead_Invertedbreve = Qt::Key_Dead_Invertedbreve, Key_Dead_Belowcomma = Qt::Key_Dead_Belowcomma, Key_Dead_Currency = Qt::Key_Dead_Currency, Key_Dead_a = Qt::Key_Dead_a, Key_Dead_A = Qt::Key_Dead_A, Key_Dead_e = Qt::Key_Dead_e, Key_Dead_E = Qt::Key_Dead_E, Key_Dead_i = Qt::Key_Dead_i, Key_Dead_I = Qt::Key_Dead_I, Key_Dead_o = Qt::Key_Dead_o, Key_Dead_O = Qt::Key_Dead_O, Key_Dead_u = Qt::Key_Dead_u, Key_Dead_U = Qt::Key_Dead_U, Key_Dead_Small_Schwa = Qt::Key_Dead_Small_Schwa, Key_Dead_Capital_Schwa = Qt::Key_Dead_Capital_Schwa, Key_Dead_Greek = Qt::Key_Dead_Greek, Key_Dead_Lowline = Qt::Key_Dead_Lowline, Key_Dead_Aboveverticalline = Qt::Key_Dead_Aboveverticalline, Key_Dead_Belowverticalline = Qt::Key_Dead_Belowverticalline, Key_Dead_Longsolidusoverlay = Qt::Key_Dead_Longsolidusoverlay, Key_Back = Qt::Key_Back, Key_Forward = Qt::Key_Forward, Key_Stop = Qt::Key_Stop, Key_Refresh = Qt::Key_Refresh, Key_VolumeDown = Qt::Key_VolumeDown, Key_VolumeMute = Qt::Key_VolumeMute, Key_VolumeUp = Qt::Key_VolumeUp, Key_BassBoost = Qt::Key_BassBoost, Key_BassUp = Qt::Key_BassUp, Key_BassDown = Qt::Key_BassDown, Key_TrebleUp = Qt::Key_TrebleUp, Key_TrebleDown = Qt::Key_TrebleDown, Key_MediaPlay = Qt::Key_MediaPlay, Key_MediaStop = Qt::Key_MediaStop, Key_MediaPrevious = Qt::Key_MediaPrevious, Key_MediaNext = Qt::Key_MediaNext, Key_MediaRecord = Qt::Key_MediaRecord, Key_MediaPause = Qt::Key_MediaPause, Key_MediaTogglePlayPause = Qt::Key_MediaTogglePlayPause, Key_HomePage = Qt::Key_HomePage, Key_Favorites = Qt::Key_Favorites, Key_Search = Qt::Key_Search, Key_Standby = Qt::Key_Standby, Key_OpenUrl = Qt::Key_OpenUrl, Key_LaunchMail = Qt::Key_LaunchMail, Key_LaunchMedia = Qt::Key_LaunchMedia, Key_Launch0 = Qt::Key_Launch0, Key_Launch1 = Qt::Key_Launch1, Key_Launch2 = Qt::Key_Launch2, Key_Launch3 = Qt::Key_Launch3, Key_Launch4 = Qt::Key_Launch4, Key_Launch5 = Qt::Key_Launch5, Key_Launch6 = Qt::Key_Launch6, Key_Launch7 = Qt::Key_Launch7, Key_Launch8 = Qt::Key_Launch8, Key_Launch9 = Qt::Key_Launch9, Key_LaunchA = Qt::Key_LaunchA, Key_LaunchB = Qt::Key_LaunchB, Key_LaunchC = Qt::Key_LaunchC, Key_LaunchD = Qt::Key_LaunchD, Key_LaunchE = Qt::Key_LaunchE, Key_LaunchF = Qt::Key_LaunchF, Key_MonBrightnessUp = Qt::Key_MonBrightnessUp, Key_MonBrightnessDown = Qt::Key_MonBrightnessDown, Key_KeyboardLightOnOff = Qt::Key_KeyboardLightOnOff, Key_KeyboardBrightnessUp = Qt::Key_KeyboardBrightnessUp, Key_KeyboardBrightnessDown = Qt::Key_KeyboardBrightnessDown, Key_PowerOff = Qt::Key_PowerOff, Key_WakeUp = Qt::Key_WakeUp, Key_Eject = Qt::Key_Eject, Key_ScreenSaver = Qt::Key_ScreenSaver, Key_WWW = Qt::Key_WWW, Key_Memo = Qt::Key_Memo, Key_LightBulb = Qt::Key_LightBulb, Key_Shop = Qt::Key_Shop, Key_History = Qt::Key_History, Key_AddFavorite = Qt::Key_AddFavorite, Key_HotLinks = Qt::Key_HotLinks, Key_BrightnessAdjust = Qt::Key_BrightnessAdjust, Key_Finance = Qt::Key_Finance, Key_Community = Qt::Key_Community, Key_AudioRewind = Qt::Key_AudioRewind, Key_BackForward = Qt::Key_BackForward, Key_ApplicationLeft = Qt::Key_ApplicationLeft, Key_ApplicationRight = Qt::Key_ApplicationRight, Key_Book = Qt::Key_Book, Key_CD = Qt::Key_CD, Key_Calculator = Qt::Key_Calculator, Key_ToDoList = Qt::Key_ToDoList, Key_ClearGrab = Qt::Key_ClearGrab, Key_Close = Qt::Key_Close, Key_Copy = Qt::Key_Copy, Key_Cut = Qt::Key_Cut, Key_Display = Qt::Key_Display, Key_DOS = Qt::Key_DOS, Key_Documents = Qt::Key_Documents, Key_Excel = Qt::Key_Excel, Key_Explorer = Qt::Key_Explorer, Key_Game = Qt::Key_Game, Key_Go = Qt::Key_Go, Key_iTouch = Qt::Key_iTouch, Key_LogOff = Qt::Key_LogOff, Key_Market = Qt::Key_Market, Key_Meeting = Qt::Key_Meeting, Key_MenuKB = Qt::Key_MenuKB, Key_MenuPB = Qt::Key_MenuPB, Key_MySites = Qt::Key_MySites, Key_News = Qt::Key_News, Key_OfficeHome = Qt::Key_OfficeHome, Key_Option = Qt::Key_Option, Key_Paste = Qt::Key_Paste, Key_Phone = Qt::Key_Phone, Key_Calendar = Qt::Key_Calendar, Key_Reply = Qt::Key_Reply, Key_Reload = Qt::Key_Reload, Key_RotateWindows = Qt::Key_RotateWindows, Key_RotationPB = Qt::Key_RotationPB, Key_RotationKB = Qt::Key_RotationKB, Key_Save = Qt::Key_Save, Key_Send = Qt::Key_Send, Key_Spell = Qt::Key_Spell, Key_SplitScreen = Qt::Key_SplitScreen, Key_Support = Qt::Key_Support, Key_TaskPane = Qt::Key_TaskPane, Key_Terminal = Qt::Key_Terminal, Key_Tools = Qt::Key_Tools, Key_Travel = Qt::Key_Travel, Key_Video = Qt::Key_Video, Key_Word = Qt::Key_Word, Key_Xfer = Qt::Key_Xfer, Key_ZoomIn = Qt::Key_ZoomIn, Key_ZoomOut = Qt::Key_ZoomOut, Key_Away = Qt::Key_Away, Key_Messenger = Qt::Key_Messenger, Key_WebCam = Qt::Key_WebCam, Key_MailForward = Qt::Key_MailForward, Key_Pictures = Qt::Key_Pictures, Key_Music = Qt::Key_Music, Key_Battery = Qt::Key_Battery, Key_Bluetooth = Qt::Key_Bluetooth, Key_WLAN = Qt::Key_WLAN, Key_UWB = Qt::Key_UWB, Key_AudioForward = Qt::Key_AudioForward, Key_AudioRepeat = Qt::Key_AudioRepeat, Key_AudioRandomPlay = Qt::Key_AudioRandomPlay, Key_Subtitle = Qt::Key_Subtitle, Key_AudioCycleTrack = Qt::Key_AudioCycleTrack, Key_Time = Qt::Key_Time, Key_Hibernate = Qt::Key_Hibernate, Key_View = Qt::Key_View, Key_TopMenu = Qt::Key_TopMenu, Key_PowerDown = Qt::Key_PowerDown, Key_Suspend = Qt::Key_Suspend, Key_ContrastAdjust = Qt::Key_ContrastAdjust, Key_LaunchG = Qt::Key_LaunchG, Key_LaunchH = Qt::Key_LaunchH, Key_TouchpadToggle = Qt::Key_TouchpadToggle, Key_TouchpadOn = Qt::Key_TouchpadOn, Key_TouchpadOff = Qt::Key_TouchpadOff, Key_MicMute = Qt::Key_MicMute, Key_Red = Qt::Key_Red, Key_Green = Qt::Key_Green, Key_Yellow = Qt::Key_Yellow, Key_Blue = Qt::Key_Blue, Key_ChannelUp = Qt::Key_ChannelUp, Key_ChannelDown = Qt::Key_ChannelDown, Key_Guide = Qt::Key_Guide, Key_Info = Qt::Key_Info, Key_Settings = Qt::Key_Settings, Key_MicVolumeUp = Qt::Key_MicVolumeUp, Key_MicVolumeDown = Qt::Key_MicVolumeDown, Key_New = Qt::Key_New, Key_Open = Qt::Key_Open, Key_Find = Qt::Key_Find, Key_Undo = Qt::Key_Undo, Key_Redo = Qt::Key_Redo, Key_MediaLast = Qt::Key_MediaLast, Key_Select = Qt::Key_Select, Key_Yes = Qt::Key_Yes, Key_No = Qt::Key_No, Key_Cancel = Qt::Key_Cancel, Key_Printer = Qt::Key_Printer, Key_Execute = Qt::Key_Execute, Key_Sleep = Qt::Key_Sleep, Key_Play = Qt::Key_Play, Key_Zoom = Qt::Key_Zoom, Key_Exit = Qt::Key_Exit, Key_Context1 = Qt::Key_Context1, Key_Context2 = Qt::Key_Context2, Key_Context3 = Qt::Key_Context3, Key_Context4 = Qt::Key_Context4, Key_Call = Qt::Key_Call, Key_Hangup = Qt::Key_Hangup, Key_Flip = Qt::Key_Flip, Key_ToggleCallHangup = Qt::Key_ToggleCallHangup, Key_VoiceDial = Qt::Key_VoiceDial, Key_LastNumberRedial = Qt::Key_LastNumberRedial, Key_Camera = Qt::Key_Camera, Key_CameraFocus = Qt::Key_CameraFocus, Key_unknown = Qt::Key_unknown}; +enum KeyboardModifier{ + NoModifier = Qt::NoModifier, ShiftModifier = Qt::ShiftModifier, ControlModifier = Qt::ControlModifier, AltModifier = Qt::AltModifier, MetaModifier = Qt::MetaModifier, KeypadModifier = Qt::KeypadModifier, GroupSwitchModifier = Qt::GroupSwitchModifier, KeyboardModifierMask = Qt::KeyboardModifierMask}; +enum LayoutDirection{ + LeftToRight = Qt::LeftToRight, RightToLeft = Qt::RightToLeft, LayoutDirectionAuto = Qt::LayoutDirectionAuto}; +enum MaskMode{ + MaskInColor = Qt::MaskInColor, MaskOutColor = Qt::MaskOutColor}; +enum MatchFlag{ + MatchExactly = Qt::MatchExactly, MatchContains = Qt::MatchContains, MatchStartsWith = Qt::MatchStartsWith, MatchEndsWith = Qt::MatchEndsWith, MatchRegExp = Qt::MatchRegExp, MatchWildcard = Qt::MatchWildcard, MatchFixedString = Qt::MatchFixedString, MatchRegularExpression = Qt::MatchRegularExpression, MatchCaseSensitive = Qt::MatchCaseSensitive, MatchWrap = Qt::MatchWrap, MatchRecursive = Qt::MatchRecursive}; +enum MouseButton{ + NoButton = Qt::NoButton, LeftButton = Qt::LeftButton, RightButton = Qt::RightButton, MiddleButton = Qt::MiddleButton, MidButton = Qt::MidButton, BackButton = Qt::BackButton, XButton1 = Qt::XButton1, ExtraButton1 = Qt::ExtraButton1, ForwardButton = Qt::ForwardButton, XButton2 = Qt::XButton2, ExtraButton2 = Qt::ExtraButton2, TaskButton = Qt::TaskButton, ExtraButton3 = Qt::ExtraButton3, ExtraButton4 = Qt::ExtraButton4, ExtraButton5 = Qt::ExtraButton5, ExtraButton6 = Qt::ExtraButton6, ExtraButton7 = Qt::ExtraButton7, ExtraButton8 = Qt::ExtraButton8, ExtraButton9 = Qt::ExtraButton9, ExtraButton10 = Qt::ExtraButton10, ExtraButton11 = Qt::ExtraButton11, ExtraButton12 = Qt::ExtraButton12, ExtraButton13 = Qt::ExtraButton13, ExtraButton14 = Qt::ExtraButton14, ExtraButton15 = Qt::ExtraButton15, ExtraButton16 = Qt::ExtraButton16, ExtraButton17 = Qt::ExtraButton17, ExtraButton18 = Qt::ExtraButton18, ExtraButton19 = Qt::ExtraButton19, ExtraButton20 = Qt::ExtraButton20, ExtraButton21 = Qt::ExtraButton21, ExtraButton22 = Qt::ExtraButton22, ExtraButton23 = Qt::ExtraButton23, ExtraButton24 = Qt::ExtraButton24, AllButtons = Qt::AllButtons, MaxMouseButton = Qt::MaxMouseButton, MouseButtonMask = Qt::MouseButtonMask}; +enum MouseEventFlag{ + MouseEventCreatedDoubleClick = Qt::MouseEventCreatedDoubleClick, MouseEventFlagMask = Qt::MouseEventFlagMask}; +enum MouseEventSource{ + MouseEventNotSynthesized = Qt::MouseEventNotSynthesized, MouseEventSynthesizedBySystem = Qt::MouseEventSynthesizedBySystem, MouseEventSynthesizedByQt = Qt::MouseEventSynthesizedByQt, MouseEventSynthesizedByApplication = Qt::MouseEventSynthesizedByApplication}; +enum NativeGestureType{ + BeginNativeGesture = Qt::BeginNativeGesture, EndNativeGesture = Qt::EndNativeGesture, PanNativeGesture = Qt::PanNativeGesture, ZoomNativeGesture = Qt::ZoomNativeGesture, SmartZoomNativeGesture = Qt::SmartZoomNativeGesture, RotateNativeGesture = Qt::RotateNativeGesture, SwipeNativeGesture = Qt::SwipeNativeGesture}; +enum NavigationMode{ + NavigationModeNone = Qt::NavigationModeNone, NavigationModeKeypadTabOrder = Qt::NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional = Qt::NavigationModeKeypadDirectional, NavigationModeCursorAuto = Qt::NavigationModeCursorAuto, NavigationModeCursorForceVisible = Qt::NavigationModeCursorForceVisible}; +enum Orientation{ + Horizontal = Qt::Horizontal, Vertical = Qt::Vertical}; +enum PenCapStyle{ + FlatCap = Qt::FlatCap, SquareCap = Qt::SquareCap, RoundCap = Qt::RoundCap, MPenCapStyle = Qt::MPenCapStyle}; +enum PenJoinStyle{ + MiterJoin = Qt::MiterJoin, BevelJoin = Qt::BevelJoin, RoundJoin = Qt::RoundJoin, SvgMiterJoin = Qt::SvgMiterJoin, MPenJoinStyle = Qt::MPenJoinStyle}; +enum PenStyle{ + NoPen = Qt::NoPen, SolidLine = Qt::SolidLine, DashLine = Qt::DashLine, DotLine = Qt::DotLine, DashDotLine = Qt::DashDotLine, DashDotDotLine = Qt::DashDotDotLine, CustomDashLine = Qt::CustomDashLine, MPenStyle = Qt::MPenStyle}; +enum ScreenOrientation{ + PrimaryOrientation = Qt::PrimaryOrientation, PortraitOrientation = Qt::PortraitOrientation, LandscapeOrientation = Qt::LandscapeOrientation, InvertedPortraitOrientation = Qt::InvertedPortraitOrientation, InvertedLandscapeOrientation = Qt::InvertedLandscapeOrientation}; +enum ScrollBarPolicy{ + ScrollBarAsNeeded = Qt::ScrollBarAsNeeded, ScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff, ScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn}; +enum ScrollPhase{ + NoScrollPhase = Qt::NoScrollPhase, ScrollBegin = Qt::ScrollBegin, ScrollUpdate = Qt::ScrollUpdate, ScrollEnd = Qt::ScrollEnd, ScrollMomentum = Qt::ScrollMomentum}; +enum ShortcutContext{ + WidgetShortcut = Qt::WidgetShortcut, WindowShortcut = Qt::WindowShortcut, ApplicationShortcut = Qt::ApplicationShortcut, WidgetWithChildrenShortcut = Qt::WidgetWithChildrenShortcut}; +enum SizeHint{ + MinimumSize = Qt::MinimumSize, PreferredSize = Qt::PreferredSize, MaximumSize = Qt::MaximumSize, MinimumDescent = Qt::MinimumDescent, NSizeHints = Qt::NSizeHints}; +enum SizeMode{ + AbsoluteSize = Qt::AbsoluteSize, RelativeSize = Qt::RelativeSize}; +enum SortOrder{ + AscendingOrder = Qt::AscendingOrder, DescendingOrder = Qt::DescendingOrder}; +enum SplitBehaviorFlags{ + KeepEmptyParts = Qt::KeepEmptyParts, SkipEmptyParts = Qt::SkipEmptyParts}; +enum TabFocusBehavior{ + NoTabFocus = Qt::NoTabFocus, TabFocusTextControls = Qt::TabFocusTextControls, TabFocusListControls = Qt::TabFocusListControls, TabFocusAllControls = Qt::TabFocusAllControls}; +enum TextElideMode{ + ElideLeft = Qt::ElideLeft, ElideRight = Qt::ElideRight, ElideMiddle = Qt::ElideMiddle, ElideNone = Qt::ElideNone}; +enum TextFlag{ + TextSingleLine = Qt::TextSingleLine, TextDontClip = Qt::TextDontClip, TextExpandTabs = Qt::TextExpandTabs, TextShowMnemonic = Qt::TextShowMnemonic, TextWordWrap = Qt::TextWordWrap, TextWrapAnywhere = Qt::TextWrapAnywhere, TextDontPrint = Qt::TextDontPrint, TextIncludeTrailingSpaces = Qt::TextIncludeTrailingSpaces, TextHideMnemonic = Qt::TextHideMnemonic, TextJustificationForced = Qt::TextJustificationForced, TextForceLeftToRight = Qt::TextForceLeftToRight, TextForceRightToLeft = Qt::TextForceRightToLeft, TextLongestVariant = Qt::TextLongestVariant, TextBypassShaping = Qt::TextBypassShaping}; +enum TextFormat{ + PlainText = Qt::PlainText, RichText = Qt::RichText, AutoText = Qt::AutoText, MarkdownText = Qt::MarkdownText}; +enum TextInteractionFlag{ + NoTextInteraction = Qt::NoTextInteraction, TextSelectableByMouse = Qt::TextSelectableByMouse, TextSelectableByKeyboard = Qt::TextSelectableByKeyboard, LinksAccessibleByMouse = Qt::LinksAccessibleByMouse, LinksAccessibleByKeyboard = Qt::LinksAccessibleByKeyboard, TextEditable = Qt::TextEditable, TextEditorInteraction = Qt::TextEditorInteraction, TextBrowserInteraction = Qt::TextBrowserInteraction}; +enum TileRule{ + StretchTile = Qt::StretchTile, RepeatTile = Qt::RepeatTile, RoundTile = Qt::RoundTile}; +enum TimeSpec{ + LocalTime = Qt::LocalTime, UTC = Qt::UTC, OffsetFromUTC = Qt::OffsetFromUTC, TimeZone = Qt::TimeZone}; +enum TimerType{ + PreciseTimer = Qt::PreciseTimer, CoarseTimer = Qt::CoarseTimer, VeryCoarseTimer = Qt::VeryCoarseTimer}; +enum ToolBarArea{ + LeftToolBarArea = Qt::LeftToolBarArea, RightToolBarArea = Qt::RightToolBarArea, TopToolBarArea = Qt::TopToolBarArea, BottomToolBarArea = Qt::BottomToolBarArea, ToolBarArea_Mask = Qt::ToolBarArea_Mask, AllToolBarAreas = Qt::AllToolBarAreas, NoToolBarArea = Qt::NoToolBarArea}; +enum ToolBarAreaSizes{ + NToolBarAreas = Qt::NToolBarAreas}; +enum ToolButtonStyle{ + ToolButtonIconOnly = Qt::ToolButtonIconOnly, ToolButtonTextOnly = Qt::ToolButtonTextOnly, ToolButtonTextBesideIcon = Qt::ToolButtonTextBesideIcon, ToolButtonTextUnderIcon = Qt::ToolButtonTextUnderIcon, ToolButtonFollowStyle = Qt::ToolButtonFollowStyle}; +enum TouchPointState{ + TouchPointPressed = Qt::TouchPointPressed, TouchPointMoved = Qt::TouchPointMoved, TouchPointStationary = Qt::TouchPointStationary, TouchPointReleased = Qt::TouchPointReleased}; +enum TransformationMode{ + FastTransformation = Qt::FastTransformation, SmoothTransformation = Qt::SmoothTransformation}; +enum UIEffect{ + UI_General = Qt::UI_General, UI_AnimateMenu = Qt::UI_AnimateMenu, UI_FadeMenu = Qt::UI_FadeMenu, UI_AnimateCombo = Qt::UI_AnimateCombo, UI_AnimateTooltip = Qt::UI_AnimateTooltip, UI_FadeTooltip = Qt::UI_FadeTooltip, UI_AnimateToolBox = Qt::UI_AnimateToolBox}; +enum WhiteSpaceMode{ + WhiteSpaceNormal = Qt::WhiteSpaceNormal, WhiteSpacePre = Qt::WhiteSpacePre, WhiteSpaceNoWrap = Qt::WhiteSpaceNoWrap, WhiteSpaceModeUndefined = Qt::WhiteSpaceModeUndefined}; +enum WidgetAttribute{ + WA_Disabled = Qt::WA_Disabled, WA_UnderMouse = Qt::WA_UnderMouse, WA_MouseTracking = Qt::WA_MouseTracking, WA_ContentsPropagated = Qt::WA_ContentsPropagated, WA_OpaquePaintEvent = Qt::WA_OpaquePaintEvent, WA_NoBackground = Qt::WA_NoBackground, WA_StaticContents = Qt::WA_StaticContents, WA_LaidOut = Qt::WA_LaidOut, WA_PaintOnScreen = Qt::WA_PaintOnScreen, WA_NoSystemBackground = Qt::WA_NoSystemBackground, WA_UpdatesDisabled = Qt::WA_UpdatesDisabled, WA_Mapped = Qt::WA_Mapped, WA_MacNoClickThrough = Qt::WA_MacNoClickThrough, WA_InputMethodEnabled = Qt::WA_InputMethodEnabled, WA_WState_Visible = Qt::WA_WState_Visible, WA_WState_Hidden = Qt::WA_WState_Hidden, WA_ForceDisabled = Qt::WA_ForceDisabled, WA_KeyCompression = Qt::WA_KeyCompression, WA_PendingMoveEvent = Qt::WA_PendingMoveEvent, WA_PendingResizeEvent = Qt::WA_PendingResizeEvent, WA_SetPalette = Qt::WA_SetPalette, WA_SetFont = Qt::WA_SetFont, WA_SetCursor = Qt::WA_SetCursor, WA_NoChildEventsFromChildren = Qt::WA_NoChildEventsFromChildren, WA_WindowModified = Qt::WA_WindowModified, WA_Resized = Qt::WA_Resized, WA_Moved = Qt::WA_Moved, WA_PendingUpdate = Qt::WA_PendingUpdate, WA_InvalidSize = Qt::WA_InvalidSize, WA_MacBrushedMetal = Qt::WA_MacBrushedMetal, WA_MacMetalStyle = Qt::WA_MacMetalStyle, WA_CustomWhatsThis = Qt::WA_CustomWhatsThis, WA_LayoutOnEntireRect = Qt::WA_LayoutOnEntireRect, WA_OutsideWSRange = Qt::WA_OutsideWSRange, WA_GrabbedShortcut = Qt::WA_GrabbedShortcut, WA_TransparentForMouseEvents = Qt::WA_TransparentForMouseEvents, WA_PaintUnclipped = Qt::WA_PaintUnclipped, WA_SetWindowIcon = Qt::WA_SetWindowIcon, WA_NoMouseReplay = Qt::WA_NoMouseReplay, WA_DeleteOnClose = Qt::WA_DeleteOnClose, WA_RightToLeft = Qt::WA_RightToLeft, WA_SetLayoutDirection = Qt::WA_SetLayoutDirection, WA_NoChildEventsForParent = Qt::WA_NoChildEventsForParent, WA_ForceUpdatesDisabled = Qt::WA_ForceUpdatesDisabled, WA_WState_Created = Qt::WA_WState_Created, WA_WState_CompressKeys = Qt::WA_WState_CompressKeys, WA_WState_InPaintEvent = Qt::WA_WState_InPaintEvent, WA_WState_Reparented = Qt::WA_WState_Reparented, WA_WState_ConfigPending = Qt::WA_WState_ConfigPending, WA_WState_Polished = Qt::WA_WState_Polished, WA_WState_DND = Qt::WA_WState_DND, WA_WState_OwnSizePolicy = Qt::WA_WState_OwnSizePolicy, WA_WState_ExplicitShowHide = Qt::WA_WState_ExplicitShowHide, WA_ShowModal = Qt::WA_ShowModal, WA_MouseNoMask = Qt::WA_MouseNoMask, WA_GroupLeader = Qt::WA_GroupLeader, WA_NoMousePropagation = Qt::WA_NoMousePropagation, WA_Hover = Qt::WA_Hover, WA_InputMethodTransparent = Qt::WA_InputMethodTransparent, WA_QuitOnClose = Qt::WA_QuitOnClose, WA_KeyboardFocusChange = Qt::WA_KeyboardFocusChange, WA_AcceptDrops = Qt::WA_AcceptDrops, WA_DropSiteRegistered = Qt::WA_DropSiteRegistered, WA_ForceAcceptDrops = Qt::WA_ForceAcceptDrops, WA_WindowPropagation = Qt::WA_WindowPropagation, WA_NoX11EventCompression = Qt::WA_NoX11EventCompression, WA_TintedBackground = Qt::WA_TintedBackground, WA_X11OpenGLOverlay = Qt::WA_X11OpenGLOverlay, WA_AlwaysShowToolTips = Qt::WA_AlwaysShowToolTips, WA_MacOpaqueSizeGrip = Qt::WA_MacOpaqueSizeGrip, WA_SetStyle = Qt::WA_SetStyle, WA_SetLocale = Qt::WA_SetLocale, WA_MacShowFocusRect = Qt::WA_MacShowFocusRect, WA_MacNormalSize = Qt::WA_MacNormalSize, WA_MacSmallSize = Qt::WA_MacSmallSize, WA_MacMiniSize = Qt::WA_MacMiniSize, WA_LayoutUsesWidgetRect = Qt::WA_LayoutUsesWidgetRect, WA_StyledBackground = Qt::WA_StyledBackground, WA_MSWindowsUseDirect3D = Qt::WA_MSWindowsUseDirect3D, WA_CanHostQMdiSubWindowTitleBar = Qt::WA_CanHostQMdiSubWindowTitleBar, WA_MacAlwaysShowToolWindow = Qt::WA_MacAlwaysShowToolWindow, WA_StyleSheet = Qt::WA_StyleSheet, WA_ShowWithoutActivating = Qt::WA_ShowWithoutActivating, WA_X11BypassTransientForHint = Qt::WA_X11BypassTransientForHint, WA_NativeWindow = Qt::WA_NativeWindow, WA_DontCreateNativeAncestors = Qt::WA_DontCreateNativeAncestors, WA_MacVariableSize = Qt::WA_MacVariableSize, WA_DontShowOnScreen = Qt::WA_DontShowOnScreen, WA_X11NetWmWindowTypeDesktop = Qt::WA_X11NetWmWindowTypeDesktop, WA_X11NetWmWindowTypeDock = Qt::WA_X11NetWmWindowTypeDock, WA_X11NetWmWindowTypeToolBar = Qt::WA_X11NetWmWindowTypeToolBar, WA_X11NetWmWindowTypeMenu = Qt::WA_X11NetWmWindowTypeMenu, WA_X11NetWmWindowTypeUtility = Qt::WA_X11NetWmWindowTypeUtility, WA_X11NetWmWindowTypeSplash = Qt::WA_X11NetWmWindowTypeSplash, WA_X11NetWmWindowTypeDialog = Qt::WA_X11NetWmWindowTypeDialog, WA_X11NetWmWindowTypeDropDownMenu = Qt::WA_X11NetWmWindowTypeDropDownMenu, WA_X11NetWmWindowTypePopupMenu = Qt::WA_X11NetWmWindowTypePopupMenu, WA_X11NetWmWindowTypeToolTip = Qt::WA_X11NetWmWindowTypeToolTip, WA_X11NetWmWindowTypeNotification = Qt::WA_X11NetWmWindowTypeNotification, WA_X11NetWmWindowTypeCombo = Qt::WA_X11NetWmWindowTypeCombo, WA_X11NetWmWindowTypeDND = Qt::WA_X11NetWmWindowTypeDND, WA_MacFrameworkScaled = Qt::WA_MacFrameworkScaled, WA_SetWindowModality = Qt::WA_SetWindowModality, WA_WState_WindowOpacitySet = Qt::WA_WState_WindowOpacitySet, WA_TranslucentBackground = Qt::WA_TranslucentBackground, WA_AcceptTouchEvents = Qt::WA_AcceptTouchEvents, WA_WState_AcceptedTouchBeginEvent = Qt::WA_WState_AcceptedTouchBeginEvent, WA_TouchPadAcceptSingleTouchEvents = Qt::WA_TouchPadAcceptSingleTouchEvents, WA_X11DoNotAcceptFocus = Qt::WA_X11DoNotAcceptFocus, WA_MacNoShadow = Qt::WA_MacNoShadow, WA_AlwaysStackOnTop = Qt::WA_AlwaysStackOnTop, WA_TabletTracking = Qt::WA_TabletTracking, WA_ContentsMarginsRespectsSafeArea = Qt::WA_ContentsMarginsRespectsSafeArea, WA_StyleSheetTarget = Qt::WA_StyleSheetTarget, WA_AttributeCount = Qt::WA_AttributeCount}; +enum WindowFrameSection{ + NoSection = Qt::NoSection, LeftSection = Qt::LeftSection, TopLeftSection = Qt::TopLeftSection, TopSection = Qt::TopSection, TopRightSection = Qt::TopRightSection, RightSection = Qt::RightSection, BottomRightSection = Qt::BottomRightSection, BottomSection = Qt::BottomSection, BottomLeftSection = Qt::BottomLeftSection, TitleBarArea = Qt::TitleBarArea}; +enum WindowModality{ + NonModal = Qt::NonModal, WindowModal = Qt::WindowModal, ApplicationModal = Qt::ApplicationModal}; +enum WindowState{ + WindowNoState = Qt::WindowNoState, WindowMinimized = Qt::WindowMinimized, WindowMaximized = Qt::WindowMaximized, WindowFullScreen = Qt::WindowFullScreen, WindowActive = Qt::WindowActive}; +enum WindowType{ + Widget = Qt::Widget, Window = Qt::Window, Dialog = Qt::Dialog, Sheet = Qt::Sheet, Drawer = Qt::Drawer, Popup = Qt::Popup, Tool = Qt::Tool, ToolTip = Qt::ToolTip, SplashScreen = Qt::SplashScreen, Desktop = Qt::Desktop, SubWindow = Qt::SubWindow, ForeignWindow = Qt::ForeignWindow, CoverWindow = Qt::CoverWindow, WindowType_Mask = Qt::WindowType_Mask, MSWindowsFixedSizeDialogHint = Qt::MSWindowsFixedSizeDialogHint, MSWindowsOwnDC = Qt::MSWindowsOwnDC, BypassWindowManagerHint = Qt::BypassWindowManagerHint, X11BypassWindowManagerHint = Qt::X11BypassWindowManagerHint, FramelessWindowHint = Qt::FramelessWindowHint, WindowTitleHint = Qt::WindowTitleHint, WindowSystemMenuHint = Qt::WindowSystemMenuHint, WindowMinimizeButtonHint = Qt::WindowMinimizeButtonHint, WindowMaximizeButtonHint = Qt::WindowMaximizeButtonHint, WindowMinMaxButtonsHint = Qt::WindowMinMaxButtonsHint, WindowContextHelpButtonHint = Qt::WindowContextHelpButtonHint, WindowShadeButtonHint = Qt::WindowShadeButtonHint, WindowStaysOnTopHint = Qt::WindowStaysOnTopHint, WindowTransparentForInput = Qt::WindowTransparentForInput, WindowOverridesSystemGestures = Qt::WindowOverridesSystemGestures, WindowDoesNotAcceptFocus = Qt::WindowDoesNotAcceptFocus, MaximizeUsingFullscreenGeometryHint = Qt::MaximizeUsingFullscreenGeometryHint, CustomizeWindowHint = Qt::CustomizeWindowHint, WindowStaysOnBottomHint = Qt::WindowStaysOnBottomHint, WindowCloseButtonHint = Qt::WindowCloseButtonHint, MacWindowToolBarButtonHint = Qt::MacWindowToolBarButtonHint, BypassGraphicsProxyWidget = Qt::BypassGraphicsProxyWidget, NoDropShadowWindowHint = Qt::NoDropShadowWindowHint, WindowFullscreenButtonHint = Qt::WindowFullscreenButtonHint}; +Q_DECLARE_FLAGS(Alignment, AlignmentFlag) +Q_DECLARE_FLAGS(DockWidgetAreas, DockWidgetArea) +Q_DECLARE_FLAGS(DropActions, DropAction) +Q_DECLARE_FLAGS(FindChildOptions, FindChildOption) +Q_DECLARE_FLAGS(GestureFlags, GestureFlag) +Q_DECLARE_FLAGS(ImageConversionFlags, ImageConversionFlag) +Q_DECLARE_FLAGS(InputMethodHints, InputMethodHint) +Q_DECLARE_FLAGS(InputMethodQueries, InputMethodQuery) +Q_DECLARE_FLAGS(ItemFlags, ItemFlag) +Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier) +Q_DECLARE_FLAGS(MatchFlags, MatchFlag) +Q_DECLARE_FLAGS(MouseButtons, MouseButton) +Q_DECLARE_FLAGS(MouseEventFlags, MouseEventFlag) +Q_DECLARE_FLAGS(Orientations, Orientation) +Q_DECLARE_FLAGS(ScreenOrientations, ScreenOrientation) +Q_DECLARE_FLAGS(SplitBehavior, SplitBehaviorFlags) +Q_DECLARE_FLAGS(TextInteractionFlags, TextInteractionFlag) +Q_DECLARE_FLAGS(ToolBarAreas, ToolBarArea) +Q_DECLARE_FLAGS(TouchPointStates, TouchPointState) +Q_DECLARE_FLAGS(WindowStates, WindowState) +Q_DECLARE_FLAGS(WindowFlags, WindowType) +public slots: + QTextStream* static_Qt_bin(QTextStream& s); + QTextStream* static_Qt_bom(QTextStream& s); + QTextStream* static_Qt_center(QTextStream& s); + QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); + QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); + QTextStream* static_Qt_dec(QTextStream& s); + QTextStream* static_Qt_endl(QTextStream& s); + QTextStream* static_Qt_fixed(QTextStream& s); + QTextStream* static_Qt_flush(QTextStream& s); + QTextStream* static_Qt_forcepoint(QTextStream& s); + QTextStream* static_Qt_forcesign(QTextStream& s); + QTextStream* static_Qt_hex(QTextStream& s); + QTextStream* static_Qt_left(QTextStream& s); + QTextStream* static_Qt_lowercasebase(QTextStream& s); + QTextStream* static_Qt_lowercasedigits(QTextStream& s); + bool static_Qt_mightBeRichText(const QString& arg__1); + QTextStream* static_Qt_noforcepoint(QTextStream& s); + QTextStream* static_Qt_noforcesign(QTextStream& s); + QTextStream* static_Qt_noshowbase(QTextStream& s); + QTextStream* static_Qt_oct(QTextStream& s); + QTextStream* static_Qt_reset(QTextStream& s); + QTextStream* static_Qt_right(QTextStream& s); + QTextStream* static_Qt_scientific(QTextStream& s); + QTextStream* static_Qt_showbase(QTextStream& s); + QTextStream* static_Qt_uppercasebase(QTextStream& s); + QTextStream* static_Qt_uppercasedigits(QTextStream& s); + QTextStream* static_Qt_ws(QTextStream& s); +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp new file mode 100644 index 00000000..eb6a4bd5 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp @@ -0,0 +1,29 @@ +#include +#include +#include "com_trolltech_qt_core_builtin0.h" + + +void PythonQt_init_QtCoreBuiltin(PyObject* module) { +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("QRegularExpression", "", "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"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui.pri b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui.pri new file mode 100644 index 00000000..da88b6a3 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui.pri @@ -0,0 +1,30 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_gui0.h \ + $$PWD/com_trolltech_qt_gui1.h \ + $$PWD/com_trolltech_qt_gui2.h \ + $$PWD/com_trolltech_qt_gui3.h \ + $$PWD/com_trolltech_qt_gui4.h \ + $$PWD/com_trolltech_qt_gui5.h \ + $$PWD/com_trolltech_qt_gui6.h \ + $$PWD/com_trolltech_qt_gui7.h \ + $$PWD/com_trolltech_qt_gui8.h \ + $$PWD/com_trolltech_qt_gui9.h \ + $$PWD/com_trolltech_qt_gui10.h \ + $$PWD/com_trolltech_qt_gui11.h \ + $$PWD/com_trolltech_qt_gui12.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_gui0.cpp \ + $$PWD/com_trolltech_qt_gui1.cpp \ + $$PWD/com_trolltech_qt_gui2.cpp \ + $$PWD/com_trolltech_qt_gui3.cpp \ + $$PWD/com_trolltech_qt_gui4.cpp \ + $$PWD/com_trolltech_qt_gui5.cpp \ + $$PWD/com_trolltech_qt_gui6.cpp \ + $$PWD/com_trolltech_qt_gui7.cpp \ + $$PWD/com_trolltech_qt_gui8.cpp \ + $$PWD/com_trolltech_qt_gui9.cpp \ + $$PWD/com_trolltech_qt_gui10.cpp \ + $$PWD/com_trolltech_qt_gui11.cpp \ + $$PWD/com_trolltech_qt_gui12.cpp \ + $$PWD/com_trolltech_qt_gui_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp new file mode 100644 index 00000000..c8d7109f --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -0,0 +1,24367 @@ +#include "com_trolltech_qt_gui0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QAbstractButton::~PythonQtShell_QAbstractButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QAbstractButton::actionEvent(event0); +} +void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::changeEvent(e0); +} +void PythonQtShell_QAbstractButton::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("checkStateSet"); + 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(); + } + } +} + QAbstractButton::checkStateSet(); +} +void PythonQtShell_QAbstractButton::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(); + } + } +} + QAbstractButton::childEvent(event0); +} +void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QAbstractButton::closeEvent(event0); +} +void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QAbstractButton::contextMenuEvent(event0); +} +void PythonQtShell_QAbstractButton::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(); + } + } +} + QAbstractButton::customEvent(event0); +} +int PythonQtShell_QAbstractButton::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 QAbstractButton::devType(); +} +void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QAbstractButton::dragEnterEvent(event0); +} +void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QAbstractButton::dragLeaveEvent(event0); +} +void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QAbstractButton::dragMoveEvent(event0); +} +void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QAbstractButton::dropEvent(event0); +} +void PythonQtShell_QAbstractButton::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QAbstractButton::enterEvent(event0); +} +bool PythonQtShell_QAbstractButton::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 QAbstractButton::event(e0); +} +bool PythonQtShell_QAbstractButton::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 QAbstractButton::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::focusInEvent(e0); +} +bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::focusNextPrevChild(next0); +} +void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::focusOutEvent(e0); +} +bool PythonQtShell_QAbstractButton::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::hasHeightForWidth(); +} +int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::hideEvent(event0); +} +bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::hitButton(pos0); +} +void PythonQtShell_QAbstractButton::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(); + } + } +} + QAbstractButton::initPainter(painter0); +} +void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::keyPressEvent(e0); +} +void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::keyReleaseEvent(e0); +} +void PythonQtShell_QAbstractButton::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QAbstractButton::leaveEvent(event0); +} +int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::metric(arg__1); +} +QSize PythonQtShell_QAbstractButton::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::minimumSizeHint(); +} +void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractButton::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractButton::mouseMoveEvent(e0); +} +void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractButton::mousePressEvent(e0); +} +void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractButton::mouseReleaseEvent(e0); +} +void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QAbstractButton::moveEvent(event0); +} +bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QAbstractButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + 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(); + } + } +} + QAbstractButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::paintEngine(); +} +void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + +} +QPaintDevice* PythonQtShell_QAbstractButton::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 QAbstractButton::redirected(offset0); +} +void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QAbstractButton::resizeEvent(event0); +} +void PythonQtShell_QAbstractButton::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::setVisible(visible0); +} +QPainter* PythonQtShell_QAbstractButton::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 QAbstractButton::sharedPainter(); +} +void PythonQtShell_QAbstractButton::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QAbstractButton::showEvent(event0); +} +QSize PythonQtShell_QAbstractButton::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::sizeHint(); +} +void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QAbstractButton::tabletEvent(event0); +} +void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::timerEvent(e0); +} +void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QAbstractButton::wheelEvent(event0); +} +QAbstractButton* PythonQtWrapper_QAbstractButton::new_QAbstractButton(QWidget* parent) +{ +return new PythonQtShell_QAbstractButton(parent); } + +const QMetaObject* PythonQtShell_QAbstractButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractButton::staticMetaObject); + } else { + return &QAbstractButton::staticMetaObject; + } +} +int PythonQtShell_QAbstractButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QAbstractButton::autoExclusive(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoExclusive()); +} + +bool PythonQtWrapper_QAbstractButton::autoRepeat(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeat()); +} + +int PythonQtWrapper_QAbstractButton::autoRepeatDelay(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeatDelay()); +} + +int PythonQtWrapper_QAbstractButton::autoRepeatInterval(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeatInterval()); +} + +void PythonQtWrapper_QAbstractButton::checkStateSet(QAbstractButton* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_checkStateSet()); +} + +QButtonGroup* PythonQtWrapper_QAbstractButton::group(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +bool PythonQtWrapper_QAbstractButton::hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const +{ + return ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_hitButton(pos)); +} + +QIcon PythonQtWrapper_QAbstractButton::icon(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QSize PythonQtWrapper_QAbstractButton::iconSize(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +bool PythonQtWrapper_QAbstractButton::isCheckable(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QAbstractButton::isChecked(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->isChecked()); +} + +bool PythonQtWrapper_QAbstractButton::isDown(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->isDown()); +} + +void PythonQtWrapper_QAbstractButton::nextCheckState(QAbstractButton* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_nextCheckState()); +} + +void PythonQtWrapper_QAbstractButton::setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoExclusive(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoRepeat(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setAutoRepeatDelay(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setAutoRepeatInterval(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setCheckable(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setCheckable(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setDown(QAbstractButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setDown(arg__1)); +} + +void PythonQtWrapper_QAbstractButton::setIcon(QAbstractButton* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QAbstractButton::setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key) +{ + ( theWrappedObject->setShortcut(key)); +} + +void PythonQtWrapper_QAbstractButton::setText(QAbstractButton* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +QKeySequence PythonQtWrapper_QAbstractButton::shortcut(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->shortcut()); +} + +QString PythonQtWrapper_QAbstractButton::text(QAbstractButton* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +PythonQtShell_QAbstractGraphicsShapeItem::~PythonQtShell_QAbstractGraphicsShapeItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::advance(phase0); +} +QRectF PythonQtShell_QAbstractGraphicsShapeItem::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 QRectF(); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::contains(point0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::contextMenuEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::dragEnterEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::dragLeaveEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::dragMoveEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::dropEvent(event0); +} +QVariant PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::extension(variant0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::focusInEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::focusOutEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::hoverEnterEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::hoverMoveEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::inputMethodQuery(query0); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::itemChange(change0, value1); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::keyPressEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::keyReleaseEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::mouseMoveEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::mousePressEvent(event0); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::opaqueArea(); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::sceneEvent(event0); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::shape(); +} +bool PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::supportsExtension(extension0); +} +int PythonQtShell_QAbstractGraphicsShapeItem::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 QAbstractGraphicsShapeItem::type(); +} +void PythonQtShell_QAbstractGraphicsShapeItem::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(); + } + } +} + QAbstractGraphicsShapeItem::wheelEvent(event0); +} +QAbstractGraphicsShapeItem* PythonQtWrapper_QAbstractGraphicsShapeItem::new_QAbstractGraphicsShapeItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QAbstractGraphicsShapeItem(parent); } + +QBrush PythonQtWrapper_QAbstractGraphicsShapeItem::brush(QAbstractGraphicsShapeItem* theWrappedObject) const +{ + return ( theWrappedObject->brush()); +} + +QPen PythonQtWrapper_QAbstractGraphicsShapeItem::pen(QAbstractGraphicsShapeItem* theWrappedObject) const +{ + return ( theWrappedObject->pen()); +} + +void PythonQtWrapper_QAbstractGraphicsShapeItem::setBrush(QAbstractGraphicsShapeItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBrush(brush)); +} + +void PythonQtWrapper_QAbstractGraphicsShapeItem::setPen(QAbstractGraphicsShapeItem* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setPen(pen)); +} + + + +PythonQtShell_QAbstractItemDelegate::~PythonQtShell_QAbstractItemDelegate() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractItemDelegate::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(); + } + } +} + QAbstractItemDelegate::childEvent(event0); +} +QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemDelegate::createEditor(parent0, option1, index2); +} +void PythonQtShell_QAbstractItemDelegate::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(); + } + } +} + QAbstractItemDelegate::customEvent(event0); +} +void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("destroyEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemDelegate::destroyEditor(editor0, index1); +} +bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemDelegate::editorEvent(event0, model1, option2, index3); +} +bool PythonQtShell_QAbstractItemDelegate::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 QAbstractItemDelegate::event(event0); +} +bool PythonQtShell_QAbstractItemDelegate::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 QAbstractItemDelegate::eventFilter(watched0, event1); +} +bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +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[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemDelegate::helpEvent(event0, view1, option2, index3); +} +void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +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 QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintingRoles"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemDelegate::paintingRoles(); +} +void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemDelegate::setEditorData(editor0, index1); +} +void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModelData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemDelegate::setModelData(editor0, model1, index2); +} +QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) 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[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +void PythonQtShell_QAbstractItemDelegate::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(); + } + } +} + QAbstractItemDelegate::timerEvent(event0); +} +void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemDelegate::updateEditorGeometry(editor0, option1, index2); +} +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemDelegate::new_QAbstractItemDelegate(QObject* parent) +{ +return new PythonQtShell_QAbstractItemDelegate(parent); } + +const QMetaObject* PythonQtShell_QAbstractItemDelegate::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractItemDelegate::staticMetaObject); + } else { + return &QAbstractItemDelegate::staticMetaObject; + } +} +int PythonQtShell_QAbstractItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractItemDelegate::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QWidget* PythonQtWrapper_QAbstractItemDelegate::createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + return ( theWrappedObject->createEditor(parent, option, index)); +} + +void PythonQtWrapper_QAbstractItemDelegate::destroyEditor(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const +{ + ( theWrappedObject->destroyEditor(editor, index)); +} + +bool PythonQtWrapper_QAbstractItemDelegate::editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) +{ + return ( theWrappedObject->editorEvent(event, model, option, index)); +} + +bool PythonQtWrapper_QAbstractItemDelegate::helpEvent(QAbstractItemDelegate* theWrappedObject, QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) +{ + return ( theWrappedObject->helpEvent(event, view, option, index)); +} + +void PythonQtWrapper_QAbstractItemDelegate::paint(QAbstractItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( theWrappedObject->paint(painter, option, index)); +} + +QVector PythonQtWrapper_QAbstractItemDelegate::paintingRoles(QAbstractItemDelegate* theWrappedObject) const +{ + return ( theWrappedObject->paintingRoles()); +} + +void PythonQtWrapper_QAbstractItemDelegate::setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const +{ + ( theWrappedObject->setEditorData(editor, index)); +} + +void PythonQtWrapper_QAbstractItemDelegate::setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const +{ + ( theWrappedObject->setModelData(editor, model, index)); +} + +QSize PythonQtWrapper_QAbstractItemDelegate::sizeHint(QAbstractItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + return ( theWrappedObject->sizeHint(option, index)); +} + +void PythonQtWrapper_QAbstractItemDelegate::updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( theWrappedObject->updateEditorGeometry(editor, option, index)); +} + + + +PythonQtShell_QAbstractItemView::~PythonQtShell_QAbstractItemView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QAbstractItemView::actionEvent(event0); +} +void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::changeEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::childEvent(event0); +} +void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::closeEditor(editor0, hint1); +} +void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QAbstractItemView::closeEvent(event0); +} +void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::commitData(editor0); +} +void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::currentChanged(current0, previous1); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::customEvent(event0); +} +void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QAbstractItemView::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 QAbstractItemView::devType(); +} +void PythonQtShell_QAbstractItemView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QAbstractItemView::doItemsLayout(); +} +void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QAbstractItemView::dragEnterEvent(event0); +} +void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QAbstractItemView::dragLeaveEvent(event0); +} +void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QAbstractItemView::dragMoveEvent(event0); +} +void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QAbstractItemView::dropEvent(event0); +} +bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::edit(index0, trigger1, event2); +} +void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::editorDestroyed(editor0); +} +void PythonQtShell_QAbstractItemView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QAbstractItemView::enterEvent(event0); +} +bool PythonQtShell_QAbstractItemView::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 QAbstractItemView::event(event0); +} +bool PythonQtShell_QAbstractItemView::eventFilter(QObject* object0, 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*)&object0, (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 QAbstractItemView::eventFilter(object0, event1); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::focusInEvent(event0); +} +bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::focusNextPrevChild(next0); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::focusOutEvent(event0); +} +bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::hasHeightForWidth(); +} +int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::hideEvent(event0); +} +int PythonQtShell_QAbstractItemView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::initPainter(painter0); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QAbstractItemView::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 QAbstractItemView::inputMethodQuery(query0); +} +bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::keyPressEvent(event0); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::keyReleaseEvent(event0); +} +void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::keyboardSearch(search0); +} +void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QAbstractItemView::leaveEvent(event0); +} +int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::metric(arg__1); +} +QSize PythonQtShell_QAbstractItemView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::minimumSizeHint(); +} +void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractItemView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractItemView::mouseMoveEvent(event0); +} +void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractItemView::mousePressEvent(event0); +} +void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractItemView::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QAbstractItemView::moveEvent(event0); +} +bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::paintEngine(); +} +void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QAbstractItemView::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 QAbstractItemView::redirected(offset0); +} +void PythonQtShell_QAbstractItemView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QAbstractItemView::reset(); +} +void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QAbstractItemView::resizeEvent(event0); +} +void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractItemView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QAbstractItemView::selectAll(); +} +QList PythonQtShell_QAbstractItemView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::selectedIndexes(); +} +void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::selectionCommand(index0, event1); +} +void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::setModel(model0); +} +void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QAbstractItemView::setRootIndex(index0); +} +void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QAbstractItemView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::setVisible(visible0); +} +void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QAbstractItemView::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 QAbstractItemView::sharedPainter(); +} +void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QAbstractItemView::showEvent(event0); +} +QSize PythonQtShell_QAbstractItemView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::sizeHint(); +} +int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::sizeHintForColumn(column0); +} +int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::sizeHintForRow(row0); +} +void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::startDrag(supportedActions0); +} +void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QAbstractItemView::tabletEvent(event0); +} +void PythonQtShell_QAbstractItemView::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(); + } + } +} + QAbstractItemView::timerEvent(event0); +} +void PythonQtShell_QAbstractItemView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QAbstractItemView::updateEditorData(); +} +void PythonQtShell_QAbstractItemView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QAbstractItemView::updateEditorGeometries(); +} +void PythonQtShell_QAbstractItemView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QAbstractItemView::updateGeometries(); +} +int PythonQtShell_QAbstractItemView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::verticalScrollbarAction(action0); +} +void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::viewOptions(); +} +bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::viewportEvent(event0); +} +QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemView::viewportSizeHint(); +} +QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRect(); +} +QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRegion(); +} +void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::wheelEvent(arg__1); +} +QAbstractItemView* PythonQtWrapper_QAbstractItemView::new_QAbstractItemView(QWidget* parent) +{ +return new PythonQtShell_QAbstractItemView(parent); } + +const QMetaObject* PythonQtShell_QAbstractItemView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractItemView::staticMetaObject); + } else { + return &QAbstractItemView::staticMetaObject; + } +} +int PythonQtShell_QAbstractItemView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractItemView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QAbstractItemView::alternatingRowColors(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->alternatingRowColors()); +} + +int PythonQtWrapper_QAbstractItemView::autoScrollMargin(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->autoScrollMargin()); +} + +void PythonQtWrapper_QAbstractItemView::closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->closePersistentEditor(index)); +} + +QModelIndex PythonQtWrapper_QAbstractItemView::currentIndex(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +Qt::DropAction PythonQtWrapper_QAbstractItemView::defaultDropAction(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->defaultDropAction()); +} + +QPoint PythonQtWrapper_QAbstractItemView::dirtyRegionOffset(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dirtyRegionOffset()); +} + +void PythonQtWrapper_QAbstractItemView::doAutoScroll(QAbstractItemView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_doAutoScroll()); +} + +QAbstractItemView::DragDropMode PythonQtWrapper_QAbstractItemView::dragDropMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->dragDropMode()); +} + +bool PythonQtWrapper_QAbstractItemView::dragDropOverwriteMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->dragDropOverwriteMode()); +} + +bool PythonQtWrapper_QAbstractItemView::dragEnabled(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->dragEnabled()); +} + +int PythonQtWrapper_QAbstractItemView::dropIndicatorPosition(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dropIndicatorPosition()); +} + +bool PythonQtWrapper_QAbstractItemView::edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_edit(index, trigger, event)); +} + +QAbstractItemView::EditTriggers PythonQtWrapper_QAbstractItemView::editTriggers(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->editTriggers()); +} + +void PythonQtWrapper_QAbstractItemView::executeDelayedItemsLayout(QAbstractItemView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_executeDelayedItemsLayout()); +} + +bool PythonQtWrapper_QAbstractItemView::hasAutoScroll(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->hasAutoScroll()); +} + +int PythonQtWrapper_QAbstractItemView::horizontalOffset(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_horizontalOffset()); +} + +QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::horizontalScrollMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->horizontalScrollMode()); +} + +QSize PythonQtWrapper_QAbstractItemView::iconSize(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +QModelIndex PythonQtWrapper_QAbstractItemView::indexAt(QAbstractItemView* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->indexAt(point)); +} + +QWidget* PythonQtWrapper_QAbstractItemView::indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexWidget(index)); +} + +bool PythonQtWrapper_QAbstractItemView::isIndexHidden(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_isIndexHidden(index)); +} + +bool PythonQtWrapper_QAbstractItemView::isPersistentEditorOpen(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isPersistentEditorOpen(index)); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegate(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegate(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->itemDelegate(index)); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegateForColumn(QAbstractItemView* theWrappedObject, int column) const +{ + return ( theWrappedObject->itemDelegateForColumn(column)); +} + +QAbstractItemDelegate* PythonQtWrapper_QAbstractItemView::itemDelegateForRow(QAbstractItemView* theWrappedObject, int row) const +{ + return ( theWrappedObject->itemDelegateForRow(row)); +} + +void PythonQtWrapper_QAbstractItemView::keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search) +{ + ( theWrappedObject->keyboardSearch(search)); +} + +QAbstractItemModel* PythonQtWrapper_QAbstractItemView::model(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QModelIndex PythonQtWrapper_QAbstractItemView::moveCursor(QAbstractItemView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers) +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_moveCursor(cursorAction, modifiers)); +} + +void PythonQtWrapper_QAbstractItemView::openPersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->openPersistentEditor(index)); +} + +void PythonQtWrapper_QAbstractItemView::resetHorizontalScrollMode(QAbstractItemView* theWrappedObject) +{ + ( theWrappedObject->resetHorizontalScrollMode()); +} + +void PythonQtWrapper_QAbstractItemView::resetVerticalScrollMode(QAbstractItemView* theWrappedObject) +{ + ( theWrappedObject->resetVerticalScrollMode()); +} + +QModelIndex PythonQtWrapper_QAbstractItemView::rootIndex(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->rootIndex()); +} + +void PythonQtWrapper_QAbstractItemView::scheduleDelayedItemsLayout(QAbstractItemView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_scheduleDelayedItemsLayout()); +} + +void PythonQtWrapper_QAbstractItemView::scrollDirtyRegion(QAbstractItemView* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_scrollDirtyRegion(dx, dy)); +} + +void PythonQtWrapper_QAbstractItemView::scrollTo(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) +{ + ( theWrappedObject->scrollTo(index, hint)); +} + +QList PythonQtWrapper_QAbstractItemView::selectedIndexes(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectedIndexes()); +} + +QAbstractItemView::SelectionBehavior PythonQtWrapper_QAbstractItemView::selectionBehavior(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->selectionBehavior()); +} + +QItemSelectionModel::SelectionFlags PythonQtWrapper_QAbstractItemView::selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectionCommand(index, event)); +} + +QAbstractItemView::SelectionMode PythonQtWrapper_QAbstractItemView::selectionMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->selectionMode()); +} + +QItemSelectionModel* PythonQtWrapper_QAbstractItemView::selectionModel(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->selectionModel()); +} + +void PythonQtWrapper_QAbstractItemView::setAlternatingRowColors(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAlternatingRowColors(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setAutoScroll(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAutoScroll(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setAutoScrollMargin(QAbstractItemView* theWrappedObject, int margin) +{ + ( theWrappedObject->setAutoScrollMargin(margin)); +} + +void PythonQtWrapper_QAbstractItemView::setDefaultDropAction(QAbstractItemView* theWrappedObject, Qt::DropAction dropAction) +{ + ( theWrappedObject->setDefaultDropAction(dropAction)); +} + +void PythonQtWrapper_QAbstractItemView::setDirtyRegion(QAbstractItemView* theWrappedObject, const QRegion& region) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setDirtyRegion(region)); +} + +void PythonQtWrapper_QAbstractItemView::setDragDropMode(QAbstractItemView* theWrappedObject, QAbstractItemView::DragDropMode behavior) +{ + ( theWrappedObject->setDragDropMode(behavior)); +} + +void PythonQtWrapper_QAbstractItemView::setDragDropOverwriteMode(QAbstractItemView* theWrappedObject, bool overwrite) +{ + ( theWrappedObject->setDragDropOverwriteMode(overwrite)); +} + +void PythonQtWrapper_QAbstractItemView::setDragEnabled(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDragEnabled(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setDropIndicatorShown(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDropIndicatorShown(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setEditTriggers(QAbstractItemView* theWrappedObject, QAbstractItemView::EditTriggers triggers) +{ + ( theWrappedObject->setEditTriggers(triggers)); +} + +void PythonQtWrapper_QAbstractItemView::setHorizontalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode) +{ + ( theWrappedObject->setHorizontalScrollMode(mode)); +} + +void PythonQtWrapper_QAbstractItemView::setIconSize(QAbstractItemView* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QAbstractItemView::setIndexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setIndexWidget(index, widget)); +} + +void PythonQtWrapper_QAbstractItemView::setItemDelegate(QAbstractItemView* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QAbstractItemView::setItemDelegateForColumn(QAbstractItemView* theWrappedObject, int column, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegateForColumn(column, delegate)); +} + +void PythonQtWrapper_QAbstractItemView::setItemDelegateForRow(QAbstractItemView* theWrappedObject, int row, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegateForRow(row, delegate)); +} + +void PythonQtWrapper_QAbstractItemView::setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model) +{ + ( theWrappedObject->setModel(model)); +} + +void PythonQtWrapper_QAbstractItemView::setSelection(QAbstractItemView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setSelection(rect, command)); +} + +void PythonQtWrapper_QAbstractItemView::setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior) +{ + ( theWrappedObject->setSelectionBehavior(behavior)); +} + +void PythonQtWrapper_QAbstractItemView::setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode) +{ + ( theWrappedObject->setSelectionMode(mode)); +} + +void PythonQtWrapper_QAbstractItemView::setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel) +{ + ( theWrappedObject->setSelectionModel(selectionModel)); +} + +void PythonQtWrapper_QAbstractItemView::setState(QAbstractItemView* theWrappedObject, int state) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setState(state)); +} + +void PythonQtWrapper_QAbstractItemView::setTabKeyNavigation(QAbstractItemView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setTabKeyNavigation(enable)); +} + +void PythonQtWrapper_QAbstractItemView::setTextElideMode(QAbstractItemView* theWrappedObject, Qt::TextElideMode mode) +{ + ( theWrappedObject->setTextElideMode(mode)); +} + +void PythonQtWrapper_QAbstractItemView::setVerticalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode) +{ + ( theWrappedObject->setVerticalScrollMode(mode)); +} + +bool PythonQtWrapper_QAbstractItemView::showDropIndicator(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->showDropIndicator()); +} + +int PythonQtWrapper_QAbstractItemView::sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const +{ + return ( theWrappedObject->sizeHintForColumn(column)); +} + +QSize PythonQtWrapper_QAbstractItemView::sizeHintForIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->sizeHintForIndex(index)); +} + +int PythonQtWrapper_QAbstractItemView::sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const +{ + return ( theWrappedObject->sizeHintForRow(row)); +} + +void PythonQtWrapper_QAbstractItemView::startAutoScroll(QAbstractItemView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_startAutoScroll()); +} + +void PythonQtWrapper_QAbstractItemView::startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_startDrag(supportedActions)); +} + +int PythonQtWrapper_QAbstractItemView::state(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_state()); +} + +void PythonQtWrapper_QAbstractItemView::stopAutoScroll(QAbstractItemView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_stopAutoScroll()); +} + +bool PythonQtWrapper_QAbstractItemView::tabKeyNavigation(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->tabKeyNavigation()); +} + +Qt::TextElideMode PythonQtWrapper_QAbstractItemView::textElideMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->textElideMode()); +} + +int PythonQtWrapper_QAbstractItemView::verticalOffset(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_verticalOffset()); +} + +QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::verticalScrollMode(QAbstractItemView* theWrappedObject) const +{ + return ( theWrappedObject->verticalScrollMode()); +} + +QStyleOptionViewItem PythonQtWrapper_QAbstractItemView::viewOptions(QAbstractItemView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_viewOptions()); +} + +QRect PythonQtWrapper_QAbstractItemView::visualRect(QAbstractItemView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->visualRect(index)); +} + +QRegion PythonQtWrapper_QAbstractItemView::visualRegionForSelection(QAbstractItemView* theWrappedObject, const QItemSelection& selection) const +{ + return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); +} + + + +PythonQtShell_QAbstractPrintDialog::~PythonQtShell_QAbstractPrintDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractPrintDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QAbstractPrintDialog::accept(); +} +void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::actionEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::changeEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::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(); + } + } +} + QAbstractPrintDialog::childEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::closeEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::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(); + } + } +} + QAbstractPrintDialog::customEvent(event0); +} +int PythonQtShell_QAbstractPrintDialog::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 QAbstractPrintDialog::devType(); +} +void PythonQtShell_QAbstractPrintDialog::done(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::done(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::dragEnterEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::dragMoveEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::dropEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QAbstractPrintDialog::enterEvent(event0); +} +bool PythonQtShell_QAbstractPrintDialog::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 QAbstractPrintDialog::event(event0); +} +bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QAbstractPrintDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QAbstractPrintDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::exec(); +} +void PythonQtShell_QAbstractPrintDialog::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(); + } + } +} + QAbstractPrintDialog::focusInEvent(event0); +} +bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QAbstractPrintDialog::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(); + } + } +} + QAbstractPrintDialog::focusOutEvent(event0); +} +bool PythonQtShell_QAbstractPrintDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::hasHeightForWidth(); +} +int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::hideEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::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(); + } + } +} + QAbstractPrintDialog::initPainter(painter0); +} +void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::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(); + } + } +} + QAbstractPrintDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QAbstractPrintDialog::leaveEvent(event0); +} +int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::metric(arg__1); +} +QSize PythonQtShell_QAbstractPrintDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::minimumSizeHint(); +} +void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::mousePressEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::moveEvent(event0); +} +bool PythonQtShell_QAbstractPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QAbstractPrintDialog::open() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + 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(); + } + } +} + QAbstractPrintDialog::open(); +} +QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::paintEngine(); +} +void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QAbstractPrintDialog::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 QAbstractPrintDialog::redirected(offset0); +} +void PythonQtShell_QAbstractPrintDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QAbstractPrintDialog::reject(); +} +void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::resizeEvent(arg__1); +} +void PythonQtShell_QAbstractPrintDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QAbstractPrintDialog::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 QAbstractPrintDialog::sharedPainter(); +} +void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::showEvent(arg__1); +} +QSize PythonQtShell_QAbstractPrintDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractPrintDialog::sizeHint(); +} +void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::tabletEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::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(); + } + } +} + QAbstractPrintDialog::timerEvent(event0); +} +void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QAbstractPrintDialog::wheelEvent(event0); +} +QAbstractPrintDialog* PythonQtWrapper_QAbstractPrintDialog::new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QAbstractPrintDialog(printer, parent); } + +const QMetaObject* PythonQtShell_QAbstractPrintDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractPrintDialog::staticMetaObject); + } else { + return &QAbstractPrintDialog::staticMetaObject; + } +} +int PythonQtShell_QAbstractPrintDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractPrintDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractPrintDialog::addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) +{ + ( theWrappedObject->addEnabledOption(option)); +} + +QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QAbstractPrintDialog::enabledOptions(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->enabledOptions()); +} + +int PythonQtWrapper_QAbstractPrintDialog::fromPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->fromPage()); +} + +bool PythonQtWrapper_QAbstractPrintDialog::isOptionEnabled(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +{ + return ( theWrappedObject->isOptionEnabled(option)); +} + +int PythonQtWrapper_QAbstractPrintDialog::maxPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->maxPage()); +} + +int PythonQtWrapper_QAbstractPrintDialog::minPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->minPage()); +} + +QAbstractPrintDialog::PrintRange PythonQtWrapper_QAbstractPrintDialog::printRange(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->printRange()); +} + +QPrinter* PythonQtWrapper_QAbstractPrintDialog::printer(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->printer()); +} + +void PythonQtWrapper_QAbstractPrintDialog::setEnabledOptions(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) +{ + ( theWrappedObject->setEnabledOptions(options)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setFromTo(QAbstractPrintDialog* theWrappedObject, int fromPage, int toPage) +{ + ( theWrappedObject->setFromTo(fromPage, toPage)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setMinMax(QAbstractPrintDialog* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setMinMax(min, max)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setOptionTabs(QAbstractPrintDialog* theWrappedObject, const QList& tabs) +{ + ( theWrappedObject->setOptionTabs(tabs)); +} + +void PythonQtWrapper_QAbstractPrintDialog::setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range) +{ + ( theWrappedObject->setPrintRange(range)); +} + +int PythonQtWrapper_QAbstractPrintDialog::toPage(QAbstractPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->toPage()); +} + + + +PythonQtShell_QAbstractProxyModel::~PythonQtShell_QAbstractProxyModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::buddy(index0); +} +bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::canFetchMore(parent0); +} +void PythonQtShell_QAbstractProxyModel::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(); + } + } +} + QAbstractProxyModel::childEvent(event0); +} +int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QAbstractProxyModel::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(); + } + } +} + QAbstractProxyModel::customEvent(event0); +} +QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::data(proxyIndex0, role1); +} +bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractProxyModel::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 QAbstractProxyModel::event(event0); +} +bool PythonQtShell_QAbstractProxyModel::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 QAbstractProxyModel::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractProxyModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::flags(index0); +} +bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::hasChildren(parent0); +} +QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::itemData(index0); +} +QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::mapSelectionFromSource(selection0); +} +QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::mapSelectionToSource(selection0); +} +QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::mimeData(indexes0); +} +QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::mimeTypes(); +} +bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QModelIndex(); +} +bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QAbstractProxyModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QAbstractProxyModel::revert(); +} +QHash PythonQtShell_QAbstractProxyModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::roleNames(); +} +int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::setData(index0, value1, role2); +} +bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::setItemData(index0, roles1); +} +void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSourceModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&sourceModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractProxyModel::setSourceModel(sourceModel0); +} +QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractProxyModel::sort(column0, order1); +} +QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::span(index0); +} +bool PythonQtShell_QAbstractProxyModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::submit(); +} +Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::supportedDropActions(); +} +void PythonQtShell_QAbstractProxyModel::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(); + } + } +} + QAbstractProxyModel::timerEvent(event0); +} +QAbstractProxyModel* PythonQtWrapper_QAbstractProxyModel::new_QAbstractProxyModel(QObject* parent) +{ +return new PythonQtShell_QAbstractProxyModel(parent); } + +const QMetaObject* PythonQtShell_QAbstractProxyModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractProxyModel::staticMetaObject); + } else { + return &QAbstractProxyModel::staticMetaObject; + } +} +int PythonQtShell_QAbstractProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractProxyModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QModelIndex PythonQtWrapper_QAbstractProxyModel::mapFromSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const +{ + return ( theWrappedObject->mapFromSource(sourceIndex)); +} + +QItemSelection PythonQtWrapper_QAbstractProxyModel::mapSelectionFromSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const +{ + return ( theWrappedObject->mapSelectionFromSource(selection)); +} + +QItemSelection PythonQtWrapper_QAbstractProxyModel::mapSelectionToSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const +{ + return ( theWrappedObject->mapSelectionToSource(selection)); +} + +QModelIndex PythonQtWrapper_QAbstractProxyModel::mapToSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const +{ + return ( theWrappedObject->mapToSource(proxyIndex)); +} + +void PythonQtWrapper_QAbstractProxyModel::setSourceModel(QAbstractProxyModel* theWrappedObject, QAbstractItemModel* sourceModel) +{ + ( theWrappedObject->setSourceModel(sourceModel)); +} + +QAbstractItemModel* PythonQtWrapper_QAbstractProxyModel::sourceModel(QAbstractProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sourceModel()); +} + + + +PythonQtShell_QAbstractScrollArea::~PythonQtShell_QAbstractScrollArea() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QAbstractScrollArea::actionEvent(event0); +} +void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::changeEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::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(); + } + } +} + QAbstractScrollArea::childEvent(event0); +} +void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QAbstractScrollArea::closeEvent(event0); +} +void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::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(); + } + } +} + QAbstractScrollArea::customEvent(event0); +} +int PythonQtShell_QAbstractScrollArea::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 QAbstractScrollArea::devType(); +} +void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +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[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +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[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::dropEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QAbstractScrollArea::enterEvent(event0); +} +bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::event(arg__1); +} +bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QAbstractScrollArea::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QAbstractScrollArea::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(); + } + } +} + QAbstractScrollArea::focusInEvent(event0); +} +bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::focusNextPrevChild(next0); +} +void PythonQtShell_QAbstractScrollArea::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(); + } + } +} + QAbstractScrollArea::focusOutEvent(event0); +} +bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::hasHeightForWidth(); +} +int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::hideEvent(event0); +} +void PythonQtShell_QAbstractScrollArea::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(); + } + } +} + QAbstractScrollArea::initPainter(painter0); +} +void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::keyPressEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::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(); + } + } +} + QAbstractScrollArea::keyReleaseEvent(event0); +} +void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QAbstractScrollArea::leaveEvent(event0); +} +int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::metric(arg__1); +} +QSize PythonQtShell_QAbstractScrollArea::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::minimumSizeHint(); +} +void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::mousePressEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QAbstractScrollArea::moveEvent(event0); +} +bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::paintEngine(); +} +void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QAbstractScrollArea::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 QAbstractScrollArea::redirected(offset0); +} +void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::resizeEvent(arg__1); +} +void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QAbstractScrollArea::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::setVisible(visible0); +} +void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::setupViewport(viewport0); +} +QPainter* PythonQtShell_QAbstractScrollArea::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 QAbstractScrollArea::sharedPainter(); +} +void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QAbstractScrollArea::showEvent(event0); +} +QSize PythonQtShell_QAbstractScrollArea::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::sizeHint(); +} +void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QAbstractScrollArea::tabletEvent(event0); +} +void PythonQtShell_QAbstractScrollArea::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(); + } + } +} + QAbstractScrollArea::timerEvent(event0); +} +bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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*)&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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::viewportEvent(arg__1); +} +QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractScrollArea::viewportSizeHint(); +} +void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::wheelEvent(arg__1); +} +QAbstractScrollArea* PythonQtWrapper_QAbstractScrollArea::new_QAbstractScrollArea(QWidget* parent) +{ +return new PythonQtShell_QAbstractScrollArea(parent); } + +const QMetaObject* PythonQtShell_QAbstractScrollArea::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractScrollArea::staticMetaObject); + } else { + return &QAbstractScrollArea::staticMetaObject; + } +} +int PythonQtShell_QAbstractScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractScrollArea::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractScrollArea::addScrollBarWidget(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::Alignment alignment) +{ + ( theWrappedObject->addScrollBarWidget(widget, alignment)); +} + +QWidget* PythonQtWrapper_QAbstractScrollArea::cornerWidget(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->cornerWidget()); +} + +QScrollBar* PythonQtWrapper_QAbstractScrollArea::horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->horizontalScrollBar()); +} + +Qt::ScrollBarPolicy PythonQtWrapper_QAbstractScrollArea::horizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->horizontalScrollBarPolicy()); +} + +QSize PythonQtWrapper_QAbstractScrollArea::maximumViewportSize(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->maximumViewportSize()); +} + +QSize PythonQtWrapper_QAbstractScrollArea::minimumSizeHint(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QList PythonQtWrapper_QAbstractScrollArea::scrollBarWidgets(QAbstractScrollArea* theWrappedObject, Qt::Alignment alignment) +{ + return ( theWrappedObject->scrollBarWidgets(alignment)); +} + +void PythonQtWrapper_QAbstractScrollArea::scrollContentsBy(QAbstractScrollArea* theWrappedObject, int dx, int dy) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_scrollContentsBy(dx, dy)); +} + +void PythonQtWrapper_QAbstractScrollArea::setCornerWidget(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setCornerWidget(widget)); +} + +void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar) +{ + ( theWrappedObject->setHorizontalScrollBar(scrollbar)); +} + +void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) +{ + ( theWrappedObject->setHorizontalScrollBarPolicy(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::setSizeAdjustPolicy(QAbstractScrollArea* theWrappedObject, QAbstractScrollArea::SizeAdjustPolicy policy) +{ + ( theWrappedObject->setSizeAdjustPolicy(policy)); +} + +void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar) +{ + ( theWrappedObject->setVerticalScrollBar(scrollbar)); +} + +void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) +{ + ( theWrappedObject->setVerticalScrollBarPolicy(arg__1)); +} + +void PythonQtWrapper_QAbstractScrollArea::setViewport(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setViewport(widget)); +} + +void PythonQtWrapper_QAbstractScrollArea::setViewportMargins(QAbstractScrollArea* theWrappedObject, const QMargins& margins) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_setViewportMargins(margins)); +} + +void PythonQtWrapper_QAbstractScrollArea::setViewportMargins(QAbstractScrollArea* theWrappedObject, int left, int top, int right, int bottom) +{ + ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_setViewportMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QAbstractScrollArea::setupViewport(QAbstractScrollArea* theWrappedObject, QWidget* viewport) +{ + ( theWrappedObject->setupViewport(viewport)); +} + +QAbstractScrollArea::SizeAdjustPolicy PythonQtWrapper_QAbstractScrollArea::sizeAdjustPolicy(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->sizeAdjustPolicy()); +} + +QScrollBar* PythonQtWrapper_QAbstractScrollArea::verticalScrollBar(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->verticalScrollBar()); +} + +Qt::ScrollBarPolicy PythonQtWrapper_QAbstractScrollArea::verticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->verticalScrollBarPolicy()); +} + +QWidget* PythonQtWrapper_QAbstractScrollArea::viewport(QAbstractScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->viewport()); +} + +bool PythonQtWrapper_QAbstractScrollArea::viewportEvent(QAbstractScrollArea* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_viewportEvent(arg__1)); +} + +QMargins PythonQtWrapper_QAbstractScrollArea::viewportMargins(QAbstractScrollArea* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_viewportMargins()); +} + +QSize PythonQtWrapper_QAbstractScrollArea::viewportSizeHint(QAbstractScrollArea* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_viewportSizeHint()); +} + + + +PythonQtShell_QAbstractSlider::~PythonQtShell_QAbstractSlider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QAbstractSlider::actionEvent(event0); +} +void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::changeEvent(e0); +} +void PythonQtShell_QAbstractSlider::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(); + } + } +} + QAbstractSlider::childEvent(event0); +} +void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QAbstractSlider::closeEvent(event0); +} +void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QAbstractSlider::contextMenuEvent(event0); +} +void PythonQtShell_QAbstractSlider::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(); + } + } +} + QAbstractSlider::customEvent(event0); +} +int PythonQtShell_QAbstractSlider::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 QAbstractSlider::devType(); +} +void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QAbstractSlider::dragEnterEvent(event0); +} +void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QAbstractSlider::dragLeaveEvent(event0); +} +void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QAbstractSlider::dragMoveEvent(event0); +} +void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QAbstractSlider::dropEvent(event0); +} +void PythonQtShell_QAbstractSlider::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QAbstractSlider::enterEvent(event0); +} +bool PythonQtShell_QAbstractSlider::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 QAbstractSlider::event(e0); +} +bool PythonQtShell_QAbstractSlider::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 QAbstractSlider::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractSlider::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(); + } + } +} + QAbstractSlider::focusInEvent(event0); +} +bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::focusNextPrevChild(next0); +} +void PythonQtShell_QAbstractSlider::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(); + } + } +} + QAbstractSlider::focusOutEvent(event0); +} +bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::hasHeightForWidth(); +} +int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::hideEvent(event0); +} +void PythonQtShell_QAbstractSlider::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(); + } + } +} + QAbstractSlider::initPainter(painter0); +} +void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::keyPressEvent(ev0); +} +void PythonQtShell_QAbstractSlider::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(); + } + } +} + QAbstractSlider::keyReleaseEvent(event0); +} +void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QAbstractSlider::leaveEvent(event0); +} +int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::metric(arg__1); +} +QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::minimumSizeHint(); +} +void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSlider::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSlider::mouseMoveEvent(event0); +} +void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSlider::mousePressEvent(event0); +} +void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSlider::mouseReleaseEvent(event0); +} +void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QAbstractSlider::moveEvent(event0); +} +bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::paintEngine(); +} +void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QAbstractSlider::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QAbstractSlider::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 QAbstractSlider::redirected(offset0); +} +void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QAbstractSlider::resizeEvent(event0); +} +void PythonQtShell_QAbstractSlider::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::setVisible(visible0); +} +QPainter* PythonQtShell_QAbstractSlider::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 QAbstractSlider::sharedPainter(); +} +void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QAbstractSlider::showEvent(event0); +} +QSize PythonQtShell_QAbstractSlider::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::sizeHint(); +} +void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange change0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sliderChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&change0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::sliderChange(change0); +} +void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QAbstractSlider::tabletEvent(event0); +} +void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::timerEvent(arg__1); +} +void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QAbstractSlider::wheelEvent(e0); +} +QAbstractSlider* PythonQtWrapper_QAbstractSlider::new_QAbstractSlider(QWidget* parent) +{ +return new PythonQtShell_QAbstractSlider(parent); } + +const QMetaObject* PythonQtShell_QAbstractSlider::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractSlider::staticMetaObject); + } else { + return &QAbstractSlider::staticMetaObject; + } +} +int PythonQtShell_QAbstractSlider::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractSlider::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QAbstractSlider::hasTracking(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->hasTracking()); +} + +bool PythonQtWrapper_QAbstractSlider::invertedAppearance(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->invertedAppearance()); +} + +bool PythonQtWrapper_QAbstractSlider::invertedControls(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->invertedControls()); +} + +bool PythonQtWrapper_QAbstractSlider::isSliderDown(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->isSliderDown()); +} + +int PythonQtWrapper_QAbstractSlider::maximum(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QAbstractSlider::minimum(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +Qt::Orientation PythonQtWrapper_QAbstractSlider::orientation(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +int PythonQtWrapper_QAbstractSlider::pageStep(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->pageStep()); +} + +QAbstractSlider::SliderAction PythonQtWrapper_QAbstractSlider::repeatAction(QAbstractSlider* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_repeatAction()); +} + +void PythonQtWrapper_QAbstractSlider::setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setInvertedAppearance(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setInvertedControls(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setMaximum(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMaximum(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setMinimum(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMinimum(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setPageStep(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setPageStep(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setRepeatAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action, int thresholdTime, int repeatTime) +{ + ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_setRepeatAction(action, thresholdTime, repeatTime)); +} + +void PythonQtWrapper_QAbstractSlider::setSingleStep(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSingleStep(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSliderDown(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSliderPosition(arg__1)); +} + +void PythonQtWrapper_QAbstractSlider::setTracking(QAbstractSlider* theWrappedObject, bool enable) +{ + ( theWrappedObject->setTracking(enable)); +} + +int PythonQtWrapper_QAbstractSlider::singleStep(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->singleStep()); +} + +void PythonQtWrapper_QAbstractSlider::sliderChange(QAbstractSlider* theWrappedObject, int change) +{ + ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_sliderChange(change)); +} + +int PythonQtWrapper_QAbstractSlider::sliderPosition(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->sliderPosition()); +} + +void PythonQtWrapper_QAbstractSlider::triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action) +{ + ( theWrappedObject->triggerAction(action)); +} + +int PythonQtWrapper_QAbstractSlider::value(QAbstractSlider* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QAbstractSpinBox::~PythonQtShell_QAbstractSpinBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::actionEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QAbstractSpinBox::changeEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::childEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QAbstractSpinBox::clear(); +} +void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QAbstractSpinBox::closeEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::contextMenuEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::customEvent(event0); +} +int PythonQtShell_QAbstractSpinBox::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 QAbstractSpinBox::devType(); +} +void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::dragEnterEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::dragLeaveEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::dragMoveEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::dropEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QAbstractSpinBox::enterEvent(event0); +} +bool PythonQtShell_QAbstractSpinBox::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 QAbstractSpinBox::event(event0); +} +bool PythonQtShell_QAbstractSpinBox::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 QAbstractSpinBox::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSpinBox::fixup(input0); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::focusInEvent(event0); +} +bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::focusNextPrevChild(next0); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::focusOutEvent(event0); +} +bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::hasHeightForWidth(); +} +int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::heightForWidth(arg__1); +} +void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSpinBox::hideEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::initPainter(painter0); +} +void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSpinBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::keyPressEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::keyReleaseEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QAbstractSpinBox::leaveEvent(event0); +} +int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::metric(arg__1); +} +QSize PythonQtShell_QAbstractSpinBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::minimumSizeHint(); +} +void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::mouseMoveEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::mousePressEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::moveEvent(event0); +} +bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::paintEngine(); +} +void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QAbstractSpinBox::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 QAbstractSpinBox::redirected(offset0); +} +void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::resizeEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSpinBox::setVisible(visible0); +} +QPainter* PythonQtShell_QAbstractSpinBox::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 QAbstractSpinBox::sharedPainter(); +} +void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::showEvent(event0); +} +QSize PythonQtShell_QAbstractSpinBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::sizeHint(); +} +void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepBy"); + 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*)&steps0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSpinBox::stepBy(steps0); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::stepEnabled(); +} +void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::tabletEvent(event0); +} +void PythonQtShell_QAbstractSpinBox::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(); + } + } +} + QAbstractSpinBox::timerEvent(event0); +} +QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::validate(input0, pos1); +} +void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QAbstractSpinBox::wheelEvent(event0); +} +QAbstractSpinBox* PythonQtWrapper_QAbstractSpinBox::new_QAbstractSpinBox(QWidget* parent) +{ +return new PythonQtShell_QAbstractSpinBox(parent); } + +const QMetaObject* PythonQtShell_QAbstractSpinBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractSpinBox::staticMetaObject); + } else { + return &QAbstractSpinBox::staticMetaObject; + } +} +int PythonQtShell_QAbstractSpinBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractSpinBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QAbstractSpinBox::alignment(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QAbstractSpinBox::ButtonSymbols PythonQtWrapper_QAbstractSpinBox::buttonSymbols(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->buttonSymbols()); +} + +QAbstractSpinBox::CorrectionMode PythonQtWrapper_QAbstractSpinBox::correctionMode(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->correctionMode()); +} + +void PythonQtWrapper_QAbstractSpinBox::fixup(QAbstractSpinBox* theWrappedObject, QString& input) const +{ + ( theWrappedObject->fixup(input)); +} + +bool PythonQtWrapper_QAbstractSpinBox::hasAcceptableInput(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->hasAcceptableInput()); +} + +bool PythonQtWrapper_QAbstractSpinBox::hasFrame(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->hasFrame()); +} + +void PythonQtWrapper_QAbstractSpinBox::initStyleOption(QAbstractSpinBox* theWrappedObject, QStyleOptionSpinBox* option) const +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QAbstractSpinBox::interpretText(QAbstractSpinBox* theWrappedObject) +{ + ( theWrappedObject->interpretText()); +} + +bool PythonQtWrapper_QAbstractSpinBox::isAccelerated(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->isAccelerated()); +} + +bool PythonQtWrapper_QAbstractSpinBox::isGroupSeparatorShown(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->isGroupSeparatorShown()); +} + +bool PythonQtWrapper_QAbstractSpinBox::isReadOnly(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QAbstractSpinBox::keyboardTracking(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->keyboardTracking()); +} + +QLineEdit* PythonQtWrapper_QAbstractSpinBox::lineEdit(QAbstractSpinBox* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_lineEdit()); +} + +QSize PythonQtWrapper_QAbstractSpinBox::minimumSizeHint(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QAbstractSpinBox::setAccelerated(QAbstractSpinBox* theWrappedObject, bool on) +{ + ( theWrappedObject->setAccelerated(on)); +} + +void PythonQtWrapper_QAbstractSpinBox::setAlignment(QAbstractSpinBox* theWrappedObject, Qt::Alignment flag) +{ + ( theWrappedObject->setAlignment(flag)); +} + +void PythonQtWrapper_QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols bs) +{ + ( theWrappedObject->setButtonSymbols(bs)); +} + +void PythonQtWrapper_QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::CorrectionMode cm) +{ + ( theWrappedObject->setCorrectionMode(cm)); +} + +void PythonQtWrapper_QAbstractSpinBox::setFrame(QAbstractSpinBox* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFrame(arg__1)); +} + +void PythonQtWrapper_QAbstractSpinBox::setGroupSeparatorShown(QAbstractSpinBox* theWrappedObject, bool shown) +{ + ( theWrappedObject->setGroupSeparatorShown(shown)); +} + +void PythonQtWrapper_QAbstractSpinBox::setKeyboardTracking(QAbstractSpinBox* theWrappedObject, bool kt) +{ + ( theWrappedObject->setKeyboardTracking(kt)); +} + +void PythonQtWrapper_QAbstractSpinBox::setLineEdit(QAbstractSpinBox* theWrappedObject, QLineEdit* edit) +{ + ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_setLineEdit(edit)); +} + +void PythonQtWrapper_QAbstractSpinBox::setReadOnly(QAbstractSpinBox* theWrappedObject, bool r) +{ + ( theWrappedObject->setReadOnly(r)); +} + +void PythonQtWrapper_QAbstractSpinBox::setSpecialValueText(QAbstractSpinBox* theWrappedObject, const QString& txt) +{ + ( theWrappedObject->setSpecialValueText(txt)); +} + +void PythonQtWrapper_QAbstractSpinBox::setWrapping(QAbstractSpinBox* theWrappedObject, bool w) +{ + ( theWrappedObject->setWrapping(w)); +} + +QSize PythonQtWrapper_QAbstractSpinBox::sizeHint(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QAbstractSpinBox::specialValueText(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->specialValueText()); +} + +void PythonQtWrapper_QAbstractSpinBox::stepBy(QAbstractSpinBox* theWrappedObject, int steps) +{ + ( theWrappedObject->stepBy(steps)); +} + +QAbstractSpinBox::StepEnabled PythonQtWrapper_QAbstractSpinBox::stepEnabled(QAbstractSpinBox* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_stepEnabled()); +} + +QString PythonQtWrapper_QAbstractSpinBox::text(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QValidator::State PythonQtWrapper_QAbstractSpinBox::validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const +{ + return ( theWrappedObject->validate(input, pos)); +} + +bool PythonQtWrapper_QAbstractSpinBox::wrapping(QAbstractSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->wrapping()); +} + + + +PythonQtShell_QAbstractTableModel::~PythonQtShell_QAbstractTableModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::buddy(index0); +} +bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::canFetchMore(parent0); +} +void PythonQtShell_QAbstractTableModel::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(); + } + } +} + QAbstractTableModel::childEvent(event0); +} +int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QAbstractTableModel::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(); + } + } +} + QAbstractTableModel::customEvent(event0); +} +QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QAbstractTableModel::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 QAbstractTableModel::event(event0); +} +bool PythonQtShell_QAbstractTableModel::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 QAbstractTableModel::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTableModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::flags(index0); +} +QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::index(row0, column1, parent2); +} +bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QAbstractTableModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::itemData(index0); +} +QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::mimeData(indexes0); +} +QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::mimeTypes(); +} +bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QAbstractTableModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QAbstractTableModel::revert(); +} +QHash PythonQtShell_QAbstractTableModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::roleNames(); +} +int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::setData(index0, value1, role2); +} +bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTableModel::sort(column0, order1); +} +QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::span(index0); +} +bool PythonQtShell_QAbstractTableModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::submit(); +} +Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::supportedDropActions(); +} +void PythonQtShell_QAbstractTableModel::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(); + } + } +} + QAbstractTableModel::timerEvent(event0); +} +QAbstractTableModel* PythonQtWrapper_QAbstractTableModel::new_QAbstractTableModel(QObject* parent) +{ +return new PythonQtShell_QAbstractTableModel(parent); } + +const QMetaObject* PythonQtShell_QAbstractTableModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractTableModel::staticMetaObject); + } else { + return &QAbstractTableModel::staticMetaObject; + } +} +int PythonQtShell_QAbstractTableModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractTableModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QAbstractTextDocumentLayout::~PythonQtShell_QAbstractTextDocumentLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockBoundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRectF(); +} +void PythonQtShell_QAbstractTextDocumentLayout::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(); + } + } +} + QAbstractTextDocumentLayout::childEvent(event0); +} +void PythonQtShell_QAbstractTextDocumentLayout::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(); + } + } +} + QAbstractTextDocumentLayout::customEvent(event0); +} +void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int charsRemoved1, int charsAdded2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeF(); +} +void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const QAbstractTextDocumentLayout::PaintContext& context1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&painter0, (void*)&context1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); +} +bool PythonQtShell_QAbstractTextDocumentLayout::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 QAbstractTextDocumentLayout::event(event0); +} +bool PythonQtShell_QAbstractTextDocumentLayout::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 QAbstractTextDocumentLayout::eventFilter(watched0, event1); +} +QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* frame0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("frameBoundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRectF(); +} +int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, Qt::HitTestAccuracy accuracy1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitTest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pageCount"); + 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("pageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("positionInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); +} +void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); +} +void PythonQtShell_QAbstractTextDocumentLayout::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(); + } + } +} + QAbstractTextDocumentLayout::timerEvent(event0); +} +QAbstractTextDocumentLayout* PythonQtWrapper_QAbstractTextDocumentLayout::new_QAbstractTextDocumentLayout(QTextDocument* doc) +{ +return new PythonQtShell_QAbstractTextDocumentLayout(doc); } + +const QMetaObject* PythonQtShell_QAbstractTextDocumentLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractTextDocumentLayout::staticMetaObject); + } else { + return &QAbstractTextDocumentLayout::staticMetaObject; + } +} +int PythonQtShell_QAbstractTextDocumentLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractTextDocumentLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QAbstractTextDocumentLayout::anchorAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const +{ + return ( theWrappedObject->anchorAt(pos)); +} + +QRectF PythonQtWrapper_QAbstractTextDocumentLayout::blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const +{ + return ( theWrappedObject->blockBoundingRect(block)); +} + +QTextBlock PythonQtWrapper_QAbstractTextDocumentLayout::blockWithMarkerAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const +{ + return ( theWrappedObject->blockWithMarkerAt(pos)); +} + +QTextDocument* PythonQtWrapper_QAbstractTextDocumentLayout::document(QAbstractTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::documentChanged(QAbstractTextDocumentLayout* theWrappedObject, int from, int charsRemoved, int charsAdded) +{ + ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_documentChanged(from, charsRemoved, charsAdded)); +} + +QSizeF PythonQtWrapper_QAbstractTextDocumentLayout::documentSize(QAbstractTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->documentSize()); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::draw(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context) +{ + ( theWrappedObject->draw(painter, context)); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::drawInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) +{ + ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_drawInlineObject(painter, rect, object, posInDocument, format)); +} + +QTextCharFormat PythonQtWrapper_QAbstractTextDocumentLayout::format(QAbstractTextDocumentLayout* theWrappedObject, int pos) +{ + return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_format(pos)); +} + +QTextFormat PythonQtWrapper_QAbstractTextDocumentLayout::formatAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const +{ + return ( theWrappedObject->formatAt(pos)); +} + +int PythonQtWrapper_QAbstractTextDocumentLayout::formatIndex(QAbstractTextDocumentLayout* theWrappedObject, int pos) +{ + return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_formatIndex(pos)); +} + +QRectF PythonQtWrapper_QAbstractTextDocumentLayout::frameBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, QTextFrame* frame) const +{ + return ( theWrappedObject->frameBoundingRect(frame)); +} + +int PythonQtWrapper_QAbstractTextDocumentLayout::hitTest(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& point, Qt::HitTestAccuracy accuracy) const +{ + return ( theWrappedObject->hitTest(point, accuracy)); +} + +QString PythonQtWrapper_QAbstractTextDocumentLayout::imageAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const +{ + return ( theWrappedObject->imageAt(pos)); +} + +int PythonQtWrapper_QAbstractTextDocumentLayout::pageCount(QAbstractTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->pageCount()); +} + +QPaintDevice* PythonQtWrapper_QAbstractTextDocumentLayout::paintDevice(QAbstractTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->paintDevice()); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::positionInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format) +{ + ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_positionInlineObject(item, posInDocument, format)); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::registerHandler(QAbstractTextDocumentLayout* theWrappedObject, int objectType, QObject* component) +{ + ( theWrappedObject->registerHandler(objectType, component)); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::resizeInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format) +{ + ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_resizeInlineObject(item, posInDocument, format)); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::setPaintDevice(QAbstractTextDocumentLayout* theWrappedObject, QPaintDevice* device) +{ + ( theWrappedObject->setPaintDevice(device)); +} + +void PythonQtWrapper_QAbstractTextDocumentLayout::unregisterHandler(QAbstractTextDocumentLayout* theWrappedObject, int objectType, QObject* component) +{ + ( theWrappedObject->unregisterHandler(objectType, component)); +} + + + +PythonQtShell_QAbstractTextDocumentLayout__PaintContext::~PythonQtShell_QAbstractTextDocumentLayout__PaintContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QAbstractTextDocumentLayout::PaintContext* PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext::new_QAbstractTextDocumentLayout__PaintContext() +{ +return new PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); } + + + +PythonQtShell_QAbstractTextDocumentLayout__Selection::~PythonQtShell_QAbstractTextDocumentLayout__Selection() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QAbstractTextDocumentLayout::Selection* PythonQtWrapper_QAbstractTextDocumentLayout__Selection::new_QAbstractTextDocumentLayout__Selection() +{ +return new PythonQtShell_QAbstractTextDocumentLayout__Selection(); } + + + +PythonQtShell_QAccessibleEvent::~PythonQtShell_QAccessibleEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QAccessibleEvent* PythonQtWrapper_QAccessibleEvent::new_QAccessibleEvent(QObject* obj, QAccessible::Event typ) +{ +return new PythonQtShell_QAccessibleEvent(obj, typ); } + +int PythonQtWrapper_QAccessibleEvent::child(QAccessibleEvent* theWrappedObject) const +{ + return ( theWrappedObject->child()); +} + +QObject* PythonQtWrapper_QAccessibleEvent::object(QAccessibleEvent* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +void PythonQtWrapper_QAccessibleEvent::setChild(QAccessibleEvent* theWrappedObject, int chld) +{ + ( theWrappedObject->setChild(chld)); +} + +QAccessible::Event PythonQtWrapper_QAccessibleEvent::type(QAccessibleEvent* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QAccessibleEvent::py_toString(QAccessibleEvent* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QAction::~PythonQtShell_QAction() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAction::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(); + } + } +} + QAction::childEvent(event0); +} +void PythonQtShell_QAction::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(); + } + } +} + QAction::customEvent(event0); +} +bool PythonQtShell_QAction::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAction::event(arg__1); +} +bool PythonQtShell_QAction::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 QAction::eventFilter(watched0, event1); +} +void PythonQtShell_QAction::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(); + } + } +} + QAction::timerEvent(event0); +} +QAction* PythonQtWrapper_QAction::new_QAction(QObject* parent) +{ +return new PythonQtShell_QAction(parent); } + +QAction* PythonQtWrapper_QAction::new_QAction(const QIcon& icon, const QString& text, QObject* parent) +{ +return new PythonQtShell_QAction(icon, text, parent); } + +QAction* PythonQtWrapper_QAction::new_QAction(const QString& text, QObject* parent) +{ +return new PythonQtShell_QAction(text, parent); } + +const QMetaObject* PythonQtShell_QAction::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAction::staticMetaObject); + } else { + return &QAction::staticMetaObject; + } +} +int PythonQtShell_QAction::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAction::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QActionGroup* PythonQtWrapper_QAction::actionGroup(QAction* theWrappedObject) const +{ + return ( theWrappedObject->actionGroup()); +} + +void PythonQtWrapper_QAction::activate(QAction* theWrappedObject, QAction::ActionEvent event) +{ + ( theWrappedObject->activate(event)); +} + +QList PythonQtWrapper_QAction::associatedGraphicsWidgets(QAction* theWrappedObject) const +{ + return ( theWrappedObject->associatedGraphicsWidgets()); +} + +QList PythonQtWrapper_QAction::associatedWidgets(QAction* theWrappedObject) const +{ + return ( theWrappedObject->associatedWidgets()); +} + +bool PythonQtWrapper_QAction::autoRepeat(QAction* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeat()); +} + +QVariant PythonQtWrapper_QAction::data(QAction* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QFont PythonQtWrapper_QAction::font(QAction* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QIcon PythonQtWrapper_QAction::icon(QAction* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QString PythonQtWrapper_QAction::iconText(QAction* theWrappedObject) const +{ + return ( theWrappedObject->iconText()); +} + +bool PythonQtWrapper_QAction::isCheckable(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QAction::isChecked(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isChecked()); +} + +bool PythonQtWrapper_QAction::isEnabled(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QAction::isIconVisibleInMenu(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isIconVisibleInMenu()); +} + +bool PythonQtWrapper_QAction::isSeparator(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isSeparator()); +} + +bool PythonQtWrapper_QAction::isShortcutVisibleInContextMenu(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isShortcutVisibleInContextMenu()); +} + +bool PythonQtWrapper_QAction::isVisible(QAction* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +QMenu* PythonQtWrapper_QAction::menu(QAction* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QAction::MenuRole PythonQtWrapper_QAction::menuRole(QAction* theWrappedObject) const +{ + return ( theWrappedObject->menuRole()); +} + +QWidget* PythonQtWrapper_QAction::parentWidget(QAction* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +QAction::Priority PythonQtWrapper_QAction::priority(QAction* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + +void PythonQtWrapper_QAction::setActionGroup(QAction* theWrappedObject, QActionGroup* group) +{ + ( theWrappedObject->setActionGroup(group)); +} + +void PythonQtWrapper_QAction::setAutoRepeat(QAction* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoRepeat(arg__1)); +} + +void PythonQtWrapper_QAction::setCheckable(QAction* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setCheckable(arg__1)); +} + +void PythonQtWrapper_QAction::setData(QAction* theWrappedObject, const QVariant& var) +{ + ( theWrappedObject->setData(var)); +} + +void PythonQtWrapper_QAction::setFont(QAction* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QAction::setIcon(QAction* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QAction::setIconText(QAction* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setIconText(text)); +} + +void PythonQtWrapper_QAction::setIconVisibleInMenu(QAction* theWrappedObject, bool visible) +{ + ( theWrappedObject->setIconVisibleInMenu(visible)); +} + +void PythonQtWrapper_QAction::setMenu(QAction* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); +} + +void PythonQtWrapper_QAction::setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole) +{ + ( theWrappedObject->setMenuRole(menuRole)); +} + +void PythonQtWrapper_QAction::setPriority(QAction* theWrappedObject, QAction::Priority priority) +{ + ( theWrappedObject->setPriority(priority)); +} + +void PythonQtWrapper_QAction::setSeparator(QAction* theWrappedObject, bool b) +{ + ( theWrappedObject->setSeparator(b)); +} + +void PythonQtWrapper_QAction::setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut) +{ + ( theWrappedObject->setShortcut(shortcut)); +} + +void PythonQtWrapper_QAction::setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context) +{ + ( theWrappedObject->setShortcutContext(context)); +} + +void PythonQtWrapper_QAction::setShortcutVisibleInContextMenu(QAction* theWrappedObject, bool show) +{ + ( theWrappedObject->setShortcutVisibleInContextMenu(show)); +} + +void PythonQtWrapper_QAction::setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1) +{ + ( theWrappedObject->setShortcuts(arg__1)); +} + +void PythonQtWrapper_QAction::setShortcuts(QAction* theWrappedObject, const QList& shortcuts) +{ + ( theWrappedObject->setShortcuts(shortcuts)); +} + +void PythonQtWrapper_QAction::setStatusTip(QAction* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QAction::setText(QAction* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QAction::setToolTip(QAction* theWrappedObject, const QString& tip) +{ + ( theWrappedObject->setToolTip(tip)); +} + +void PythonQtWrapper_QAction::setWhatsThis(QAction* theWrappedObject, const QString& what) +{ + ( theWrappedObject->setWhatsThis(what)); +} + +QKeySequence PythonQtWrapper_QAction::shortcut(QAction* theWrappedObject) const +{ + return ( theWrappedObject->shortcut()); +} + +Qt::ShortcutContext PythonQtWrapper_QAction::shortcutContext(QAction* theWrappedObject) const +{ + return ( theWrappedObject->shortcutContext()); +} + +QList PythonQtWrapper_QAction::shortcuts(QAction* theWrappedObject) const +{ + return ( theWrappedObject->shortcuts()); +} + +bool PythonQtWrapper_QAction::showStatusText(QAction* theWrappedObject, QWidget* widget) +{ + return ( theWrappedObject->showStatusText(widget)); +} + +QString PythonQtWrapper_QAction::statusTip(QAction* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QString PythonQtWrapper_QAction::text(QAction* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QString PythonQtWrapper_QAction::toolTip(QAction* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +QString PythonQtWrapper_QAction::whatsThis(QAction* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +QString PythonQtWrapper_QAction::py_toString(QAction* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QActionEvent* PythonQtWrapper_QActionEvent::new_QActionEvent(int type, QAction* action, QAction* before) +{ +return new QActionEvent(type, action, before); } + +QAction* PythonQtWrapper_QActionEvent::action(QActionEvent* theWrappedObject) const +{ + return ( theWrappedObject->action()); +} + +QAction* PythonQtWrapper_QActionEvent::before(QActionEvent* theWrappedObject) const +{ + return ( theWrappedObject->before()); +} + + + +PythonQtShell_QActionGroup::~PythonQtShell_QActionGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QActionGroup::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(); + } + } +} + QActionGroup::childEvent(event0); +} +void PythonQtShell_QActionGroup::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(); + } + } +} + QActionGroup::customEvent(event0); +} +bool PythonQtShell_QActionGroup::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 QActionGroup::event(event0); +} +bool PythonQtShell_QActionGroup::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 QActionGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QActionGroup::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(); + } + } +} + QActionGroup::timerEvent(event0); +} +QActionGroup* PythonQtWrapper_QActionGroup::new_QActionGroup(QObject* parent) +{ +return new PythonQtShell_QActionGroup(parent); } + +const QMetaObject* PythonQtShell_QActionGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QActionGroup::staticMetaObject); + } else { + return &QActionGroup::staticMetaObject; + } +} +int PythonQtShell_QActionGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QActionGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QActionGroup::actions(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->actions()); +} + +QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, QAction* a) +{ + return ( theWrappedObject->addAction(a)); +} + +QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addAction(icon, text)); +} + +QAction* PythonQtWrapper_QActionGroup::addAction(QActionGroup* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QActionGroup::checkedAction(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->checkedAction()); +} + +QActionGroup::ExclusionPolicy PythonQtWrapper_QActionGroup::exclusionPolicy(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->exclusionPolicy()); +} + +bool PythonQtWrapper_QActionGroup::isEnabled(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QActionGroup::isExclusive(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->isExclusive()); +} + +bool PythonQtWrapper_QActionGroup::isVisible(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +void PythonQtWrapper_QActionGroup::removeAction(QActionGroup* theWrappedObject, QAction* a) +{ + ( theWrappedObject->removeAction(a)); +} + + + +QWidget* PythonQtWrapper_QApplication::static_QApplication_activeModalWidget() +{ + return (QApplication::activeModalWidget()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_activePopupWidget() +{ + return (QApplication::activePopupWidget()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_activeWindow() +{ + return (QApplication::activeWindow()); +} + +void PythonQtWrapper_QApplication::static_QApplication_alert(QWidget* widget, int duration) +{ + (QApplication::alert(widget, duration)); +} + +QList PythonQtWrapper_QApplication::static_QApplication_allWidgets() +{ + return (QApplication::allWidgets()); +} + +void PythonQtWrapper_QApplication::static_QApplication_beep() +{ + (QApplication::beep()); +} + +int PythonQtWrapper_QApplication::static_QApplication_colorSpec() +{ + return (QApplication::colorSpec()); +} + +int PythonQtWrapper_QApplication::static_QApplication_cursorFlashTime() +{ + return (QApplication::cursorFlashTime()); +} + +QDesktopWidget* PythonQtWrapper_QApplication::static_QApplication_desktop() +{ + return (QApplication::desktop()); +} + +int PythonQtWrapper_QApplication::static_QApplication_doubleClickInterval() +{ + return (QApplication::doubleClickInterval()); +} + +int PythonQtWrapper_QApplication::static_QApplication_exec() +{ + return (QApplication::exec()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_focusWidget() +{ + return (QApplication::focusWidget()); +} + +QFont PythonQtWrapper_QApplication::static_QApplication_font() +{ + return (QApplication::font()); +} + +QFont PythonQtWrapper_QApplication::static_QApplication_font(const QWidget* arg__1) +{ + return (QApplication::font(arg__1)); +} + +QFontMetrics PythonQtWrapper_QApplication::static_QApplication_fontMetrics() +{ + return (QApplication::fontMetrics()); +} + +QSize PythonQtWrapper_QApplication::static_QApplication_globalStrut() +{ + return (QApplication::globalStrut()); +} + +bool PythonQtWrapper_QApplication::static_QApplication_isEffectEnabled(Qt::UIEffect arg__1) +{ + return (QApplication::isEffectEnabled(arg__1)); +} + +int PythonQtWrapper_QApplication::static_QApplication_keyboardInputInterval() +{ + return (QApplication::keyboardInputInterval()); +} + +QPalette PythonQtWrapper_QApplication::static_QApplication_palette(const QWidget* arg__1) +{ + return (QApplication::palette(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setActiveWindow(QWidget* act) +{ + (QApplication::setActiveWindow(act)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setColorSpec(int arg__1) +{ + (QApplication::setColorSpec(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setCursorFlashTime(int arg__1) +{ + (QApplication::setCursorFlashTime(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setDoubleClickInterval(int arg__1) +{ + (QApplication::setDoubleClickInterval(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setEffectEnabled(Qt::UIEffect arg__1, bool enable) +{ + (QApplication::setEffectEnabled(arg__1, enable)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setFont(const QFont& arg__1, const char* className) +{ + (QApplication::setFont(arg__1, className)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setGlobalStrut(const QSize& arg__1) +{ + (QApplication::setGlobalStrut(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setKeyboardInputInterval(int arg__1) +{ + (QApplication::setKeyboardInputInterval(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setPalette(const QPalette& arg__1, const char* className) +{ + (QApplication::setPalette(arg__1, className)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setStartDragDistance(int l) +{ + (QApplication::setStartDragDistance(l)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setStartDragTime(int ms) +{ + (QApplication::setStartDragTime(ms)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setStyle(QStyle* arg__1) +{ + (QApplication::setStyle(arg__1)); +} + +QStyle* PythonQtWrapper_QApplication::static_QApplication_setStyle(const QString& arg__1) +{ + return (QApplication::setStyle(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setWheelScrollLines(int arg__1) +{ + (QApplication::setWheelScrollLines(arg__1)); +} + +void PythonQtWrapper_QApplication::static_QApplication_setWindowIcon(const QIcon& icon) +{ + (QApplication::setWindowIcon(icon)); +} + +int PythonQtWrapper_QApplication::static_QApplication_startDragDistance() +{ + return (QApplication::startDragDistance()); +} + +int PythonQtWrapper_QApplication::static_QApplication_startDragTime() +{ + return (QApplication::startDragTime()); +} + +QStyle* PythonQtWrapper_QApplication::static_QApplication_style() +{ + return (QApplication::style()); +} + +QString PythonQtWrapper_QApplication::styleSheet(QApplication* theWrappedObject) const +{ + return ( theWrappedObject->styleSheet()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_topLevelAt(const QPoint& p) +{ + return (QApplication::topLevelAt(p)); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_topLevelAt(int x, int y) +{ + return (QApplication::topLevelAt(x, y)); +} + +QList PythonQtWrapper_QApplication::static_QApplication_topLevelWidgets() +{ + return (QApplication::topLevelWidgets()); +} + +int PythonQtWrapper_QApplication::static_QApplication_wheelScrollLines() +{ + return (QApplication::wheelScrollLines()); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_widgetAt(const QPoint& p) +{ + return (QApplication::widgetAt(p)); +} + +QWidget* PythonQtWrapper_QApplication::static_QApplication_widgetAt(int x, int y) +{ + return (QApplication::widgetAt(x, y)); +} + +QIcon PythonQtWrapper_QApplication::static_QApplication_windowIcon() +{ + return (QApplication::windowIcon()); +} + + + +QBackingStore* PythonQtWrapper_QBackingStore::new_QBackingStore(QWindow* window) +{ +return new QBackingStore(window); } + +void PythonQtWrapper_QBackingStore::beginPaint(QBackingStore* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->beginPaint(arg__1)); +} + +void PythonQtWrapper_QBackingStore::endPaint(QBackingStore* theWrappedObject) +{ + ( theWrappedObject->endPaint()); +} + +void PythonQtWrapper_QBackingStore::flush(QBackingStore* theWrappedObject, const QRegion& region, QWindow* window, const QPoint& offset) +{ + ( theWrappedObject->flush(region, window, offset)); +} + +bool PythonQtWrapper_QBackingStore::hasStaticContents(QBackingStore* theWrappedObject) const +{ + return ( theWrappedObject->hasStaticContents()); +} + +QPaintDevice* PythonQtWrapper_QBackingStore::paintDevice(QBackingStore* theWrappedObject) +{ + return ( theWrappedObject->paintDevice()); +} + +void PythonQtWrapper_QBackingStore::resize(QBackingStore* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->resize(size)); +} + +bool PythonQtWrapper_QBackingStore::scroll(QBackingStore* theWrappedObject, const QRegion& area, int dx, int dy) +{ + return ( theWrappedObject->scroll(area, dx, dy)); +} + +void PythonQtWrapper_QBackingStore::setStaticContents(QBackingStore* theWrappedObject, const QRegion& region) +{ + ( theWrappedObject->setStaticContents(region)); +} + +QSize PythonQtWrapper_QBackingStore::size(QBackingStore* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QRegion PythonQtWrapper_QBackingStore::staticContents(QBackingStore* theWrappedObject) const +{ + return ( theWrappedObject->staticContents()); +} + +QWindow* PythonQtWrapper_QBackingStore::window(QBackingStore* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + + + +PythonQtShell_QBoxLayout::~PythonQtShell_QBoxLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBoxLayout::addItem(arg__1); +} +void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBoxLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::controlTypes(); +} +int PythonQtShell_QBoxLayout::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 QBoxLayout::count(); +} +void PythonQtShell_QBoxLayout::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(); + } + } +} + QBoxLayout::customEvent(event0); +} +bool PythonQtShell_QBoxLayout::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 QBoxLayout::event(event0); +} +bool PythonQtShell_QBoxLayout::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 QBoxLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QBoxLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::geometry(); +} +bool PythonQtShell_QBoxLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::hasHeightForWidth(); +} +int PythonQtShell_QBoxLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::heightForWidth(arg__1); +} +int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + 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("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QBoxLayout::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(); + } + } +} + QBoxLayout::invalidate(); +} +bool PythonQtShell_QBoxLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) 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[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QBoxLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::layout(); +} +QSize PythonQtShell_QBoxLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::maximumSize(); +} +int PythonQtShell_QBoxLayout::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 QBoxLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QBoxLayout::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::minimumSize(); +} +void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBoxLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QBoxLayout::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::takeAt(arg__1); +} +void PythonQtShell_QBoxLayout::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(); + } + } +} + 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); } + +const QMetaObject* PythonQtShell_QBoxLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QBoxLayout::staticMetaObject); + } else { + return &QBoxLayout::staticMetaObject; + } +} +int PythonQtShell_QBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QBoxLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QBoxLayout::addLayout(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout, int stretch) +{ + ( theWrappedObject->addLayout(layout, stretch)); +} + +void PythonQtWrapper_QBoxLayout::addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP spacerItem) +{ + ( theWrappedObject->addSpacerItem(spacerItem)); +} + +void PythonQtWrapper_QBoxLayout::addSpacing(QBoxLayout* theWrappedObject, int size) +{ + ( theWrappedObject->addSpacing(size)); +} + +void PythonQtWrapper_QBoxLayout::addStretch(QBoxLayout* theWrappedObject, int stretch) +{ + ( theWrappedObject->addStretch(stretch)); +} + +void PythonQtWrapper_QBoxLayout::addStrut(QBoxLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->addStrut(arg__1)); +} + +void PythonQtWrapper_QBoxLayout::addWidget(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int stretch, Qt::Alignment alignment) +{ + ( theWrappedObject->addWidget(arg__1, stretch, alignment)); +} + +QBoxLayout::Direction PythonQtWrapper_QBoxLayout::direction(QBoxLayout* theWrappedObject) const +{ + return ( theWrappedObject->direction()); +} + +void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) +{ + ( theWrappedObject->insertItem(index, arg__2)); +} + +void PythonQtWrapper_QBoxLayout::insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch) +{ + ( theWrappedObject->insertLayout(index, layout, stretch)); +} + +void PythonQtWrapper_QBoxLayout::insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP spacerItem) +{ + ( theWrappedObject->insertSpacerItem(index, spacerItem)); +} + +void PythonQtWrapper_QBoxLayout::insertSpacing(QBoxLayout* theWrappedObject, int index, int size) +{ + ( theWrappedObject->insertSpacing(index, size)); +} + +void PythonQtWrapper_QBoxLayout::insertStretch(QBoxLayout* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->insertStretch(index, stretch)); +} + +void PythonQtWrapper_QBoxLayout::insertWidget(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch, Qt::Alignment alignment) +{ + ( theWrappedObject->insertWidget(index, widget, stretch, alignment)); +} + +void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) +{ + ( theWrappedObject->setDirection(arg__1)); +} + +void PythonQtWrapper_QBoxLayout::setSpacing(QBoxLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QBoxLayout::setStretch(QBoxLayout* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->setStretch(index, stretch)); +} + +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch) +{ + return ( theWrappedObject->setStretchFactor(l, stretch)); +} + +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) +{ + return ( theWrappedObject->setStretchFactor(w, stretch)); +} + +int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QBoxLayout::stretch(QBoxLayout* theWrappedObject, int index) const +{ + return ( theWrappedObject->stretch(index)); +} + + + +PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QButtonGroup::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(); + } + } +} + QButtonGroup::childEvent(event0); +} +void PythonQtShell_QButtonGroup::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(); + } + } +} + QButtonGroup::customEvent(event0); +} +bool PythonQtShell_QButtonGroup::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 QButtonGroup::event(event0); +} +bool PythonQtShell_QButtonGroup::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 QButtonGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QButtonGroup::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(); + } + } +} + QButtonGroup::timerEvent(event0); +} +QButtonGroup* PythonQtWrapper_QButtonGroup::new_QButtonGroup(QObject* parent) +{ +return new PythonQtShell_QButtonGroup(parent); } + +const QMetaObject* PythonQtShell_QButtonGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QButtonGroup::staticMetaObject); + } else { + return &QButtonGroup::staticMetaObject; + } +} +int PythonQtShell_QButtonGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QButtonGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QButtonGroup::addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id) +{ + ( theWrappedObject->addButton(arg__1, id)); +} + +QAbstractButton* PythonQtWrapper_QButtonGroup::button(QButtonGroup* theWrappedObject, int id) const +{ + return ( theWrappedObject->button(id)); +} + +QList PythonQtWrapper_QButtonGroup::buttons(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QAbstractButton* PythonQtWrapper_QButtonGroup::checkedButton(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->checkedButton()); +} + +int PythonQtWrapper_QButtonGroup::checkedId(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->checkedId()); +} + +bool PythonQtWrapper_QButtonGroup::exclusive(QButtonGroup* theWrappedObject) const +{ + return ( theWrappedObject->exclusive()); +} + +int PythonQtWrapper_QButtonGroup::id(QButtonGroup* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->id(button)); +} + +void PythonQtWrapper_QButtonGroup::removeButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1) +{ + ( theWrappedObject->removeButton(arg__1)); +} + +void PythonQtWrapper_QButtonGroup::setExclusive(QButtonGroup* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setExclusive(arg__1)); +} + +void PythonQtWrapper_QButtonGroup::setId(QButtonGroup* theWrappedObject, QAbstractButton* button, int id) +{ + ( theWrappedObject->setId(button, id)); +} + + + +PythonQtShell_QCalendarWidget::~PythonQtShell_QCalendarWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QCalendarWidget::actionEvent(event0); +} +void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::changeEvent(arg__1); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::childEvent(event0); +} +void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QCalendarWidget::closeEvent(event0); +} +void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QCalendarWidget::contextMenuEvent(event0); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::customEvent(event0); +} +int PythonQtShell_QCalendarWidget::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 QCalendarWidget::devType(); +} +void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QCalendarWidget::dragEnterEvent(event0); +} +void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QCalendarWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QCalendarWidget::dragMoveEvent(event0); +} +void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QCalendarWidget::dropEvent(event0); +} +void PythonQtShell_QCalendarWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QCalendarWidget::enterEvent(event0); +} +bool PythonQtShell_QCalendarWidget::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 QCalendarWidget::event(event0); +} +bool PythonQtShell_QCalendarWidget::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 QCalendarWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::focusInEvent(event0); +} +bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::focusOutEvent(event0); +} +bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::hasHeightForWidth(); +} +int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::heightForWidth(arg__1); +} +void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::hideEvent(event0); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::initPainter(painter0); +} +void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::keyPressEvent(event0); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QCalendarWidget::leaveEvent(event0); +} +int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::metric(arg__1); +} +QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::minimumSizeHint(); +} +void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCalendarWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCalendarWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCalendarWidget::mousePressEvent(event0); +} +void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCalendarWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QCalendarWidget::moveEvent(event0); +} +bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& rect1, const QDate& date2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintCell"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QDate&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&date2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::paintCell(painter0, rect1, date2); +} +QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::paintEngine(); +} +void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QCalendarWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QCalendarWidget::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 QCalendarWidget::redirected(offset0); +} +void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QCalendarWidget::resizeEvent(event0); +} +void PythonQtShell_QCalendarWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QCalendarWidget::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 QCalendarWidget::sharedPainter(); +} +void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QCalendarWidget::showEvent(event0); +} +QSize PythonQtShell_QCalendarWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCalendarWidget::sizeHint(); +} +void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QCalendarWidget::tabletEvent(event0); +} +void PythonQtShell_QCalendarWidget::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(); + } + } +} + QCalendarWidget::timerEvent(event0); +} +void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QCalendarWidget::wheelEvent(event0); +} +QCalendarWidget* PythonQtWrapper_QCalendarWidget::new_QCalendarWidget(QWidget* parent) +{ +return new PythonQtShell_QCalendarWidget(parent); } + +const QMetaObject* PythonQtShell_QCalendarWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCalendarWidget::staticMetaObject); + } else { + return &QCalendarWidget::staticMetaObject; + } +} +int PythonQtShell_QCalendarWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCalendarWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QCalendar PythonQtWrapper_QCalendarWidget::calendar(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->calendar()); +} + +int PythonQtWrapper_QCalendarWidget::dateEditAcceptDelay(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->dateEditAcceptDelay()); +} + +QMap PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->dateTextFormat()); +} + +QTextCharFormat PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date) const +{ + return ( theWrappedObject->dateTextFormat(date)); +} + +Qt::DayOfWeek PythonQtWrapper_QCalendarWidget::firstDayOfWeek(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->firstDayOfWeek()); +} + +QTextCharFormat PythonQtWrapper_QCalendarWidget::headerTextFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->headerTextFormat()); +} + +QCalendarWidget::HorizontalHeaderFormat PythonQtWrapper_QCalendarWidget::horizontalHeaderFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->horizontalHeaderFormat()); +} + +bool PythonQtWrapper_QCalendarWidget::isDateEditEnabled(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->isDateEditEnabled()); +} + +bool PythonQtWrapper_QCalendarWidget::isGridVisible(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->isGridVisible()); +} + +bool PythonQtWrapper_QCalendarWidget::isNavigationBarVisible(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->isNavigationBarVisible()); +} + +QDate PythonQtWrapper_QCalendarWidget::maximumDate(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->maximumDate()); +} + +QDate PythonQtWrapper_QCalendarWidget::minimumDate(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumDate()); +} + +int PythonQtWrapper_QCalendarWidget::monthShown(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->monthShown()); +} + +void PythonQtWrapper_QCalendarWidget::paintCell(QCalendarWidget* theWrappedObject, QPainter* painter, const QRect& rect, const QDate& date) const +{ + ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_paintCell(painter, rect, date)); +} + +QDate PythonQtWrapper_QCalendarWidget::selectedDate(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedDate()); +} + +QCalendarWidget::SelectionMode PythonQtWrapper_QCalendarWidget::selectionMode(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectionMode()); +} + +void PythonQtWrapper_QCalendarWidget::setCalendar(QCalendarWidget* theWrappedObject, QCalendar calendar) +{ + ( theWrappedObject->setCalendar(calendar)); +} + +void PythonQtWrapper_QCalendarWidget::setDateEditAcceptDelay(QCalendarWidget* theWrappedObject, int delay) +{ + ( theWrappedObject->setDateEditAcceptDelay(delay)); +} + +void PythonQtWrapper_QCalendarWidget::setDateEditEnabled(QCalendarWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDateEditEnabled(enable)); +} + +void PythonQtWrapper_QCalendarWidget::setDateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date, const QTextCharFormat& format) +{ + ( theWrappedObject->setDateTextFormat(date, format)); +} + +void PythonQtWrapper_QCalendarWidget::setFirstDayOfWeek(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) +{ + ( theWrappedObject->setFirstDayOfWeek(dayOfWeek)); +} + +void PythonQtWrapper_QCalendarWidget::setHeaderTextFormat(QCalendarWidget* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setHeaderTextFormat(format)); +} + +void PythonQtWrapper_QCalendarWidget::setHorizontalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::HorizontalHeaderFormat format) +{ + ( theWrappedObject->setHorizontalHeaderFormat(format)); +} + +void PythonQtWrapper_QCalendarWidget::setMaximumDate(QCalendarWidget* theWrappedObject, const QDate& date) +{ + ( theWrappedObject->setMaximumDate(date)); +} + +void PythonQtWrapper_QCalendarWidget::setMinimumDate(QCalendarWidget* theWrappedObject, const QDate& date) +{ + ( theWrappedObject->setMinimumDate(date)); +} + +void PythonQtWrapper_QCalendarWidget::setSelectionMode(QCalendarWidget* theWrappedObject, QCalendarWidget::SelectionMode mode) +{ + ( theWrappedObject->setSelectionMode(mode)); +} + +void PythonQtWrapper_QCalendarWidget::setVerticalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::VerticalHeaderFormat format) +{ + ( theWrappedObject->setVerticalHeaderFormat(format)); +} + +void PythonQtWrapper_QCalendarWidget::setWeekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek, const QTextCharFormat& format) +{ + ( theWrappedObject->setWeekdayTextFormat(dayOfWeek, format)); +} + +void PythonQtWrapper_QCalendarWidget::updateCell(QCalendarWidget* theWrappedObject, const QDate& date) +{ + ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_updateCell(date)); +} + +void PythonQtWrapper_QCalendarWidget::updateCells(QCalendarWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_updateCells()); +} + +QCalendarWidget::VerticalHeaderFormat PythonQtWrapper_QCalendarWidget::verticalHeaderFormat(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->verticalHeaderFormat()); +} + +QTextCharFormat PythonQtWrapper_QCalendarWidget::weekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) const +{ + return ( theWrappedObject->weekdayTextFormat(dayOfWeek)); +} + +int PythonQtWrapper_QCalendarWidget::yearShown(QCalendarWidget* theWrappedObject) const +{ + return ( theWrappedObject->yearShown()); +} + + + +PythonQtShell_QCheckBox::~PythonQtShell_QCheckBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCheckBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QCheckBox::actionEvent(event0); +} +void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::changeEvent(e0); +} +void PythonQtShell_QCheckBox::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("checkStateSet"); + 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(); + } + } +} + QCheckBox::checkStateSet(); +} +void PythonQtShell_QCheckBox::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(); + } + } +} + QCheckBox::childEvent(event0); +} +void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QCheckBox::closeEvent(event0); +} +void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QCheckBox::contextMenuEvent(event0); +} +void PythonQtShell_QCheckBox::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(); + } + } +} + QCheckBox::customEvent(event0); +} +int PythonQtShell_QCheckBox::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 QCheckBox::devType(); +} +void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QCheckBox::dragEnterEvent(event0); +} +void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QCheckBox::dragLeaveEvent(event0); +} +void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QCheckBox::dragMoveEvent(event0); +} +void PythonQtShell_QCheckBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QCheckBox::dropEvent(event0); +} +void PythonQtShell_QCheckBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QCheckBox::enterEvent(event0); +} +bool PythonQtShell_QCheckBox::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 QCheckBox::event(e0); +} +bool PythonQtShell_QCheckBox::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 QCheckBox::eventFilter(watched0, event1); +} +void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::focusInEvent(e0); +} +bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::focusNextPrevChild(next0); +} +void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::focusOutEvent(e0); +} +bool PythonQtShell_QCheckBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::hasHeightForWidth(); +} +int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::heightForWidth(arg__1); +} +void PythonQtShell_QCheckBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::hideEvent(event0); +} +bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::hitButton(pos0); +} +void PythonQtShell_QCheckBox::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(); + } + } +} + QCheckBox::initPainter(painter0); +} +void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::keyPressEvent(e0); +} +void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::keyReleaseEvent(e0); +} +void PythonQtShell_QCheckBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QCheckBox::leaveEvent(event0); +} +int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::metric(arg__1); +} +QSize PythonQtShell_QCheckBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::minimumSizeHint(); +} +void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCheckBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::mouseMoveEvent(arg__1); +} +void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCheckBox::mousePressEvent(e0); +} +void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCheckBox::mouseReleaseEvent(e0); +} +void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QCheckBox::moveEvent(event0); +} +bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QCheckBox::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + 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(); + } + } +} + QCheckBox::nextCheckState(); +} +QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::paintEngine(); +} +void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QCheckBox::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 QCheckBox::redirected(offset0); +} +void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QCheckBox::resizeEvent(event0); +} +void PythonQtShell_QCheckBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::setVisible(visible0); +} +QPainter* PythonQtShell_QCheckBox::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 QCheckBox::sharedPainter(); +} +void PythonQtShell_QCheckBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QCheckBox::showEvent(event0); +} +QSize PythonQtShell_QCheckBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::sizeHint(); +} +void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QCheckBox::tabletEvent(event0); +} +void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::timerEvent(e0); +} +void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QCheckBox::wheelEvent(event0); +} +QCheckBox* PythonQtWrapper_QCheckBox::new_QCheckBox(QWidget* parent) +{ +return new PythonQtShell_QCheckBox(parent); } + +QCheckBox* PythonQtWrapper_QCheckBox::new_QCheckBox(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QCheckBox(text, parent); } + +const QMetaObject* PythonQtShell_QCheckBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCheckBox::staticMetaObject); + } else { + return &QCheckBox::staticMetaObject; + } +} +int PythonQtShell_QCheckBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCheckBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::CheckState PythonQtWrapper_QCheckBox::checkState(QCheckBox* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +void PythonQtWrapper_QCheckBox::initStyleOption(QCheckBox* theWrappedObject, QStyleOptionButton* option) const +{ + ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QCheckBox::isTristate(QCheckBox* theWrappedObject) const +{ + return ( theWrappedObject->isTristate()); +} + +QSize PythonQtWrapper_QCheckBox::minimumSizeHint(QCheckBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QCheckBox::setCheckState(QCheckBox* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QCheckBox::setTristate(QCheckBox* theWrappedObject, bool y) +{ + ( theWrappedObject->setTristate(y)); +} + +QSize PythonQtWrapper_QCheckBox::sizeHint(QCheckBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +void PythonQtWrapper_QClipboard::clear(QClipboard* theWrappedObject, QClipboard::Mode mode) +{ + ( theWrappedObject->clear(mode)); +} + +QImage PythonQtWrapper_QClipboard::image(QClipboard* theWrappedObject, QClipboard::Mode mode) const +{ + return ( theWrappedObject->image(mode)); +} + +const QMimeData* PythonQtWrapper_QClipboard::mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode) const +{ + return ( theWrappedObject->mimeData(mode)); +} + +bool PythonQtWrapper_QClipboard::ownsClipboard(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->ownsClipboard()); +} + +bool PythonQtWrapper_QClipboard::ownsFindBuffer(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->ownsFindBuffer()); +} + +bool PythonQtWrapper_QClipboard::ownsSelection(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->ownsSelection()); +} + +QPixmap PythonQtWrapper_QClipboard::pixmap(QClipboard* theWrappedObject, QClipboard::Mode mode) const +{ + return ( theWrappedObject->pixmap(mode)); +} + +void PythonQtWrapper_QClipboard::setImage(QClipboard* theWrappedObject, const QImage& arg__1, QClipboard::Mode mode) +{ + ( theWrappedObject->setImage(arg__1, mode)); +} + +void PythonQtWrapper_QClipboard::setMimeData(QClipboard* theWrappedObject, PythonQtPassOwnershipToCPP data, QClipboard::Mode mode) +{ + ( theWrappedObject->setMimeData(data, mode)); +} + +void PythonQtWrapper_QClipboard::setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode) +{ + ( theWrappedObject->setPixmap(arg__1, mode)); +} + +void PythonQtWrapper_QClipboard::setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode) +{ + ( theWrappedObject->setText(arg__1, mode)); +} + +bool PythonQtWrapper_QClipboard::supportsFindBuffer(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->supportsFindBuffer()); +} + +bool PythonQtWrapper_QClipboard::supportsSelection(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->supportsSelection()); +} + +QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QClipboard::Mode mode) const +{ + return ( theWrappedObject->text(mode)); +} + +QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode) const +{ + return ( theWrappedObject->text(subtype, mode)); +} + + + +QCloseEvent* PythonQtWrapper_QCloseEvent::new_QCloseEvent() +{ +return new QCloseEvent(); } + + + +PythonQtShell_QColorDialog::~PythonQtShell_QColorDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QColorDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QColorDialog::accept(); +} +void PythonQtShell_QColorDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QColorDialog::actionEvent(event0); +} +void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QColorDialog::changeEvent(event0); +} +void PythonQtShell_QColorDialog::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(); + } + } +} + QColorDialog::childEvent(event0); +} +void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::closeEvent(arg__1); +} +void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QColorDialog::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(); + } + } +} + QColorDialog::customEvent(event0); +} +int PythonQtShell_QColorDialog::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 QColorDialog::devType(); +} +void PythonQtShell_QColorDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::done(result0); +} +void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QColorDialog::dragEnterEvent(event0); +} +void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QColorDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QColorDialog::dragMoveEvent(event0); +} +void PythonQtShell_QColorDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QColorDialog::dropEvent(event0); +} +void PythonQtShell_QColorDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QColorDialog::enterEvent(event0); +} +bool PythonQtShell_QColorDialog::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 QColorDialog::event(event0); +} +bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QColorDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QColorDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::exec(); +} +void PythonQtShell_QColorDialog::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(); + } + } +} + QColorDialog::focusInEvent(event0); +} +bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QColorDialog::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(); + } + } +} + QColorDialog::focusOutEvent(event0); +} +bool PythonQtShell_QColorDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::hasHeightForWidth(); +} +int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::heightForWidth(arg__1); +} +void PythonQtShell_QColorDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::hideEvent(event0); +} +void PythonQtShell_QColorDialog::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(); + } + } +} + QColorDialog::initPainter(painter0); +} +void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QColorDialog::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(); + } + } +} + QColorDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QColorDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QColorDialog::leaveEvent(event0); +} +int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::metric(arg__1); +} +QSize PythonQtShell_QColorDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::minimumSizeHint(); +} +void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColorDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColorDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColorDialog::mousePressEvent(event0); +} +void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColorDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QColorDialog::moveEvent(event0); +} +bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::paintEngine(); +} +void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QColorDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QColorDialog::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 QColorDialog::redirected(offset0); +} +void PythonQtShell_QColorDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QColorDialog::reject(); +} +void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::resizeEvent(arg__1); +} +void PythonQtShell_QColorDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QColorDialog::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 QColorDialog::sharedPainter(); +} +void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::showEvent(arg__1); +} +QSize PythonQtShell_QColorDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColorDialog::sizeHint(); +} +void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QColorDialog::tabletEvent(event0); +} +void PythonQtShell_QColorDialog::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(); + } + } +} + QColorDialog::timerEvent(event0); +} +void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QColorDialog::wheelEvent(event0); +} +QColorDialog* PythonQtWrapper_QColorDialog::new_QColorDialog(QWidget* parent) +{ +return new PythonQtShell_QColorDialog(parent); } + +QColorDialog* PythonQtWrapper_QColorDialog::new_QColorDialog(const QColor& initial, QWidget* parent) +{ +return new PythonQtShell_QColorDialog(initial, parent); } + +const QMetaObject* PythonQtShell_QColorDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QColorDialog::staticMetaObject); + } else { + return &QColorDialog::staticMetaObject; + } +} +int PythonQtShell_QColorDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QColorDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QColor PythonQtWrapper_QColorDialog::currentColor(QColorDialog* theWrappedObject) const +{ + return ( theWrappedObject->currentColor()); +} + +QColor PythonQtWrapper_QColorDialog::static_QColorDialog_customColor(int index) +{ + return (QColorDialog::customColor(index)); +} + +int PythonQtWrapper_QColorDialog::static_QColorDialog_customCount() +{ + return (QColorDialog::customCount()); +} + +QColor PythonQtWrapper_QColorDialog::static_QColorDialog_getColor(const QColor& initial, QWidget* parent, const QString& title, QColorDialog::ColorDialogOptions options) +{ + return (QColorDialog::getColor(initial, parent, title, options)); +} + +unsigned int PythonQtWrapper_QColorDialog::static_QColorDialog_getRgba(unsigned int rgba, bool* ok, QWidget* parent) +{ + return (QColorDialog::getRgba(rgba, ok, parent)); +} + +void PythonQtWrapper_QColorDialog::open(QColorDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QColorDialog::ColorDialogOptions PythonQtWrapper_QColorDialog::options(QColorDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QColor PythonQtWrapper_QColorDialog::selectedColor(QColorDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedColor()); +} + +void PythonQtWrapper_QColorDialog::setCurrentColor(QColorDialog* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setCurrentColor(color)); +} + +void PythonQtWrapper_QColorDialog::static_QColorDialog_setCustomColor(int index, QColor color) +{ + (QColorDialog::setCustomColor(index, color)); +} + +void PythonQtWrapper_QColorDialog::setOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QColorDialog::setOptions(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QColorDialog::static_QColorDialog_setStandardColor(int index, QColor color) +{ + (QColorDialog::setStandardColor(index, color)); +} + +QColor PythonQtWrapper_QColorDialog::static_QColorDialog_standardColor(int index) +{ + return (QColorDialog::standardColor(index)); +} + +bool PythonQtWrapper_QColorDialog::testOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + + + +QColorSpace* PythonQtWrapper_QColorSpace::new_QColorSpace() +{ +return new QColorSpace(); } + +QColorSpace* PythonQtWrapper_QColorSpace::new_QColorSpace(QColorSpace::NamedColorSpace namedColorSpace) +{ +return new QColorSpace(namedColorSpace); } + +QColorSpace* PythonQtWrapper_QColorSpace::new_QColorSpace(QColorSpace::Primaries primaries, QColorSpace::TransferFunction transferFunction, float gamma) +{ +return new QColorSpace(primaries, transferFunction, gamma); } + +QColorSpace* PythonQtWrapper_QColorSpace::new_QColorSpace(QColorSpace::Primaries primaries, float gamma) +{ +return new QColorSpace(primaries, gamma); } + +QColorSpace* PythonQtWrapper_QColorSpace::new_QColorSpace(const QColorSpace& colorSpace) +{ +return new QColorSpace(colorSpace); } + +QColorSpace* PythonQtWrapper_QColorSpace::new_QColorSpace(const QPointF& whitePoint, const QPointF& redPoint, const QPointF& greenPoint, const QPointF& bluePoint, QColorSpace::TransferFunction transferFunction, float gamma) +{ +return new QColorSpace(whitePoint, redPoint, greenPoint, bluePoint, transferFunction, gamma); } + +QColorSpace PythonQtWrapper_QColorSpace::static_QColorSpace_fromIccProfile(const QByteArray& iccProfile) +{ + return (QColorSpace::fromIccProfile(iccProfile)); +} + +float PythonQtWrapper_QColorSpace::gamma(QColorSpace* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); +} + +QByteArray PythonQtWrapper_QColorSpace::iccProfile(QColorSpace* theWrappedObject) const +{ + return ( theWrappedObject->iccProfile()); +} + +bool PythonQtWrapper_QColorSpace::isValid(QColorSpace* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QColorSpace::__ne__(QColorSpace* theWrappedObject, const QColorSpace& colorSpace2) +{ + return ( (*theWrappedObject)!= colorSpace2); +} + +void PythonQtWrapper_QColorSpace::writeTo(QColorSpace* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QColorSpace* PythonQtWrapper_QColorSpace::operator_assign(QColorSpace* theWrappedObject, const QColorSpace& colorSpace) +{ + return &( (*theWrappedObject)= colorSpace); +} + +bool PythonQtWrapper_QColorSpace::__eq__(QColorSpace* theWrappedObject, const QColorSpace& colorSpace2) +{ + return ( (*theWrappedObject)== colorSpace2); +} + +void PythonQtWrapper_QColorSpace::readFrom(QColorSpace* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QColorSpace::Primaries PythonQtWrapper_QColorSpace::primaries(QColorSpace* theWrappedObject) const +{ + return ( theWrappedObject->primaries()); +} + +void PythonQtWrapper_QColorSpace::setPrimaries(QColorSpace* theWrappedObject, QColorSpace::Primaries primariesId) +{ + ( theWrappedObject->setPrimaries(primariesId)); +} + +void PythonQtWrapper_QColorSpace::setPrimaries(QColorSpace* theWrappedObject, const QPointF& whitePoint, const QPointF& redPoint, const QPointF& greenPoint, const QPointF& bluePoint) +{ + ( theWrappedObject->setPrimaries(whitePoint, redPoint, greenPoint, bluePoint)); +} + +void PythonQtWrapper_QColorSpace::setTransferFunction(QColorSpace* theWrappedObject, QColorSpace::TransferFunction transferFunction, float gamma) +{ + ( theWrappedObject->setTransferFunction(transferFunction, gamma)); +} + +void PythonQtWrapper_QColorSpace::swap(QColorSpace* theWrappedObject, QColorSpace& colorSpace) +{ + ( theWrappedObject->swap(colorSpace)); +} + +QColorSpace::TransferFunction PythonQtWrapper_QColorSpace::transferFunction(QColorSpace* theWrappedObject) const +{ + return ( theWrappedObject->transferFunction()); +} + +QColorTransform PythonQtWrapper_QColorSpace::transformationToColorSpace(QColorSpace* theWrappedObject, const QColorSpace& colorspace) const +{ + return ( theWrappedObject->transformationToColorSpace(colorspace)); +} + +QColorSpace PythonQtWrapper_QColorSpace::withTransferFunction(QColorSpace* theWrappedObject, QColorSpace::TransferFunction transferFunction, float gamma) const +{ + return ( theWrappedObject->withTransferFunction(transferFunction, gamma)); +} + +QString PythonQtWrapper_QColorSpace::py_toString(QColorSpace* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QColorTransform* PythonQtWrapper_QColorTransform::new_QColorTransform() +{ +return new QColorTransform(); } + +QColorTransform* PythonQtWrapper_QColorTransform::new_QColorTransform(const QColorTransform& colorTransform) +{ +return new QColorTransform(colorTransform); } + +QRgba64 PythonQtWrapper_QColorTransform::map(QColorTransform* theWrappedObject, QRgba64 rgba64) const +{ + return ( theWrappedObject->map(rgba64)); +} + +QColor PythonQtWrapper_QColorTransform::map(QColorTransform* theWrappedObject, const QColor& color) const +{ + return ( theWrappedObject->map(color)); +} + +unsigned int PythonQtWrapper_QColorTransform::map(QColorTransform* theWrappedObject, unsigned int argb) const +{ + return ( theWrappedObject->map(argb)); +} + +QColorTransform* PythonQtWrapper_QColorTransform::operator_assign(QColorTransform* theWrappedObject, const QColorTransform& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QColorTransform::swap(QColorTransform* theWrappedObject, QColorTransform& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QColumnView::~PythonQtShell_QColumnView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QColumnView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QColumnView::actionEvent(event0); +} +void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::changeEvent(arg__1); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::childEvent(event0); +} +void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::closeEditor(editor0, hint1); +} +void PythonQtShell_QColumnView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QColumnView::closeEvent(event0); +} +void PythonQtShell_QColumnView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::commitData(editor0); +} +void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::contextMenuEvent(arg__1); +} +QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& rootIndex0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractItemView*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createColumn", methodInfo, result); + } else { + returnValue = *((QAbstractItemView**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::createColumn(rootIndex0); +} +void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::currentChanged(current0, previous1); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::customEvent(event0); +} +void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QColumnView::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 QColumnView::devType(); +} +void PythonQtShell_QColumnView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QColumnView::doItemsLayout(); +} +void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QColumnView::dragEnterEvent(event0); +} +void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QColumnView::dragLeaveEvent(event0); +} +void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QColumnView::dragMoveEvent(event0); +} +void PythonQtShell_QColumnView::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QColumnView::dropEvent(event0); +} +bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::edit(index0, trigger1, event2); +} +void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::editorDestroyed(editor0); +} +void PythonQtShell_QColumnView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QColumnView::enterEvent(event0); +} +bool PythonQtShell_QColumnView::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 QColumnView::event(event0); +} +bool PythonQtShell_QColumnView::eventFilter(QObject* object0, 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*)&object0, (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 QColumnView::eventFilter(object0, event1); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::focusInEvent(event0); +} +bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::focusNextPrevChild(next0); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::focusOutEvent(event0); +} +bool PythonQtShell_QColumnView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::hasHeightForWidth(); +} +int PythonQtShell_QColumnView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::heightForWidth(arg__1); +} +void PythonQtShell_QColumnView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::hideEvent(event0); +} +int PythonQtShell_QColumnView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::horizontalOffset(); +} +void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::indexAt(point0); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::initPainter(painter0); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QColumnView::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 QColumnView::inputMethodQuery(query0); +} +bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::isIndexHidden(index0); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::keyPressEvent(event0); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::keyReleaseEvent(event0); +} +void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::keyboardSearch(search0); +} +void PythonQtShell_QColumnView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QColumnView::leaveEvent(event0); +} +int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::metric(arg__1); +} +QSize PythonQtShell_QColumnView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::minimumSizeHint(); +} +void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColumnView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColumnView::mouseMoveEvent(event0); +} +void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColumnView::mousePressEvent(event0); +} +void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QColumnView::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QColumnView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QColumnView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QColumnView::moveEvent(event0); +} +bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QColumnView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::paintEngine(); +} +void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QColumnView::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 QColumnView::redirected(offset0); +} +void PythonQtShell_QColumnView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QColumnView::reset(); +} +void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QColumnView::resizeEvent(event0); +} +void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::scrollTo(index0, hint1); +} +void PythonQtShell_QColumnView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QColumnView::selectAll(); +} +QList PythonQtShell_QColumnView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::selectedIndexes(); +} +void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::selectionCommand(index0, event1); +} +void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::setModel(model0); +} +void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QColumnView::setRootIndex(index0); +} +void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::setSelection(rect0, command1); +} +void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QColumnView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::setVisible(visible0); +} +void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QColumnView::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 QColumnView::sharedPainter(); +} +void PythonQtShell_QColumnView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QColumnView::showEvent(event0); +} +QSize PythonQtShell_QColumnView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::sizeHint(); +} +int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::sizeHintForColumn(column0); +} +int PythonQtShell_QColumnView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::sizeHintForRow(row0); +} +void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::startDrag(supportedActions0); +} +void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QColumnView::tabletEvent(event0); +} +void PythonQtShell_QColumnView::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(); + } + } +} + QColumnView::timerEvent(event0); +} +void PythonQtShell_QColumnView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QColumnView::updateEditorData(); +} +void PythonQtShell_QColumnView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QColumnView::updateEditorGeometries(); +} +void PythonQtShell_QColumnView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QColumnView::updateGeometries(); +} +int PythonQtShell_QColumnView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::verticalOffset(); +} +void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::verticalScrollbarAction(action0); +} +void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::viewOptions(); +} +bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::viewportEvent(event0); +} +QSize PythonQtShell_QColumnView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::viewportSizeHint(); +} +QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::visualRect(index0); +} +QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColumnView::visualRegionForSelection(selection0); +} +void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::wheelEvent(arg__1); +} +QColumnView* PythonQtWrapper_QColumnView::new_QColumnView(QWidget* parent) +{ +return new PythonQtShell_QColumnView(parent); } + +const QMetaObject* PythonQtShell_QColumnView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QColumnView::staticMetaObject); + } else { + return &QColumnView::staticMetaObject; + } +} +int PythonQtShell_QColumnView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QColumnView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QColumnView::columnWidths(QColumnView* theWrappedObject) const +{ + return ( theWrappedObject->columnWidths()); +} + +QAbstractItemView* PythonQtWrapper_QColumnView::createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex) +{ + return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_createColumn(rootIndex)); +} + +void PythonQtWrapper_QColumnView::initializeColumn(QColumnView* theWrappedObject, QAbstractItemView* column) const +{ + ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_initializeColumn(column)); +} + +QWidget* PythonQtWrapper_QColumnView::previewWidget(QColumnView* theWrappedObject) const +{ + return ( theWrappedObject->previewWidget()); +} + +bool PythonQtWrapper_QColumnView::resizeGripsVisible(QColumnView* theWrappedObject) const +{ + return ( theWrappedObject->resizeGripsVisible()); +} + +void PythonQtWrapper_QColumnView::setColumnWidths(QColumnView* theWrappedObject, const QList& list) +{ + ( theWrappedObject->setColumnWidths(list)); +} + +void PythonQtWrapper_QColumnView::setPreviewWidget(QColumnView* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setPreviewWidget(widget)); +} + +void PythonQtWrapper_QColumnView::setResizeGripsVisible(QColumnView* theWrappedObject, bool visible) +{ + ( theWrappedObject->setResizeGripsVisible(visible)); +} + + + +PythonQtShell_QComboBox::~PythonQtShell_QComboBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QComboBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QComboBox::actionEvent(event0); +} +void PythonQtShell_QComboBox::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::changeEvent(e0); +} +void PythonQtShell_QComboBox::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(); + } + } +} + QComboBox::childEvent(event0); +} +void PythonQtShell_QComboBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QComboBox::closeEvent(event0); +} +void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) +{ +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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QComboBox::contextMenuEvent(e0); +} +void PythonQtShell_QComboBox::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(); + } + } +} + QComboBox::customEvent(event0); +} +int PythonQtShell_QComboBox::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 QComboBox::devType(); +} +void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QComboBox::dragEnterEvent(event0); +} +void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QComboBox::dragLeaveEvent(event0); +} +void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QComboBox::dragMoveEvent(event0); +} +void PythonQtShell_QComboBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QComboBox::dropEvent(event0); +} +void PythonQtShell_QComboBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QComboBox::enterEvent(event0); +} +bool PythonQtShell_QComboBox::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 QComboBox::event(event0); +} +bool PythonQtShell_QComboBox::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 QComboBox::eventFilter(watched0, event1); +} +void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::focusInEvent(e0); +} +bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::focusNextPrevChild(next0); +} +void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::focusOutEvent(e0); +} +bool PythonQtShell_QComboBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::hasHeightForWidth(); +} +int PythonQtShell_QComboBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::heightForWidth(arg__1); +} +void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::hideEvent(e0); +} +void PythonQtShell_QComboBox::hidePopup() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hidePopup"); + 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(); + } + } +} + QComboBox::hidePopup(); +} +void PythonQtShell_QComboBox::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(); + } + } +} + QComboBox::initPainter(painter0); +} +void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::keyPressEvent(e0); +} +void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::keyReleaseEvent(e0); +} +void PythonQtShell_QComboBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QComboBox::leaveEvent(event0); +} +int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::metric(arg__1); +} +QSize PythonQtShell_QComboBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::minimumSizeHint(); +} +void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QComboBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QComboBox::mouseMoveEvent(event0); +} +void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QComboBox::mousePressEvent(e0); +} +void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QComboBox::mouseReleaseEvent(e0); +} +void PythonQtShell_QComboBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QComboBox::moveEvent(event0); +} +bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QComboBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::paintEngine(); +} +void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QComboBox::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QComboBox::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 QComboBox::redirected(offset0); +} +void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QComboBox::resizeEvent(e0); +} +void PythonQtShell_QComboBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::setVisible(visible0); +} +QPainter* PythonQtShell_QComboBox::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 QComboBox::sharedPainter(); +} +void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QComboBox::showEvent(e0); +} +void PythonQtShell_QComboBox::showPopup() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showPopup"); + 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(); + } + } +} + QComboBox::showPopup(); +} +QSize PythonQtShell_QComboBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::sizeHint(); +} +void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QComboBox::tabletEvent(event0); +} +void PythonQtShell_QComboBox::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(); + } + } +} + QComboBox::timerEvent(event0); +} +void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QComboBox::wheelEvent(e0); +} +QComboBox* PythonQtWrapper_QComboBox::new_QComboBox(QWidget* parent) +{ +return new PythonQtShell_QComboBox(parent); } + +const QMetaObject* PythonQtShell_QComboBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QComboBox::staticMetaObject); + } else { + return &QComboBox::staticMetaObject; + } +} +int PythonQtShell_QComboBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QComboBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QComboBox::addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->addItem(icon, text, userData)); +} + +void PythonQtWrapper_QComboBox::addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->addItem(text, userData)); +} + +void PythonQtWrapper_QComboBox::addItems(QComboBox* theWrappedObject, const QStringList& texts) +{ + ( theWrappedObject->addItems(texts)); +} + +QCompleter* PythonQtWrapper_QComboBox::completer(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->completer()); +} + +int PythonQtWrapper_QComboBox::count(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QVariant PythonQtWrapper_QComboBox::currentData(QComboBox* theWrappedObject, int role) const +{ + return ( theWrappedObject->currentData(role)); +} + +int PythonQtWrapper_QComboBox::currentIndex(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QString PythonQtWrapper_QComboBox::currentText(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->currentText()); +} + +bool PythonQtWrapper_QComboBox::duplicatesEnabled(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->duplicatesEnabled()); +} + +int PythonQtWrapper_QComboBox::findData(QComboBox* theWrappedObject, const QVariant& data, int role, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findData(data, role, flags)); +} + +int PythonQtWrapper_QComboBox::findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findText(text, flags)); +} + +bool PythonQtWrapper_QComboBox::hasFrame(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->hasFrame()); +} + +void PythonQtWrapper_QComboBox::hidePopup(QComboBox* theWrappedObject) +{ + ( theWrappedObject->hidePopup()); +} + +QSize PythonQtWrapper_QComboBox::iconSize(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QComboBox::initStyleOption(QComboBox* theWrappedObject, QStyleOptionComboBox* option) const +{ + ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QVariant PythonQtWrapper_QComboBox::inputMethodQuery(QComboBox* theWrappedObject, Qt::InputMethodQuery query, const QVariant& argument) const +{ + return ( theWrappedObject->inputMethodQuery(query, argument)); +} + +void PythonQtWrapper_QComboBox::insertItem(QComboBox* theWrappedObject, int index, const QIcon& icon, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->insertItem(index, icon, text, userData)); +} + +void PythonQtWrapper_QComboBox::insertItem(QComboBox* theWrappedObject, int index, const QString& text, const QVariant& userData) +{ + ( theWrappedObject->insertItem(index, text, userData)); +} + +void PythonQtWrapper_QComboBox::insertItems(QComboBox* theWrappedObject, int index, const QStringList& texts) +{ + ( theWrappedObject->insertItems(index, texts)); +} + +QComboBox::InsertPolicy PythonQtWrapper_QComboBox::insertPolicy(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->insertPolicy()); +} + +void PythonQtWrapper_QComboBox::insertSeparator(QComboBox* theWrappedObject, int index) +{ + ( theWrappedObject->insertSeparator(index)); +} + +bool PythonQtWrapper_QComboBox::isEditable(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->isEditable()); +} + +QVariant PythonQtWrapper_QComboBox::itemData(QComboBox* theWrappedObject, int index, int role) const +{ + return ( theWrappedObject->itemData(index, role)); +} + +QAbstractItemDelegate* PythonQtWrapper_QComboBox::itemDelegate(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QIcon PythonQtWrapper_QComboBox::itemIcon(QComboBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemIcon(index)); +} + +QString PythonQtWrapper_QComboBox::itemText(QComboBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemText(index)); +} + +QLineEdit* PythonQtWrapper_QComboBox::lineEdit(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->lineEdit()); +} + +int PythonQtWrapper_QComboBox::maxCount(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->maxCount()); +} + +int PythonQtWrapper_QComboBox::maxVisibleItems(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->maxVisibleItems()); +} + +int PythonQtWrapper_QComboBox::minimumContentsLength(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumContentsLength()); +} + +QSize PythonQtWrapper_QComboBox::minimumSizeHint(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QAbstractItemModel* PythonQtWrapper_QComboBox::model(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +int PythonQtWrapper_QComboBox::modelColumn(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->modelColumn()); +} + +QString PythonQtWrapper_QComboBox::placeholderText(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->placeholderText()); +} + +void PythonQtWrapper_QComboBox::removeItem(QComboBox* theWrappedObject, int index) +{ + ( theWrappedObject->removeItem(index)); +} + +QModelIndex PythonQtWrapper_QComboBox::rootModelIndex(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->rootModelIndex()); +} + +void PythonQtWrapper_QComboBox::setCompleter(QComboBox* theWrappedObject, QCompleter* c) +{ + ( theWrappedObject->setCompleter(c)); +} + +void PythonQtWrapper_QComboBox::setDuplicatesEnabled(QComboBox* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDuplicatesEnabled(enable)); +} + +void PythonQtWrapper_QComboBox::setEditable(QComboBox* theWrappedObject, bool editable) +{ + ( theWrappedObject->setEditable(editable)); +} + +void PythonQtWrapper_QComboBox::setFrame(QComboBox* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFrame(arg__1)); +} + +void PythonQtWrapper_QComboBox::setIconSize(QComboBox* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QComboBox::setInsertPolicy(QComboBox* theWrappedObject, QComboBox::InsertPolicy policy) +{ + ( theWrappedObject->setInsertPolicy(policy)); +} + +void PythonQtWrapper_QComboBox::setItemData(QComboBox* theWrappedObject, int index, const QVariant& value, int role) +{ + ( theWrappedObject->setItemData(index, value, role)); +} + +void PythonQtWrapper_QComboBox::setItemDelegate(QComboBox* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QComboBox::setItemIcon(QComboBox* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setItemIcon(index, icon)); +} + +void PythonQtWrapper_QComboBox::setItemText(QComboBox* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setItemText(index, text)); +} + +void PythonQtWrapper_QComboBox::setLineEdit(QComboBox* theWrappedObject, QLineEdit* edit) +{ + ( theWrappedObject->setLineEdit(edit)); +} + +void PythonQtWrapper_QComboBox::setMaxCount(QComboBox* theWrappedObject, int max) +{ + ( theWrappedObject->setMaxCount(max)); +} + +void PythonQtWrapper_QComboBox::setMaxVisibleItems(QComboBox* theWrappedObject, int maxItems) +{ + ( theWrappedObject->setMaxVisibleItems(maxItems)); +} + +void PythonQtWrapper_QComboBox::setMinimumContentsLength(QComboBox* theWrappedObject, int characters) +{ + ( theWrappedObject->setMinimumContentsLength(characters)); +} + +void PythonQtWrapper_QComboBox::setModel(QComboBox* theWrappedObject, QAbstractItemModel* model) +{ + ( theWrappedObject->setModel(model)); +} + +void PythonQtWrapper_QComboBox::setModelColumn(QComboBox* theWrappedObject, int visibleColumn) +{ + ( theWrappedObject->setModelColumn(visibleColumn)); +} + +void PythonQtWrapper_QComboBox::setPlaceholderText(QComboBox* theWrappedObject, const QString& placeholderText) +{ + ( theWrappedObject->setPlaceholderText(placeholderText)); +} + +void PythonQtWrapper_QComboBox::setRootModelIndex(QComboBox* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->setRootModelIndex(index)); +} + +void PythonQtWrapper_QComboBox::setSizeAdjustPolicy(QComboBox* theWrappedObject, QComboBox::SizeAdjustPolicy policy) +{ + ( theWrappedObject->setSizeAdjustPolicy(policy)); +} + +void PythonQtWrapper_QComboBox::setValidator(QComboBox* theWrappedObject, const QValidator* v) +{ + ( theWrappedObject->setValidator(v)); +} + +void PythonQtWrapper_QComboBox::setView(QComboBox* theWrappedObject, QAbstractItemView* itemView) +{ + ( theWrappedObject->setView(itemView)); +} + +void PythonQtWrapper_QComboBox::showPopup(QComboBox* theWrappedObject) +{ + ( theWrappedObject->showPopup()); +} + +QComboBox::SizeAdjustPolicy PythonQtWrapper_QComboBox::sizeAdjustPolicy(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeAdjustPolicy()); +} + +QSize PythonQtWrapper_QComboBox::sizeHint(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +const QValidator* PythonQtWrapper_QComboBox::validator(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->validator()); +} + +QAbstractItemView* PythonQtWrapper_QComboBox::view(QComboBox* theWrappedObject) const +{ + return ( theWrappedObject->view()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.h new file mode 100644 index 00000000..39923c73 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui0.h @@ -0,0 +1,2953 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QAbstractButton : public QAbstractButton +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline void promoted_checkStateSet() { this->checkStateSet(); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_nextCheckState() { this->nextCheckState(); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void py_q_changeEvent(QEvent* e) { QAbstractButton::changeEvent(e); } +inline void py_q_checkStateSet() { QAbstractButton::checkStateSet(); } +inline bool py_q_event(QEvent* e) { return QAbstractButton::event(e); } +inline void py_q_focusInEvent(QFocusEvent* e) { QAbstractButton::focusInEvent(e); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QAbstractButton::focusOutEvent(e); } +inline bool py_q_hitButton(const QPoint& pos) const { return QAbstractButton::hitButton(pos); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QAbstractButton::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QAbstractButton::keyReleaseEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QAbstractButton::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QAbstractButton::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QAbstractButton::mouseReleaseEvent(e); } +inline void py_q_nextCheckState() { QAbstractButton::nextCheckState(); } +inline void py_q_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void py_q_timerEvent(QTimerEvent* e) { QAbstractButton::timerEvent(e); } +}; + +class PythonQtWrapper_QAbstractButton : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractButton* new_QAbstractButton(QWidget* parent = nullptr); +void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } + bool autoExclusive(QAbstractButton* theWrappedObject) const; + bool autoRepeat(QAbstractButton* theWrappedObject) const; + int autoRepeatDelay(QAbstractButton* theWrappedObject) const; + int autoRepeatInterval(QAbstractButton* theWrappedObject) const; + void py_q_changeEvent(QAbstractButton* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_changeEvent(e));} + void checkStateSet(QAbstractButton* theWrappedObject); + void py_q_checkStateSet(QAbstractButton* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_checkStateSet());} + bool py_q_event(QAbstractButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_event(e));} + void py_q_focusInEvent(QAbstractButton* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_focusInEvent(e));} + void py_q_focusOutEvent(QAbstractButton* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_focusOutEvent(e));} + QButtonGroup* group(QAbstractButton* theWrappedObject) const; + bool hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const; + bool py_q_hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_hitButton(pos));} + QIcon icon(QAbstractButton* theWrappedObject) const; + QSize iconSize(QAbstractButton* theWrappedObject) const; + bool isCheckable(QAbstractButton* theWrappedObject) const; + bool isChecked(QAbstractButton* theWrappedObject) const; + bool isDown(QAbstractButton* theWrappedObject) const; + void py_q_keyPressEvent(QAbstractButton* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QAbstractButton* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_keyReleaseEvent(e));} + void py_q_mouseMoveEvent(QAbstractButton* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QAbstractButton* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QAbstractButton* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void nextCheckState(QAbstractButton* theWrappedObject); + void py_q_nextCheckState(QAbstractButton* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_nextCheckState());} + void py_q_paintEvent(QAbstractButton* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_paintEvent(e));} + void setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1); + void setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1); + void setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1); + void setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1); + void setCheckable(QAbstractButton* theWrappedObject, bool arg__1); + void setDown(QAbstractButton* theWrappedObject, bool arg__1); + void setIcon(QAbstractButton* theWrappedObject, const QIcon& icon); + void setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key); + void setText(QAbstractButton* theWrappedObject, const QString& text); + QKeySequence shortcut(QAbstractButton* theWrappedObject) const; + QString text(QAbstractButton* theWrappedObject) const; + void py_q_timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_timerEvent(e));} +}; + + + + + +class PythonQtShell_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem +{ +public: + 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 +{ public: +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QAbstractGraphicsShapeItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QAbstractGraphicsShapeItem::opaqueArea(); } +}; + +class PythonQtWrapper_QAbstractGraphicsShapeItem : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractGraphicsShapeItem* new_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr); +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());} + QPen pen(QAbstractGraphicsShapeItem* theWrappedObject) const; + void setBrush(QAbstractGraphicsShapeItem* theWrappedObject, const QBrush& brush); + void setPen(QAbstractGraphicsShapeItem* theWrappedObject, const QPen& pen); +}; + + + + + +class PythonQtShell_QAbstractItemDelegate : public QAbstractItemDelegate +{ +public: + 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 +{ public: +inline QWidget* py_q_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QAbstractItemDelegate::createEditor(parent, option, index); } +inline void py_q_destroyEditor(QWidget* editor, const QModelIndex& index) const { QAbstractItemDelegate::destroyEditor(editor, index); } +inline bool py_q_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QAbstractItemDelegate::editorEvent(event, model, option, index); } +inline bool py_q_helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) { return QAbstractItemDelegate::helpEvent(event, view, option, index); } +inline void py_q_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { this->paint(painter, option, index); } +inline QVector py_q_paintingRoles() const { return QAbstractItemDelegate::paintingRoles(); } +inline void py_q_setEditorData(QWidget* editor, const QModelIndex& index) const { QAbstractItemDelegate::setEditorData(editor, index); } +inline void py_q_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QAbstractItemDelegate::setModelData(editor, model, index); } +inline QSize py_q_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return this->sizeHint(option, index); } +inline void py_q_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QAbstractItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QAbstractItemDelegate : public QObject +{ Q_OBJECT +public: +Q_ENUMS(EndEditHint ) +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; } + 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; + void py_q_destroyEditor(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_destroyEditor(editor, index));} + bool editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); + bool py_q_editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} + bool helpEvent(QAbstractItemDelegate* theWrappedObject, QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); + bool py_q_helpEvent(QAbstractItemDelegate* theWrappedObject, QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_helpEvent(event, view, option, index));} + void paint(QAbstractItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void py_q_paint(QAbstractItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_paint(painter, option, index));} + QVector paintingRoles(QAbstractItemDelegate* theWrappedObject) const; + QVector py_q_paintingRoles(QAbstractItemDelegate* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_paintingRoles());} + void setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; + void py_q_setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_setEditorData(editor, index));} + void setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; + void py_q_setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_setModelData(editor, model, index));} + QSize sizeHint(QAbstractItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; + QSize py_q_sizeHint(QAbstractItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_sizeHint(option, index));} + void updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void py_q_updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_updateEditorGeometry(editor, option, index));} +}; + + + + + +class PythonQtShell_QAbstractItemView : public QAbstractItemView +{ +public: + 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 +{ public: +enum CursorAction{ + MoveUp = QAbstractItemView::MoveUp, MoveDown = QAbstractItemView::MoveDown, MoveLeft = QAbstractItemView::MoveLeft, MoveRight = QAbstractItemView::MoveRight, MoveHome = QAbstractItemView::MoveHome, MoveEnd = QAbstractItemView::MoveEnd, MovePageUp = QAbstractItemView::MovePageUp, MovePageDown = QAbstractItemView::MovePageDown, MoveNext = QAbstractItemView::MoveNext, MovePrevious = QAbstractItemView::MovePrevious}; +enum DropIndicatorPosition{ + OnItem = QAbstractItemView::OnItem, AboveItem = QAbstractItemView::AboveItem, BelowItem = QAbstractItemView::BelowItem, OnViewport = QAbstractItemView::OnViewport}; +enum State{ + NoState = QAbstractItemView::NoState, DraggingState = QAbstractItemView::DraggingState, DragSelectingState = QAbstractItemView::DragSelectingState, EditingState = QAbstractItemView::EditingState, ExpandingState = QAbstractItemView::ExpandingState, CollapsingState = QAbstractItemView::CollapsingState, AnimatingState = QAbstractItemView::AnimatingState}; +inline void promoted_closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) { this->closeEditor(editor, hint); } +inline void promoted_commitData(QWidget* editor) { this->commitData(editor); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { this->currentChanged(current, previous); } +inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { this->dataChanged(topLeft, bottomRight, roles); } +inline QPoint promoted_dirtyRegionOffset() const { return this->dirtyRegionOffset(); } +inline void promoted_doAutoScroll() { this->doAutoScroll(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { this->dragMoveEvent(event); } +inline void promoted_dropEvent(QDropEvent* event) { this->dropEvent(event); } +inline int promoted_dropIndicatorPosition() const { return this->dropIndicatorPosition(); } +inline bool promoted_edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) { return this->edit(index, trigger, event); } +inline void promoted_editorDestroyed(QObject* editor) { this->editorDestroyed(editor); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_executeDelayedItemsLayout() { this->executeDelayedItemsLayout(); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } +inline void promoted_horizontalScrollbarAction(int action) { this->horizontalScrollbarAction(action); } +inline void promoted_horizontalScrollbarValueChanged(int value) { this->horizontalScrollbarValueChanged(value); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { this->rowsAboutToBeRemoved(parent, start, end); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { this->rowsInserted(parent, start, end); } +inline void promoted_scheduleDelayedItemsLayout() { this->scheduleDelayedItemsLayout(); } +inline void promoted_scrollDirtyRegion(int dx, int dy) { this->scrollDirtyRegion(dx, dy); } +inline QList promoted_selectedIndexes() const { return this->selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { this->selectionChanged(selected, deselected); } +inline QItemSelectionModel::SelectionFlags promoted_selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const { return this->selectionCommand(index, event); } +inline void promoted_setDirtyRegion(const QRegion& region) { this->setDirtyRegion(region); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } +inline void promoted_setState(int state) { this->setState((QAbstractItemView::State)state); } +inline void promoted_startAutoScroll() { this->startAutoScroll(); } +inline void promoted_startDrag(Qt::DropActions supportedActions) { this->startDrag(supportedActions); } +inline int promoted_state() const { return this->state(); } +inline void promoted_stopAutoScroll() { this->stopAutoScroll(); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void promoted_updateEditorData() { this->updateEditorData(); } +inline void promoted_updateEditorGeometries() { this->updateEditorGeometries(); } +inline void promoted_updateGeometries() { this->updateGeometries(); } +inline int promoted_verticalOffset() const { return this->verticalOffset(); } +inline void promoted_verticalScrollbarAction(int action) { this->verticalScrollbarAction(action); } +inline void promoted_verticalScrollbarValueChanged(int value) { this->verticalScrollbarValueChanged(value); } +inline QStyleOptionViewItem promoted_viewOptions() const { return this->viewOptions(); } +inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +inline void py_q_closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) { QAbstractItemView::closeEditor(editor, hint); } +inline void py_q_commitData(QWidget* editor) { QAbstractItemView::commitData(editor); } +inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QAbstractItemView::currentChanged(current, previous); } +inline void py_q_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QAbstractItemView::dataChanged(topLeft, bottomRight, roles); } +inline void py_q_doItemsLayout() { QAbstractItemView::doItemsLayout(); } +inline void py_q_dragEnterEvent(QDragEnterEvent* event) { QAbstractItemView::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* event) { QAbstractItemView::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QDragMoveEvent* event) { QAbstractItemView::dragMoveEvent(event); } +inline void py_q_dropEvent(QDropEvent* event) { QAbstractItemView::dropEvent(event); } +inline bool py_q_edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) { return QAbstractItemView::edit(index, trigger, event); } +inline void py_q_editorDestroyed(QObject* editor) { QAbstractItemView::editorDestroyed(editor); } +inline bool py_q_event(QEvent* event) { return QAbstractItemView::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QAbstractItemView::eventFilter(object, event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QAbstractItemView::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QAbstractItemView::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QAbstractItemView::focusOutEvent(event); } +inline int py_q_horizontalOffset() const { return this->horizontalOffset(); } +inline void py_q_horizontalScrollbarAction(int action) { QAbstractItemView::horizontalScrollbarAction(action); } +inline void py_q_horizontalScrollbarValueChanged(int value) { QAbstractItemView::horizontalScrollbarValueChanged(value); } +inline QModelIndex py_q_indexAt(const QPoint& point) const { return this->indexAt(point); } +inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QAbstractItemView::inputMethodEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QAbstractItemView::inputMethodQuery(query); } +inline bool py_q_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QAbstractItemView::keyPressEvent(event); } +inline void py_q_keyboardSearch(const QString& search) { QAbstractItemView::keyboardSearch(search); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QAbstractItemView::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QAbstractItemView::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QAbstractItemView::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QAbstractItemView::mouseReleaseEvent(event); } +inline QModelIndex py_q_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void py_q_reset() { QAbstractItemView::reset(); } +inline void py_q_resizeEvent(QResizeEvent* event) { QAbstractItemView::resizeEvent(event); } +inline void py_q_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsAboutToBeRemoved(parent, start, end); } +inline void py_q_rowsInserted(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsInserted(parent, start, end); } +inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { this->scrollTo(index, hint); } +inline void py_q_selectAll() { QAbstractItemView::selectAll(); } +inline QList py_q_selectedIndexes() const { return QAbstractItemView::selectedIndexes(); } +inline void py_q_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QAbstractItemView::selectionChanged(selected, deselected); } +inline QItemSelectionModel::SelectionFlags py_q_selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const { return QAbstractItemView::selectionCommand(index, event); } +inline void py_q_setModel(QAbstractItemModel* model) { QAbstractItemView::setModel(model); } +inline void py_q_setRootIndex(const QModelIndex& index) { QAbstractItemView::setRootIndex(index); } +inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QAbstractItemView::setSelectionModel(selectionModel); } +inline int py_q_sizeHintForColumn(int column) const { return QAbstractItemView::sizeHintForColumn(column); } +inline int py_q_sizeHintForRow(int row) const { return QAbstractItemView::sizeHintForRow(row); } +inline void py_q_startDrag(Qt::DropActions supportedActions) { QAbstractItemView::startDrag(supportedActions); } +inline void py_q_timerEvent(QTimerEvent* event) { QAbstractItemView::timerEvent(event); } +inline void py_q_updateEditorData() { QAbstractItemView::updateEditorData(); } +inline void py_q_updateEditorGeometries() { QAbstractItemView::updateEditorGeometries(); } +inline void py_q_updateGeometries() { QAbstractItemView::updateGeometries(); } +inline int py_q_verticalOffset() const { return this->verticalOffset(); } +inline void py_q_verticalScrollbarAction(int action) { QAbstractItemView::verticalScrollbarAction(action); } +inline void py_q_verticalScrollbarValueChanged(int value) { QAbstractItemView::verticalScrollbarValueChanged(value); } +inline QStyleOptionViewItem py_q_viewOptions() const { return QAbstractItemView::viewOptions(); } +inline bool py_q_viewportEvent(QEvent* event) { return QAbstractItemView::viewportEvent(event); } +inline QSize py_q_viewportSizeHint() const { return QAbstractItemView::viewportSizeHint(); } +inline QRect py_q_visualRect(const QModelIndex& index) const { return this->visualRect(index); } +inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QAbstractItemView : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CursorAction DropIndicatorPosition EditTrigger State ) +Q_FLAGS(EditTriggers ) +enum CursorAction{ + MoveUp = PythonQtPublicPromoter_QAbstractItemView::MoveUp, MoveDown = PythonQtPublicPromoter_QAbstractItemView::MoveDown, MoveLeft = PythonQtPublicPromoter_QAbstractItemView::MoveLeft, MoveRight = PythonQtPublicPromoter_QAbstractItemView::MoveRight, MoveHome = PythonQtPublicPromoter_QAbstractItemView::MoveHome, MoveEnd = PythonQtPublicPromoter_QAbstractItemView::MoveEnd, MovePageUp = PythonQtPublicPromoter_QAbstractItemView::MovePageUp, MovePageDown = PythonQtPublicPromoter_QAbstractItemView::MovePageDown, MoveNext = PythonQtPublicPromoter_QAbstractItemView::MoveNext, MovePrevious = PythonQtPublicPromoter_QAbstractItemView::MovePrevious}; +enum DropIndicatorPosition{ + OnItem = PythonQtPublicPromoter_QAbstractItemView::OnItem, AboveItem = PythonQtPublicPromoter_QAbstractItemView::AboveItem, BelowItem = PythonQtPublicPromoter_QAbstractItemView::BelowItem, OnViewport = PythonQtPublicPromoter_QAbstractItemView::OnViewport}; +enum EditTrigger{ + NoEditTriggers = QAbstractItemView::NoEditTriggers, CurrentChanged = QAbstractItemView::CurrentChanged, DoubleClicked = QAbstractItemView::DoubleClicked, SelectedClicked = QAbstractItemView::SelectedClicked, EditKeyPressed = QAbstractItemView::EditKeyPressed, AnyKeyPressed = QAbstractItemView::AnyKeyPressed, AllEditTriggers = QAbstractItemView::AllEditTriggers}; +enum State{ + NoState = PythonQtPublicPromoter_QAbstractItemView::NoState, DraggingState = PythonQtPublicPromoter_QAbstractItemView::DraggingState, DragSelectingState = PythonQtPublicPromoter_QAbstractItemView::DragSelectingState, EditingState = PythonQtPublicPromoter_QAbstractItemView::EditingState, ExpandingState = PythonQtPublicPromoter_QAbstractItemView::ExpandingState, CollapsingState = PythonQtPublicPromoter_QAbstractItemView::CollapsingState, AnimatingState = PythonQtPublicPromoter_QAbstractItemView::AnimatingState}; +Q_DECLARE_FLAGS(EditTriggers, EditTrigger) +public slots: +QAbstractItemView* new_QAbstractItemView(QWidget* parent = nullptr); +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));} + void closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index); + void py_q_commitData(QAbstractItemView* theWrappedObject, QWidget* editor){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_commitData(editor));} + void py_q_currentChanged(QAbstractItemView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_currentChanged(current, previous));} + QModelIndex currentIndex(QAbstractItemView* theWrappedObject) const; + void py_q_dataChanged(QAbstractItemView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_dataChanged(topLeft, bottomRight, roles));} + Qt::DropAction defaultDropAction(QAbstractItemView* theWrappedObject) const; + QPoint dirtyRegionOffset(QAbstractItemView* theWrappedObject) const; + void doAutoScroll(QAbstractItemView* theWrappedObject); + void py_q_doItemsLayout(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_doItemsLayout());} + QAbstractItemView::DragDropMode dragDropMode(QAbstractItemView* theWrappedObject) const; + bool dragDropOverwriteMode(QAbstractItemView* theWrappedObject) const; + bool dragEnabled(QAbstractItemView* theWrappedObject) const; + void py_q_dragEnterEvent(QAbstractItemView* theWrappedObject, QDragEnterEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_dragEnterEvent(event));} + void py_q_dragLeaveEvent(QAbstractItemView* theWrappedObject, QDragLeaveEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_dragLeaveEvent(event));} + void py_q_dragMoveEvent(QAbstractItemView* theWrappedObject, QDragMoveEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_dragMoveEvent(event));} + void py_q_dropEvent(QAbstractItemView* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_dropEvent(event));} + int dropIndicatorPosition(QAbstractItemView* theWrappedObject) const; + bool edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); + bool py_q_edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_edit(index, trigger, event));} + QAbstractItemView::EditTriggers editTriggers(QAbstractItemView* theWrappedObject) const; + void py_q_editorDestroyed(QAbstractItemView* theWrappedObject, QObject* editor){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_editorDestroyed(editor));} + bool py_q_event(QAbstractItemView* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QAbstractItemView* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_eventFilter(object, event));} + void executeDelayedItemsLayout(QAbstractItemView* theWrappedObject); + void py_q_focusInEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_focusInEvent(event));} + bool py_q_focusNextPrevChild(QAbstractItemView* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_focusOutEvent(event));} + bool hasAutoScroll(QAbstractItemView* theWrappedObject) const; + int horizontalOffset(QAbstractItemView* theWrappedObject) const; + int py_q_horizontalOffset(QAbstractItemView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_horizontalOffset());} + QAbstractItemView::ScrollMode horizontalScrollMode(QAbstractItemView* theWrappedObject) const; + void py_q_horizontalScrollbarAction(QAbstractItemView* theWrappedObject, int action){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_horizontalScrollbarAction(action));} + void py_q_horizontalScrollbarValueChanged(QAbstractItemView* theWrappedObject, int value){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_horizontalScrollbarValueChanged(value));} + QSize iconSize(QAbstractItemView* theWrappedObject) const; + QModelIndex indexAt(QAbstractItemView* theWrappedObject, const QPoint& point) const; + QModelIndex py_q_indexAt(QAbstractItemView* theWrappedObject, const QPoint& point) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_indexAt(point));} + QWidget* indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + void py_q_inputMethodEvent(QAbstractItemView* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_inputMethodEvent(event));} + QVariant py_q_inputMethodQuery(QAbstractItemView* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_inputMethodQuery(query));} + bool isIndexHidden(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + bool py_q_isIndexHidden(QAbstractItemView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_isIndexHidden(index));} + bool isPersistentEditorOpen(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject) const; + QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + QAbstractItemDelegate* itemDelegateForColumn(QAbstractItemView* theWrappedObject, int column) const; + QAbstractItemDelegate* itemDelegateForRow(QAbstractItemView* theWrappedObject, int row) const; + void py_q_keyPressEvent(QAbstractItemView* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_keyPressEvent(event));} + void keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search); + void py_q_keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_keyboardSearch(search));} + QAbstractItemModel* model(QAbstractItemView* theWrappedObject) const; + void py_q_mouseDoubleClickEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void py_q_mouseMoveEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + QModelIndex moveCursor(QAbstractItemView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers); + QModelIndex py_q_moveCursor(QAbstractItemView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers){ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_moveCursor(cursorAction, modifiers));} + void openPersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index); + void py_q_reset(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_reset());} + void resetHorizontalScrollMode(QAbstractItemView* theWrappedObject); + void resetVerticalScrollMode(QAbstractItemView* theWrappedObject); + void py_q_resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_resizeEvent(event));} + QModelIndex rootIndex(QAbstractItemView* theWrappedObject) const; + void py_q_rowsAboutToBeRemoved(QAbstractItemView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_rowsAboutToBeRemoved(parent, start, end));} + void py_q_rowsInserted(QAbstractItemView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_rowsInserted(parent, start, end));} + void scheduleDelayedItemsLayout(QAbstractItemView* theWrappedObject); + void scrollDirtyRegion(QAbstractItemView* theWrappedObject, int dx, int dy); + void scrollTo(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + void py_q_scrollTo(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_scrollTo(index, hint));} + void py_q_selectAll(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_selectAll());} + QList selectedIndexes(QAbstractItemView* theWrappedObject) const; + QList py_q_selectedIndexes(QAbstractItemView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_selectedIndexes());} + QAbstractItemView::SelectionBehavior selectionBehavior(QAbstractItemView* theWrappedObject) const; + void py_q_selectionChanged(QAbstractItemView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_selectionChanged(selected, deselected));} + QItemSelectionModel::SelectionFlags selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event = nullptr) const; + QItemSelectionModel::SelectionFlags py_q_selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event = nullptr) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_selectionCommand(index, event));} + QAbstractItemView::SelectionMode selectionMode(QAbstractItemView* theWrappedObject) const; + QItemSelectionModel* selectionModel(QAbstractItemView* theWrappedObject) const; + void setAlternatingRowColors(QAbstractItemView* theWrappedObject, bool enable); + void setAutoScroll(QAbstractItemView* theWrappedObject, bool enable); + void setAutoScrollMargin(QAbstractItemView* theWrappedObject, int margin); + void setDefaultDropAction(QAbstractItemView* theWrappedObject, Qt::DropAction dropAction); + void setDirtyRegion(QAbstractItemView* theWrappedObject, const QRegion& region); + void setDragDropMode(QAbstractItemView* theWrappedObject, QAbstractItemView::DragDropMode behavior); + void setDragDropOverwriteMode(QAbstractItemView* theWrappedObject, bool overwrite); + void setDragEnabled(QAbstractItemView* theWrappedObject, bool enable); + void setDropIndicatorShown(QAbstractItemView* theWrappedObject, bool enable); + void setEditTriggers(QAbstractItemView* theWrappedObject, QAbstractItemView::EditTriggers triggers); + void setHorizontalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode); + void setIconSize(QAbstractItemView* theWrappedObject, const QSize& size); + void setIndexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index, PythonQtPassOwnershipToCPP widget); + void setItemDelegate(QAbstractItemView* theWrappedObject, QAbstractItemDelegate* delegate); + void setItemDelegateForColumn(QAbstractItemView* theWrappedObject, int column, QAbstractItemDelegate* delegate); + void setItemDelegateForRow(QAbstractItemView* theWrappedObject, int row, QAbstractItemDelegate* delegate); + void setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model); + void py_q_setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_setModel(model));} + void py_q_setRootIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_setRootIndex(index));} + void setSelection(QAbstractItemView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); + void py_q_setSelection(QAbstractItemView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_setSelection(rect, command));} + void setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior); + void setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode); + void setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel); + void py_q_setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + void setState(QAbstractItemView* theWrappedObject, int state); + void setTabKeyNavigation(QAbstractItemView* theWrappedObject, bool enable); + void setTextElideMode(QAbstractItemView* theWrappedObject, Qt::TextElideMode mode); + void setVerticalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode); + bool showDropIndicator(QAbstractItemView* theWrappedObject) const; + int sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const; + int py_q_sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_sizeHintForColumn(column));} + QSize sizeHintForIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + int sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const; + int py_q_sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_sizeHintForRow(row));} + void startAutoScroll(QAbstractItemView* theWrappedObject); + void startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions); + void py_q_startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_startDrag(supportedActions));} + int state(QAbstractItemView* theWrappedObject) const; + void stopAutoScroll(QAbstractItemView* theWrappedObject); + bool tabKeyNavigation(QAbstractItemView* theWrappedObject) const; + Qt::TextElideMode textElideMode(QAbstractItemView* theWrappedObject) const; + void py_q_timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_timerEvent(event));} + void py_q_updateEditorData(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_updateEditorData());} + void py_q_updateEditorGeometries(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_updateEditorGeometries());} + void py_q_updateGeometries(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_updateGeometries());} + int verticalOffset(QAbstractItemView* theWrappedObject) const; + int py_q_verticalOffset(QAbstractItemView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_verticalOffset());} + QAbstractItemView::ScrollMode verticalScrollMode(QAbstractItemView* theWrappedObject) const; + void py_q_verticalScrollbarAction(QAbstractItemView* theWrappedObject, int action){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_verticalScrollbarAction(action));} + void py_q_verticalScrollbarValueChanged(QAbstractItemView* theWrappedObject, int value){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_verticalScrollbarValueChanged(value));} + QStyleOptionViewItem viewOptions(QAbstractItemView* theWrappedObject) const; + QStyleOptionViewItem py_q_viewOptions(QAbstractItemView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_viewOptions());} + bool py_q_viewportEvent(QAbstractItemView* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_viewportEvent(event));} + QSize py_q_viewportSizeHint(QAbstractItemView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_viewportSizeHint());} + QRect visualRect(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; + QRect py_q_visualRect(QAbstractItemView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_visualRect(index));} + QRegion visualRegionForSelection(QAbstractItemView* theWrappedObject, const QItemSelection& selection) const; + QRegion py_q_visualRegionForSelection(QAbstractItemView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} +}; + + + + + +class PythonQtShell_QAbstractPrintDialog : public QAbstractPrintDialog +{ +public: + 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 PythonQtWrapper_QAbstractPrintDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PrintDialogOption PrintRange ) +Q_FLAGS(PrintDialogOptions ) +enum PrintDialogOption{ + None = QAbstractPrintDialog::None, PrintToFile = QAbstractPrintDialog::PrintToFile, PrintSelection = QAbstractPrintDialog::PrintSelection, PrintPageRange = QAbstractPrintDialog::PrintPageRange, PrintShowPageSize = QAbstractPrintDialog::PrintShowPageSize, PrintCollateCopies = QAbstractPrintDialog::PrintCollateCopies, DontUseSheet = QAbstractPrintDialog::DontUseSheet, PrintCurrentPage = QAbstractPrintDialog::PrintCurrentPage}; +enum PrintRange{ + AllPages = QAbstractPrintDialog::AllPages, Selection = QAbstractPrintDialog::Selection, PageRange = QAbstractPrintDialog::PageRange, CurrentPage = QAbstractPrintDialog::CurrentPage}; +Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption) +public slots: +QAbstractPrintDialog* new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr); +void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } + void addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option); + QAbstractPrintDialog::PrintDialogOptions enabledOptions(QAbstractPrintDialog* theWrappedObject) const; + int fromPage(QAbstractPrintDialog* theWrappedObject) const; + bool isOptionEnabled(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; + int maxPage(QAbstractPrintDialog* theWrappedObject) const; + int minPage(QAbstractPrintDialog* theWrappedObject) const; + QAbstractPrintDialog::PrintRange printRange(QAbstractPrintDialog* theWrappedObject) const; + QPrinter* printer(QAbstractPrintDialog* theWrappedObject) const; + void setEnabledOptions(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); + void setFromTo(QAbstractPrintDialog* theWrappedObject, int fromPage, int toPage); + void setMinMax(QAbstractPrintDialog* theWrappedObject, int min, int max); + void setOptionTabs(QAbstractPrintDialog* theWrappedObject, const QList& tabs); + void setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range); + int toPage(QAbstractPrintDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAbstractProxyModel : public QAbstractProxyModel +{ +public: + 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 +{ public: +inline void promoted_resetInternalData() { this->resetInternalData(); } +inline QModelIndex py_q_buddy(const QModelIndex& index) const { return QAbstractProxyModel::buddy(index); } +inline bool py_q_canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const { return QAbstractProxyModel::canDropMimeData(data, action, row, column, parent); } +inline bool py_q_canFetchMore(const QModelIndex& parent) const { return QAbstractProxyModel::canFetchMore(parent); } +inline QVariant py_q_data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const { return QAbstractProxyModel::data(proxyIndex, role); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractProxyModel::dropMimeData(data, action, row, column, parent); } +inline void py_q_fetchMore(const QModelIndex& parent) { QAbstractProxyModel::fetchMore(parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QAbstractProxyModel::flags(index); } +inline bool py_q_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QAbstractProxyModel::hasChildren(parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QAbstractProxyModel::headerData(section, orientation, role); } +inline QMap py_q_itemData(const QModelIndex& index) const { return QAbstractProxyModel::itemData(index); } +inline QModelIndex py_q_mapFromSource(const QModelIndex& sourceIndex) const { return this->mapFromSource(sourceIndex); } +inline QItemSelection py_q_mapSelectionFromSource(const QItemSelection& selection) const { return QAbstractProxyModel::mapSelectionFromSource(selection); } +inline QItemSelection py_q_mapSelectionToSource(const QItemSelection& selection) const { return QAbstractProxyModel::mapSelectionToSource(selection); } +inline QModelIndex py_q_mapToSource(const QModelIndex& proxyIndex) const { return this->mapToSource(proxyIndex); } +inline QMimeData* py_q_mimeData(const QList& indexes) const { return QAbstractProxyModel::mimeData(indexes); } +inline QStringList py_q_mimeTypes() const { return QAbstractProxyModel::mimeTypes(); } +inline void py_q_revert() { QAbstractProxyModel::revert(); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QAbstractProxyModel::setData(index, value, role); } +inline bool py_q_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QAbstractProxyModel::setHeaderData(section, orientation, value, role); } +inline bool py_q_setItemData(const QModelIndex& index, const QMap& roles) { return QAbstractProxyModel::setItemData(index, roles); } +inline void py_q_setSourceModel(QAbstractItemModel* sourceModel) { QAbstractProxyModel::setSourceModel(sourceModel); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QAbstractProxyModel::sibling(row, column, idx); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QAbstractProxyModel::sort(column, order); } +inline QSize py_q_span(const QModelIndex& index) const { return QAbstractProxyModel::span(index); } +inline bool py_q_submit() { return QAbstractProxyModel::submit(); } +inline Qt::DropActions py_q_supportedDragActions() const { return QAbstractProxyModel::supportedDragActions(); } +inline Qt::DropActions py_q_supportedDropActions() const { return QAbstractProxyModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QAbstractProxyModel : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractProxyModel* new_QAbstractProxyModel(QObject* parent = nullptr); +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));} + QVariant py_q_data(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_data(proxyIndex, role));} + bool py_q_dropMimeData(QAbstractProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} + void py_q_fetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent){ (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_fetchMore(parent));} + Qt::ItemFlags py_q_flags(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_flags(index));} + bool py_q_hasChildren(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_hasChildren(parent));} + QVariant py_q_headerData(QAbstractProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QMap py_q_itemData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_itemData(index));} + QModelIndex mapFromSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const; + QModelIndex py_q_mapFromSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_mapFromSource(sourceIndex));} + QItemSelection mapSelectionFromSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const; + QItemSelection py_q_mapSelectionFromSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_mapSelectionFromSource(selection));} + QItemSelection mapSelectionToSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const; + QItemSelection py_q_mapSelectionToSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_mapSelectionToSource(selection));} + QModelIndex mapToSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const; + QModelIndex py_q_mapToSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_mapToSource(proxyIndex));} + QMimeData* py_q_mimeData(QAbstractProxyModel* theWrappedObject, const QList& indexes) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_mimeData(indexes));} + QStringList py_q_mimeTypes(QAbstractProxyModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_mimeTypes());} + void py_q_revert(QAbstractProxyModel* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_revert());} + bool py_q_setData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_setData(index, value, role));} + bool py_q_setHeaderData(QAbstractProxyModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_setHeaderData(section, orientation, value, role));} + bool py_q_setItemData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index, const QMap& roles){ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_setItemData(index, roles));} + void setSourceModel(QAbstractProxyModel* theWrappedObject, QAbstractItemModel* sourceModel); + void py_q_setSourceModel(QAbstractProxyModel* theWrappedObject, QAbstractItemModel* sourceModel){ (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_setSourceModel(sourceModel));} + QModelIndex py_q_sibling(QAbstractProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_sibling(row, column, idx));} + void py_q_sort(QAbstractProxyModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_sort(column, order));} + QAbstractItemModel* sourceModel(QAbstractProxyModel* theWrappedObject) const; + QSize py_q_span(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_span(index));} + bool py_q_submit(QAbstractProxyModel* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_submit());} + Qt::DropActions py_q_supportedDragActions(QAbstractProxyModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_supportedDragActions());} + Qt::DropActions py_q_supportedDropActions(QAbstractProxyModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_supportedDropActions());} +}; + + + + + +class PythonQtShell_QAbstractScrollArea : public QAbstractScrollArea +{ +public: + 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 +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { this->dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { this->dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { this->dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_setViewportMargins(const QMargins& margins) { this->setViewportMargins(margins); } +inline void promoted_setViewportMargins(int left, int top, int right, int bottom) { this->setViewportMargins(left, top, right, bottom); } +inline bool promoted_viewportEvent(QEvent* arg__1) { return this->viewportEvent(arg__1); } +inline QMargins promoted_viewportMargins() const { return this->viewportMargins(); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QAbstractScrollArea::contextMenuEvent(arg__1); } +inline void py_q_dragEnterEvent(QDragEnterEvent* arg__1) { QAbstractScrollArea::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* arg__1) { QAbstractScrollArea::dragLeaveEvent(arg__1); } +inline void py_q_dragMoveEvent(QDragMoveEvent* arg__1) { QAbstractScrollArea::dragMoveEvent(arg__1); } +inline void py_q_dropEvent(QDropEvent* arg__1) { QAbstractScrollArea::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QAbstractScrollArea::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QAbstractScrollArea::eventFilter(arg__1, arg__2); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QAbstractScrollArea::keyPressEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QAbstractScrollArea::minimumSizeHint(); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QAbstractScrollArea::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QAbstractScrollArea::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QAbstractScrollArea::resizeEvent(arg__1); } +inline void py_q_scrollContentsBy(int dx, int dy) { QAbstractScrollArea::scrollContentsBy(dx, dy); } +inline void py_q_setupViewport(QWidget* viewport) { QAbstractScrollArea::setupViewport(viewport); } +inline QSize py_q_sizeHint() const { return QAbstractScrollArea::sizeHint(); } +inline bool py_q_viewportEvent(QEvent* arg__1) { return QAbstractScrollArea::viewportEvent(arg__1); } +inline QSize py_q_viewportSizeHint() const { return QAbstractScrollArea::viewportSizeHint(); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QAbstractScrollArea::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QAbstractScrollArea : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractScrollArea* new_QAbstractScrollArea(QWidget* parent = nullptr); +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; + void py_q_dragEnterEvent(QAbstractScrollArea* theWrappedObject, QDragEnterEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} + void py_q_dragLeaveEvent(QAbstractScrollArea* theWrappedObject, QDragLeaveEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_dragLeaveEvent(arg__1));} + void py_q_dragMoveEvent(QAbstractScrollArea* theWrappedObject, QDragMoveEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} + void py_q_dropEvent(QAbstractScrollArea* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_dropEvent(arg__1));} + bool py_q_event(QAbstractScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + QScrollBar* horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const; + Qt::ScrollBarPolicy horizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const; + void py_q_keyPressEvent(QAbstractScrollArea* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + QSize maximumViewportSize(QAbstractScrollArea* theWrappedObject) const; + QSize minimumSizeHint(QAbstractScrollArea* theWrappedObject) const; + QSize py_q_minimumSizeHint(QAbstractScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseDoubleClickEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + void py_q_mouseMoveEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QAbstractScrollArea* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QAbstractScrollArea* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_paintEvent(arg__1));} + void py_q_resizeEvent(QAbstractScrollArea* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QList scrollBarWidgets(QAbstractScrollArea* theWrappedObject, Qt::Alignment alignment); + void scrollContentsBy(QAbstractScrollArea* theWrappedObject, int dx, int dy); + void py_q_scrollContentsBy(QAbstractScrollArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setCornerWidget(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar); + void setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); + void setSizeAdjustPolicy(QAbstractScrollArea* theWrappedObject, QAbstractScrollArea::SizeAdjustPolicy policy); + void setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar); + void setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); + void setViewport(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void setViewportMargins(QAbstractScrollArea* theWrappedObject, const QMargins& margins); + void setViewportMargins(QAbstractScrollArea* theWrappedObject, int left, int top, int right, int bottom); + void setupViewport(QAbstractScrollArea* theWrappedObject, QWidget* viewport); + void py_q_setupViewport(QAbstractScrollArea* theWrappedObject, QWidget* viewport){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_setupViewport(viewport));} + QAbstractScrollArea::SizeAdjustPolicy sizeAdjustPolicy(QAbstractScrollArea* theWrappedObject) const; + QSize py_q_sizeHint(QAbstractScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_sizeHint());} + QScrollBar* verticalScrollBar(QAbstractScrollArea* theWrappedObject) const; + Qt::ScrollBarPolicy verticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const; + QWidget* viewport(QAbstractScrollArea* theWrappedObject) const; + bool viewportEvent(QAbstractScrollArea* theWrappedObject, QEvent* arg__1); + bool py_q_viewportEvent(QAbstractScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_viewportEvent(arg__1));} + QMargins viewportMargins(QAbstractScrollArea* theWrappedObject) const; + QSize viewportSizeHint(QAbstractScrollArea* theWrappedObject) const; + QSize py_q_viewportSizeHint(QAbstractScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_viewportSizeHint());} + void py_q_wheelEvent(QAbstractScrollArea* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_wheelEvent(arg__1));} +}; + + + + + +class PythonQtShell_QAbstractSlider : public QAbstractSlider +{ +public: + 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 +{ public: +enum SliderChange{ + SliderRangeChange = QAbstractSlider::SliderRangeChange, SliderOrientationChange = QAbstractSlider::SliderOrientationChange, SliderStepsChange = QAbstractSlider::SliderStepsChange, SliderValueChange = QAbstractSlider::SliderValueChange}; +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_keyPressEvent(QKeyEvent* ev) { this->keyPressEvent(ev); } +inline QAbstractSlider::SliderAction promoted_repeatAction() const { return this->repeatAction(); } +inline void promoted_setRepeatAction(QAbstractSlider::SliderAction action, int thresholdTime = 500, int repeatTime = 50) { this->setRepeatAction(action, thresholdTime, repeatTime); } +inline void promoted_sliderChange(int change) { this->sliderChange((QAbstractSlider::SliderChange)change); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void py_q_changeEvent(QEvent* e) { QAbstractSlider::changeEvent(e); } +inline bool py_q_event(QEvent* e) { return QAbstractSlider::event(e); } +inline void py_q_keyPressEvent(QKeyEvent* ev) { QAbstractSlider::keyPressEvent(ev); } +inline void py_q_sliderChange(int change) { QAbstractSlider::sliderChange((QAbstractSlider::SliderChange)change); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QAbstractSlider::timerEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* e) { QAbstractSlider::wheelEvent(e); } +}; + +class PythonQtWrapper_QAbstractSlider : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SliderAction SliderChange ) +enum SliderAction{ + SliderNoAction = QAbstractSlider::SliderNoAction, SliderSingleStepAdd = QAbstractSlider::SliderSingleStepAdd, SliderSingleStepSub = QAbstractSlider::SliderSingleStepSub, SliderPageStepAdd = QAbstractSlider::SliderPageStepAdd, SliderPageStepSub = QAbstractSlider::SliderPageStepSub, SliderToMinimum = QAbstractSlider::SliderToMinimum, SliderToMaximum = QAbstractSlider::SliderToMaximum, SliderMove = QAbstractSlider::SliderMove}; +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 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; + bool invertedAppearance(QAbstractSlider* theWrappedObject) const; + bool invertedControls(QAbstractSlider* theWrappedObject) const; + bool isSliderDown(QAbstractSlider* theWrappedObject) const; + void py_q_keyPressEvent(QAbstractSlider* theWrappedObject, QKeyEvent* ev){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_keyPressEvent(ev));} + int maximum(QAbstractSlider* theWrappedObject) const; + int minimum(QAbstractSlider* theWrappedObject) const; + Qt::Orientation orientation(QAbstractSlider* theWrappedObject) const; + int pageStep(QAbstractSlider* theWrappedObject) const; + QAbstractSlider::SliderAction repeatAction(QAbstractSlider* theWrappedObject) const; + void setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1); + void setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1); + void setMaximum(QAbstractSlider* theWrappedObject, int arg__1); + void setMinimum(QAbstractSlider* theWrappedObject, int arg__1); + void setPageStep(QAbstractSlider* theWrappedObject, int arg__1); + void setRepeatAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action, int thresholdTime = 500, int repeatTime = 50); + void setSingleStep(QAbstractSlider* theWrappedObject, int arg__1); + void setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1); + void setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1); + void setTracking(QAbstractSlider* theWrappedObject, bool enable); + int singleStep(QAbstractSlider* theWrappedObject) const; + void sliderChange(QAbstractSlider* theWrappedObject, int change); + void py_q_sliderChange(QAbstractSlider* theWrappedObject, int change){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_sliderChange(change));} + int sliderPosition(QAbstractSlider* theWrappedObject) const; + void py_q_timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_timerEvent(arg__1));} + void triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action); + int value(QAbstractSlider* theWrappedObject) const; + void py_q_wheelEvent(QAbstractSlider* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_wheelEvent(e));} +}; + + + + + +class PythonQtShell_QAbstractSpinBox : public QAbstractSpinBox +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } +inline void promoted_initStyleOption(QStyleOptionSpinBox* option) const { this->initStyleOption(option); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline QLineEdit* promoted_lineEdit() const { return this->lineEdit(); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_setLineEdit(QLineEdit* edit) { this->setLineEdit(edit); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline QAbstractSpinBox::StepEnabled promoted_stepEnabled() const { return this->stepEnabled(); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void promoted_wheelEvent(QWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QAbstractSpinBox::changeEvent(event); } +inline void py_q_clear() { QAbstractSpinBox::clear(); } +inline void py_q_closeEvent(QCloseEvent* event) { QAbstractSpinBox::closeEvent(event); } +inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QAbstractSpinBox::contextMenuEvent(event); } +inline bool py_q_event(QEvent* event) { return QAbstractSpinBox::event(event); } +inline void py_q_fixup(QString& input) const { QAbstractSpinBox::fixup(input); } +inline void py_q_focusInEvent(QFocusEvent* event) { QAbstractSpinBox::focusInEvent(event); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QAbstractSpinBox::focusOutEvent(event); } +inline void py_q_hideEvent(QHideEvent* event) { QAbstractSpinBox::hideEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QAbstractSpinBox::inputMethodQuery(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QAbstractSpinBox::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QAbstractSpinBox::keyReleaseEvent(event); } +inline QSize py_q_minimumSizeHint() const { return QAbstractSpinBox::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QAbstractSpinBox::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QAbstractSpinBox::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QAbstractSpinBox::mouseReleaseEvent(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QAbstractSpinBox::paintEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QAbstractSpinBox::resizeEvent(event); } +inline void py_q_showEvent(QShowEvent* event) { QAbstractSpinBox::showEvent(event); } +inline QSize py_q_sizeHint() const { return QAbstractSpinBox::sizeHint(); } +inline void py_q_stepBy(int steps) { QAbstractSpinBox::stepBy(steps); } +inline QAbstractSpinBox::StepEnabled py_q_stepEnabled() const { return QAbstractSpinBox::stepEnabled(); } +inline void py_q_timerEvent(QTimerEvent* event) { QAbstractSpinBox::timerEvent(event); } +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QAbstractSpinBox::validate(input, pos); } +inline void py_q_wheelEvent(QWheelEvent* event) { QAbstractSpinBox::wheelEvent(event); } +}; + +class PythonQtWrapper_QAbstractSpinBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StepEnabledFlag ) +Q_FLAGS(StepEnabled ) +enum StepEnabledFlag{ + StepNone = QAbstractSpinBox::StepNone, StepUpEnabled = QAbstractSpinBox::StepUpEnabled, StepDownEnabled = QAbstractSpinBox::StepDownEnabled}; +Q_DECLARE_FLAGS(StepEnabled, StepEnabledFlag) +public slots: +QAbstractSpinBox* new_QAbstractSpinBox(QWidget* parent = nullptr); +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));} + void py_q_clear(QAbstractSpinBox* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_clear());} + void py_q_closeEvent(QAbstractSpinBox* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_closeEvent(event));} + void py_q_contextMenuEvent(QAbstractSpinBox* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_contextMenuEvent(event));} + QAbstractSpinBox::CorrectionMode correctionMode(QAbstractSpinBox* theWrappedObject) const; + bool py_q_event(QAbstractSpinBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_event(event));} + void fixup(QAbstractSpinBox* theWrappedObject, QString& input) const; + void py_q_fixup(QAbstractSpinBox* theWrappedObject, QString& input) const{ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_fixup(input));} + void py_q_focusInEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_focusInEvent(event));} + void py_q_focusOutEvent(QAbstractSpinBox* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_focusOutEvent(event));} + bool hasAcceptableInput(QAbstractSpinBox* theWrappedObject) const; + bool hasFrame(QAbstractSpinBox* theWrappedObject) const; + void py_q_hideEvent(QAbstractSpinBox* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_hideEvent(event));} + void initStyleOption(QAbstractSpinBox* theWrappedObject, QStyleOptionSpinBox* option) const; + QVariant py_q_inputMethodQuery(QAbstractSpinBox* theWrappedObject, Qt::InputMethodQuery arg__1) const{ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_inputMethodQuery(arg__1));} + void interpretText(QAbstractSpinBox* theWrappedObject); + bool isAccelerated(QAbstractSpinBox* theWrappedObject) const; + bool isGroupSeparatorShown(QAbstractSpinBox* theWrappedObject) const; + bool isReadOnly(QAbstractSpinBox* theWrappedObject) const; + void py_q_keyPressEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_keyPressEvent(event));} + void py_q_keyReleaseEvent(QAbstractSpinBox* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_keyReleaseEvent(event));} + bool keyboardTracking(QAbstractSpinBox* theWrappedObject) const; + QLineEdit* lineEdit(QAbstractSpinBox* theWrappedObject) const; + QSize minimumSizeHint(QAbstractSpinBox* theWrappedObject) const; + QSize py_q_minimumSizeHint(QAbstractSpinBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QAbstractSpinBox* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + void py_q_paintEvent(QAbstractSpinBox* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_paintEvent(event));} + void py_q_resizeEvent(QAbstractSpinBox* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_resizeEvent(event));} + void setAccelerated(QAbstractSpinBox* theWrappedObject, bool on); + void setAlignment(QAbstractSpinBox* theWrappedObject, Qt::Alignment flag); + void setButtonSymbols(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols bs); + void setCorrectionMode(QAbstractSpinBox* theWrappedObject, QAbstractSpinBox::CorrectionMode cm); + void setFrame(QAbstractSpinBox* theWrappedObject, bool arg__1); + void setGroupSeparatorShown(QAbstractSpinBox* theWrappedObject, bool shown); + void setKeyboardTracking(QAbstractSpinBox* theWrappedObject, bool kt); + void setLineEdit(QAbstractSpinBox* theWrappedObject, QLineEdit* edit); + void setReadOnly(QAbstractSpinBox* theWrappedObject, bool r); + void setSpecialValueText(QAbstractSpinBox* theWrappedObject, const QString& txt); + void setWrapping(QAbstractSpinBox* theWrappedObject, bool w); + void py_q_showEvent(QAbstractSpinBox* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_showEvent(event));} + QSize sizeHint(QAbstractSpinBox* theWrappedObject) const; + QSize py_q_sizeHint(QAbstractSpinBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_sizeHint());} + QString specialValueText(QAbstractSpinBox* theWrappedObject) const; + void stepBy(QAbstractSpinBox* theWrappedObject, int steps); + void py_q_stepBy(QAbstractSpinBox* theWrappedObject, int steps){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_stepBy(steps));} + QAbstractSpinBox::StepEnabled stepEnabled(QAbstractSpinBox* theWrappedObject) const; + QAbstractSpinBox::StepEnabled py_q_stepEnabled(QAbstractSpinBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_stepEnabled());} + QString text(QAbstractSpinBox* theWrappedObject) const; + void py_q_timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_timerEvent(event));} + QValidator::State validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const; + QValidator::State py_q_validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_validate(input, pos));} + void py_q_wheelEvent(QAbstractSpinBox* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_wheelEvent(event));} + bool wrapping(QAbstractSpinBox* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAbstractTableModel : public QAbstractTableModel +{ +public: + 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 +{ public: +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractTableModel::dropMimeData(data, action, row, column, parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QAbstractTableModel::flags(index); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QAbstractTableModel::index(row, column, parent); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QAbstractTableModel::sibling(row, column, idx); } +}; + +class PythonQtWrapper_QAbstractTableModel : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractTableModel* new_QAbstractTableModel(QObject* parent = nullptr); +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));} + QModelIndex py_q_sibling(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_sibling(row, column, idx));} +}; + + + + + +class PythonQtShell_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout +{ +public: + 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 +{ public: +inline void promoted_documentChanged(int from, int charsRemoved, int charsAdded) { this->documentChanged(from, charsRemoved, charsAdded); } +inline void promoted_drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) { this->drawInlineObject(painter, rect, object, posInDocument, format); } +inline QTextCharFormat promoted_format(int pos) { return this->format(pos); } +inline int promoted_formatIndex(int pos) { return this->formatIndex(pos); } +inline void promoted_positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) { this->positionInlineObject(item, posInDocument, format); } +inline void promoted_resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) { this->resizeInlineObject(item, posInDocument, format); } +inline QRectF py_q_blockBoundingRect(const QTextBlock& block) const { return this->blockBoundingRect(block); } +inline void py_q_documentChanged(int from, int charsRemoved, int charsAdded) { this->documentChanged(from, charsRemoved, charsAdded); } +inline QSizeF py_q_documentSize() const { return this->documentSize(); } +inline void py_q_draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context) { this->draw(painter, context); } +inline void py_q_drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) { QAbstractTextDocumentLayout::drawInlineObject(painter, rect, object, posInDocument, format); } +inline QRectF py_q_frameBoundingRect(QTextFrame* frame) const { return this->frameBoundingRect(frame); } +inline int py_q_hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const { return this->hitTest(point, accuracy); } +inline int py_q_pageCount() const { return this->pageCount(); } +inline void py_q_positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) { QAbstractTextDocumentLayout::positionInlineObject(item, posInDocument, format); } +inline void py_q_resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) { QAbstractTextDocumentLayout::resizeInlineObject(item, posInDocument, format); } +}; + +class PythonQtWrapper_QAbstractTextDocumentLayout : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractTextDocumentLayout* new_QAbstractTextDocumentLayout(QTextDocument* doc); +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));} + QTextBlock blockWithMarkerAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const; + QTextDocument* document(QAbstractTextDocumentLayout* theWrappedObject) const; + void documentChanged(QAbstractTextDocumentLayout* theWrappedObject, int from, int charsRemoved, int charsAdded); + void py_q_documentChanged(QAbstractTextDocumentLayout* theWrappedObject, int from, int charsRemoved, int charsAdded){ (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_documentChanged(from, charsRemoved, charsAdded));} + QSizeF documentSize(QAbstractTextDocumentLayout* theWrappedObject) const; + QSizeF py_q_documentSize(QAbstractTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_documentSize());} + void draw(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context); + void py_q_draw(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context){ (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_draw(painter, context));} + void drawInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); + void py_q_drawInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format){ (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_drawInlineObject(painter, rect, object, posInDocument, format));} + QTextCharFormat format(QAbstractTextDocumentLayout* theWrappedObject, int pos); + QTextFormat formatAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const; + int formatIndex(QAbstractTextDocumentLayout* theWrappedObject, int pos); + QRectF frameBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, QTextFrame* frame) const; + QRectF py_q_frameBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, QTextFrame* frame) const{ return (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_frameBoundingRect(frame));} + int hitTest(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& point, Qt::HitTestAccuracy accuracy) const; + int py_q_hitTest(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& point, Qt::HitTestAccuracy accuracy) const{ return (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_hitTest(point, accuracy));} + QString imageAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const; + int pageCount(QAbstractTextDocumentLayout* theWrappedObject) const; + int py_q_pageCount(QAbstractTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_pageCount());} + QPaintDevice* paintDevice(QAbstractTextDocumentLayout* theWrappedObject) const; + void positionInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format); + void py_q_positionInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format){ (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_positionInlineObject(item, posInDocument, format));} + void registerHandler(QAbstractTextDocumentLayout* theWrappedObject, int objectType, QObject* component); + void resizeInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format); + void py_q_resizeInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format){ (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_resizeInlineObject(item, posInDocument, format));} + void setPaintDevice(QAbstractTextDocumentLayout* theWrappedObject, QPaintDevice* device); + void unregisterHandler(QAbstractTextDocumentLayout* theWrappedObject, int objectType, QObject* component = nullptr); +}; + + + + + +class PythonQtShell_QAbstractTextDocumentLayout__PaintContext : public QAbstractTextDocumentLayout::PaintContext +{ +public: + PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractTextDocumentLayout::PaintContext* new_QAbstractTextDocumentLayout__PaintContext(); +QAbstractTextDocumentLayout::PaintContext* new_QAbstractTextDocumentLayout__PaintContext(const QAbstractTextDocumentLayout::PaintContext& other) { +PythonQtShell_QAbstractTextDocumentLayout__PaintContext* a = new PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); +*((QAbstractTextDocumentLayout::PaintContext*)a) = other; +return a; } +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; } +int py_get_cursorPosition(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->cursorPosition; } +void py_set_palette(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } +QPalette py_get_palette(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->palette; } +}; + + + + + +class PythonQtShell_QAbstractTextDocumentLayout__Selection : public QAbstractTextDocumentLayout::Selection +{ +public: + PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTextDocumentLayout__Selection(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAbstractTextDocumentLayout__Selection : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractTextDocumentLayout::Selection* new_QAbstractTextDocumentLayout__Selection(); +QAbstractTextDocumentLayout::Selection* new_QAbstractTextDocumentLayout__Selection(const QAbstractTextDocumentLayout::Selection& other) { +PythonQtShell_QAbstractTextDocumentLayout__Selection* a = new PythonQtShell_QAbstractTextDocumentLayout__Selection(); +*((QAbstractTextDocumentLayout::Selection*)a) = other; +return a; } +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; } +QTextCharFormat py_get_format(QAbstractTextDocumentLayout::Selection* theWrappedObject){ return theWrappedObject->format; } +}; + + + + + +class PythonQtShell_QAccessibleEvent : public QAccessibleEvent +{ +public: + PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(nullptr) {}; + + ~PythonQtShell_QAccessibleEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAccessibleEvent : public QObject +{ Q_OBJECT +public: +public slots: +QAccessibleEvent* new_QAccessibleEvent(QObject* obj, QAccessible::Event typ); +void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } + int child(QAccessibleEvent* theWrappedObject) const; + QObject* object(QAccessibleEvent* theWrappedObject) const; + void setChild(QAccessibleEvent* theWrappedObject, int chld); + QAccessible::Event type(QAccessibleEvent* theWrappedObject) const; + QString py_toString(QAccessibleEvent*); +}; + + + + + +class PythonQtShell_QAction : public QAction +{ +public: + 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() 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 timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAction : public QAction +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QAction::event(arg__1); } +}; + +class PythonQtWrapper_QAction : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ActionEvent ) +enum ActionEvent{ + Trigger = QAction::Trigger, Hover = QAction::Hover}; +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; } + QActionGroup* actionGroup(QAction* theWrappedObject) const; + void activate(QAction* theWrappedObject, QAction::ActionEvent event); + QList associatedGraphicsWidgets(QAction* theWrappedObject) const; + QList associatedWidgets(QAction* theWrappedObject) const; + bool autoRepeat(QAction* theWrappedObject) const; + QVariant data(QAction* theWrappedObject) const; + bool py_q_event(QAction* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QAction*)theWrappedObject)->py_q_event(arg__1));} + QFont font(QAction* theWrappedObject) const; + QIcon icon(QAction* theWrappedObject) const; + QString iconText(QAction* theWrappedObject) const; + bool isCheckable(QAction* theWrappedObject) const; + bool isChecked(QAction* theWrappedObject) const; + bool isEnabled(QAction* theWrappedObject) const; + bool isIconVisibleInMenu(QAction* theWrappedObject) const; + bool isSeparator(QAction* theWrappedObject) const; + bool isShortcutVisibleInContextMenu(QAction* theWrappedObject) const; + bool isVisible(QAction* theWrappedObject) const; + QMenu* menu(QAction* theWrappedObject) const; + QAction::MenuRole menuRole(QAction* theWrappedObject) const; + QWidget* parentWidget(QAction* theWrappedObject) const; + QAction::Priority priority(QAction* theWrappedObject) const; + void setActionGroup(QAction* theWrappedObject, QActionGroup* group); + void setAutoRepeat(QAction* theWrappedObject, bool arg__1); + void setCheckable(QAction* theWrappedObject, bool arg__1); + void setData(QAction* theWrappedObject, const QVariant& var); + void setFont(QAction* theWrappedObject, const QFont& font); + void setIcon(QAction* theWrappedObject, const QIcon& icon); + void setIconText(QAction* theWrappedObject, const QString& text); + void setIconVisibleInMenu(QAction* theWrappedObject, bool visible); + void setMenu(QAction* theWrappedObject, QMenu* menu); + void setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole); + void setPriority(QAction* theWrappedObject, QAction::Priority priority); + void setSeparator(QAction* theWrappedObject, bool b); + void setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut); + void setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context); + void setShortcutVisibleInContextMenu(QAction* theWrappedObject, bool show); + void setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1); + void setShortcuts(QAction* theWrappedObject, const QList& shortcuts); + void setStatusTip(QAction* theWrappedObject, const QString& statusTip); + void setText(QAction* theWrappedObject, const QString& text); + void setToolTip(QAction* theWrappedObject, const QString& tip); + void setWhatsThis(QAction* theWrappedObject, const QString& what); + QKeySequence shortcut(QAction* theWrappedObject) const; + Qt::ShortcutContext shortcutContext(QAction* theWrappedObject) const; + QList shortcuts(QAction* theWrappedObject) const; + bool showStatusText(QAction* theWrappedObject, QWidget* widget = nullptr); + QString statusTip(QAction* theWrappedObject) const; + QString text(QAction* theWrappedObject) const; + QString toolTip(QAction* theWrappedObject) const; + QString whatsThis(QAction* theWrappedObject) const; + QString py_toString(QAction*); +}; + + + + + +class PythonQtWrapper_QActionEvent : public QObject +{ Q_OBJECT +public: +public slots: +QActionEvent* new_QActionEvent(int type, QAction* action, QAction* before = nullptr); +void delete_QActionEvent(QActionEvent* obj) { delete obj; } + QAction* action(QActionEvent* theWrappedObject) const; + QAction* before(QActionEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QActionGroup : public QActionGroup +{ +public: + PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QActionGroup() 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_QActionGroup : public QObject +{ Q_OBJECT +public: +public slots: +QActionGroup* new_QActionGroup(QObject* parent); +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); + QAction* addAction(QActionGroup* theWrappedObject, const QString& text); + QAction* checkedAction(QActionGroup* theWrappedObject) const; + QActionGroup::ExclusionPolicy exclusionPolicy(QActionGroup* theWrappedObject) const; + bool isEnabled(QActionGroup* theWrappedObject) const; + bool isExclusive(QActionGroup* theWrappedObject) const; + bool isVisible(QActionGroup* theWrappedObject) const; + void removeAction(QActionGroup* theWrappedObject, QAction* a); +}; + + + + + +class PythonQtPublicPromoter_QApplication : public QApplication +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QApplication::event(arg__1); } +inline bool py_q_notify(QObject* arg__1, QEvent* arg__2) { return QApplication::notify(arg__1, arg__2); } +}; + +class PythonQtWrapper_QApplication : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ColorSpec ) +enum ColorSpec{ + NormalColor = QApplication::NormalColor, CustomColor = QApplication::CustomColor, ManyColor = QApplication::ManyColor}; +public slots: +void delete_QApplication(QApplication* obj) { delete obj; } + QWidget* static_QApplication_activeModalWidget(); + QWidget* static_QApplication_activePopupWidget(); + QWidget* static_QApplication_activeWindow(); + void static_QApplication_alert(QWidget* widget, int duration = 0); + QList static_QApplication_allWidgets(); + void static_QApplication_beep(); + int static_QApplication_colorSpec(); + int static_QApplication_cursorFlashTime(); + QDesktopWidget* static_QApplication_desktop(); + int static_QApplication_doubleClickInterval(); + bool py_q_event(QApplication* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QApplication*)theWrappedObject)->py_q_event(arg__1));} + int static_QApplication_exec(); + QWidget* static_QApplication_focusWidget(); + QFont static_QApplication_font(); + QFont static_QApplication_font(const QWidget* arg__1); + QFontMetrics static_QApplication_fontMetrics(); + QSize static_QApplication_globalStrut(); + bool static_QApplication_isEffectEnabled(Qt::UIEffect arg__1); + int static_QApplication_keyboardInputInterval(); + bool py_q_notify(QApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QApplication*)theWrappedObject)->py_q_notify(arg__1, arg__2));} + QPalette static_QApplication_palette(const QWidget* arg__1); + void static_QApplication_setActiveWindow(QWidget* act); + void static_QApplication_setColorSpec(int arg__1); + void static_QApplication_setCursorFlashTime(int arg__1); + void static_QApplication_setDoubleClickInterval(int arg__1); + void static_QApplication_setEffectEnabled(Qt::UIEffect arg__1, bool enable = true); + void static_QApplication_setFont(const QFont& arg__1, const char* className = nullptr); + void static_QApplication_setGlobalStrut(const QSize& arg__1); + void static_QApplication_setKeyboardInputInterval(int arg__1); + void static_QApplication_setPalette(const QPalette& arg__1, const char* className = nullptr); + void static_QApplication_setStartDragDistance(int l); + void static_QApplication_setStartDragTime(int ms); + void static_QApplication_setStyle(QStyle* arg__1); + QStyle* static_QApplication_setStyle(const QString& arg__1); + void static_QApplication_setWheelScrollLines(int arg__1); + void static_QApplication_setWindowIcon(const QIcon& icon); + int static_QApplication_startDragDistance(); + int static_QApplication_startDragTime(); + QStyle* static_QApplication_style(); + QString styleSheet(QApplication* theWrappedObject) const; + QWidget* static_QApplication_topLevelAt(const QPoint& p); + QWidget* static_QApplication_topLevelAt(int x, int y); + QList static_QApplication_topLevelWidgets(); + int static_QApplication_wheelScrollLines(); + QWidget* static_QApplication_widgetAt(const QPoint& p); + QWidget* static_QApplication_widgetAt(int x, int y); + QIcon static_QApplication_windowIcon(); +}; + + + + + +class PythonQtWrapper_QBackingStore : public QObject +{ Q_OBJECT +public: +public slots: +QBackingStore* new_QBackingStore(QWindow* window); +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()); + bool hasStaticContents(QBackingStore* theWrappedObject) const; + QPaintDevice* paintDevice(QBackingStore* theWrappedObject); + void resize(QBackingStore* theWrappedObject, const QSize& size); + bool scroll(QBackingStore* theWrappedObject, const QRegion& area, int dx, int dy); + void setStaticContents(QBackingStore* theWrappedObject, const QRegion& region); + QSize size(QBackingStore* theWrappedObject) const; + QRegion staticContents(QBackingStore* theWrappedObject) const; + QWindow* window(QBackingStore* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QBoxLayout : public QBoxLayout +{ +public: + 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 +{ public: +inline void py_q_addItem(QLayoutItem* arg__1) { QBoxLayout::addItem(arg__1); } +inline int py_q_count() const { return QBoxLayout::count(); } +inline Qt::Orientations py_q_expandingDirections() const { return QBoxLayout::expandingDirections(); } +inline bool py_q_hasHeightForWidth() const { return QBoxLayout::hasHeightForWidth(); } +inline int py_q_heightForWidth(int arg__1) const { return QBoxLayout::heightForWidth(arg__1); } +inline void py_q_invalidate() { QBoxLayout::invalidate(); } +inline QLayoutItem* py_q_itemAt(int arg__1) const { return QBoxLayout::itemAt(arg__1); } +inline QSize py_q_maximumSize() const { return QBoxLayout::maximumSize(); } +inline int py_q_minimumHeightForWidth(int arg__1) const { return QBoxLayout::minimumHeightForWidth(arg__1); } +inline QSize py_q_minimumSize() const { return QBoxLayout::minimumSize(); } +inline void py_q_setGeometry(const QRect& arg__1) { QBoxLayout::setGeometry(arg__1); } +inline QSize py_q_sizeHint() const { return QBoxLayout::sizeHint(); } +inline QLayoutItem* py_q_takeAt(int arg__1) { return QBoxLayout::takeAt(arg__1); } +}; + +class PythonQtWrapper_QBoxLayout : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Direction ) +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 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); + void addSpacing(QBoxLayout* theWrappedObject, int size); + void addStretch(QBoxLayout* theWrappedObject, int stretch = 0); + void addStrut(QBoxLayout* theWrappedObject, int arg__1); + void addWidget(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int stretch = 0, Qt::Alignment alignment = Qt::Alignment()); + 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 py_q_hasHeightForWidth(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_hasHeightForWidth());} + 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); + void insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP spacerItem); + void insertSpacing(QBoxLayout* theWrappedObject, int index, int size); + void insertStretch(QBoxLayout* theWrappedObject, int index, int stretch = 0); + void insertWidget(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch = 0, Qt::Alignment alignment = Qt::Alignment()); + 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 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); + void py_q_setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_setGeometry(arg__1));} + void setSpacing(QBoxLayout* theWrappedObject, int spacing); + 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 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; + QLayoutItem* py_q_takeAt(QBoxLayout* theWrappedObject, int arg__1){ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_takeAt(arg__1));} + bool __nonzero__(QBoxLayout* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QButtonGroup : public QButtonGroup +{ +public: + PythonQtShell_QButtonGroup(QObject* parent = nullptr):QButtonGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QButtonGroup() 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_QButtonGroup : public QObject +{ Q_OBJECT +public: +public slots: +QButtonGroup* new_QButtonGroup(QObject* parent = nullptr); +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; + QAbstractButton* checkedButton(QButtonGroup* theWrappedObject) const; + int checkedId(QButtonGroup* theWrappedObject) const; + bool exclusive(QButtonGroup* theWrappedObject) const; + int id(QButtonGroup* theWrappedObject, QAbstractButton* button) const; + void removeButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1); + void setExclusive(QButtonGroup* theWrappedObject, bool arg__1); + void setId(QButtonGroup* theWrappedObject, QAbstractButton* button, int id); +}; + + + + + +class PythonQtShell_QCalendarWidget : public QCalendarWidget +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return this->eventFilter(watched, event); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_paintCell(QPainter* painter, const QRect& rect, const QDate& date) const { this->paintCell(painter, rect, date); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_updateCell(const QDate& date) { this->updateCell(date); } +inline void promoted_updateCells() { this->updateCells(); } +inline bool py_q_event(QEvent* event) { return QCalendarWidget::event(event); } +inline bool py_q_eventFilter(QObject* watched, QEvent* event) { return QCalendarWidget::eventFilter(watched, event); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QCalendarWidget::keyPressEvent(event); } +inline QSize py_q_minimumSizeHint() const { return QCalendarWidget::minimumSizeHint(); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QCalendarWidget::mousePressEvent(event); } +inline void py_q_paintCell(QPainter* painter, const QRect& rect, const QDate& date) const { QCalendarWidget::paintCell(painter, rect, date); } +inline void py_q_resizeEvent(QResizeEvent* event) { QCalendarWidget::resizeEvent(event); } +inline QSize py_q_sizeHint() const { return QCalendarWidget::sizeHint(); } +}; + +class PythonQtWrapper_QCalendarWidget : public QObject +{ Q_OBJECT +public: +public slots: +QCalendarWidget* new_QCalendarWidget(QWidget* parent = nullptr); +void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } + QCalendar calendar(QCalendarWidget* theWrappedObject) const; + int dateEditAcceptDelay(QCalendarWidget* theWrappedObject) const; + QMap dateTextFormat(QCalendarWidget* theWrappedObject) const; + QTextCharFormat dateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date) const; + bool py_q_event(QCalendarWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QCalendarWidget* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_eventFilter(watched, event));} + Qt::DayOfWeek firstDayOfWeek(QCalendarWidget* theWrappedObject) const; + QTextCharFormat headerTextFormat(QCalendarWidget* theWrappedObject) const; + QCalendarWidget::HorizontalHeaderFormat horizontalHeaderFormat(QCalendarWidget* theWrappedObject) const; + bool isDateEditEnabled(QCalendarWidget* theWrappedObject) const; + bool isGridVisible(QCalendarWidget* theWrappedObject) const; + bool isNavigationBarVisible(QCalendarWidget* theWrappedObject) const; + void py_q_keyPressEvent(QCalendarWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_keyPressEvent(event));} + QDate maximumDate(QCalendarWidget* theWrappedObject) const; + QDate minimumDate(QCalendarWidget* theWrappedObject) const; + QSize py_q_minimumSizeHint(QCalendarWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_minimumSizeHint());} + int monthShown(QCalendarWidget* theWrappedObject) const; + void py_q_mousePressEvent(QCalendarWidget* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_mousePressEvent(event));} + void paintCell(QCalendarWidget* theWrappedObject, QPainter* painter, const QRect& rect, const QDate& date) const; + void py_q_paintCell(QCalendarWidget* theWrappedObject, QPainter* painter, const QRect& rect, const QDate& date) const{ (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_paintCell(painter, rect, date));} + void py_q_resizeEvent(QCalendarWidget* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_resizeEvent(event));} + QDate selectedDate(QCalendarWidget* theWrappedObject) const; + QCalendarWidget::SelectionMode selectionMode(QCalendarWidget* theWrappedObject) const; + void setCalendar(QCalendarWidget* theWrappedObject, QCalendar calendar); + void setDateEditAcceptDelay(QCalendarWidget* theWrappedObject, int delay); + void setDateEditEnabled(QCalendarWidget* theWrappedObject, bool enable); + void setDateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date, const QTextCharFormat& format); + void setFirstDayOfWeek(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek); + void setHeaderTextFormat(QCalendarWidget* theWrappedObject, const QTextCharFormat& format); + void setHorizontalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::HorizontalHeaderFormat format); + void setMaximumDate(QCalendarWidget* theWrappedObject, const QDate& date); + void setMinimumDate(QCalendarWidget* theWrappedObject, const QDate& date); + void setSelectionMode(QCalendarWidget* theWrappedObject, QCalendarWidget::SelectionMode mode); + void setVerticalHeaderFormat(QCalendarWidget* theWrappedObject, QCalendarWidget::VerticalHeaderFormat format); + void setWeekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek, const QTextCharFormat& format); + QSize py_q_sizeHint(QCalendarWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_sizeHint());} + void updateCell(QCalendarWidget* theWrappedObject, const QDate& date); + void updateCells(QCalendarWidget* theWrappedObject); + QCalendarWidget::VerticalHeaderFormat verticalHeaderFormat(QCalendarWidget* theWrappedObject) const; + QTextCharFormat weekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) const; + int yearShown(QCalendarWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QCheckBox : public QCheckBox +{ +public: + 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 +{ public: +inline void promoted_checkStateSet() { this->checkStateSet(); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } +inline void promoted_initStyleOption(QStyleOptionButton* option) const { this->initStyleOption(option); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_nextCheckState() { this->nextCheckState(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void py_q_checkStateSet() { QCheckBox::checkStateSet(); } +inline bool py_q_event(QEvent* e) { return QCheckBox::event(e); } +inline bool py_q_hitButton(const QPoint& pos) const { return QCheckBox::hitButton(pos); } +inline QSize py_q_minimumSizeHint() const { return QCheckBox::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QCheckBox::mouseMoveEvent(arg__1); } +inline void py_q_nextCheckState() { QCheckBox::nextCheckState(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QCheckBox::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QCheckBox::sizeHint(); } +}; + +class PythonQtWrapper_QCheckBox : public QObject +{ Q_OBJECT +public: +public slots: +QCheckBox* new_QCheckBox(QWidget* parent = nullptr); +QCheckBox* new_QCheckBox(const QString& text, QWidget* parent = nullptr); +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));} + bool py_q_hitButton(QCheckBox* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_hitButton(pos));} + void initStyleOption(QCheckBox* theWrappedObject, QStyleOptionButton* option) const; + bool isTristate(QCheckBox* theWrappedObject) const; + QSize minimumSizeHint(QCheckBox* theWrappedObject) const; + QSize py_q_minimumSizeHint(QCheckBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QCheckBox* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_nextCheckState(QCheckBox* theWrappedObject){ (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_nextCheckState());} + void py_q_paintEvent(QCheckBox* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_paintEvent(arg__1));} + void setCheckState(QCheckBox* theWrappedObject, Qt::CheckState state); + void setTristate(QCheckBox* theWrappedObject, bool y = true); + QSize sizeHint(QCheckBox* theWrappedObject) const; + QSize py_q_sizeHint(QCheckBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtWrapper_QClipboard : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Mode ) +enum Mode{ + Clipboard = QClipboard::Clipboard, Selection = QClipboard::Selection, FindBuffer = QClipboard::FindBuffer, LastMode = QClipboard::LastMode}; +public slots: + void clear(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard); + QImage image(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; + const QMimeData* mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; + bool ownsClipboard(QClipboard* theWrappedObject) const; + bool ownsFindBuffer(QClipboard* theWrappedObject) const; + bool ownsSelection(QClipboard* theWrappedObject) const; + QPixmap pixmap(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; + void setImage(QClipboard* theWrappedObject, const QImage& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); + void setMimeData(QClipboard* theWrappedObject, PythonQtPassOwnershipToCPP data, QClipboard::Mode mode = QClipboard::Clipboard); + void setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); + void setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); + bool supportsFindBuffer(QClipboard* theWrappedObject) const; + bool supportsSelection(QClipboard* theWrappedObject) const; + QString text(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; + QString text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode = QClipboard::Clipboard) const; +}; + + + + + +class PythonQtWrapper_QCloseEvent : public QObject +{ Q_OBJECT +public: +public slots: +QCloseEvent* new_QCloseEvent(); +void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QColorDialog : public QColorDialog +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_done(int result) { this->done(result); } +inline void py_q_changeEvent(QEvent* event) { QColorDialog::changeEvent(event); } +inline void py_q_done(int result) { QColorDialog::done(result); } +inline void py_q_setVisible(bool visible) { QColorDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QColorDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ColorDialogOption ) +Q_FLAGS(ColorDialogOptions ) +enum ColorDialogOption{ + ShowAlphaChannel = QColorDialog::ShowAlphaChannel, NoButtons = QColorDialog::NoButtons, DontUseNativeDialog = QColorDialog::DontUseNativeDialog}; +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 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); + int static_QColorDialog_customCount(); + void py_q_done(QColorDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->py_q_done(result));} + QColor static_QColorDialog_getColor(const QColor& initial = Qt::white, QWidget* parent = nullptr, const QString& title = QString(), QColorDialog::ColorDialogOptions options = QColorDialog::ColorDialogOptions()); + unsigned int static_QColorDialog_getRgba(unsigned int rgba = 0xffffffff, bool* ok = nullptr, QWidget* parent = nullptr); + void open(QColorDialog* theWrappedObject, QObject* receiver, const char* member); + QColorDialog::ColorDialogOptions options(QColorDialog* theWrappedObject) const; + QColor selectedColor(QColorDialog* theWrappedObject) const; + void setCurrentColor(QColorDialog* theWrappedObject, const QColor& color); + void static_QColorDialog_setCustomColor(int index, QColor color); + void setOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option, bool on = true); + void setOptions(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOptions options); + void static_QColorDialog_setStandardColor(int index, QColor color); + void py_q_setVisible(QColorDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->py_q_setVisible(visible));} + QColor static_QColorDialog_standardColor(int index); + bool testOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option) const; +}; + + + + + +class PythonQtWrapper_QColorSpace : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NamedColorSpace Primaries TransferFunction ) +enum NamedColorSpace{ + SRgb = QColorSpace::SRgb, SRgbLinear = QColorSpace::SRgbLinear, AdobeRgb = QColorSpace::AdobeRgb, DisplayP3 = QColorSpace::DisplayP3, ProPhotoRgb = QColorSpace::ProPhotoRgb}; +enum class Primaries{ + Custom = static_cast(QColorSpace::Primaries::Custom), SRgb = static_cast(QColorSpace::Primaries::SRgb), AdobeRgb = static_cast(QColorSpace::Primaries::AdobeRgb), DciP3D65 = static_cast(QColorSpace::Primaries::DciP3D65), ProPhotoRgb = static_cast(QColorSpace::Primaries::ProPhotoRgb)}; +enum class TransferFunction{ + Custom = static_cast(QColorSpace::TransferFunction::Custom), Linear = static_cast(QColorSpace::TransferFunction::Linear), Gamma = static_cast(QColorSpace::TransferFunction::Gamma), SRgb = static_cast(QColorSpace::TransferFunction::SRgb), ProPhotoRgb = static_cast(QColorSpace::TransferFunction::ProPhotoRgb)}; +public slots: +QColorSpace* new_QColorSpace(); +QColorSpace* new_QColorSpace(QColorSpace::NamedColorSpace namedColorSpace); +QColorSpace* new_QColorSpace(QColorSpace::Primaries primaries, QColorSpace::TransferFunction transferFunction, float gamma = 0.0f); +QColorSpace* new_QColorSpace(QColorSpace::Primaries primaries, float gamma); +QColorSpace* new_QColorSpace(const QColorSpace& colorSpace); +QColorSpace* new_QColorSpace(const QPointF& whitePoint, const QPointF& redPoint, const QPointF& greenPoint, const QPointF& bluePoint, QColorSpace::TransferFunction transferFunction, float gamma = 0.0f); +void delete_QColorSpace(QColorSpace* obj) { delete obj; } + QColorSpace static_QColorSpace_fromIccProfile(const QByteArray& iccProfile); + float gamma(QColorSpace* theWrappedObject) const; + QByteArray iccProfile(QColorSpace* theWrappedObject) const; + bool isValid(QColorSpace* theWrappedObject) const; + bool __ne__(QColorSpace* theWrappedObject, const QColorSpace& colorSpace2); + void writeTo(QColorSpace* theWrappedObject, QDataStream& arg__1); + QColorSpace* operator_assign(QColorSpace* theWrappedObject, const QColorSpace& colorSpace); + bool __eq__(QColorSpace* theWrappedObject, const QColorSpace& colorSpace2); + void readFrom(QColorSpace* theWrappedObject, QDataStream& arg__1); + QColorSpace::Primaries primaries(QColorSpace* theWrappedObject) const; + void setPrimaries(QColorSpace* theWrappedObject, QColorSpace::Primaries primariesId); + void setPrimaries(QColorSpace* theWrappedObject, const QPointF& whitePoint, const QPointF& redPoint, const QPointF& greenPoint, const QPointF& bluePoint); + void setTransferFunction(QColorSpace* theWrappedObject, QColorSpace::TransferFunction transferFunction, float gamma = 0.0f); + void swap(QColorSpace* theWrappedObject, QColorSpace& colorSpace); + QColorSpace::TransferFunction transferFunction(QColorSpace* theWrappedObject) const; + QColorTransform transformationToColorSpace(QColorSpace* theWrappedObject, const QColorSpace& colorspace) const; + QColorSpace withTransferFunction(QColorSpace* theWrappedObject, QColorSpace::TransferFunction transferFunction, float gamma = 0.0f) const; + QString py_toString(QColorSpace*); + bool __nonzero__(QColorSpace* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QColorTransform : public QObject +{ Q_OBJECT +public: +public slots: +QColorTransform* new_QColorTransform(); +QColorTransform* new_QColorTransform(const QColorTransform& colorTransform); +void delete_QColorTransform(QColorTransform* obj) { delete obj; } + QRgba64 map(QColorTransform* theWrappedObject, QRgba64 rgba64) const; + QColor map(QColorTransform* theWrappedObject, const QColor& color) const; + unsigned int map(QColorTransform* theWrappedObject, unsigned int argb) const; + QColorTransform* operator_assign(QColorTransform* theWrappedObject, const QColorTransform& other); + void swap(QColorTransform* theWrappedObject, QColorTransform& other); +}; + + + + + +class PythonQtShell_QColumnView : public QColumnView +{ +public: + 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 +{ public: +inline QAbstractItemView* promoted_createColumn(const QModelIndex& rootIndex) { return this->createColumn(rootIndex); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { this->currentChanged(current, previous); } +inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } +inline void promoted_initializeColumn(QAbstractItemView* column) const { this->initializeColumn(column); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { this->rowsInserted(parent, start, end); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } +inline int promoted_verticalOffset() const { return this->verticalOffset(); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +inline QAbstractItemView* py_q_createColumn(const QModelIndex& rootIndex) { return QColumnView::createColumn(rootIndex); } +inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QColumnView::currentChanged(current, previous); } +inline int py_q_horizontalOffset() const { return QColumnView::horizontalOffset(); } +inline QModelIndex py_q_indexAt(const QPoint& point) const { return QColumnView::indexAt(point); } +inline bool py_q_isIndexHidden(const QModelIndex& index) const { return QColumnView::isIndexHidden(index); } +inline QModelIndex py_q_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QColumnView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void py_q_resizeEvent(QResizeEvent* event) { QColumnView::resizeEvent(event); } +inline void py_q_rowsInserted(const QModelIndex& parent, int start, int end) { QColumnView::rowsInserted(parent, start, end); } +inline void py_q_scrollContentsBy(int dx, int dy) { QColumnView::scrollContentsBy(dx, dy); } +inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QColumnView::scrollTo(index, hint); } +inline void py_q_selectAll() { QColumnView::selectAll(); } +inline void py_q_setModel(QAbstractItemModel* model) { QColumnView::setModel(model); } +inline void py_q_setRootIndex(const QModelIndex& index) { QColumnView::setRootIndex(index); } +inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QColumnView::setSelection(rect, command); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QColumnView::setSelectionModel(selectionModel); } +inline QSize py_q_sizeHint() const { return QColumnView::sizeHint(); } +inline int py_q_verticalOffset() const { return QColumnView::verticalOffset(); } +inline QRect py_q_visualRect(const QModelIndex& index) const { return QColumnView::visualRect(index); } +inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return QColumnView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QColumnView : public QObject +{ Q_OBJECT +public: +public slots: +QColumnView* new_QColumnView(QWidget* parent = nullptr); +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));} + void py_q_currentChanged(QColumnView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_currentChanged(current, previous));} + int py_q_horizontalOffset(QColumnView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_horizontalOffset());} + QModelIndex py_q_indexAt(QColumnView* theWrappedObject, const QPoint& point) const{ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_indexAt(point));} + void initializeColumn(QColumnView* theWrappedObject, QAbstractItemView* column) const; + bool py_q_isIndexHidden(QColumnView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_isIndexHidden(index));} + QModelIndex py_q_moveCursor(QColumnView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers){ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_moveCursor(cursorAction, modifiers));} + QWidget* previewWidget(QColumnView* theWrappedObject) const; + void py_q_resizeEvent(QColumnView* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_resizeEvent(event));} + bool resizeGripsVisible(QColumnView* theWrappedObject) const; + void py_q_rowsInserted(QColumnView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_rowsInserted(parent, start, end));} + void py_q_scrollContentsBy(QColumnView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void py_q_scrollTo(QColumnView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_scrollTo(index, hint));} + void py_q_selectAll(QColumnView* theWrappedObject){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_selectAll());} + void setColumnWidths(QColumnView* theWrappedObject, const QList& list); + void py_q_setModel(QColumnView* theWrappedObject, QAbstractItemModel* model){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_setModel(model));} + void setPreviewWidget(QColumnView* theWrappedObject, QWidget* widget); + void setResizeGripsVisible(QColumnView* theWrappedObject, bool visible); + void py_q_setRootIndex(QColumnView* theWrappedObject, const QModelIndex& index){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_setRootIndex(index));} + void py_q_setSelection(QColumnView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_setSelection(rect, command));} + void py_q_setSelectionModel(QColumnView* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + QSize py_q_sizeHint(QColumnView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_sizeHint());} + int py_q_verticalOffset(QColumnView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_verticalOffset());} + QRect py_q_visualRect(QColumnView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_visualRect(index));} + QRegion py_q_visualRegionForSelection(QColumnView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} +}; + + + + + +class PythonQtShell_QComboBox : public QComboBox +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline void promoted_hideEvent(QHideEvent* e) { this->hideEvent(e); } +inline void promoted_initStyleOption(QStyleOptionComboBox* option) const { this->initStyleOption(option); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_showEvent(QShowEvent* e) { this->showEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void py_q_changeEvent(QEvent* e) { QComboBox::changeEvent(e); } +inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QComboBox::contextMenuEvent(e); } +inline bool py_q_event(QEvent* event) { return QComboBox::event(event); } +inline void py_q_focusInEvent(QFocusEvent* e) { QComboBox::focusInEvent(e); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QComboBox::focusOutEvent(e); } +inline void py_q_hideEvent(QHideEvent* e) { QComboBox::hideEvent(e); } +inline void py_q_hidePopup() { QComboBox::hidePopup(); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QComboBox::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QComboBox::inputMethodQuery(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QComboBox::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QComboBox::keyReleaseEvent(e); } +inline QSize py_q_minimumSizeHint() const { return QComboBox::minimumSizeHint(); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QComboBox::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QComboBox::mouseReleaseEvent(e); } +inline void py_q_paintEvent(QPaintEvent* e) { QComboBox::paintEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QComboBox::resizeEvent(e); } +inline void py_q_showEvent(QShowEvent* e) { QComboBox::showEvent(e); } +inline void py_q_showPopup() { QComboBox::showPopup(); } +inline QSize py_q_sizeHint() const { return QComboBox::sizeHint(); } +inline void py_q_wheelEvent(QWheelEvent* e) { QComboBox::wheelEvent(e); } +}; + +class PythonQtWrapper_QComboBox : public QObject +{ Q_OBJECT +public: +public slots: +QComboBox* new_QComboBox(QWidget* parent = nullptr); +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); + void py_q_changeEvent(QComboBox* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_changeEvent(e));} + QCompleter* completer(QComboBox* theWrappedObject) const; + void py_q_contextMenuEvent(QComboBox* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_contextMenuEvent(e));} + int count(QComboBox* theWrappedObject) const; + QVariant currentData(QComboBox* theWrappedObject, int role = Qt::UserRole) const; + int currentIndex(QComboBox* theWrappedObject) const; + QString currentText(QComboBox* theWrappedObject) const; + bool duplicatesEnabled(QComboBox* theWrappedObject) const; + bool py_q_event(QComboBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_event(event));} + int findData(QComboBox* theWrappedObject, const QVariant& data, int role = Qt::UserRole, Qt::MatchFlags flags = static_cast(Qt::MatchExactly|Qt::MatchCaseSensitive)) const; + int findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags = static_cast(Qt::MatchExactly|Qt::MatchCaseSensitive)) const; + void py_q_focusInEvent(QComboBox* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_focusInEvent(e));} + void py_q_focusOutEvent(QComboBox* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_focusOutEvent(e));} + bool hasFrame(QComboBox* theWrappedObject) const; + void py_q_hideEvent(QComboBox* theWrappedObject, QHideEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_hideEvent(e));} + void hidePopup(QComboBox* theWrappedObject); + void py_q_hidePopup(QComboBox* theWrappedObject){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_hidePopup());} + QSize iconSize(QComboBox* theWrappedObject) const; + void initStyleOption(QComboBox* theWrappedObject, QStyleOptionComboBox* option) const; + void py_q_inputMethodEvent(QComboBox* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QComboBox* theWrappedObject, Qt::InputMethodQuery arg__1) const{ return (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_inputMethodQuery(arg__1));} + QVariant inputMethodQuery(QComboBox* theWrappedObject, Qt::InputMethodQuery query, const QVariant& argument) const; + void insertItem(QComboBox* theWrappedObject, int index, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); + void insertItem(QComboBox* theWrappedObject, int index, const QString& text, const QVariant& userData = QVariant()); + void insertItems(QComboBox* theWrappedObject, int index, const QStringList& texts); + QComboBox::InsertPolicy insertPolicy(QComboBox* theWrappedObject) const; + void insertSeparator(QComboBox* theWrappedObject, int index); + bool isEditable(QComboBox* theWrappedObject) const; + QVariant itemData(QComboBox* theWrappedObject, int index, int role = Qt::UserRole) const; + QAbstractItemDelegate* itemDelegate(QComboBox* theWrappedObject) const; + QIcon itemIcon(QComboBox* theWrappedObject, int index) const; + QString itemText(QComboBox* theWrappedObject, int index) const; + void py_q_keyPressEvent(QComboBox* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QComboBox* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_keyReleaseEvent(e));} + QLineEdit* lineEdit(QComboBox* theWrappedObject) const; + int maxCount(QComboBox* theWrappedObject) const; + int maxVisibleItems(QComboBox* theWrappedObject) const; + int minimumContentsLength(QComboBox* theWrappedObject) const; + QSize minimumSizeHint(QComboBox* theWrappedObject) const; + QSize py_q_minimumSizeHint(QComboBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_minimumSizeHint());} + QAbstractItemModel* model(QComboBox* theWrappedObject) const; + int modelColumn(QComboBox* theWrappedObject) const; + void py_q_mousePressEvent(QComboBox* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QComboBox* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void py_q_paintEvent(QComboBox* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_paintEvent(e));} + QString placeholderText(QComboBox* theWrappedObject) const; + void removeItem(QComboBox* theWrappedObject, int index); + void py_q_resizeEvent(QComboBox* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_resizeEvent(e));} + QModelIndex rootModelIndex(QComboBox* theWrappedObject) const; + void setCompleter(QComboBox* theWrappedObject, QCompleter* c); + void setDuplicatesEnabled(QComboBox* theWrappedObject, bool enable); + void setEditable(QComboBox* theWrappedObject, bool editable); + void setFrame(QComboBox* theWrappedObject, bool arg__1); + void setIconSize(QComboBox* theWrappedObject, const QSize& size); + void setInsertPolicy(QComboBox* theWrappedObject, QComboBox::InsertPolicy policy); + void setItemData(QComboBox* theWrappedObject, int index, const QVariant& value, int role = Qt::UserRole); + void setItemDelegate(QComboBox* theWrappedObject, QAbstractItemDelegate* delegate); + void setItemIcon(QComboBox* theWrappedObject, int index, const QIcon& icon); + void setItemText(QComboBox* theWrappedObject, int index, const QString& text); + void setLineEdit(QComboBox* theWrappedObject, QLineEdit* edit); + void setMaxCount(QComboBox* theWrappedObject, int max); + void setMaxVisibleItems(QComboBox* theWrappedObject, int maxItems); + void setMinimumContentsLength(QComboBox* theWrappedObject, int characters); + void setModel(QComboBox* theWrappedObject, QAbstractItemModel* model); + void setModelColumn(QComboBox* theWrappedObject, int visibleColumn); + void setPlaceholderText(QComboBox* theWrappedObject, const QString& placeholderText); + void setRootModelIndex(QComboBox* theWrappedObject, const QModelIndex& index); + void setSizeAdjustPolicy(QComboBox* theWrappedObject, QComboBox::SizeAdjustPolicy policy); + void setValidator(QComboBox* theWrappedObject, const QValidator* v); + void setView(QComboBox* theWrappedObject, QAbstractItemView* itemView); + void py_q_showEvent(QComboBox* theWrappedObject, QShowEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_showEvent(e));} + void showPopup(QComboBox* theWrappedObject); + void py_q_showPopup(QComboBox* theWrappedObject){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_showPopup());} + QComboBox::SizeAdjustPolicy sizeAdjustPolicy(QComboBox* theWrappedObject) const; + QSize sizeHint(QComboBox* theWrappedObject) const; + QSize py_q_sizeHint(QComboBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_sizeHint());} + const QValidator* validator(QComboBox* theWrappedObject) const; + QAbstractItemView* view(QComboBox* theWrappedObject) const; + void py_q_wheelEvent(QComboBox* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->py_q_wheelEvent(e));} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp new file mode 100644 index 00000000..5d01c696 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -0,0 +1,21365 @@ +#include "com_trolltech_qt_gui1.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QCommandLinkButton::~PythonQtShell_QCommandLinkButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QCommandLinkButton::actionEvent(event0); +} +void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::changeEvent(e0); +} +void PythonQtShell_QCommandLinkButton::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("checkStateSet"); + 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(); + } + } +} + QCommandLinkButton::checkStateSet(); +} +void PythonQtShell_QCommandLinkButton::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(); + } + } +} + QCommandLinkButton::childEvent(event0); +} +void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QCommandLinkButton::closeEvent(event0); +} +void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QCommandLinkButton::contextMenuEvent(event0); +} +void PythonQtShell_QCommandLinkButton::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(); + } + } +} + QCommandLinkButton::customEvent(event0); +} +int PythonQtShell_QCommandLinkButton::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 QCommandLinkButton::devType(); +} +void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QCommandLinkButton::dragEnterEvent(event0); +} +void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QCommandLinkButton::dragLeaveEvent(event0); +} +void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QCommandLinkButton::dragMoveEvent(event0); +} +void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QCommandLinkButton::dropEvent(event0); +} +void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QCommandLinkButton::enterEvent(event0); +} +bool PythonQtShell_QCommandLinkButton::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 QCommandLinkButton::event(e0); +} +bool PythonQtShell_QCommandLinkButton::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 QCommandLinkButton::eventFilter(watched0, event1); +} +void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::focusInEvent(arg__1); +} +bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::focusNextPrevChild(next0); +} +void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::focusOutEvent(arg__1); +} +bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::hasHeightForWidth(); +} +int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::heightForWidth(arg__1); +} +void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::hideEvent(event0); +} +bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::hitButton(pos0); +} +void PythonQtShell_QCommandLinkButton::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(); + } + } +} + QCommandLinkButton::initPainter(painter0); +} +void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::keyPressEvent(arg__1); +} +void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::keyReleaseEvent(e0); +} +void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QCommandLinkButton::leaveEvent(event0); +} +int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::metric(arg__1); +} +QSize PythonQtShell_QCommandLinkButton::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::minimumSizeHint(); +} +void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCommandLinkButton::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCommandLinkButton::mouseMoveEvent(e0); +} +void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCommandLinkButton::mousePressEvent(e0); +} +void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCommandLinkButton::mouseReleaseEvent(e0); +} +void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QCommandLinkButton::moveEvent(event0); +} +bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QCommandLinkButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + 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(); + } + } +} + QCommandLinkButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::paintEngine(); +} +void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QCommandLinkButton::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 QCommandLinkButton::redirected(offset0); +} +void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QCommandLinkButton::resizeEvent(event0); +} +void PythonQtShell_QCommandLinkButton::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::setVisible(visible0); +} +QPainter* PythonQtShell_QCommandLinkButton::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 QCommandLinkButton::sharedPainter(); +} +void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QCommandLinkButton::showEvent(event0); +} +QSize PythonQtShell_QCommandLinkButton::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::sizeHint(); +} +void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QCommandLinkButton::tabletEvent(event0); +} +void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::timerEvent(e0); +} +void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QCommandLinkButton::wheelEvent(event0); +} +QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(QWidget* parent) +{ +return new PythonQtShell_QCommandLinkButton(parent); } + +QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QCommandLinkButton(text, parent); } + +QCommandLinkButton* PythonQtWrapper_QCommandLinkButton::new_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent) +{ +return new PythonQtShell_QCommandLinkButton(text, description, parent); } + +const QMetaObject* PythonQtShell_QCommandLinkButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCommandLinkButton::staticMetaObject); + } else { + return &QCommandLinkButton::staticMetaObject; + } +} +int PythonQtShell_QCommandLinkButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCommandLinkButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QCommandLinkButton::description(QCommandLinkButton* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +void PythonQtWrapper_QCommandLinkButton::setDescription(QCommandLinkButton* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setDescription(description)); +} + + + +PythonQtShell_QCommonStyle::~PythonQtShell_QCommonStyle() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCommonStyle::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(); + } + } +} + QCommonStyle::childEvent(event0); +} +void PythonQtShell_QCommonStyle::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(); + } + } +} + QCommonStyle::customEvent(event0); +} +void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* w3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawComplexControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::drawComplexControl(cc0, opt1, p2, w3); +} +void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::drawControl(element0, opt1, p2, w3); +} +void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawItemPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); +} +void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawItemText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); +} +void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPrimitive"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::drawPrimitive(pe0, opt1, p2, w3); +} +bool PythonQtShell_QCommonStyle::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 QCommonStyle::event(event0); +} +bool PythonQtShell_QCommonStyle::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 QCommonStyle::eventFilter(watched0, event1); +} +QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("generatedIconPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); +} +QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* w3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitTestComplexControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::hitTestComplexControl(cc0, opt1, pt2, w3); +} +QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemPixmapRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::itemPixmapRect(r0, flags1, pixmap2); +} +int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layoutSpacing"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); +} +int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QStyleOption* opt1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pixelMetric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::pixelMetric(m0, opt1, widget2); +} +void PythonQtShell_QCommonStyle::polish(QApplication* app0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&app0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::polish(app0); +} +void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::polish(arg__1); +} +void PythonQtShell_QCommonStyle::polish(QWidget* widget0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::polish(widget0); +} +QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeFromContents"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::sizeFromContents(ct0, opt1, contentsSize2, widget3); +} +QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* opt1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("standardIcon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::standardIcon(standardIcon0, opt1, widget2); +} +QPalette PythonQtShell_QCommonStyle::standardPalette() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("standardPalette"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::standardPalette(); +} +QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap sp0, const QStyleOption* opt1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("standardPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::standardPixmap(sp0, opt1, widget2); +} +int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleOption* opt1, const QWidget* w2, QStyleHintReturn* shret3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("styleHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::styleHint(sh0, opt1, w2, shret3); +} +QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* w3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("subControlRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::subControlRect(cc0, opt1, sc2, w3); +} +QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const QStyleOption* opt1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("subElementRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::subElementRect(r0, opt1, widget2); +} +void PythonQtShell_QCommonStyle::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(); + } + } +} + QCommonStyle::timerEvent(event0); +} +void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unpolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&application0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::unpolish(application0); +} +void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unpolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::unpolish(widget0); +} +QCommonStyle* PythonQtWrapper_QCommonStyle::new_QCommonStyle() +{ +return new PythonQtShell_QCommonStyle(); } + +const QMetaObject* PythonQtShell_QCommonStyle::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCommonStyle::staticMetaObject); + } else { + return &QCommonStyle::staticMetaObject; + } +} +int PythonQtShell_QCommonStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCommonStyle::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCompleter::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(); + } + } +} + QCompleter::childEvent(event0); +} +void PythonQtShell_QCompleter::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(); + } + } +} + QCompleter::customEvent(event0); +} +bool PythonQtShell_QCompleter::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::event(arg__1); +} +bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) +{ +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*)&o0, (void*)&e1}; + 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 QCompleter::eventFilter(o0, e1); +} +QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pathFromIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::pathFromIndex(index0); +} +QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("splitPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::splitPath(path0); +} +void PythonQtShell_QCompleter::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(); + } + } +} + QCompleter::timerEvent(event0); +} +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QAbstractItemModel* model, QObject* parent) +{ +return new PythonQtShell_QCompleter(model, parent); } + +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QObject* parent) +{ +return new PythonQtShell_QCompleter(parent); } + +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(const QStringList& completions, QObject* parent) +{ +return new PythonQtShell_QCompleter(completions, parent); } + +const QMetaObject* PythonQtShell_QCompleter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCompleter::staticMetaObject); + } else { + return &QCompleter::staticMetaObject; + } +} +int PythonQtShell_QCompleter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCompleter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::CaseSensitivity PythonQtWrapper_QCompleter::caseSensitivity(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +int PythonQtWrapper_QCompleter::completionColumn(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionColumn()); +} + +int PythonQtWrapper_QCompleter::completionCount(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionCount()); +} + +QCompleter::CompletionMode PythonQtWrapper_QCompleter::completionMode(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionMode()); +} + +QAbstractItemModel* PythonQtWrapper_QCompleter::completionModel(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionModel()); +} + +QString PythonQtWrapper_QCompleter::completionPrefix(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionPrefix()); +} + +int PythonQtWrapper_QCompleter::completionRole(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionRole()); +} + +QString PythonQtWrapper_QCompleter::currentCompletion(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentCompletion()); +} + +QModelIndex PythonQtWrapper_QCompleter::currentIndex(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +int PythonQtWrapper_QCompleter::currentRow(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentRow()); +} + +Qt::MatchFlags PythonQtWrapper_QCompleter::filterMode(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->filterMode()); +} + +int PythonQtWrapper_QCompleter::maxVisibleItems(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->maxVisibleItems()); +} + +QAbstractItemModel* PythonQtWrapper_QCompleter::model(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QCompleter::ModelSorting PythonQtWrapper_QCompleter::modelSorting(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->modelSorting()); +} + +QString PythonQtWrapper_QCompleter::pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->pathFromIndex(index)); +} + +QAbstractItemView* PythonQtWrapper_QCompleter::popup(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->popup()); +} + +void PythonQtWrapper_QCompleter::setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity) +{ + ( theWrappedObject->setCaseSensitivity(caseSensitivity)); +} + +void PythonQtWrapper_QCompleter::setCompletionColumn(QCompleter* theWrappedObject, int column) +{ + ( theWrappedObject->setCompletionColumn(column)); +} + +void PythonQtWrapper_QCompleter::setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode) +{ + ( theWrappedObject->setCompletionMode(mode)); +} + +void PythonQtWrapper_QCompleter::setCompletionRole(QCompleter* theWrappedObject, int role) +{ + ( theWrappedObject->setCompletionRole(role)); +} + +bool PythonQtWrapper_QCompleter::setCurrentRow(QCompleter* theWrappedObject, int row) +{ + return ( theWrappedObject->setCurrentRow(row)); +} + +void PythonQtWrapper_QCompleter::setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode) +{ + ( theWrappedObject->setFilterMode(filterMode)); +} + +void PythonQtWrapper_QCompleter::setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems) +{ + ( theWrappedObject->setMaxVisibleItems(maxItems)); +} + +void PythonQtWrapper_QCompleter::setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c) +{ + ( theWrappedObject->setModel(c)); +} + +void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) +{ + ( theWrappedObject->setModelSorting(sorting)); +} + +void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup) +{ + ( theWrappedObject->setPopup(popup)); +} + +void PythonQtWrapper_QCompleter::setWidget(QCompleter* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QStringList PythonQtWrapper_QCompleter::splitPath(QCompleter* theWrappedObject, const QString& path) const +{ + return ( theWrappedObject->splitPath(path)); +} + +QWidget* PythonQtWrapper_QCompleter::widget(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +bool PythonQtWrapper_QCompleter::wrapAround(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->wrapAround()); +} + + + +PythonQtShell_QConcatenateTablesProxyModel::~PythonQtShell_QConcatenateTablesProxyModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QConcatenateTablesProxyModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::buddy(index0); +} +bool PythonQtShell_QConcatenateTablesProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QConcatenateTablesProxyModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::canFetchMore(parent0); +} +void PythonQtShell_QConcatenateTablesProxyModel::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(); + } + } +} + QConcatenateTablesProxyModel::childEvent(event0); +} +int PythonQtShell_QConcatenateTablesProxyModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::columnCount(parent0); +} +void PythonQtShell_QConcatenateTablesProxyModel::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(); + } + } +} + QConcatenateTablesProxyModel::customEvent(event0); +} +QVariant PythonQtShell_QConcatenateTablesProxyModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::data(index0, role1); +} +bool PythonQtShell_QConcatenateTablesProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QConcatenateTablesProxyModel::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 QConcatenateTablesProxyModel::event(event0); +} +bool PythonQtShell_QConcatenateTablesProxyModel::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 QConcatenateTablesProxyModel::eventFilter(watched0, event1); +} +void PythonQtShell_QConcatenateTablesProxyModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QConcatenateTablesProxyModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QConcatenateTablesProxyModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::flags(index0); +} +bool PythonQtShell_QConcatenateTablesProxyModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::hasChildren(parent0); +} +QVariant PythonQtShell_QConcatenateTablesProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QConcatenateTablesProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::index(row0, column1, parent2); +} +bool PythonQtShell_QConcatenateTablesProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QConcatenateTablesProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QConcatenateTablesProxyModel::itemData(const QModelIndex& proxyIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::itemData(proxyIndex0); +} +QList PythonQtShell_QConcatenateTablesProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QConcatenateTablesProxyModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::mimeData(indexes0); +} +QStringList PythonQtShell_QConcatenateTablesProxyModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::mimeTypes(); +} +bool PythonQtShell_QConcatenateTablesProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QConcatenateTablesProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QConcatenateTablesProxyModel::parent(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::parent(index0); +} +bool PythonQtShell_QConcatenateTablesProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QConcatenateTablesProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QConcatenateTablesProxyModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QConcatenateTablesProxyModel::revert(); +} +QHash PythonQtShell_QConcatenateTablesProxyModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::roleNames(); +} +int PythonQtShell_QConcatenateTablesProxyModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::rowCount(parent0); +} +bool PythonQtShell_QConcatenateTablesProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::setData(index0, value1, role2); +} +bool PythonQtShell_QConcatenateTablesProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QConcatenateTablesProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QConcatenateTablesProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QConcatenateTablesProxyModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QConcatenateTablesProxyModel::sort(column0, order1); +} +QSize PythonQtShell_QConcatenateTablesProxyModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::span(index0); +} +bool PythonQtShell_QConcatenateTablesProxyModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::submit(); +} +Qt::DropActions PythonQtShell_QConcatenateTablesProxyModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QConcatenateTablesProxyModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QConcatenateTablesProxyModel::supportedDropActions(); +} +void PythonQtShell_QConcatenateTablesProxyModel::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(); + } + } +} + QConcatenateTablesProxyModel::timerEvent(event0); +} +QConcatenateTablesProxyModel* PythonQtWrapper_QConcatenateTablesProxyModel::new_QConcatenateTablesProxyModel(QObject* parent) +{ +return new PythonQtShell_QConcatenateTablesProxyModel(parent); } + +const QMetaObject* PythonQtShell_QConcatenateTablesProxyModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QConcatenateTablesProxyModel::staticMetaObject); + } else { + return &QConcatenateTablesProxyModel::staticMetaObject; + } +} +int PythonQtShell_QConcatenateTablesProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QConcatenateTablesProxyModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QConcatenateTablesProxyModel::addSourceModel(QConcatenateTablesProxyModel* theWrappedObject, QAbstractItemModel* sourceModel) +{ + ( theWrappedObject->addSourceModel(sourceModel)); +} + +QModelIndex PythonQtWrapper_QConcatenateTablesProxyModel::mapFromSource(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const +{ + return ( theWrappedObject->mapFromSource(sourceIndex)); +} + +QModelIndex PythonQtWrapper_QConcatenateTablesProxyModel::mapToSource(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const +{ + return ( theWrappedObject->mapToSource(proxyIndex)); +} + +void PythonQtWrapper_QConcatenateTablesProxyModel::removeSourceModel(QConcatenateTablesProxyModel* theWrappedObject, QAbstractItemModel* sourceModel) +{ + ( theWrappedObject->removeSourceModel(sourceModel)); +} + +QList PythonQtWrapper_QConcatenateTablesProxyModel::sourceModels(QConcatenateTablesProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sourceModels()); +} + + + +QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient() +{ +return new QConicalGradient(); } + +QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient(const QPointF& center, qreal startAngle) +{ +return new QConicalGradient(center, startAngle); } + +QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient(qreal cx, qreal cy, qreal startAngle) +{ +return new QConicalGradient(cx, cy, startAngle); } + +qreal PythonQtWrapper_QConicalGradient::angle(QConicalGradient* theWrappedObject) const +{ + return ( theWrappedObject->angle()); +} + +QPointF PythonQtWrapper_QConicalGradient::center(QConicalGradient* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +void PythonQtWrapper_QConicalGradient::setAngle(QConicalGradient* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setAngle(angle)); +} + +void PythonQtWrapper_QConicalGradient::setCenter(QConicalGradient* theWrappedObject, const QPointF& center) +{ + ( theWrappedObject->setCenter(center)); +} + +void PythonQtWrapper_QConicalGradient::setCenter(QConicalGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setCenter(x, y)); +} + + + +PythonQtShell_QContextMenuEvent::~PythonQtShell_QContextMenuEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos) +{ +return new PythonQtShell_QContextMenuEvent(reason, pos); } + +QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos) +{ +return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos); } + +QContextMenuEvent* PythonQtWrapper_QContextMenuEvent::new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QContextMenuEvent(reason, pos, globalPos, modifiers); } + +const QPoint* PythonQtWrapper_QContextMenuEvent::globalPos(QContextMenuEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QContextMenuEvent::globalX(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QContextMenuEvent::globalY(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPoint* PythonQtWrapper_QContextMenuEvent::pos(QContextMenuEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +QContextMenuEvent::Reason PythonQtWrapper_QContextMenuEvent::reason(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->reason()); +} + +int PythonQtWrapper_QContextMenuEvent::x(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QContextMenuEvent::y(QContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +PythonQtShell_QDataWidgetMapper::~PythonQtShell_QDataWidgetMapper() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDataWidgetMapper::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(); + } + } +} + QDataWidgetMapper::childEvent(event0); +} +void PythonQtShell_QDataWidgetMapper::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(); + } + } +} + QDataWidgetMapper::customEvent(event0); +} +bool PythonQtShell_QDataWidgetMapper::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 QDataWidgetMapper::event(event0); +} +bool PythonQtShell_QDataWidgetMapper::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 QDataWidgetMapper::eventFilter(watched0, event1); +} +void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCurrentIndex"); + 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(); + } + } +} + QDataWidgetMapper::setCurrentIndex(index0); +} +void PythonQtShell_QDataWidgetMapper::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(); + } + } +} + QDataWidgetMapper::timerEvent(event0); +} +QDataWidgetMapper* PythonQtWrapper_QDataWidgetMapper::new_QDataWidgetMapper(QObject* parent) +{ +return new PythonQtShell_QDataWidgetMapper(parent); } + +const QMetaObject* PythonQtShell_QDataWidgetMapper::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDataWidgetMapper::staticMetaObject); + } else { + return &QDataWidgetMapper::staticMetaObject; + } +} +int PythonQtShell_QDataWidgetMapper::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDataWidgetMapper::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QDataWidgetMapper::addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section) +{ + ( theWrappedObject->addMapping(widget, section)); +} + +void PythonQtWrapper_QDataWidgetMapper::addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName) +{ + ( theWrappedObject->addMapping(widget, section, propertyName)); +} + +void PythonQtWrapper_QDataWidgetMapper::clearMapping(QDataWidgetMapper* theWrappedObject) +{ + ( theWrappedObject->clearMapping()); +} + +int PythonQtWrapper_QDataWidgetMapper::currentIndex(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QAbstractItemDelegate* PythonQtWrapper_QDataWidgetMapper::itemDelegate(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QByteArray PythonQtWrapper_QDataWidgetMapper::mappedPropertyName(QDataWidgetMapper* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->mappedPropertyName(widget)); +} + +int PythonQtWrapper_QDataWidgetMapper::mappedSection(QDataWidgetMapper* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->mappedSection(widget)); +} + +QWidget* PythonQtWrapper_QDataWidgetMapper::mappedWidgetAt(QDataWidgetMapper* theWrappedObject, int section) const +{ + return ( theWrappedObject->mappedWidgetAt(section)); +} + +QAbstractItemModel* PythonQtWrapper_QDataWidgetMapper::model(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +Qt::Orientation PythonQtWrapper_QDataWidgetMapper::orientation(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QDataWidgetMapper::removeMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeMapping(widget)); +} + +QModelIndex PythonQtWrapper_QDataWidgetMapper::rootIndex(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->rootIndex()); +} + +void PythonQtWrapper_QDataWidgetMapper::setItemDelegate(QDataWidgetMapper* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QDataWidgetMapper::setModel(QDataWidgetMapper* theWrappedObject, QAbstractItemModel* model) +{ + ( theWrappedObject->setModel(model)); +} + +void PythonQtWrapper_QDataWidgetMapper::setOrientation(QDataWidgetMapper* theWrappedObject, Qt::Orientation aOrientation) +{ + ( theWrappedObject->setOrientation(aOrientation)); +} + +void PythonQtWrapper_QDataWidgetMapper::setRootIndex(QDataWidgetMapper* theWrappedObject, const QModelIndex& index) +{ + ( theWrappedObject->setRootIndex(index)); +} + +void PythonQtWrapper_QDataWidgetMapper::setSubmitPolicy(QDataWidgetMapper* theWrappedObject, QDataWidgetMapper::SubmitPolicy policy) +{ + ( theWrappedObject->setSubmitPolicy(policy)); +} + +QDataWidgetMapper::SubmitPolicy PythonQtWrapper_QDataWidgetMapper::submitPolicy(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->submitPolicy()); +} + + + +PythonQtShell_QDateEdit::~PythonQtShell_QDateEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDateEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDateEdit::actionEvent(event0); +} +void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QDateEdit::changeEvent(event0); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::childEvent(event0); +} +void PythonQtShell_QDateEdit::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QDateEdit::clear(); +} +void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QDateEdit::closeEvent(event0); +} +void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QDateEdit::contextMenuEvent(event0); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::customEvent(event0); +} +QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dateTimeFromText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::dateTimeFromText(text0); +} +int PythonQtShell_QDateEdit::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 QDateEdit::devType(); +} +void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDateEdit::dragEnterEvent(event0); +} +void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDateEdit::dragLeaveEvent(event0); +} +void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDateEdit::dragMoveEvent(event0); +} +void PythonQtShell_QDateEdit::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDateEdit::dropEvent(event0); +} +void PythonQtShell_QDateEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDateEdit::enterEvent(event0); +} +bool PythonQtShell_QDateEdit::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 QDateEdit::event(event0); +} +bool PythonQtShell_QDateEdit::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 QDateEdit::eventFilter(watched0, event1); +} +void PythonQtShell_QDateEdit::fixup(QString& input0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateEdit::fixup(input0); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::focusInEvent(event0); +} +bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::focusOutEvent(event0); +} +bool PythonQtShell_QDateEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::hasHeightForWidth(); +} +int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::heightForWidth(arg__1); +} +void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateEdit::hideEvent(event0); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::initPainter(painter0); +} +void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::keyPressEvent(event0); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::keyReleaseEvent(event0); +} +void PythonQtShell_QDateEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDateEdit::leaveEvent(event0); +} +int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::metric(arg__1); +} +QSize PythonQtShell_QDateEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::minimumSizeHint(); +} +void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateEdit::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateEdit::mouseMoveEvent(event0); +} +void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateEdit::mousePressEvent(event0); +} +void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateEdit::mouseReleaseEvent(event0); +} +void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDateEdit::moveEvent(event0); +} +bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::paintEngine(); +} +void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QDateEdit::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QDateEdit::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 QDateEdit::redirected(offset0); +} +void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QDateEdit::resizeEvent(event0); +} +void PythonQtShell_QDateEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateEdit::setVisible(visible0); +} +QPainter* PythonQtShell_QDateEdit::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 QDateEdit::sharedPainter(); +} +void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QDateEdit::showEvent(event0); +} +QSize PythonQtShell_QDateEdit::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::sizeHint(); +} +void PythonQtShell_QDateEdit::stepBy(int steps0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepBy"); + 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*)&steps0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateEdit::stepBy(steps0); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::stepEnabled(); +} +void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDateEdit::tabletEvent(event0); +} +QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textFromDateTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::textFromDateTime(dt0); +} +void PythonQtShell_QDateEdit::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(); + } + } +} + QDateEdit::timerEvent(event0); +} +QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::validate(input0, pos1); +} +void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDateEdit::wheelEvent(event0); +} +QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(QWidget* parent) +{ +return new PythonQtShell_QDateEdit(parent); } + +QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(const QDate& date, QWidget* parent) +{ +return new PythonQtShell_QDateEdit(date, parent); } + +const QMetaObject* PythonQtShell_QDateEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDateEdit::staticMetaObject); + } else { + return &QDateEdit::staticMetaObject; + } +} +int PythonQtShell_QDateEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDateEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QDateTimeEdit::~PythonQtShell_QDateTimeEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDateTimeEdit::actionEvent(event0); +} +void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QDateTimeEdit::changeEvent(event0); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::childEvent(event0); +} +void PythonQtShell_QDateTimeEdit::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QDateTimeEdit::clear(); +} +void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QDateTimeEdit::closeEvent(event0); +} +void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QDateTimeEdit::contextMenuEvent(event0); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::customEvent(event0); +} +QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dateTimeFromText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::dateTimeFromText(text0); +} +int PythonQtShell_QDateTimeEdit::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 QDateTimeEdit::devType(); +} +void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDateTimeEdit::dragEnterEvent(event0); +} +void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDateTimeEdit::dragLeaveEvent(event0); +} +void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDateTimeEdit::dragMoveEvent(event0); +} +void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDateTimeEdit::dropEvent(event0); +} +void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDateTimeEdit::enterEvent(event0); +} +bool PythonQtShell_QDateTimeEdit::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 QDateTimeEdit::event(event0); +} +bool PythonQtShell_QDateTimeEdit::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 QDateTimeEdit::eventFilter(watched0, event1); +} +void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateTimeEdit::fixup(input0); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::focusInEvent(event0); +} +bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::focusOutEvent(event0); +} +bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::hasHeightForWidth(); +} +int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::heightForWidth(arg__1); +} +void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateTimeEdit::hideEvent(event0); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::initPainter(painter0); +} +void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateTimeEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::keyPressEvent(event0); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::keyReleaseEvent(event0); +} +void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDateTimeEdit::leaveEvent(event0); +} +int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::metric(arg__1); +} +QSize PythonQtShell_QDateTimeEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::minimumSizeHint(); +} +void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateTimeEdit::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateTimeEdit::mouseMoveEvent(event0); +} +void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateTimeEdit::mousePressEvent(event0); +} +void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDateTimeEdit::mouseReleaseEvent(event0); +} +void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDateTimeEdit::moveEvent(event0); +} +bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::paintEngine(); +} +void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QDateTimeEdit::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QDateTimeEdit::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 QDateTimeEdit::redirected(offset0); +} +void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QDateTimeEdit::resizeEvent(event0); +} +void PythonQtShell_QDateTimeEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateTimeEdit::setVisible(visible0); +} +QPainter* PythonQtShell_QDateTimeEdit::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 QDateTimeEdit::sharedPainter(); +} +void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QDateTimeEdit::showEvent(event0); +} +QSize PythonQtShell_QDateTimeEdit::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::sizeHint(); +} +void PythonQtShell_QDateTimeEdit::stepBy(int steps0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepBy"); + 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*)&steps0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateTimeEdit::stepBy(steps0); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::stepEnabled(); +} +void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDateTimeEdit::tabletEvent(event0); +} +QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textFromDateTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::textFromDateTime(dt0); +} +void PythonQtShell_QDateTimeEdit::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(); + } + } +} + QDateTimeEdit::timerEvent(event0); +} +QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::validate(input0, pos1); +} +void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDateTimeEdit::wheelEvent(event0); +} +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QDate& d, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(d, parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QDateTime& dt, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(dt, parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QTime& t, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(t, parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QVariant& val, QMetaType::Type parserType, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(val, parserType, parent); } + +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(val, parserType, parent); } + +const QMetaObject* PythonQtShell_QDateTimeEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDateTimeEdit::staticMetaObject); + } else { + return &QDateTimeEdit::staticMetaObject; + } +} +int PythonQtShell_QDateTimeEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDateTimeEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QCalendar PythonQtWrapper_QDateTimeEdit::calendar(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->calendar()); +} + +bool PythonQtWrapper_QDateTimeEdit::calendarPopup(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->calendarPopup()); +} + +QCalendarWidget* PythonQtWrapper_QDateTimeEdit::calendarWidget(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->calendarWidget()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMaximumDate(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMaximumDate()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMaximumDateTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMaximumDateTime()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMaximumTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMaximumTime()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMinimumDate(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMinimumDate()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMinimumDateTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMinimumDateTime()); +} + +void PythonQtWrapper_QDateTimeEdit::clearMinimumTime(QDateTimeEdit* theWrappedObject) +{ + ( theWrappedObject->clearMinimumTime()); +} + +QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::currentSection(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentSection()); +} + +int PythonQtWrapper_QDateTimeEdit::currentSectionIndex(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentSectionIndex()); +} + +QDate PythonQtWrapper_QDateTimeEdit::date(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->date()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::dateTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->dateTime()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_dateTimeFromText(text)); +} + +QString PythonQtWrapper_QDateTimeEdit::displayFormat(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->displayFormat()); +} + +QDateTimeEdit::Sections PythonQtWrapper_QDateTimeEdit::displayedSections(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->displayedSections()); +} + +void PythonQtWrapper_QDateTimeEdit::initStyleOption(QDateTimeEdit* theWrappedObject, QStyleOptionSpinBox* option) const +{ + ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QDate PythonQtWrapper_QDateTimeEdit::maximumDate(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumDate()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::maximumDateTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumDateTime()); +} + +QTime PythonQtWrapper_QDateTimeEdit::maximumTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumTime()); +} + +QDate PythonQtWrapper_QDateTimeEdit::minimumDate(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumDate()); +} + +QDateTime PythonQtWrapper_QDateTimeEdit::minimumDateTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumDateTime()); +} + +QTime PythonQtWrapper_QDateTimeEdit::minimumTime(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumTime()); +} + +QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::sectionAt(QDateTimeEdit* theWrappedObject, int index) const +{ + return ( theWrappedObject->sectionAt(index)); +} + +int PythonQtWrapper_QDateTimeEdit::sectionCount(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->sectionCount()); +} + +QString PythonQtWrapper_QDateTimeEdit::sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const +{ + return ( theWrappedObject->sectionText(section)); +} + +void PythonQtWrapper_QDateTimeEdit::setCalendar(QDateTimeEdit* theWrappedObject, QCalendar calendar) +{ + ( theWrappedObject->setCalendar(calendar)); +} + +void PythonQtWrapper_QDateTimeEdit::setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCalendarPopup(enable)); +} + +void PythonQtWrapper_QDateTimeEdit::setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget) +{ + ( theWrappedObject->setCalendarWidget(calendarWidget)); +} + +void PythonQtWrapper_QDateTimeEdit::setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) +{ + ( theWrappedObject->setCurrentSection(section)); +} + +void PythonQtWrapper_QDateTimeEdit::setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index) +{ + ( theWrappedObject->setCurrentSectionIndex(index)); +} + +void PythonQtWrapper_QDateTimeEdit::setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max) +{ + ( theWrappedObject->setDateRange(min, max)); +} + +void PythonQtWrapper_QDateTimeEdit::setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max) +{ + ( theWrappedObject->setDateTimeRange(min, max)); +} + +void PythonQtWrapper_QDateTimeEdit::setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format) +{ + ( theWrappedObject->setDisplayFormat(format)); +} + +void PythonQtWrapper_QDateTimeEdit::setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max) +{ + ( theWrappedObject->setMaximumDate(max)); +} + +void PythonQtWrapper_QDateTimeEdit::setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) +{ + ( theWrappedObject->setMaximumDateTime(dt)); +} + +void PythonQtWrapper_QDateTimeEdit::setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max) +{ + ( theWrappedObject->setMaximumTime(max)); +} + +void PythonQtWrapper_QDateTimeEdit::setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min) +{ + ( theWrappedObject->setMinimumDate(min)); +} + +void PythonQtWrapper_QDateTimeEdit::setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) +{ + ( theWrappedObject->setMinimumDateTime(dt)); +} + +void PythonQtWrapper_QDateTimeEdit::setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min) +{ + ( theWrappedObject->setMinimumTime(min)); +} + +void PythonQtWrapper_QDateTimeEdit::setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) +{ + ( theWrappedObject->setSelectedSection(section)); +} + +void PythonQtWrapper_QDateTimeEdit::setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max) +{ + ( theWrappedObject->setTimeRange(min, max)); +} + +void PythonQtWrapper_QDateTimeEdit::setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec) +{ + ( theWrappedObject->setTimeSpec(spec)); +} + +QString PythonQtWrapper_QDateTimeEdit::textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const +{ + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_textFromDateTime(dt)); +} + +QTime PythonQtWrapper_QDateTimeEdit::time(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->time()); +} + +Qt::TimeSpec PythonQtWrapper_QDateTimeEdit::timeSpec(QDateTimeEdit* theWrappedObject) const +{ + return ( theWrappedObject->timeSpec()); +} + + + +PythonQtShell_QDesktopServices::~PythonQtShell_QDesktopServices() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QDesktopServices* PythonQtWrapper_QDesktopServices::new_QDesktopServices() +{ +return new PythonQtShell_QDesktopServices(); } + +bool PythonQtWrapper_QDesktopServices::static_QDesktopServices_openUrl(const QUrl& url) +{ + return (QDesktopServices::openUrl(url)); +} + +void PythonQtWrapper_QDesktopServices::static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method) +{ + (QDesktopServices::setUrlHandler(scheme, receiver, method)); +} + +void PythonQtWrapper_QDesktopServices::static_QDesktopServices_unsetUrlHandler(const QString& scheme) +{ + (QDesktopServices::unsetUrlHandler(scheme)); +} + + + +PythonQtShell_QDesktopWidget::~PythonQtShell_QDesktopWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDesktopWidget::actionEvent(event0); +} +void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDesktopWidget::changeEvent(arg__1); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::childEvent(event0); +} +void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QDesktopWidget::closeEvent(event0); +} +void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QDesktopWidget::contextMenuEvent(event0); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::customEvent(event0); +} +int PythonQtShell_QDesktopWidget::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 QDesktopWidget::devType(); +} +void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDesktopWidget::dragEnterEvent(event0); +} +void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDesktopWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDesktopWidget::dragMoveEvent(event0); +} +void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDesktopWidget::dropEvent(event0); +} +void PythonQtShell_QDesktopWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDesktopWidget::enterEvent(event0); +} +bool PythonQtShell_QDesktopWidget::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 QDesktopWidget::event(event0); +} +bool PythonQtShell_QDesktopWidget::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 QDesktopWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::focusInEvent(event0); +} +bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::focusOutEvent(event0); +} +bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::hasHeightForWidth(); +} +int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::heightForWidth(arg__1); +} +void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDesktopWidget::hideEvent(event0); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::initPainter(painter0); +} +void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDesktopWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::keyPressEvent(event0); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDesktopWidget::leaveEvent(event0); +} +int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::metric(arg__1); +} +QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::minimumSizeHint(); +} +void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDesktopWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDesktopWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDesktopWidget::mousePressEvent(event0); +} +void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDesktopWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDesktopWidget::moveEvent(event0); +} +bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::paintEngine(); +} +void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QDesktopWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QDesktopWidget::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 QDesktopWidget::redirected(offset0); +} +void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QDesktopWidget::resizeEvent(e0); +} +void PythonQtShell_QDesktopWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDesktopWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QDesktopWidget::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 QDesktopWidget::sharedPainter(); +} +void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QDesktopWidget::showEvent(event0); +} +QSize PythonQtShell_QDesktopWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::sizeHint(); +} +void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDesktopWidget::tabletEvent(event0); +} +void PythonQtShell_QDesktopWidget::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(); + } + } +} + QDesktopWidget::timerEvent(event0); +} +void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDesktopWidget::wheelEvent(event0); +} +QDesktopWidget* PythonQtWrapper_QDesktopWidget::new_QDesktopWidget() +{ +return new PythonQtShell_QDesktopWidget(); } + +const QMetaObject* PythonQtShell_QDesktopWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDesktopWidget::staticMetaObject); + } else { + return &QDesktopWidget::staticMetaObject; + } +} +int PythonQtShell_QDesktopWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDesktopWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->availableGeometry(point)); +} + +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->availableGeometry(widget)); +} + +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, int screen) const +{ + return ( theWrappedObject->availableGeometry(screen)); +} + +bool PythonQtWrapper_QDesktopWidget::isVirtualDesktop(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->isVirtualDesktop()); +} + +int PythonQtWrapper_QDesktopWidget::numScreens(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->numScreens()); +} + +int PythonQtWrapper_QDesktopWidget::primaryScreen(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->primaryScreen()); +} + +QWidget* PythonQtWrapper_QDesktopWidget::screen(QDesktopWidget* theWrappedObject, int screen) +{ + return ( theWrappedObject->screen(screen)); +} + +int PythonQtWrapper_QDesktopWidget::screenCount(QDesktopWidget* theWrappedObject) const +{ + return ( theWrappedObject->screenCount()); +} + +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->screenGeometry(point)); +} + +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->screenGeometry(widget)); +} + +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, int screen) const +{ + return ( theWrappedObject->screenGeometry(screen)); +} + +int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->screenNumber(arg__1)); +} + +int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->screenNumber(widget)); +} + + + +PythonQtShell_QDial::~PythonQtShell_QDial() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDial::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDial::actionEvent(event0); +} +void PythonQtShell_QDial::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::changeEvent(e0); +} +void PythonQtShell_QDial::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(); + } + } +} + QDial::childEvent(event0); +} +void PythonQtShell_QDial::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QDial::closeEvent(event0); +} +void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QDial::contextMenuEvent(event0); +} +void PythonQtShell_QDial::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(); + } + } +} + QDial::customEvent(event0); +} +int PythonQtShell_QDial::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 QDial::devType(); +} +void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDial::dragEnterEvent(event0); +} +void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDial::dragLeaveEvent(event0); +} +void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDial::dragMoveEvent(event0); +} +void PythonQtShell_QDial::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDial::dropEvent(event0); +} +void PythonQtShell_QDial::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDial::enterEvent(event0); +} +bool PythonQtShell_QDial::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 QDial::event(e0); +} +bool PythonQtShell_QDial::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 QDial::eventFilter(watched0, event1); +} +void PythonQtShell_QDial::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(); + } + } +} + QDial::focusInEvent(event0); +} +bool PythonQtShell_QDial::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::focusNextPrevChild(next0); +} +void PythonQtShell_QDial::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(); + } + } +} + QDial::focusOutEvent(event0); +} +bool PythonQtShell_QDial::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::hasHeightForWidth(); +} +int PythonQtShell_QDial::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::heightForWidth(arg__1); +} +void PythonQtShell_QDial::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::hideEvent(event0); +} +void PythonQtShell_QDial::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(); + } + } +} + QDial::initPainter(painter0); +} +void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::inputMethodQuery(arg__1); +} +void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::keyPressEvent(ev0); +} +void PythonQtShell_QDial::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(); + } + } +} + QDial::keyReleaseEvent(event0); +} +void PythonQtShell_QDial::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDial::leaveEvent(event0); +} +int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::metric(arg__1); +} +QSize PythonQtShell_QDial::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::minimumSizeHint(); +} +void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDial::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&me0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::mouseMoveEvent(me0); +} +void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&me0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::mousePressEvent(me0); +} +void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&me0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::mouseReleaseEvent(me0); +} +void PythonQtShell_QDial::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDial::moveEvent(event0); +} +bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDial::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::paintEngine(); +} +void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&pe0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::paintEvent(pe0); +} +QPaintDevice* PythonQtShell_QDial::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 QDial::redirected(offset0); +} +void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&re0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::resizeEvent(re0); +} +void PythonQtShell_QDial::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::setVisible(visible0); +} +QPainter* PythonQtShell_QDial::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 QDial::sharedPainter(); +} +void PythonQtShell_QDial::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QDial::showEvent(event0); +} +QSize PythonQtShell_QDial::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDial::sizeHint(); +} +void PythonQtShell_QDial::sliderChange(QAbstractSlider::SliderChange change0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sliderChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&change0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::sliderChange(change0); +} +void PythonQtShell_QDial::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDial::tabletEvent(event0); +} +void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::timerEvent(arg__1); +} +void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDial::wheelEvent(e0); +} +QDial* PythonQtWrapper_QDial::new_QDial(QWidget* parent) +{ +return new PythonQtShell_QDial(parent); } + +const QMetaObject* PythonQtShell_QDial::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDial::staticMetaObject); + } else { + return &QDial::staticMetaObject; + } +} +int PythonQtShell_QDial::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDial::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QDial::initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const +{ + ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QSize PythonQtWrapper_QDial::minimumSizeHint(QDial* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +int PythonQtWrapper_QDial::notchSize(QDial* theWrappedObject) const +{ + return ( theWrappedObject->notchSize()); +} + +qreal PythonQtWrapper_QDial::notchTarget(QDial* theWrappedObject) const +{ + return ( theWrappedObject->notchTarget()); +} + +bool PythonQtWrapper_QDial::notchesVisible(QDial* theWrappedObject) const +{ + return ( theWrappedObject->notchesVisible()); +} + +void PythonQtWrapper_QDial::setNotchTarget(QDial* theWrappedObject, double target) +{ + ( theWrappedObject->setNotchTarget(target)); +} + +QSize PythonQtWrapper_QDial::sizeHint(QDial* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +bool PythonQtWrapper_QDial::wrapping(QDial* theWrappedObject) const +{ + return ( theWrappedObject->wrapping()); +} + + + +PythonQtShell_QDialog::~PythonQtShell_QDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QDialog::accept(); +} +void PythonQtShell_QDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDialog::actionEvent(event0); +} +void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::changeEvent(arg__1); +} +void PythonQtShell_QDialog::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(); + } + } +} + QDialog::childEvent(event0); +} +void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::closeEvent(arg__1); +} +void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QDialog::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(); + } + } +} + QDialog::customEvent(event0); +} +int PythonQtShell_QDialog::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 QDialog::devType(); +} +void PythonQtShell_QDialog::done(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::done(arg__1); +} +void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDialog::dragEnterEvent(event0); +} +void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDialog::dragMoveEvent(event0); +} +void PythonQtShell_QDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDialog::dropEvent(event0); +} +void PythonQtShell_QDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDialog::enterEvent(event0); +} +bool PythonQtShell_QDialog::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 QDialog::event(event0); +} +bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::exec(); +} +void PythonQtShell_QDialog::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(); + } + } +} + QDialog::focusInEvent(event0); +} +bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QDialog::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(); + } + } +} + QDialog::focusOutEvent(event0); +} +bool PythonQtShell_QDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::hasHeightForWidth(); +} +int PythonQtShell_QDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::heightForWidth(arg__1); +} +void PythonQtShell_QDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::hideEvent(event0); +} +void PythonQtShell_QDialog::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(); + } + } +} + QDialog::initPainter(painter0); +} +void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QDialog::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(); + } + } +} + QDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDialog::leaveEvent(event0); +} +int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::metric(arg__1); +} +QSize PythonQtShell_QDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::minimumSizeHint(); +} +void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialog::mousePressEvent(event0); +} +void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDialog::moveEvent(event0); +} +bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QDialog::open() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + 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(); + } + } +} + QDialog::open(); +} +QPaintEngine* PythonQtShell_QDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::paintEngine(); +} +void PythonQtShell_QDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QDialog::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 QDialog::redirected(offset0); +} +void PythonQtShell_QDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QDialog::reject(); +} +void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::resizeEvent(arg__1); +} +void PythonQtShell_QDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QDialog::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 QDialog::sharedPainter(); +} +void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::showEvent(arg__1); +} +QSize PythonQtShell_QDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialog::sizeHint(); +} +void PythonQtShell_QDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDialog::tabletEvent(event0); +} +void PythonQtShell_QDialog::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(); + } + } +} + QDialog::timerEvent(event0); +} +void PythonQtShell_QDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDialog::wheelEvent(event0); +} +QDialog* PythonQtWrapper_QDialog::new_QDialog(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QDialog(parent, f); } + +const QMetaObject* PythonQtShell_QDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDialog::staticMetaObject); + } else { + return &QDialog::staticMetaObject; + } +} +int PythonQtShell_QDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QDialog::adjustPosition(QDialog* theWrappedObject, QWidget* arg__1) +{ + ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_adjustPosition(arg__1)); +} + +bool PythonQtWrapper_QDialog::isSizeGripEnabled(QDialog* theWrappedObject) const +{ + return ( theWrappedObject->isSizeGripEnabled()); +} + +QSize PythonQtWrapper_QDialog::minimumSizeHint(QDialog* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +int PythonQtWrapper_QDialog::result(QDialog* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + +void PythonQtWrapper_QDialog::setModal(QDialog* theWrappedObject, bool modal) +{ + ( theWrappedObject->setModal(modal)); +} + +void PythonQtWrapper_QDialog::setResult(QDialog* theWrappedObject, int r) +{ + ( theWrappedObject->setResult(r)); +} + +void PythonQtWrapper_QDialog::setSizeGripEnabled(QDialog* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSizeGripEnabled(arg__1)); +} + +QSize PythonQtWrapper_QDialog::sizeHint(QDialog* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +PythonQtShell_QDialogButtonBox::~PythonQtShell_QDialogButtonBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDialogButtonBox::actionEvent(event0); +} +void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QDialogButtonBox::changeEvent(event0); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::childEvent(event0); +} +void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QDialogButtonBox::closeEvent(event0); +} +void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QDialogButtonBox::contextMenuEvent(event0); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::customEvent(event0); +} +int PythonQtShell_QDialogButtonBox::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 QDialogButtonBox::devType(); +} +void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDialogButtonBox::dragEnterEvent(event0); +} +void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDialogButtonBox::dragLeaveEvent(event0); +} +void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDialogButtonBox::dragMoveEvent(event0); +} +void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDialogButtonBox::dropEvent(event0); +} +void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDialogButtonBox::enterEvent(event0); +} +bool PythonQtShell_QDialogButtonBox::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 QDialogButtonBox::event(event0); +} +bool PythonQtShell_QDialogButtonBox::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 QDialogButtonBox::eventFilter(watched0, event1); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::focusInEvent(event0); +} +bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::focusNextPrevChild(next0); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::focusOutEvent(event0); +} +bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::hasHeightForWidth(); +} +int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::heightForWidth(arg__1); +} +void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialogButtonBox::hideEvent(event0); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::initPainter(painter0); +} +void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialogButtonBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::keyPressEvent(event0); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::keyReleaseEvent(event0); +} +void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDialogButtonBox::leaveEvent(event0); +} +int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::metric(arg__1); +} +QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::minimumSizeHint(); +} +void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialogButtonBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialogButtonBox::mouseMoveEvent(event0); +} +void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialogButtonBox::mousePressEvent(event0); +} +void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDialogButtonBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDialogButtonBox::moveEvent(event0); +} +bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::paintEngine(); +} +void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QDialogButtonBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QDialogButtonBox::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 QDialogButtonBox::redirected(offset0); +} +void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QDialogButtonBox::resizeEvent(event0); +} +void PythonQtShell_QDialogButtonBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialogButtonBox::setVisible(visible0); +} +QPainter* PythonQtShell_QDialogButtonBox::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 QDialogButtonBox::sharedPainter(); +} +void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QDialogButtonBox::showEvent(event0); +} +QSize PythonQtShell_QDialogButtonBox::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::sizeHint(); +} +void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDialogButtonBox::tabletEvent(event0); +} +void PythonQtShell_QDialogButtonBox::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(); + } + } +} + QDialogButtonBox::timerEvent(event0); +} +void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDialogButtonBox::wheelEvent(event0); +} +QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent) +{ +return new PythonQtShell_QDialogButtonBox(buttons, parent); } + +QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QDialogButtonBox(buttons, orientation, parent); } + +QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(QWidget* parent) +{ +return new PythonQtShell_QDialogButtonBox(parent); } + +QDialogButtonBox* PythonQtWrapper_QDialogButtonBox::new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QDialogButtonBox(orientation, parent); } + +const QMetaObject* PythonQtShell_QDialogButtonBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDialogButtonBox::staticMetaObject); + } else { + return &QDialogButtonBox::staticMetaObject; + } +} +int PythonQtShell_QDialogButtonBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDialogButtonBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, PythonQtPassOwnershipToCPP button, QDialogButtonBox::ButtonRole role) +{ + ( theWrappedObject->addButton(button, role)); +} + +QPushButton* PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button) +{ + return ( theWrappedObject->addButton(button)); +} + +QPushButton* PythonQtWrapper_QDialogButtonBox::addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role) +{ + return ( theWrappedObject->addButton(text, role)); +} + +QPushButton* PythonQtWrapper_QDialogButtonBox::button(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton which) const +{ + return ( theWrappedObject->button(which)); +} + +QDialogButtonBox::ButtonRole PythonQtWrapper_QDialogButtonBox::buttonRole(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->buttonRole(button)); +} + +QList PythonQtWrapper_QDialogButtonBox::buttons(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +bool PythonQtWrapper_QDialogButtonBox::centerButtons(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->centerButtons()); +} + +void PythonQtWrapper_QDialogButtonBox::clear(QDialogButtonBox* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +Qt::Orientation PythonQtWrapper_QDialogButtonBox::orientation(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QDialogButtonBox::removeButton(QDialogButtonBox* theWrappedObject, PythonQtPassOwnershipToPython button) +{ + ( theWrappedObject->removeButton(button)); +} + +void PythonQtWrapper_QDialogButtonBox::setCenterButtons(QDialogButtonBox* theWrappedObject, bool center) +{ + ( theWrappedObject->setCenterButtons(center)); +} + +void PythonQtWrapper_QDialogButtonBox::setOrientation(QDialogButtonBox* theWrappedObject, Qt::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QDialogButtonBox::setStandardButtons(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButtons buttons) +{ + ( theWrappedObject->setStandardButtons(buttons)); +} + +QDialogButtonBox::StandardButton PythonQtWrapper_QDialogButtonBox::standardButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->standardButton(button)); +} + +QDialogButtonBox::StandardButtons PythonQtWrapper_QDialogButtonBox::standardButtons(QDialogButtonBox* theWrappedObject) const +{ + return ( theWrappedObject->standardButtons()); +} + + + +PythonQtShell_QDirModel::~PythonQtShell_QDirModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::buddy(index0); +} +bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::canFetchMore(parent0); +} +void PythonQtShell_QDirModel::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(); + } + } +} + QDirModel::childEvent(event0); +} +int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::columnCount(parent0); +} +void PythonQtShell_QDirModel::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(); + } + } +} + QDirModel::customEvent(event0); +} +QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::data(index0, role1); +} +bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QDirModel::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 QDirModel::event(event0); +} +bool PythonQtShell_QDirModel::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 QDirModel::eventFilter(watched0, event1); +} +void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDirModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::flags(index0); +} +bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::hasChildren(index0); +} +QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::index(row0, column1, parent2); +} +bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QDirModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::itemData(index0); +} +QList PythonQtShell_QDirModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::mimeData(indexes0); +} +QStringList PythonQtShell_QDirModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::mimeTypes(); +} +bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::parent(child0); +} +bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QDirModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QDirModel::revert(); +} +QHash PythonQtShell_QDirModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::roleNames(); +} +int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::rowCount(parent0); +} +bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::setData(index0, value1, role2); +} +bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDirModel::sort(column0, order1); +} +QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::span(index0); +} +bool PythonQtShell_QDirModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::submit(); +} +Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::supportedDropActions(); +} +void PythonQtShell_QDirModel::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(); + } + } +} + QDirModel::timerEvent(event0); +} +QDirModel* PythonQtWrapper_QDirModel::new_QDirModel(QObject* parent) +{ +return new PythonQtShell_QDirModel(parent); } + +QDirModel* PythonQtWrapper_QDirModel::new_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent) +{ +return new PythonQtShell_QDirModel(nameFilters, filters, sort, parent); } + +const QMetaObject* PythonQtShell_QDirModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDirModel::staticMetaObject); + } else { + return &QDirModel::staticMetaObject; + } +} +int PythonQtShell_QDirModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDirModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QIcon PythonQtWrapper_QDirModel::fileIcon(QDirModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->fileIcon(index)); +} + +QFileInfo PythonQtWrapper_QDirModel::fileInfo(QDirModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->fileInfo(index)); +} + +QString PythonQtWrapper_QDirModel::fileName(QDirModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->fileName(index)); +} + +QString PythonQtWrapper_QDirModel::filePath(QDirModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->filePath(index)); +} + +QDir::Filters PythonQtWrapper_QDirModel::filter(QDirModel* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +QFileIconProvider* PythonQtWrapper_QDirModel::iconProvider(QDirModel* theWrappedObject) const +{ + return ( theWrappedObject->iconProvider()); +} + +QModelIndex PythonQtWrapper_QDirModel::index(QDirModel* theWrappedObject, const QString& path, int column) const +{ + return ( theWrappedObject->index(path, column)); +} + +bool PythonQtWrapper_QDirModel::isDir(QDirModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isDir(index)); +} + +bool PythonQtWrapper_QDirModel::isReadOnly(QDirModel* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QDirModel::lazyChildCount(QDirModel* theWrappedObject) const +{ + return ( theWrappedObject->lazyChildCount()); +} + +QModelIndex PythonQtWrapper_QDirModel::mkdir(QDirModel* theWrappedObject, const QModelIndex& parent, const QString& name) +{ + return ( theWrappedObject->mkdir(parent, name)); +} + +QStringList PythonQtWrapper_QDirModel::nameFilters(QDirModel* theWrappedObject) const +{ + return ( theWrappedObject->nameFilters()); +} + +bool PythonQtWrapper_QDirModel::remove(QDirModel* theWrappedObject, const QModelIndex& index) +{ + return ( theWrappedObject->remove(index)); +} + +bool PythonQtWrapper_QDirModel::resolveSymlinks(QDirModel* theWrappedObject) const +{ + return ( theWrappedObject->resolveSymlinks()); +} + +bool PythonQtWrapper_QDirModel::rmdir(QDirModel* theWrappedObject, const QModelIndex& index) +{ + return ( theWrappedObject->rmdir(index)); +} + +void PythonQtWrapper_QDirModel::setFilter(QDirModel* theWrappedObject, QDir::Filters filters) +{ + ( theWrappedObject->setFilter(filters)); +} + +void PythonQtWrapper_QDirModel::setIconProvider(QDirModel* theWrappedObject, QFileIconProvider* provider) +{ + ( theWrappedObject->setIconProvider(provider)); +} + +void PythonQtWrapper_QDirModel::setLazyChildCount(QDirModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setLazyChildCount(enable)); +} + +void PythonQtWrapper_QDirModel::setNameFilters(QDirModel* theWrappedObject, const QStringList& filters) +{ + ( theWrappedObject->setNameFilters(filters)); +} + +void PythonQtWrapper_QDirModel::setReadOnly(QDirModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setReadOnly(enable)); +} + +void PythonQtWrapper_QDirModel::setResolveSymlinks(QDirModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setResolveSymlinks(enable)); +} + +void PythonQtWrapper_QDirModel::setSorting(QDirModel* theWrappedObject, QDir::SortFlags sort) +{ + ( theWrappedObject->setSorting(sort)); +} + +QDir::SortFlags PythonQtWrapper_QDirModel::sorting(QDirModel* theWrappedObject) const +{ + return ( theWrappedObject->sorting()); +} + + + +PythonQtShell_QDockWidget::~PythonQtShell_QDockWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDockWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDockWidget::actionEvent(event0); +} +void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QDockWidget::changeEvent(event0); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::childEvent(event0); +} +void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QDockWidget::closeEvent(event0); +} +void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QDockWidget::contextMenuEvent(event0); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::customEvent(event0); +} +int PythonQtShell_QDockWidget::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 QDockWidget::devType(); +} +void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDockWidget::dragEnterEvent(event0); +} +void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDockWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDockWidget::dragMoveEvent(event0); +} +void PythonQtShell_QDockWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDockWidget::dropEvent(event0); +} +void PythonQtShell_QDockWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDockWidget::enterEvent(event0); +} +bool PythonQtShell_QDockWidget::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 QDockWidget::event(event0); +} +bool PythonQtShell_QDockWidget::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 QDockWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::focusInEvent(event0); +} +bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::focusOutEvent(event0); +} +bool PythonQtShell_QDockWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::hasHeightForWidth(); +} +int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::heightForWidth(arg__1); +} +void PythonQtShell_QDockWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDockWidget::hideEvent(event0); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::initPainter(painter0); +} +void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDockWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::keyPressEvent(event0); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QDockWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDockWidget::leaveEvent(event0); +} +int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::metric(arg__1); +} +QSize PythonQtShell_QDockWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::minimumSizeHint(); +} +void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDockWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDockWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDockWidget::mousePressEvent(event0); +} +void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDockWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDockWidget::moveEvent(event0); +} +bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::paintEngine(); +} +void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QDockWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QDockWidget::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 QDockWidget::redirected(offset0); +} +void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QDockWidget::resizeEvent(event0); +} +void PythonQtShell_QDockWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDockWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QDockWidget::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 QDockWidget::sharedPainter(); +} +void PythonQtShell_QDockWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QDockWidget::showEvent(event0); +} +QSize PythonQtShell_QDockWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::sizeHint(); +} +void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDockWidget::tabletEvent(event0); +} +void PythonQtShell_QDockWidget::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(); + } + } +} + QDockWidget::timerEvent(event0); +} +void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDockWidget::wheelEvent(event0); +} +QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QDockWidget(parent, flags); } + +QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(const QString& title, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QDockWidget(title, parent, flags); } + +const QMetaObject* PythonQtShell_QDockWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDockWidget::staticMetaObject); + } else { + return &QDockWidget::staticMetaObject; + } +} +int PythonQtShell_QDockWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDockWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::DockWidgetAreas PythonQtWrapper_QDockWidget::allowedAreas(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->allowedAreas()); +} + +QDockWidget::DockWidgetFeatures PythonQtWrapper_QDockWidget::features(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->features()); +} + +void PythonQtWrapper_QDockWidget::initStyleOption(QDockWidget* theWrappedObject, QStyleOptionDockWidget* option) const +{ + ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QDockWidget::isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const +{ + return ( theWrappedObject->isAreaAllowed(area)); +} + +bool PythonQtWrapper_QDockWidget::isFloating(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->isFloating()); +} + +void PythonQtWrapper_QDockWidget::setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas) +{ + ( theWrappedObject->setAllowedAreas(areas)); +} + +void PythonQtWrapper_QDockWidget::setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features) +{ + ( theWrappedObject->setFeatures(features)); +} + +void PythonQtWrapper_QDockWidget::setFloating(QDockWidget* theWrappedObject, bool floating) +{ + ( theWrappedObject->setFloating(floating)); +} + +void PythonQtWrapper_QDockWidget::setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setTitleBarWidget(widget)); +} + +void PythonQtWrapper_QDockWidget::setWidget(QDockWidget* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QWidget* PythonQtWrapper_QDockWidget::titleBarWidget(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->titleBarWidget()); +} + +QAction* PythonQtWrapper_QDockWidget::toggleViewAction(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->toggleViewAction()); +} + +QWidget* PythonQtWrapper_QDockWidget::widget(QDockWidget* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +PythonQtShell_QDoubleSpinBox::~PythonQtShell_QDoubleSpinBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::actionEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QDoubleSpinBox::changeEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::childEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QDoubleSpinBox::clear(); +} +void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QDoubleSpinBox::closeEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::contextMenuEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::customEvent(event0); +} +int PythonQtShell_QDoubleSpinBox::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 QDoubleSpinBox::devType(); +} +void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::dragEnterEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::dragLeaveEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::dragMoveEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::dropEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QDoubleSpinBox::enterEvent(event0); +} +bool PythonQtShell_QDoubleSpinBox::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 QDoubleSpinBox::event(event0); +} +bool PythonQtShell_QDoubleSpinBox::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 QDoubleSpinBox::eventFilter(watched0, event1); +} +void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&str0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleSpinBox::fixup(str0); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::focusInEvent(event0); +} +bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::focusNextPrevChild(next0); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::focusOutEvent(event0); +} +bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::hasHeightForWidth(); +} +int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::heightForWidth(arg__1); +} +void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleSpinBox::hideEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::initPainter(painter0); +} +void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleSpinBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::keyPressEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::keyReleaseEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QDoubleSpinBox::leaveEvent(event0); +} +int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::metric(arg__1); +} +QSize PythonQtShell_QDoubleSpinBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::minimumSizeHint(); +} +void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::mouseMoveEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::mousePressEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::moveEvent(event0); +} +bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::paintEngine(); +} +void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QDoubleSpinBox::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 QDoubleSpinBox::redirected(offset0); +} +void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::resizeEvent(event0); +} +void PythonQtShell_QDoubleSpinBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleSpinBox::setVisible(visible0); +} +QPainter* PythonQtShell_QDoubleSpinBox::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 QDoubleSpinBox::sharedPainter(); +} +void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::showEvent(event0); +} +QSize PythonQtShell_QDoubleSpinBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::sizeHint(); +} +void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepBy"); + 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*)&steps0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleSpinBox::stepBy(steps0); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::stepEnabled(); +} +void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::tabletEvent(event0); +} +QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textFromValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "double"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::textFromValue(val0); +} +void PythonQtShell_QDoubleSpinBox::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(); + } + } +} + QDoubleSpinBox::timerEvent(event0); +} +QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::validate(input0, pos1); +} +double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("valueFromText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"double" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); + } else { + returnValue = *((double*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::valueFromText(text0); +} +void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QDoubleSpinBox::wheelEvent(event0); +} +QDoubleSpinBox* PythonQtWrapper_QDoubleSpinBox::new_QDoubleSpinBox(QWidget* parent) +{ +return new PythonQtShell_QDoubleSpinBox(parent); } + +const QMetaObject* PythonQtShell_QDoubleSpinBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDoubleSpinBox::staticMetaObject); + } else { + return &QDoubleSpinBox::staticMetaObject; + } +} +int PythonQtShell_QDoubleSpinBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDoubleSpinBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QDoubleSpinBox::cleanText(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->cleanText()); +} + +int PythonQtWrapper_QDoubleSpinBox::decimals(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->decimals()); +} + +double PythonQtWrapper_QDoubleSpinBox::maximum(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +double PythonQtWrapper_QDoubleSpinBox::minimum(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +QString PythonQtWrapper_QDoubleSpinBox::prefix(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +void PythonQtWrapper_QDoubleSpinBox::setDecimals(QDoubleSpinBox* theWrappedObject, int prec) +{ + ( theWrappedObject->setDecimals(prec)); +} + +void PythonQtWrapper_QDoubleSpinBox::setMaximum(QDoubleSpinBox* theWrappedObject, double max) +{ + ( theWrappedObject->setMaximum(max)); +} + +void PythonQtWrapper_QDoubleSpinBox::setMinimum(QDoubleSpinBox* theWrappedObject, double min) +{ + ( theWrappedObject->setMinimum(min)); +} + +void PythonQtWrapper_QDoubleSpinBox::setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix) +{ + ( theWrappedObject->setPrefix(prefix)); +} + +void PythonQtWrapper_QDoubleSpinBox::setRange(QDoubleSpinBox* theWrappedObject, double min, double max) +{ + ( theWrappedObject->setRange(min, max)); +} + +void PythonQtWrapper_QDoubleSpinBox::setSingleStep(QDoubleSpinBox* theWrappedObject, double val) +{ + ( theWrappedObject->setSingleStep(val)); +} + +void PythonQtWrapper_QDoubleSpinBox::setStepType(QDoubleSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType) +{ + ( theWrappedObject->setStepType(stepType)); +} + +void PythonQtWrapper_QDoubleSpinBox::setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix) +{ + ( theWrappedObject->setSuffix(suffix)); +} + +double PythonQtWrapper_QDoubleSpinBox::singleStep(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->singleStep()); +} + +QAbstractSpinBox::StepType PythonQtWrapper_QDoubleSpinBox::stepType(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->stepType()); +} + +QString PythonQtWrapper_QDoubleSpinBox::suffix(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->suffix()); +} + +QString PythonQtWrapper_QDoubleSpinBox::textFromValue(QDoubleSpinBox* theWrappedObject, double val) const +{ + return ( theWrappedObject->textFromValue(val)); +} + +double PythonQtWrapper_QDoubleSpinBox::value(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +double PythonQtWrapper_QDoubleSpinBox::valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->valueFromText(text)); +} + + + +PythonQtShell_QDoubleValidator::~PythonQtShell_QDoubleValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDoubleValidator::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(); + } + } +} + QDoubleValidator::childEvent(event0); +} +void PythonQtShell_QDoubleValidator::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(); + } + } +} + QDoubleValidator::customEvent(event0); +} +bool PythonQtShell_QDoubleValidator::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 QDoubleValidator::event(event0); +} +bool PythonQtShell_QDoubleValidator::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 QDoubleValidator::eventFilter(watched0, event1); +} +void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleValidator::fixup(arg__1); +} +void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "double" , "double" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&bottom0, (void*)&top1, (void*)&decimals2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleValidator::setRange(bottom0, top1, decimals2); +} +void PythonQtShell_QDoubleValidator::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(); + } + } +} + QDoubleValidator::timerEvent(event0); +} +QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleValidator::validate(arg__1, arg__2); +} +QDoubleValidator* PythonQtWrapper_QDoubleValidator::new_QDoubleValidator(QObject* parent) +{ +return new PythonQtShell_QDoubleValidator(parent); } + +QDoubleValidator* PythonQtWrapper_QDoubleValidator::new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent) +{ +return new PythonQtShell_QDoubleValidator(bottom, top, decimals, parent); } + +const QMetaObject* PythonQtShell_QDoubleValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDoubleValidator::staticMetaObject); + } else { + return &QDoubleValidator::staticMetaObject; + } +} +int PythonQtShell_QDoubleValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDoubleValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +double PythonQtWrapper_QDoubleValidator::bottom(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +int PythonQtWrapper_QDoubleValidator::decimals(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->decimals()); +} + +QDoubleValidator::Notation PythonQtWrapper_QDoubleValidator::notation(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->notation()); +} + +void PythonQtWrapper_QDoubleValidator::setBottom(QDoubleValidator* theWrappedObject, double arg__1) +{ + ( theWrappedObject->setBottom(arg__1)); +} + +void PythonQtWrapper_QDoubleValidator::setDecimals(QDoubleValidator* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setDecimals(arg__1)); +} + +void PythonQtWrapper_QDoubleValidator::setNotation(QDoubleValidator* theWrappedObject, QDoubleValidator::Notation arg__1) +{ + ( theWrappedObject->setNotation(arg__1)); +} + +void PythonQtWrapper_QDoubleValidator::setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals) +{ + ( theWrappedObject->setRange(bottom, top, decimals)); +} + +void PythonQtWrapper_QDoubleValidator::setTop(QDoubleValidator* theWrappedObject, double arg__1) +{ + ( theWrappedObject->setTop(arg__1)); +} + +double PythonQtWrapper_QDoubleValidator::top(QDoubleValidator* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + + + +PythonQtShell_QDrag::~PythonQtShell_QDrag() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDrag::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(); + } + } +} + QDrag::childEvent(event0); +} +void PythonQtShell_QDrag::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(); + } + } +} + QDrag::customEvent(event0); +} +bool PythonQtShell_QDrag::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 QDrag::event(event0); +} +bool PythonQtShell_QDrag::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 QDrag::eventFilter(watched0, event1); +} +void PythonQtShell_QDrag::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(); + } + } +} + QDrag::timerEvent(event0); +} +QDrag* PythonQtWrapper_QDrag::new_QDrag(QObject* dragSource) +{ +return new PythonQtShell_QDrag(dragSource); } + +const QMetaObject* PythonQtShell_QDrag::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDrag::staticMetaObject); + } else { + return &QDrag::staticMetaObject; + } +} +int PythonQtShell_QDrag::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDrag::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QDrag::static_QDrag_cancel() +{ + (QDrag::cancel()); +} + +Qt::DropAction PythonQtWrapper_QDrag::defaultAction(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); +} + +QPixmap PythonQtWrapper_QDrag::dragCursor(QDrag* theWrappedObject, Qt::DropAction action) const +{ + return ( theWrappedObject->dragCursor(action)); +} + +Qt::DropAction PythonQtWrapper_QDrag::exec(QDrag* theWrappedObject, Qt::DropActions supportedActions) +{ + return ( theWrappedObject->exec(supportedActions)); +} + +Qt::DropAction PythonQtWrapper_QDrag::exec(QDrag* theWrappedObject, Qt::DropActions supportedActions, Qt::DropAction defaultAction) +{ + return ( theWrappedObject->exec(supportedActions, defaultAction)); +} + +QPoint PythonQtWrapper_QDrag::hotSpot(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->hotSpot()); +} + +QMimeData* PythonQtWrapper_QDrag::mimeData(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); +} + +QPixmap PythonQtWrapper_QDrag::pixmap(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +void PythonQtWrapper_QDrag::setDragCursor(QDrag* theWrappedObject, const QPixmap& cursor, Qt::DropAction action) +{ + ( theWrappedObject->setDragCursor(cursor, action)); +} + +void PythonQtWrapper_QDrag::setHotSpot(QDrag* theWrappedObject, const QPoint& hotspot) +{ + ( theWrappedObject->setHotSpot(hotspot)); +} + +void PythonQtWrapper_QDrag::setMimeData(QDrag* theWrappedObject, PythonQtPassOwnershipToCPP data) +{ + ( theWrappedObject->setMimeData(data)); +} + +void PythonQtWrapper_QDrag::setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1) +{ + ( theWrappedObject->setPixmap(arg__1)); +} + +QObject* PythonQtWrapper_QDrag::source(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +Qt::DropActions PythonQtWrapper_QDrag::supportedActions(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->supportedActions()); +} + +QObject* PythonQtWrapper_QDrag::target(QDrag* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + + + +QDragEnterEvent* PythonQtWrapper_QDragEnterEvent::new_QDragEnterEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new QDragEnterEvent(pos, actions, data, buttons, modifiers); } + + + +QDragLeaveEvent* PythonQtWrapper_QDragLeaveEvent::new_QDragLeaveEvent() +{ +return new QDragLeaveEvent(); } + + + +PythonQtShell_QDragMoveEvent::~PythonQtShell_QDragMoveEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QDragMoveEvent* PythonQtWrapper_QDragMoveEvent::new_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type) +{ +return new PythonQtShell_QDragMoveEvent(pos, actions, data, buttons, modifiers, type); } + +void PythonQtWrapper_QDragMoveEvent::accept(QDragMoveEvent* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->accept(r)); +} + +QRect PythonQtWrapper_QDragMoveEvent::answerRect(QDragMoveEvent* theWrappedObject) const +{ + return ( theWrappedObject->answerRect()); +} + +void PythonQtWrapper_QDragMoveEvent::ignore(QDragMoveEvent* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->ignore(r)); +} + + + +PythonQtShell_QDropEvent::~PythonQtShell_QDropEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QDropEvent* PythonQtWrapper_QDropEvent::new_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type) +{ +return new PythonQtShell_QDropEvent(pos, actions, data, buttons, modifiers, type); } + +void PythonQtWrapper_QDropEvent::acceptProposedAction(QDropEvent* theWrappedObject) +{ + ( theWrappedObject->acceptProposedAction()); +} + +Qt::DropAction PythonQtWrapper_QDropEvent::dropAction(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->dropAction()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QDropEvent::keyboardModifiers(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->keyboardModifiers()); +} + +const QMimeData* PythonQtWrapper_QDropEvent::mimeData(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); +} + +Qt::MouseButtons PythonQtWrapper_QDropEvent::mouseButtons(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mouseButtons()); +} + +QPoint PythonQtWrapper_QDropEvent::pos(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QDropEvent::posF(QDropEvent* theWrappedObject) const +{ + return &( theWrappedObject->posF()); +} + +Qt::DropActions PythonQtWrapper_QDropEvent::possibleActions(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->possibleActions()); +} + +Qt::DropAction PythonQtWrapper_QDropEvent::proposedAction(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->proposedAction()); +} + +void PythonQtWrapper_QDropEvent::setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action) +{ + ( theWrappedObject->setDropAction(action)); +} + +QObject* PythonQtWrapper_QDropEvent::source(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + + + +PythonQtShell_QEnterEvent::~PythonQtShell_QEnterEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QEnterEvent* PythonQtWrapper_QEnterEvent::new_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos) +{ +return new PythonQtShell_QEnterEvent(localPos, windowPos, screenPos); } + +QPoint PythonQtWrapper_QEnterEvent::globalPos(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QEnterEvent::globalX(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QEnterEvent::globalY(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPointF* PythonQtWrapper_QEnterEvent::localPos(QEnterEvent* theWrappedObject) const +{ + return &( theWrappedObject->localPos()); +} + +QPoint PythonQtWrapper_QEnterEvent::pos(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QEnterEvent::screenPos(QEnterEvent* theWrappedObject) const +{ + return &( theWrappedObject->screenPos()); +} + +const QPointF* PythonQtWrapper_QEnterEvent::windowPos(QEnterEvent* theWrappedObject) const +{ + return &( theWrappedObject->windowPos()); +} + +int PythonQtWrapper_QEnterEvent::x(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QEnterEvent::y(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +PythonQtShell_QErrorMessage::~PythonQtShell_QErrorMessage() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QErrorMessage::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QErrorMessage::accept(); +} +void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QErrorMessage::actionEvent(event0); +} +void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::changeEvent(e0); +} +void PythonQtShell_QErrorMessage::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(); + } + } +} + QErrorMessage::childEvent(event0); +} +void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::closeEvent(arg__1); +} +void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::contextMenuEvent(arg__1); +} +void PythonQtShell_QErrorMessage::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(); + } + } +} + QErrorMessage::customEvent(event0); +} +int PythonQtShell_QErrorMessage::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 QErrorMessage::devType(); +} +void PythonQtShell_QErrorMessage::done(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::done(arg__1); +} +void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QErrorMessage::dragEnterEvent(event0); +} +void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QErrorMessage::dragLeaveEvent(event0); +} +void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QErrorMessage::dragMoveEvent(event0); +} +void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QErrorMessage::dropEvent(event0); +} +void PythonQtShell_QErrorMessage::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QErrorMessage::enterEvent(event0); +} +bool PythonQtShell_QErrorMessage::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 QErrorMessage::event(event0); +} +bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QErrorMessage::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QErrorMessage::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::exec(); +} +void PythonQtShell_QErrorMessage::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(); + } + } +} + QErrorMessage::focusInEvent(event0); +} +bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::focusNextPrevChild(next0); +} +void PythonQtShell_QErrorMessage::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(); + } + } +} + QErrorMessage::focusOutEvent(event0); +} +bool PythonQtShell_QErrorMessage::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::hasHeightForWidth(); +} +int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::heightForWidth(arg__1); +} +void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::hideEvent(event0); +} +void PythonQtShell_QErrorMessage::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(); + } + } +} + QErrorMessage::initPainter(painter0); +} +void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::inputMethodQuery(arg__1); +} +void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::keyPressEvent(arg__1); +} +void PythonQtShell_QErrorMessage::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(); + } + } +} + QErrorMessage::keyReleaseEvent(event0); +} +void PythonQtShell_QErrorMessage::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QErrorMessage::leaveEvent(event0); +} +int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::metric(arg__1); +} +QSize PythonQtShell_QErrorMessage::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::minimumSizeHint(); +} +void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QErrorMessage::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QErrorMessage::mouseMoveEvent(event0); +} +void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QErrorMessage::mousePressEvent(event0); +} +void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QErrorMessage::mouseReleaseEvent(event0); +} +void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QErrorMessage::moveEvent(event0); +} +bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QErrorMessage::open() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + 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(); + } + } +} + QErrorMessage::open(); +} +QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::paintEngine(); +} +void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QErrorMessage::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QErrorMessage::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 QErrorMessage::redirected(offset0); +} +void PythonQtShell_QErrorMessage::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QErrorMessage::reject(); +} +void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::resizeEvent(arg__1); +} +void PythonQtShell_QErrorMessage::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::setVisible(visible0); +} +QPainter* PythonQtShell_QErrorMessage::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 QErrorMessage::sharedPainter(); +} +void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::showEvent(arg__1); +} +QSize PythonQtShell_QErrorMessage::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QErrorMessage::sizeHint(); +} +void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QErrorMessage::tabletEvent(event0); +} +void PythonQtShell_QErrorMessage::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(); + } + } +} + QErrorMessage::timerEvent(event0); +} +void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QErrorMessage::wheelEvent(event0); +} +QErrorMessage* PythonQtWrapper_QErrorMessage::new_QErrorMessage(QWidget* parent) +{ +return new PythonQtShell_QErrorMessage(parent); } + +const QMetaObject* PythonQtShell_QErrorMessage::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QErrorMessage::staticMetaObject); + } else { + return &QErrorMessage::staticMetaObject; + } +} +int PythonQtShell_QErrorMessage::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QErrorMessage::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QErrorMessage* PythonQtWrapper_QErrorMessage::static_QErrorMessage_qtHandler() +{ + return (QErrorMessage::qtHandler()); +} + + + +PythonQtShell_QExposeEvent::~PythonQtShell_QExposeEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QExposeEvent* PythonQtWrapper_QExposeEvent::new_QExposeEvent(const QRegion& rgn) +{ +return new PythonQtShell_QExposeEvent(rgn); } + +const QRegion* PythonQtWrapper_QExposeEvent::region(QExposeEvent* theWrappedObject) const +{ + return &( theWrappedObject->region()); +} + + + +PythonQtShell_QFileDialog::~PythonQtShell_QFileDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFileDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QFileDialog::accept(); +} +void PythonQtShell_QFileDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QFileDialog::actionEvent(event0); +} +void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::changeEvent(e0); +} +void PythonQtShell_QFileDialog::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(); + } + } +} + QFileDialog::childEvent(event0); +} +void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::closeEvent(arg__1); +} +void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QFileDialog::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(); + } + } +} + QFileDialog::customEvent(event0); +} +int PythonQtShell_QFileDialog::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 QFileDialog::devType(); +} +void PythonQtShell_QFileDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::done(result0); +} +void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QFileDialog::dragEnterEvent(event0); +} +void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QFileDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QFileDialog::dragMoveEvent(event0); +} +void PythonQtShell_QFileDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QFileDialog::dropEvent(event0); +} +void PythonQtShell_QFileDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QFileDialog::enterEvent(event0); +} +bool PythonQtShell_QFileDialog::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 QFileDialog::event(event0); +} +bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QFileDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QFileDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::exec(); +} +void PythonQtShell_QFileDialog::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(); + } + } +} + QFileDialog::focusInEvent(event0); +} +bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QFileDialog::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(); + } + } +} + QFileDialog::focusOutEvent(event0); +} +bool PythonQtShell_QFileDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::hasHeightForWidth(); +} +int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::heightForWidth(arg__1); +} +void PythonQtShell_QFileDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::hideEvent(event0); +} +void PythonQtShell_QFileDialog::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(); + } + } +} + QFileDialog::initPainter(painter0); +} +void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QFileDialog::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(); + } + } +} + QFileDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QFileDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QFileDialog::leaveEvent(event0); +} +int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::metric(arg__1); +} +QSize PythonQtShell_QFileDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::minimumSizeHint(); +} +void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFileDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFileDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFileDialog::mousePressEvent(event0); +} +void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFileDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QFileDialog::moveEvent(event0); +} +bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::paintEngine(); +} +void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QFileDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QFileDialog::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 QFileDialog::redirected(offset0); +} +void PythonQtShell_QFileDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QFileDialog::reject(); +} +void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::resizeEvent(arg__1); +} +void PythonQtShell_QFileDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QFileDialog::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 QFileDialog::sharedPainter(); +} +void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::showEvent(arg__1); +} +QSize PythonQtShell_QFileDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDialog::sizeHint(); +} +void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QFileDialog::tabletEvent(event0); +} +void PythonQtShell_QFileDialog::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(); + } + } +} + QFileDialog::timerEvent(event0); +} +void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QFileDialog::wheelEvent(event0); +} +QFileDialog* PythonQtWrapper_QFileDialog::new_QFileDialog(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QFileDialog(parent, f); } + +QFileDialog* PythonQtWrapper_QFileDialog::new_QFileDialog(QWidget* parent, const QString& caption, const QString& directory, const QString& filter) +{ +return new PythonQtShell_QFileDialog(parent, caption, directory, filter); } + +const QMetaObject* PythonQtShell_QFileDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileDialog::staticMetaObject); + } else { + return &QFileDialog::staticMetaObject; + } +} +int PythonQtShell_QFileDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QFileDialog::AcceptMode PythonQtWrapper_QFileDialog::acceptMode(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->acceptMode()); +} + +bool PythonQtWrapper_QFileDialog::confirmOverwrite(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->confirmOverwrite()); +} + +QString PythonQtWrapper_QFileDialog::defaultSuffix(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->defaultSuffix()); +} + +QDir PythonQtWrapper_QFileDialog::directory(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->directory()); +} + +QUrl PythonQtWrapper_QFileDialog::directoryUrl(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->directoryUrl()); +} + +QFileDialog::FileMode PythonQtWrapper_QFileDialog::fileMode(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->fileMode()); +} + +QDir::Filters PythonQtWrapper_QFileDialog::filter(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +QString PythonQtWrapper_QFileDialog::static_QFileDialog_getExistingDirectory(QWidget* parent, const QString& caption, const QString& dir, QFileDialog::Options options) +{ + return (QFileDialog::getExistingDirectory(parent, caption, dir, options)); +} + +QUrl PythonQtWrapper_QFileDialog::static_QFileDialog_getExistingDirectoryUrl(QWidget* parent, const QString& caption, const QUrl& dir, QFileDialog::Options options, const QStringList& supportedSchemes) +{ + return (QFileDialog::getExistingDirectoryUrl(parent, caption, dir, options, supportedSchemes)); +} + +QString PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileName(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) +{ + return (QFileDialog::getOpenFileName(parent, caption, dir, filter, selectedFilter, options)); +} + +QStringList PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileNames(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) +{ + return (QFileDialog::getOpenFileNames(parent, caption, dir, filter, selectedFilter, options)); +} + +QUrl PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileUrl(QWidget* parent, const QString& caption, const QUrl& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options, const QStringList& supportedSchemes) +{ + return (QFileDialog::getOpenFileUrl(parent, caption, dir, filter, selectedFilter, options, supportedSchemes)); +} + +QList PythonQtWrapper_QFileDialog::static_QFileDialog_getOpenFileUrls(QWidget* parent, const QString& caption, const QUrl& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options, const QStringList& supportedSchemes) +{ + return (QFileDialog::getOpenFileUrls(parent, caption, dir, filter, selectedFilter, options, supportedSchemes)); +} + +QString PythonQtWrapper_QFileDialog::static_QFileDialog_getSaveFileName(QWidget* parent, const QString& caption, const QString& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options) +{ + return (QFileDialog::getSaveFileName(parent, caption, dir, filter, selectedFilter, options)); +} + +QUrl PythonQtWrapper_QFileDialog::static_QFileDialog_getSaveFileUrl(QWidget* parent, const QString& caption, const QUrl& dir, const QString& filter, QString* selectedFilter, QFileDialog::Options options, const QStringList& supportedSchemes) +{ + return (QFileDialog::getSaveFileUrl(parent, caption, dir, filter, selectedFilter, options, supportedSchemes)); +} + +QStringList PythonQtWrapper_QFileDialog::history(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +QFileIconProvider* PythonQtWrapper_QFileDialog::iconProvider(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->iconProvider()); +} + +bool PythonQtWrapper_QFileDialog::isNameFilterDetailsVisible(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->isNameFilterDetailsVisible()); +} + +bool PythonQtWrapper_QFileDialog::isReadOnly(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +QAbstractItemDelegate* PythonQtWrapper_QFileDialog::itemDelegate(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->itemDelegate()); +} + +QString PythonQtWrapper_QFileDialog::labelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label) const +{ + return ( theWrappedObject->labelText(label)); +} + +QStringList PythonQtWrapper_QFileDialog::mimeTypeFilters(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->mimeTypeFilters()); +} + +QStringList PythonQtWrapper_QFileDialog::nameFilters(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->nameFilters()); +} + +void PythonQtWrapper_QFileDialog::open(QFileDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QFileDialog::Options PythonQtWrapper_QFileDialog::options(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QAbstractProxyModel* PythonQtWrapper_QFileDialog::proxyModel(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->proxyModel()); +} + +bool PythonQtWrapper_QFileDialog::resolveSymlinks(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->resolveSymlinks()); +} + +bool PythonQtWrapper_QFileDialog::restoreState(QFileDialog* theWrappedObject, const QByteArray& state) +{ + return ( theWrappedObject->restoreState(state)); +} + +void PythonQtWrapper_QFileDialog::static_QFileDialog_saveFileContent(const QByteArray& fileContent, const QString& fileNameHint) +{ + (QFileDialog::saveFileContent(fileContent, fileNameHint)); +} + +QByteArray PythonQtWrapper_QFileDialog::saveState(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->saveState()); +} + +void PythonQtWrapper_QFileDialog::selectFile(QFileDialog* theWrappedObject, const QString& filename) +{ + ( theWrappedObject->selectFile(filename)); +} + +void PythonQtWrapper_QFileDialog::selectMimeTypeFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->selectMimeTypeFilter(filter)); +} + +void PythonQtWrapper_QFileDialog::selectNameFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->selectNameFilter(filter)); +} + +void PythonQtWrapper_QFileDialog::selectUrl(QFileDialog* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->selectUrl(url)); +} + +QStringList PythonQtWrapper_QFileDialog::selectedFiles(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedFiles()); +} + +QString PythonQtWrapper_QFileDialog::selectedMimeTypeFilter(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedMimeTypeFilter()); +} + +QString PythonQtWrapper_QFileDialog::selectedNameFilter(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedNameFilter()); +} + +QList PythonQtWrapper_QFileDialog::selectedUrls(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedUrls()); +} + +void PythonQtWrapper_QFileDialog::setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode) +{ + ( theWrappedObject->setAcceptMode(mode)); +} + +void PythonQtWrapper_QFileDialog::setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setConfirmOverwrite(enabled)); +} + +void PythonQtWrapper_QFileDialog::setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix) +{ + ( theWrappedObject->setDefaultSuffix(suffix)); +} + +void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QDir& directory) +{ + ( theWrappedObject->setDirectory(directory)); +} + +void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QString& directory) +{ + ( theWrappedObject->setDirectory(directory)); +} + +void PythonQtWrapper_QFileDialog::setDirectoryUrl(QFileDialog* theWrappedObject, const QUrl& directory) +{ + ( theWrappedObject->setDirectoryUrl(directory)); +} + +void PythonQtWrapper_QFileDialog::setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode) +{ + ( theWrappedObject->setFileMode(mode)); +} + +void PythonQtWrapper_QFileDialog::setFilter(QFileDialog* theWrappedObject, QDir::Filters filters) +{ + ( theWrappedObject->setFilter(filters)); +} + +void PythonQtWrapper_QFileDialog::setHistory(QFileDialog* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setHistory(paths)); +} + +void PythonQtWrapper_QFileDialog::setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider) +{ + ( theWrappedObject->setIconProvider(provider)); +} + +void PythonQtWrapper_QFileDialog::setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); +} + +void PythonQtWrapper_QFileDialog::setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text) +{ + ( theWrappedObject->setLabelText(label, text)); +} + +void PythonQtWrapper_QFileDialog::setMimeTypeFilters(QFileDialog* theWrappedObject, const QStringList& filters) +{ + ( theWrappedObject->setMimeTypeFilters(filters)); +} + +void PythonQtWrapper_QFileDialog::setNameFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->setNameFilter(filter)); +} + +void PythonQtWrapper_QFileDialog::setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setNameFilterDetailsVisible(enabled)); +} + +void PythonQtWrapper_QFileDialog::setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters) +{ + ( theWrappedObject->setNameFilters(filters)); +} + +void PythonQtWrapper_QFileDialog::setOption(QFileDialog* theWrappedObject, QFileDialog::Option option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QFileDialog::setOptions(QFileDialog* theWrappedObject, QFileDialog::Options options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QFileDialog::setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model) +{ + ( theWrappedObject->setProxyModel(model)); +} + +void PythonQtWrapper_QFileDialog::setReadOnly(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setReadOnly(enabled)); +} + +void PythonQtWrapper_QFileDialog::setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setResolveSymlinks(enabled)); +} + +void PythonQtWrapper_QFileDialog::setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls) +{ + ( theWrappedObject->setSidebarUrls(urls)); +} + +void PythonQtWrapper_QFileDialog::setSupportedSchemes(QFileDialog* theWrappedObject, const QStringList& schemes) +{ + ( theWrappedObject->setSupportedSchemes(schemes)); +} + +void PythonQtWrapper_QFileDialog::setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode) +{ + ( theWrappedObject->setViewMode(mode)); +} + +QList PythonQtWrapper_QFileDialog::sidebarUrls(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->sidebarUrls()); +} + +QStringList PythonQtWrapper_QFileDialog::supportedSchemes(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->supportedSchemes()); +} + +bool PythonQtWrapper_QFileDialog::testOption(QFileDialog* theWrappedObject, QFileDialog::Option option) const +{ + return ( theWrappedObject->testOption(option)); +} + +QFileDialog::ViewMode PythonQtWrapper_QFileDialog::viewMode(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + + + +PythonQtShell_QFileIconProvider::~PythonQtShell_QFileIconProvider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("icon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIcon" , "QFileIconProvider::IconType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileIconProvider::icon(type0); +} +QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("icon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileIconProvider::icon(info0); +} +QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) 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[] ={"QString" , "const QFileInfo&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileIconProvider::type(info0); +} +QFileIconProvider* PythonQtWrapper_QFileIconProvider::new_QFileIconProvider() +{ +return new PythonQtShell_QFileIconProvider(); } + +QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const +{ + return ( theWrappedObject->icon(type)); +} + +QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const +{ + return ( theWrappedObject->icon(info)); +} + +QFileIconProvider::Options PythonQtWrapper_QFileIconProvider::options(QFileIconProvider* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +void PythonQtWrapper_QFileIconProvider::setOptions(QFileIconProvider* theWrappedObject, QFileIconProvider::Options options) +{ + ( theWrappedObject->setOptions(options)); +} + +QString PythonQtWrapper_QFileIconProvider::type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const +{ + return ( theWrappedObject->type(info)); +} + + + +QFileOpenEvent* PythonQtWrapper_QFileOpenEvent::new_QFileOpenEvent(const QString& file) +{ +return new QFileOpenEvent(file); } + +QFileOpenEvent* PythonQtWrapper_QFileOpenEvent::new_QFileOpenEvent(const QUrl& url) +{ +return new QFileOpenEvent(url); } + +QString PythonQtWrapper_QFileOpenEvent::file(QFileOpenEvent* theWrappedObject) const +{ + return ( theWrappedObject->file()); +} + +bool PythonQtWrapper_QFileOpenEvent::openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const +{ + return ( theWrappedObject->openFile(file, flags)); +} + +QUrl PythonQtWrapper_QFileOpenEvent::url(QFileOpenEvent* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +PythonQtShell_QFileSystemModel::~PythonQtShell_QFileSystemModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::buddy(index0); +} +bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::canFetchMore(parent0); +} +void PythonQtShell_QFileSystemModel::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(); + } + } +} + QFileSystemModel::childEvent(event0); +} +int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::columnCount(parent0); +} +void PythonQtShell_QFileSystemModel::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(); + } + } +} + QFileSystemModel::customEvent(event0); +} +QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::data(index0, role1); +} +bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QFileSystemModel::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 QFileSystemModel::event(event0); +} +bool PythonQtShell_QFileSystemModel::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 QFileSystemModel::eventFilter(watched0, event1); +} +void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSystemModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::flags(index0); +} +bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::hasChildren(parent0); +} +QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::index(row0, column1, parent2); +} +bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QFileSystemModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::itemData(index0); +} +QList PythonQtShell_QFileSystemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::mimeData(indexes0); +} +QStringList PythonQtShell_QFileSystemModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::mimeTypes(); +} +bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::parent(child0); +} +bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QFileSystemModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QFileSystemModel::revert(); +} +QHash PythonQtShell_QFileSystemModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::roleNames(); +} +int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::rowCount(parent0); +} +bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::setData(index0, value1, role2); +} +bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSystemModel::sort(column0, order1); +} +QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::span(index0); +} +bool PythonQtShell_QFileSystemModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::submit(); +} +Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::supportedDropActions(); +} +void PythonQtShell_QFileSystemModel::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(); + } + } +} + QFileSystemModel::timerEvent(event0); +} +QFileSystemModel* PythonQtWrapper_QFileSystemModel::new_QFileSystemModel(QObject* parent) +{ +return new PythonQtShell_QFileSystemModel(parent); } + +const QMetaObject* PythonQtShell_QFileSystemModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileSystemModel::staticMetaObject); + } else { + return &QFileSystemModel::staticMetaObject; + } +} +int PythonQtShell_QFileSystemModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileSystemModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QIcon PythonQtWrapper_QFileSystemModel::fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->fileIcon(index)); +} + +QFileInfo PythonQtWrapper_QFileSystemModel::fileInfo(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->fileInfo(index)); +} + +QString PythonQtWrapper_QFileSystemModel::fileName(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->fileName(index)); +} + +QString PythonQtWrapper_QFileSystemModel::filePath(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->filePath(index)); +} + +QDir::Filters PythonQtWrapper_QFileSystemModel::filter(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +QFileIconProvider* PythonQtWrapper_QFileSystemModel::iconProvider(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->iconProvider()); +} + +QModelIndex PythonQtWrapper_QFileSystemModel::index(QFileSystemModel* theWrappedObject, const QString& path, int column) const +{ + return ( theWrappedObject->index(path, column)); +} + +bool PythonQtWrapper_QFileSystemModel::isDir(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isDir(index)); +} + +bool PythonQtWrapper_QFileSystemModel::isReadOnly(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +QDateTime PythonQtWrapper_QFileSystemModel::lastModified(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->lastModified(index)); +} + +QModelIndex PythonQtWrapper_QFileSystemModel::mkdir(QFileSystemModel* theWrappedObject, const QModelIndex& parent, const QString& name) +{ + return ( theWrappedObject->mkdir(parent, name)); +} + +QVariant PythonQtWrapper_QFileSystemModel::myComputer(QFileSystemModel* theWrappedObject, int role) const +{ + return ( theWrappedObject->myComputer(role)); +} + +bool PythonQtWrapper_QFileSystemModel::nameFilterDisables(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->nameFilterDisables()); +} + +QStringList PythonQtWrapper_QFileSystemModel::nameFilters(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->nameFilters()); +} + +QFileSystemModel::Options PythonQtWrapper_QFileSystemModel::options(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QFile::Permissions PythonQtWrapper_QFileSystemModel::permissions(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->permissions(index)); +} + +bool PythonQtWrapper_QFileSystemModel::remove(QFileSystemModel* theWrappedObject, const QModelIndex& index) +{ + return ( theWrappedObject->remove(index)); +} + +bool PythonQtWrapper_QFileSystemModel::resolveSymlinks(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->resolveSymlinks()); +} + +bool PythonQtWrapper_QFileSystemModel::rmdir(QFileSystemModel* theWrappedObject, const QModelIndex& index) +{ + return ( theWrappedObject->rmdir(index)); +} + +QDir PythonQtWrapper_QFileSystemModel::rootDirectory(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->rootDirectory()); +} + +QString PythonQtWrapper_QFileSystemModel::rootPath(QFileSystemModel* theWrappedObject) const +{ + return ( theWrappedObject->rootPath()); +} + +void PythonQtWrapper_QFileSystemModel::setFilter(QFileSystemModel* theWrappedObject, QDir::Filters filters) +{ + ( theWrappedObject->setFilter(filters)); +} + +void PythonQtWrapper_QFileSystemModel::setIconProvider(QFileSystemModel* theWrappedObject, QFileIconProvider* provider) +{ + ( theWrappedObject->setIconProvider(provider)); +} + +void PythonQtWrapper_QFileSystemModel::setNameFilterDisables(QFileSystemModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setNameFilterDisables(enable)); +} + +void PythonQtWrapper_QFileSystemModel::setNameFilters(QFileSystemModel* theWrappedObject, const QStringList& filters) +{ + ( theWrappedObject->setNameFilters(filters)); +} + +void PythonQtWrapper_QFileSystemModel::setOption(QFileSystemModel* theWrappedObject, QFileSystemModel::Option option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QFileSystemModel::setOptions(QFileSystemModel* theWrappedObject, QFileSystemModel::Options options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QFileSystemModel::setReadOnly(QFileSystemModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setReadOnly(enable)); +} + +void PythonQtWrapper_QFileSystemModel::setResolveSymlinks(QFileSystemModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setResolveSymlinks(enable)); +} + +QModelIndex PythonQtWrapper_QFileSystemModel::setRootPath(QFileSystemModel* theWrappedObject, const QString& path) +{ + return ( theWrappedObject->setRootPath(path)); +} + +qint64 PythonQtWrapper_QFileSystemModel::size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->size(index)); +} + +bool PythonQtWrapper_QFileSystemModel::testOption(QFileSystemModel* theWrappedObject, QFileSystemModel::Option option) const +{ + return ( theWrappedObject->testOption(option)); +} + +QString PythonQtWrapper_QFileSystemModel::type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->type(index)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.h new file mode 100644 index 00000000..0142a0b0 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui1.h @@ -0,0 +1,2335 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QCommandLinkButton : public QCommandLinkButton +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline int promoted_heightForWidth(int arg__1) const { return this->heightForWidth(arg__1); } +inline QSize promoted_minimumSizeHint() const { return this->minimumSizeHint(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline QSize promoted_sizeHint() const { return this->sizeHint(); } +inline bool py_q_event(QEvent* e) { return QCommandLinkButton::event(e); } +inline int py_q_heightForWidth(int arg__1) const { return QCommandLinkButton::heightForWidth(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QCommandLinkButton::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QCommandLinkButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QCommandLinkButton::sizeHint(); } +}; + +class PythonQtWrapper_QCommandLinkButton : public QObject +{ Q_OBJECT +public: +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; } + 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));} + QSize py_q_minimumSizeHint(QCommandLinkButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_paintEvent(QCommandLinkButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->py_q_paintEvent(arg__1));} + void setDescription(QCommandLinkButton* theWrappedObject, const QString& description); + QSize py_q_sizeHint(QCommandLinkButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtShell_QCommonStyle : public QCommonStyle +{ +public: + 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 +{ public: +inline void py_q_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const { QCommonStyle::drawComplexControl(cc, opt, p, w); } +inline void py_q_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const { QCommonStyle::drawControl(element, opt, p, w); } +inline void py_q_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const { QCommonStyle::drawPrimitive(pe, opt, p, w); } +inline QPixmap py_q_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QCommonStyle::generatedIconPixmap(iconMode, pixmap, opt); } +inline QStyle::SubControl py_q_hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = nullptr) const { return QCommonStyle::hitTestComplexControl(cc, opt, pt, w); } +inline int py_q_layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QCommonStyle::layoutSpacing(control1, control2, orientation, option, widget); } +inline int py_q_pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const { return QCommonStyle::pixelMetric(m, opt, widget); } +inline void py_q_polish(QApplication* app) { QCommonStyle::polish(app); } +inline void py_q_polish(QPalette& arg__1) { QCommonStyle::polish(arg__1); } +inline void py_q_polish(QWidget* widget) { QCommonStyle::polish(widget); } +inline QSize py_q_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = nullptr) const { return QCommonStyle::sizeFromContents(ct, opt, contentsSize, widget); } +inline QIcon py_q_standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const { return QCommonStyle::standardIcon(standardIcon, opt, widget); } +inline QPixmap py_q_standardPixmap(QStyle::StandardPixmap sp, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const { return QCommonStyle::standardPixmap(sp, opt, widget); } +inline int py_q_styleHint(QStyle::StyleHint sh, const QStyleOption* opt = nullptr, const QWidget* w = nullptr, QStyleHintReturn* shret = nullptr) const { return QCommonStyle::styleHint(sh, opt, w, shret); } +inline QRect py_q_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = nullptr) const { return QCommonStyle::subControlRect(cc, opt, sc, w); } +inline QRect py_q_subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = nullptr) const { return QCommonStyle::subElementRect(r, opt, widget); } +inline void py_q_unpolish(QApplication* application) { QCommonStyle::unpolish(application); } +inline void py_q_unpolish(QWidget* widget) { QCommonStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QCommonStyle : public QObject +{ Q_OBJECT +public: +public slots: +QCommonStyle* new_QCommonStyle(); +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));} + QPixmap py_q_generatedIconPixmap(QCommonStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_generatedIconPixmap(iconMode, pixmap, opt));} + QStyle::SubControl py_q_hitTestComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_hitTestComplexControl(cc, opt, pt, w));} + int py_q_layoutSpacing(QCommonStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_layoutSpacing(control1, control2, orientation, option, widget));} + int py_q_pixelMetric(QCommonStyle* theWrappedObject, QStyle::PixelMetric m, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_pixelMetric(m, opt, widget));} + void py_q_polish(QCommonStyle* theWrappedObject, QApplication* app){ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_polish(app));} + void py_q_polish(QCommonStyle* theWrappedObject, QPalette& arg__1){ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_polish(arg__1));} + void py_q_polish(QCommonStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_polish(widget));} + QSize py_q_sizeFromContents(QCommonStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_sizeFromContents(ct, opt, contentsSize, widget));} + QIcon py_q_standardIcon(QCommonStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_standardIcon(standardIcon, opt, widget));} + QPixmap py_q_standardPixmap(QCommonStyle* theWrappedObject, QStyle::StandardPixmap sp, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_standardPixmap(sp, opt, widget));} + int py_q_styleHint(QCommonStyle* theWrappedObject, QStyle::StyleHint sh, const QStyleOption* opt = nullptr, const QWidget* w = nullptr, QStyleHintReturn* shret = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_styleHint(sh, opt, w, shret));} + QRect py_q_subControlRect(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_subControlRect(cc, opt, sc, w));} + QRect py_q_subElementRect(QCommonStyle* theWrappedObject, QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_subElementRect(r, opt, widget));} + void py_q_unpolish(QCommonStyle* theWrappedObject, QApplication* application){ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_unpolish(application));} + void py_q_unpolish(QCommonStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_unpolish(widget));} +}; + + + + + +class PythonQtShell_QCompleter : public QCompleter +{ +public: + 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() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCompleter : public QCompleter +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* o, QEvent* e) { return this->eventFilter(o, e); } +inline bool py_q_event(QEvent* arg__1) { return QCompleter::event(arg__1); } +inline bool py_q_eventFilter(QObject* o, QEvent* e) { return QCompleter::eventFilter(o, e); } +inline QString py_q_pathFromIndex(const QModelIndex& index) const { return QCompleter::pathFromIndex(index); } +inline QStringList py_q_splitPath(const QString& path) const { return QCompleter::splitPath(path); } +}; + +class PythonQtWrapper_QCompleter : public QObject +{ Q_OBJECT +public: +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; } + Qt::CaseSensitivity caseSensitivity(QCompleter* theWrappedObject) const; + int completionColumn(QCompleter* theWrappedObject) const; + int completionCount(QCompleter* theWrappedObject) const; + QCompleter::CompletionMode completionMode(QCompleter* theWrappedObject) const; + QAbstractItemModel* completionModel(QCompleter* theWrappedObject) const; + QString completionPrefix(QCompleter* theWrappedObject) const; + int completionRole(QCompleter* theWrappedObject) const; + QString currentCompletion(QCompleter* theWrappedObject) const; + QModelIndex currentIndex(QCompleter* theWrappedObject) const; + int currentRow(QCompleter* theWrappedObject) const; + bool py_q_event(QCompleter* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_eventFilter(o, e));} + Qt::MatchFlags filterMode(QCompleter* theWrappedObject) const; + int maxVisibleItems(QCompleter* theWrappedObject) const; + QAbstractItemModel* model(QCompleter* theWrappedObject) const; + QCompleter::ModelSorting modelSorting(QCompleter* theWrappedObject) const; + QString pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const; + QString py_q_pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_pathFromIndex(index));} + QAbstractItemView* popup(QCompleter* theWrappedObject) const; + void setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity); + void setCompletionColumn(QCompleter* theWrappedObject, int column); + void setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode); + void setCompletionRole(QCompleter* theWrappedObject, int role); + bool setCurrentRow(QCompleter* theWrappedObject, int row); + void setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode); + void setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems); + void setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c); + void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); + void setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup); + void setWidget(QCompleter* theWrappedObject, QWidget* widget); + QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; + QStringList py_q_splitPath(QCompleter* theWrappedObject, const QString& path) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_splitPath(path));} + QWidget* widget(QCompleter* theWrappedObject) const; + bool wrapAround(QCompleter* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QConcatenateTablesProxyModel : public QConcatenateTablesProxyModel +{ +public: + PythonQtShell_QConcatenateTablesProxyModel(QObject* parent = nullptr):QConcatenateTablesProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QConcatenateTablesProxyModel() 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& 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& index) 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_QConcatenateTablesProxyModel : public QConcatenateTablesProxyModel +{ public: +inline bool py_q_canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const { return QConcatenateTablesProxyModel::canDropMimeData(data, action, row, column, parent); } +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QConcatenateTablesProxyModel::columnCount(parent); } +inline QVariant py_q_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QConcatenateTablesProxyModel::data(index, role); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QConcatenateTablesProxyModel::dropMimeData(data, action, row, column, parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QConcatenateTablesProxyModel::flags(index); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QConcatenateTablesProxyModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QConcatenateTablesProxyModel::index(row, column, parent); } +inline QMap py_q_itemData(const QModelIndex& proxyIndex) const { return QConcatenateTablesProxyModel::itemData(proxyIndex); } +inline QMimeData* py_q_mimeData(const QList& indexes) const { return QConcatenateTablesProxyModel::mimeData(indexes); } +inline QStringList py_q_mimeTypes() const { return QConcatenateTablesProxyModel::mimeTypes(); } +inline QModelIndex py_q_parent(const QModelIndex& index) const { return QConcatenateTablesProxyModel::parent(index); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QConcatenateTablesProxyModel::rowCount(parent); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QConcatenateTablesProxyModel::setData(index, value, role); } +inline bool py_q_setItemData(const QModelIndex& index, const QMap& roles) { return QConcatenateTablesProxyModel::setItemData(index, roles); } +inline QSize py_q_span(const QModelIndex& index) const { return QConcatenateTablesProxyModel::span(index); } +}; + +class PythonQtWrapper_QConcatenateTablesProxyModel : public QObject +{ Q_OBJECT +public: +public slots: +QConcatenateTablesProxyModel* new_QConcatenateTablesProxyModel(QObject* parent = nullptr); +void delete_QConcatenateTablesProxyModel(QConcatenateTablesProxyModel* obj) { delete obj; } + void addSourceModel(QConcatenateTablesProxyModel* theWrappedObject, QAbstractItemModel* sourceModel); + bool py_q_canDropMimeData(QConcatenateTablesProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_canDropMimeData(data, action, row, column, parent));} + int py_q_columnCount(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_columnCount(parent));} + QVariant py_q_data(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_data(index, role));} + bool py_q_dropMimeData(QConcatenateTablesProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} + Qt::ItemFlags py_q_flags(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_flags(index));} + QVariant py_q_headerData(QConcatenateTablesProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QModelIndex py_q_index(QConcatenateTablesProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_index(row, column, parent));} + QMap py_q_itemData(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_itemData(proxyIndex));} + QModelIndex mapFromSource(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const; + QModelIndex mapToSource(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const; + QMimeData* py_q_mimeData(QConcatenateTablesProxyModel* theWrappedObject, const QList& indexes) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_mimeData(indexes));} + QStringList py_q_mimeTypes(QConcatenateTablesProxyModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_mimeTypes());} + QModelIndex py_q_parent(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_parent(index));} + void removeSourceModel(QConcatenateTablesProxyModel* theWrappedObject, QAbstractItemModel* sourceModel); + int py_q_rowCount(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_setData(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_setData(index, value, role));} + bool py_q_setItemData(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& index, const QMap& roles){ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_setItemData(index, roles));} + QList sourceModels(QConcatenateTablesProxyModel* theWrappedObject) const; + QSize py_q_span(QConcatenateTablesProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QConcatenateTablesProxyModel*)theWrappedObject)->py_q_span(index));} +}; + + + + + +class PythonQtWrapper_QConicalGradient : public QObject +{ Q_OBJECT +public: +public slots: +QConicalGradient* new_QConicalGradient(); +QConicalGradient* new_QConicalGradient(const QPointF& center, qreal startAngle); +QConicalGradient* new_QConicalGradient(qreal cx, qreal cy, qreal startAngle); +QConicalGradient* new_QConicalGradient(const QConicalGradient& other) { +QConicalGradient* a = new QConicalGradient(); +*((QConicalGradient*)a) = other; +return a; } +void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } + qreal angle(QConicalGradient* theWrappedObject) const; + QPointF center(QConicalGradient* theWrappedObject) const; + void setAngle(QConicalGradient* theWrappedObject, qreal angle); + void setCenter(QConicalGradient* theWrappedObject, const QPointF& center); + void setCenter(QConicalGradient* theWrappedObject, qreal x, qreal y); +}; + + + + + +class PythonQtShell_QContextMenuEvent : public QContextMenuEvent +{ +public: + 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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QContextMenuEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Reason ) +enum Reason{ + Mouse = QContextMenuEvent::Mouse, Keyboard = QContextMenuEvent::Keyboard, Other = QContextMenuEvent::Other}; +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; } + const QPoint* globalPos(QContextMenuEvent* theWrappedObject) const; + int globalX(QContextMenuEvent* theWrappedObject) const; + int globalY(QContextMenuEvent* theWrappedObject) const; + const QPoint* pos(QContextMenuEvent* theWrappedObject) const; + QContextMenuEvent::Reason reason(QContextMenuEvent* theWrappedObject) const; + int x(QContextMenuEvent* theWrappedObject) const; + int y(QContextMenuEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDataWidgetMapper : public QDataWidgetMapper +{ +public: + PythonQtShell_QDataWidgetMapper(QObject* parent = nullptr):QDataWidgetMapper(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDataWidgetMapper() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper +{ public: +inline void py_q_setCurrentIndex(int index) { QDataWidgetMapper::setCurrentIndex(index); } +}; + +class PythonQtWrapper_QDataWidgetMapper : public QObject +{ Q_OBJECT +public: +public slots: +QDataWidgetMapper* new_QDataWidgetMapper(QObject* parent = nullptr); +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); + int currentIndex(QDataWidgetMapper* theWrappedObject) const; + QAbstractItemDelegate* itemDelegate(QDataWidgetMapper* theWrappedObject) const; + QByteArray mappedPropertyName(QDataWidgetMapper* theWrappedObject, QWidget* widget) const; + int mappedSection(QDataWidgetMapper* theWrappedObject, QWidget* widget) const; + QWidget* mappedWidgetAt(QDataWidgetMapper* theWrappedObject, int section) const; + QAbstractItemModel* model(QDataWidgetMapper* theWrappedObject) const; + Qt::Orientation orientation(QDataWidgetMapper* theWrappedObject) const; + void removeMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget); + QModelIndex rootIndex(QDataWidgetMapper* theWrappedObject) const; + void py_q_setCurrentIndex(QDataWidgetMapper* theWrappedObject, int index){ (((PythonQtPublicPromoter_QDataWidgetMapper*)theWrappedObject)->py_q_setCurrentIndex(index));} + void setItemDelegate(QDataWidgetMapper* theWrappedObject, QAbstractItemDelegate* delegate); + void setModel(QDataWidgetMapper* theWrappedObject, QAbstractItemModel* model); + void setOrientation(QDataWidgetMapper* theWrappedObject, Qt::Orientation aOrientation); + void setRootIndex(QDataWidgetMapper* theWrappedObject, const QModelIndex& index); + void setSubmitPolicy(QDataWidgetMapper* theWrappedObject, QDataWidgetMapper::SubmitPolicy policy); + QDataWidgetMapper::SubmitPolicy submitPolicy(QDataWidgetMapper* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDateEdit : public QDateEdit +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QDateEdit* new_QDateEdit(QWidget* parent = nullptr); +QDateEdit* new_QDateEdit(const QDate& date, QWidget* parent = nullptr); +void delete_QDateEdit(QDateEdit* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QDateTimeEdit : public QDateTimeEdit +{ +public: + 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, QMetaType::Type parserType, QWidget* parent = nullptr):QDateTimeEdit(val, parserType, 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 +{ public: +inline QDateTime promoted_dateTimeFromText(const QString& text) const { return this->dateTimeFromText(text); } +inline void promoted_fixup(QString& input) const { this->fixup(input); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_initStyleOption(QStyleOptionSpinBox* option) const { this->initStyleOption(option); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline QAbstractSpinBox::StepEnabled promoted_stepEnabled() const { return this->stepEnabled(); } +inline QString promoted_textFromDateTime(const QDateTime& dt) const { return this->textFromDateTime(dt); } +inline QValidator::State promoted_validate(QString& input, int& pos) const { return this->validate(input, pos); } +inline void promoted_wheelEvent(QWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_clear() { QDateTimeEdit::clear(); } +inline QDateTime py_q_dateTimeFromText(const QString& text) const { return QDateTimeEdit::dateTimeFromText(text); } +inline bool py_q_event(QEvent* event) { return QDateTimeEdit::event(event); } +inline void py_q_fixup(QString& input) const { QDateTimeEdit::fixup(input); } +inline void py_q_focusInEvent(QFocusEvent* event) { QDateTimeEdit::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QDateTimeEdit::focusNextPrevChild(next); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QDateTimeEdit::keyPressEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QDateTimeEdit::mousePressEvent(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QDateTimeEdit::paintEvent(event); } +inline QSize py_q_sizeHint() const { return QDateTimeEdit::sizeHint(); } +inline void py_q_stepBy(int steps) { QDateTimeEdit::stepBy(steps); } +inline QAbstractSpinBox::StepEnabled py_q_stepEnabled() const { return QDateTimeEdit::stepEnabled(); } +inline QString py_q_textFromDateTime(const QDateTime& dt) const { return QDateTimeEdit::textFromDateTime(dt); } +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QDateTimeEdit::validate(input, pos); } +inline void py_q_wheelEvent(QWheelEvent* event) { QDateTimeEdit::wheelEvent(event); } +}; + +class PythonQtWrapper_QDateTimeEdit : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Section ) +Q_FLAGS(Sections ) +enum Section{ + NoSection = QDateTimeEdit::NoSection, AmPmSection = QDateTimeEdit::AmPmSection, MSecSection = QDateTimeEdit::MSecSection, SecondSection = QDateTimeEdit::SecondSection, MinuteSection = QDateTimeEdit::MinuteSection, HourSection = QDateTimeEdit::HourSection, DaySection = QDateTimeEdit::DaySection, MonthSection = QDateTimeEdit::MonthSection, YearSection = QDateTimeEdit::YearSection, TimeSections_Mask = QDateTimeEdit::TimeSections_Mask, DateSections_Mask = QDateTimeEdit::DateSections_Mask}; +Q_DECLARE_FLAGS(Sections, Section) +public slots: +QDateTimeEdit* new_QDateTimeEdit(QWidget* parent = nullptr); +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, QMetaType::Type parserType, QWidget* parent = nullptr); +QDateTimeEdit* new_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr); +void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } + QCalendar calendar(QDateTimeEdit* theWrappedObject) const; + bool calendarPopup(QDateTimeEdit* theWrappedObject) const; + QCalendarWidget* calendarWidget(QDateTimeEdit* theWrappedObject) const; + void py_q_clear(QDateTimeEdit* theWrappedObject){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_clear());} + void clearMaximumDate(QDateTimeEdit* theWrappedObject); + void clearMaximumDateTime(QDateTimeEdit* theWrappedObject); + void clearMaximumTime(QDateTimeEdit* theWrappedObject); + void clearMinimumDate(QDateTimeEdit* theWrappedObject); + void clearMinimumDateTime(QDateTimeEdit* theWrappedObject); + void clearMinimumTime(QDateTimeEdit* theWrappedObject); + QDateTimeEdit::Section currentSection(QDateTimeEdit* theWrappedObject) const; + int currentSectionIndex(QDateTimeEdit* theWrappedObject) const; + QDate date(QDateTimeEdit* theWrappedObject) const; + QDateTime dateTime(QDateTimeEdit* theWrappedObject) const; + QDateTime dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const; + QDateTime py_q_dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const{ return (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_dateTimeFromText(text));} + QString displayFormat(QDateTimeEdit* theWrappedObject) const; + QDateTimeEdit::Sections displayedSections(QDateTimeEdit* theWrappedObject) const; + bool py_q_event(QDateTimeEdit* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_event(event));} + void py_q_fixup(QDateTimeEdit* theWrappedObject, QString& input) const{ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_fixup(input));} + void py_q_focusInEvent(QDateTimeEdit* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_focusInEvent(event));} + bool py_q_focusNextPrevChild(QDateTimeEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void initStyleOption(QDateTimeEdit* theWrappedObject, QStyleOptionSpinBox* option) const; + void py_q_keyPressEvent(QDateTimeEdit* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_keyPressEvent(event));} + QDate maximumDate(QDateTimeEdit* theWrappedObject) const; + QDateTime maximumDateTime(QDateTimeEdit* theWrappedObject) const; + QTime maximumTime(QDateTimeEdit* theWrappedObject) const; + QDate minimumDate(QDateTimeEdit* theWrappedObject) const; + QDateTime minimumDateTime(QDateTimeEdit* theWrappedObject) const; + QTime minimumTime(QDateTimeEdit* theWrappedObject) const; + void py_q_mousePressEvent(QDateTimeEdit* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_paintEvent(QDateTimeEdit* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_paintEvent(event));} + QDateTimeEdit::Section sectionAt(QDateTimeEdit* theWrappedObject, int index) const; + int sectionCount(QDateTimeEdit* theWrappedObject) const; + QString sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const; + void setCalendar(QDateTimeEdit* theWrappedObject, QCalendar calendar); + void setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable); + void setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget); + void setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section); + void setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index); + void setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max); + void setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max); + void setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format); + void setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max); + void setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt); + void setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max); + void setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min); + void setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt); + void setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min); + void setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section); + void setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max); + void setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec); + QSize py_q_sizeHint(QDateTimeEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_sizeHint());} + void py_q_stepBy(QDateTimeEdit* theWrappedObject, int steps){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_stepBy(steps));} + QAbstractSpinBox::StepEnabled py_q_stepEnabled(QDateTimeEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_stepEnabled());} + QString textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const; + QString py_q_textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const{ return (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_textFromDateTime(dt));} + QTime time(QDateTimeEdit* theWrappedObject) const; + Qt::TimeSpec timeSpec(QDateTimeEdit* theWrappedObject) const; + QValidator::State py_q_validate(QDateTimeEdit* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_validate(input, pos));} + void py_q_wheelEvent(QDateTimeEdit* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_wheelEvent(event));} +}; + + + + + +class PythonQtShell_QDesktopServices : public QDesktopServices +{ +public: + PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(nullptr) {}; + + ~PythonQtShell_QDesktopServices(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDesktopServices : public QObject +{ Q_OBJECT +public: +public slots: +QDesktopServices* new_QDesktopServices(); +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); +}; + + + + + +class PythonQtShell_QDesktopWidget : public QDesktopWidget +{ +public: + 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 +{ public: +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QDesktopWidget::resizeEvent(e); } +}; + +class PythonQtWrapper_QDesktopWidget : public QObject +{ Q_OBJECT +public: +public slots: +QDesktopWidget* new_QDesktopWidget(); +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; + bool isVirtualDesktop(QDesktopWidget* theWrappedObject) const; + int numScreens(QDesktopWidget* theWrappedObject) const; + int primaryScreen(QDesktopWidget* theWrappedObject) const; + void py_q_resizeEvent(QDesktopWidget* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QDesktopWidget*)theWrappedObject)->py_q_resizeEvent(e));} + QWidget* screen(QDesktopWidget* theWrappedObject, int screen = -1); + int screenCount(QDesktopWidget* theWrappedObject) const; + const QRect screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const; + const QRect screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const; + const QRect screenGeometry(QDesktopWidget* theWrappedObject, int screen = -1) const; + int screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const; + int screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget = nullptr) const; +}; + + + + + +class PythonQtShell_QDial : public QDial +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initStyleOption(QStyleOptionSlider* option) const { this->initStyleOption(option); } +inline void promoted_mouseMoveEvent(QMouseEvent* me) { this->mouseMoveEvent(me); } +inline void promoted_mousePressEvent(QMouseEvent* me) { this->mousePressEvent(me); } +inline void promoted_mouseReleaseEvent(QMouseEvent* me) { this->mouseReleaseEvent(me); } +inline void promoted_paintEvent(QPaintEvent* pe) { this->paintEvent(pe); } +inline void promoted_resizeEvent(QResizeEvent* re) { this->resizeEvent(re); } +inline void promoted_sliderChange(int change) { this->sliderChange((QAbstractSlider::SliderChange)change); } +inline bool py_q_event(QEvent* e) { return QDial::event(e); } +inline QSize py_q_minimumSizeHint() const { return QDial::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* me) { QDial::mouseMoveEvent(me); } +inline void py_q_mousePressEvent(QMouseEvent* me) { QDial::mousePressEvent(me); } +inline void py_q_mouseReleaseEvent(QMouseEvent* me) { QDial::mouseReleaseEvent(me); } +inline void py_q_paintEvent(QPaintEvent* pe) { QDial::paintEvent(pe); } +inline void py_q_resizeEvent(QResizeEvent* re) { QDial::resizeEvent(re); } +inline QSize py_q_sizeHint() const { return QDial::sizeHint(); } +inline void py_q_sliderChange(int change) { QDial::sliderChange((QAbstractSlider::SliderChange)change); } +}; + +class PythonQtWrapper_QDial : public QObject +{ Q_OBJECT +public: +public slots: +QDial* new_QDial(QWidget* parent = nullptr); +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; + QSize py_q_minimumSizeHint(QDial* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QDial* theWrappedObject, QMouseEvent* me){ (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_mouseMoveEvent(me));} + void py_q_mousePressEvent(QDial* theWrappedObject, QMouseEvent* me){ (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_mousePressEvent(me));} + void py_q_mouseReleaseEvent(QDial* theWrappedObject, QMouseEvent* me){ (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_mouseReleaseEvent(me));} + int notchSize(QDial* theWrappedObject) const; + qreal notchTarget(QDial* theWrappedObject) const; + bool notchesVisible(QDial* theWrappedObject) const; + void py_q_paintEvent(QDial* theWrappedObject, QPaintEvent* pe){ (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_paintEvent(pe));} + void py_q_resizeEvent(QDial* theWrappedObject, QResizeEvent* re){ (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_resizeEvent(re));} + void setNotchTarget(QDial* theWrappedObject, double target); + QSize sizeHint(QDial* theWrappedObject) const; + QSize py_q_sizeHint(QDial* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_sizeHint());} + void py_q_sliderChange(QDial* theWrappedObject, int change){ (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_sliderChange(change));} + bool wrapping(QDial* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDialog : public QDialog +{ +public: + 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 +{ public: +inline void promoted_adjustPosition(QWidget* arg__1) { this->adjustPosition(arg__1); } +inline void promoted_closeEvent(QCloseEvent* arg__1) { this->closeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void py_q_accept() { QDialog::accept(); } +inline void py_q_closeEvent(QCloseEvent* arg__1) { QDialog::closeEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QDialog::contextMenuEvent(arg__1); } +inline void py_q_done(int arg__1) { QDialog::done(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QDialog::eventFilter(arg__1, arg__2); } +inline int py_q_exec() { return QDialog::exec(); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QDialog::keyPressEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QDialog::minimumSizeHint(); } +inline void py_q_open() { QDialog::open(); } +inline void py_q_reject() { QDialog::reject(); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QDialog::resizeEvent(arg__1); } +inline void py_q_setVisible(bool visible) { QDialog::setVisible(visible); } +inline void py_q_showEvent(QShowEvent* arg__1) { QDialog::showEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QDialog::sizeHint(); } +}; + +class PythonQtWrapper_QDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DialogCode ) +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 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));} + void py_q_contextMenuEvent(QDialog* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} + void py_q_done(QDialog* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_done(arg__1));} + bool py_q_eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + int py_q_exec(QDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_exec());} + bool isSizeGripEnabled(QDialog* theWrappedObject) const; + void py_q_keyPressEvent(QDialog* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + QSize minimumSizeHint(QDialog* theWrappedObject) const; + QSize py_q_minimumSizeHint(QDialog* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_open(QDialog* theWrappedObject){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_open());} + void py_q_reject(QDialog* theWrappedObject){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_reject());} + void py_q_resizeEvent(QDialog* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_resizeEvent(arg__1));} + int result(QDialog* theWrappedObject) const; + void setModal(QDialog* theWrappedObject, bool modal); + void setResult(QDialog* theWrappedObject, int r); + void setSizeGripEnabled(QDialog* theWrappedObject, bool arg__1); + void py_q_setVisible(QDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_setVisible(visible));} + void py_q_showEvent(QDialog* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_showEvent(arg__1));} + QSize sizeHint(QDialog* theWrappedObject) const; + QSize py_q_sizeHint(QDialog* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtShell_QDialogButtonBox : public QDialogButtonBox +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void py_q_changeEvent(QEvent* event) { QDialogButtonBox::changeEvent(event); } +inline bool py_q_event(QEvent* event) { return QDialogButtonBox::event(event); } +}; + +class PythonQtWrapper_QDialogButtonBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonLayout ButtonRole StandardButton ) +Q_FLAGS(StandardButtons ) +enum ButtonLayout{ + WinLayout = QDialogButtonBox::WinLayout, MacLayout = QDialogButtonBox::MacLayout, KdeLayout = QDialogButtonBox::KdeLayout, GnomeLayout = QDialogButtonBox::GnomeLayout, AndroidLayout = QDialogButtonBox::AndroidLayout}; +enum ButtonRole{ + InvalidRole = QDialogButtonBox::InvalidRole, AcceptRole = QDialogButtonBox::AcceptRole, RejectRole = QDialogButtonBox::RejectRole, DestructiveRole = QDialogButtonBox::DestructiveRole, ActionRole = QDialogButtonBox::ActionRole, HelpRole = QDialogButtonBox::HelpRole, YesRole = QDialogButtonBox::YesRole, NoRole = QDialogButtonBox::NoRole, ResetRole = QDialogButtonBox::ResetRole, ApplyRole = QDialogButtonBox::ApplyRole, NRoles = QDialogButtonBox::NRoles}; +enum StandardButton{ + NoButton = QDialogButtonBox::NoButton, Ok = QDialogButtonBox::Ok, Save = QDialogButtonBox::Save, SaveAll = QDialogButtonBox::SaveAll, Open = QDialogButtonBox::Open, Yes = QDialogButtonBox::Yes, YesToAll = QDialogButtonBox::YesToAll, No = QDialogButtonBox::No, NoToAll = QDialogButtonBox::NoToAll, Abort = QDialogButtonBox::Abort, Retry = QDialogButtonBox::Retry, Ignore = QDialogButtonBox::Ignore, Close = QDialogButtonBox::Close, Cancel = QDialogButtonBox::Cancel, Discard = QDialogButtonBox::Discard, Help = QDialogButtonBox::Help, Apply = QDialogButtonBox::Apply, Reset = QDialogButtonBox::Reset, RestoreDefaults = QDialogButtonBox::RestoreDefaults, FirstButton = QDialogButtonBox::FirstButton, LastButton = QDialogButtonBox::LastButton}; +Q_DECLARE_FLAGS(StandardButtons, StandardButton) +public slots: +QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent = nullptr); +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 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); + QPushButton* button(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton which) const; + QDialogButtonBox::ButtonRole buttonRole(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const; + QList buttons(QDialogButtonBox* theWrappedObject) const; + bool centerButtons(QDialogButtonBox* theWrappedObject) const; + void py_q_changeEvent(QDialogButtonBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QDialogButtonBox*)theWrappedObject)->py_q_changeEvent(event));} + void clear(QDialogButtonBox* theWrappedObject); + bool py_q_event(QDialogButtonBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QDialogButtonBox*)theWrappedObject)->py_q_event(event));} + Qt::Orientation orientation(QDialogButtonBox* theWrappedObject) const; + void removeButton(QDialogButtonBox* theWrappedObject, PythonQtPassOwnershipToPython button); + void setCenterButtons(QDialogButtonBox* theWrappedObject, bool center); + void setOrientation(QDialogButtonBox* theWrappedObject, Qt::Orientation orientation); + void setStandardButtons(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButtons buttons); + QDialogButtonBox::StandardButton standardButton(QDialogButtonBox* theWrappedObject, QAbstractButton* button) const; + QDialogButtonBox::StandardButtons standardButtons(QDialogButtonBox* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDirModel : public QDirModel +{ +public: + 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 +{ public: +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QDirModel::columnCount(parent); } +inline QVariant py_q_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QDirModel::data(index, role); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QDirModel::dropMimeData(data, action, row, column, parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QDirModel::flags(index); } +inline bool py_q_hasChildren(const QModelIndex& index = QModelIndex()) const { return QDirModel::hasChildren(index); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QDirModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QDirModel::index(row, column, parent); } +inline QMimeData* py_q_mimeData(const QList& indexes) const { return QDirModel::mimeData(indexes); } +inline QStringList py_q_mimeTypes() const { return QDirModel::mimeTypes(); } +inline QModelIndex py_q_parent(const QModelIndex& child) const { return QDirModel::parent(child); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QDirModel::rowCount(parent); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QDirModel::setData(index, value, role); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QDirModel::sort(column, order); } +inline Qt::DropActions py_q_supportedDropActions() const { return QDirModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QDirModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Roles ) +enum Roles{ + FileIconRole = QDirModel::FileIconRole, FilePathRole = QDirModel::FilePathRole, FileNameRole = QDirModel::FileNameRole}; +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; } + 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));} + QIcon fileIcon(QDirModel* theWrappedObject, const QModelIndex& index) const; + QFileInfo fileInfo(QDirModel* theWrappedObject, const QModelIndex& index) const; + QString fileName(QDirModel* theWrappedObject, const QModelIndex& index) const; + QString filePath(QDirModel* theWrappedObject, const QModelIndex& index) const; + QDir::Filters filter(QDirModel* theWrappedObject) const; + Qt::ItemFlags py_q_flags(QDirModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_flags(index));} + bool py_q_hasChildren(QDirModel* theWrappedObject, const QModelIndex& index = QModelIndex()) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_hasChildren(index));} + QVariant py_q_headerData(QDirModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QFileIconProvider* iconProvider(QDirModel* theWrappedObject) const; + QModelIndex index(QDirModel* theWrappedObject, const QString& path, int column = 0) const; + QModelIndex py_q_index(QDirModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_index(row, column, parent));} + bool isDir(QDirModel* theWrappedObject, const QModelIndex& index) const; + bool isReadOnly(QDirModel* theWrappedObject) const; + bool lazyChildCount(QDirModel* theWrappedObject) const; + QMimeData* py_q_mimeData(QDirModel* theWrappedObject, const QList& indexes) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_mimeData(indexes));} + QStringList py_q_mimeTypes(QDirModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_mimeTypes());} + QModelIndex mkdir(QDirModel* theWrappedObject, const QModelIndex& parent, const QString& name); + QStringList nameFilters(QDirModel* theWrappedObject) const; + QModelIndex py_q_parent(QDirModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_parent(child));} + bool remove(QDirModel* theWrappedObject, const QModelIndex& index); + bool resolveSymlinks(QDirModel* theWrappedObject) const; + bool rmdir(QDirModel* theWrappedObject, const QModelIndex& index); + int py_q_rowCount(QDirModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_setData(QDirModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_setData(index, value, role));} + void setFilter(QDirModel* theWrappedObject, QDir::Filters filters); + void setIconProvider(QDirModel* theWrappedObject, QFileIconProvider* provider); + void setLazyChildCount(QDirModel* theWrappedObject, bool enable); + void setNameFilters(QDirModel* theWrappedObject, const QStringList& filters); + void setReadOnly(QDirModel* theWrappedObject, bool enable); + void setResolveSymlinks(QDirModel* theWrappedObject, bool enable); + void setSorting(QDirModel* theWrappedObject, QDir::SortFlags sort); + void py_q_sort(QDirModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_sort(column, order));} + QDir::SortFlags sorting(QDirModel* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QDirModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_supportedDropActions());} +}; + + + + + +class PythonQtShell_QDockWidget : public QDockWidget +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_initStyleOption(QStyleOptionDockWidget* option) const { this->initStyleOption(option); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QDockWidget::changeEvent(event); } +inline void py_q_closeEvent(QCloseEvent* event) { QDockWidget::closeEvent(event); } +inline bool py_q_event(QEvent* event) { return QDockWidget::event(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QDockWidget::paintEvent(event); } +}; + +class PythonQtWrapper_QDockWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DockWidgetFeature ) +Q_FLAGS(DockWidgetFeatures ) +enum DockWidgetFeature{ + DockWidgetClosable = QDockWidget::DockWidgetClosable, DockWidgetMovable = QDockWidget::DockWidgetMovable, DockWidgetFloatable = QDockWidget::DockWidgetFloatable, DockWidgetVerticalTitleBar = QDockWidget::DockWidgetVerticalTitleBar, DockWidgetFeatureMask = QDockWidget::DockWidgetFeatureMask, AllDockWidgetFeatures = QDockWidget::AllDockWidgetFeatures, NoDockWidgetFeatures = QDockWidget::NoDockWidgetFeatures, Reserved = QDockWidget::Reserved}; +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; } + 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));} + bool py_q_event(QDockWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_event(event));} + QDockWidget::DockWidgetFeatures features(QDockWidget* theWrappedObject) const; + void initStyleOption(QDockWidget* theWrappedObject, QStyleOptionDockWidget* option) const; + bool isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const; + bool isFloating(QDockWidget* theWrappedObject) const; + void py_q_paintEvent(QDockWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_paintEvent(event));} + void setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas); + void setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features); + void setFloating(QDockWidget* theWrappedObject, bool floating); + void setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget); + void setWidget(QDockWidget* theWrappedObject, QWidget* widget); + QWidget* titleBarWidget(QDockWidget* theWrappedObject) const; + QAction* toggleViewAction(QDockWidget* theWrappedObject) const; + QWidget* widget(QDockWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDoubleSpinBox : public QDoubleSpinBox +{ +public: + 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 +{ public: +inline void py_q_fixup(QString& str) const { QDoubleSpinBox::fixup(str); } +inline QString py_q_textFromValue(double val) const { return QDoubleSpinBox::textFromValue(val); } +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QDoubleSpinBox::validate(input, pos); } +inline double py_q_valueFromText(const QString& text) const { return QDoubleSpinBox::valueFromText(text); } +}; + +class PythonQtWrapper_QDoubleSpinBox : public QObject +{ Q_OBJECT +public: +public slots: +QDoubleSpinBox* new_QDoubleSpinBox(QWidget* parent = nullptr); +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));} + double maximum(QDoubleSpinBox* theWrappedObject) const; + double minimum(QDoubleSpinBox* theWrappedObject) const; + QString prefix(QDoubleSpinBox* theWrappedObject) const; + void setDecimals(QDoubleSpinBox* theWrappedObject, int prec); + void setMaximum(QDoubleSpinBox* theWrappedObject, double max); + void setMinimum(QDoubleSpinBox* theWrappedObject, double min); + void setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix); + void setRange(QDoubleSpinBox* theWrappedObject, double min, double max); + void setSingleStep(QDoubleSpinBox* theWrappedObject, double val); + void setStepType(QDoubleSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType); + void setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix); + double singleStep(QDoubleSpinBox* theWrappedObject) const; + QAbstractSpinBox::StepType stepType(QDoubleSpinBox* theWrappedObject) const; + QString suffix(QDoubleSpinBox* theWrappedObject) const; + QString textFromValue(QDoubleSpinBox* theWrappedObject, double val) const; + QString py_q_textFromValue(QDoubleSpinBox* theWrappedObject, double val) const{ return (((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->py_q_textFromValue(val));} + QValidator::State py_q_validate(QDoubleSpinBox* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->py_q_validate(input, pos));} + double value(QDoubleSpinBox* theWrappedObject) const; + double valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const; + double py_q_valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const{ return (((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->py_q_valueFromText(text));} +}; + + + + + +class PythonQtShell_QDoubleValidator : public QDoubleValidator +{ +public: + 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() 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 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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator +{ public: +inline void py_q_setRange(double bottom, double top, int decimals = 0) { QDoubleValidator::setRange(bottom, top, decimals); } +inline QValidator::State py_q_validate(QString& arg__1, int& arg__2) const { return QDoubleValidator::validate(arg__1, arg__2); } +}; + +class PythonQtWrapper_QDoubleValidator : public QObject +{ Q_OBJECT +public: +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; } + double bottom(QDoubleValidator* theWrappedObject) const; + int decimals(QDoubleValidator* theWrappedObject) const; + QDoubleValidator::Notation notation(QDoubleValidator* theWrappedObject) const; + void setBottom(QDoubleValidator* theWrappedObject, double arg__1); + void setDecimals(QDoubleValidator* theWrappedObject, int arg__1); + void setNotation(QDoubleValidator* theWrappedObject, QDoubleValidator::Notation arg__1); + void setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals = 0); + void py_q_setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals = 0){ (((PythonQtPublicPromoter_QDoubleValidator*)theWrappedObject)->py_q_setRange(bottom, top, decimals));} + void setTop(QDoubleValidator* theWrappedObject, double arg__1); + double top(QDoubleValidator* theWrappedObject) const; + QValidator::State py_q_validate(QDoubleValidator* theWrappedObject, QString& arg__1, int& arg__2) const{ return (((PythonQtPublicPromoter_QDoubleValidator*)theWrappedObject)->py_q_validate(arg__1, arg__2));} +}; + + + + + +class PythonQtShell_QDrag : public QDrag +{ +public: + PythonQtShell_QDrag(QObject* dragSource):QDrag(dragSource),_wrapper(nullptr) {}; + + ~PythonQtShell_QDrag() 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_QDrag : public QObject +{ Q_OBJECT +public: +public slots: +QDrag* new_QDrag(QObject* dragSource); +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; + Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions = Qt::MoveAction); + Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions, Qt::DropAction defaultAction); + QPoint hotSpot(QDrag* theWrappedObject) const; + QMimeData* mimeData(QDrag* theWrappedObject) const; + QPixmap pixmap(QDrag* theWrappedObject) const; + void setDragCursor(QDrag* theWrappedObject, const QPixmap& cursor, Qt::DropAction action); + void setHotSpot(QDrag* theWrappedObject, const QPoint& hotspot); + void setMimeData(QDrag* theWrappedObject, PythonQtPassOwnershipToCPP data); + void setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1); + QObject* source(QDrag* theWrappedObject) const; + Qt::DropActions supportedActions(QDrag* theWrappedObject) const; + QObject* target(QDrag* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDragEnterEvent : public QObject +{ Q_OBJECT +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; } +}; + + + + + +class PythonQtWrapper_QDragLeaveEvent : public QObject +{ Q_OBJECT +public: +public slots: +QDragLeaveEvent* new_QDragLeaveEvent(); +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(nullptr) {}; + + ~PythonQtShell_QDragMoveEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDragMoveEvent : public QObject +{ Q_OBJECT +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 accept(QDragMoveEvent* theWrappedObject, const QRect& r); + QRect answerRect(QDragMoveEvent* theWrappedObject) const; + void ignore(QDragMoveEvent* theWrappedObject, const QRect& r); +}; + + + + + +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(nullptr) {}; + + ~PythonQtShell_QDropEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDropEvent : public QObject +{ Q_OBJECT +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 acceptProposedAction(QDropEvent* theWrappedObject); + Qt::DropAction dropAction(QDropEvent* theWrappedObject) const; + Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const; + const QMimeData* mimeData(QDropEvent* theWrappedObject) const; + Qt::MouseButtons mouseButtons(QDropEvent* theWrappedObject) const; + QPoint pos(QDropEvent* theWrappedObject) const; + const QPointF* posF(QDropEvent* theWrappedObject) const; + Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const; + Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const; + void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action); + QObject* source(QDropEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QEnterEvent : public QEnterEvent +{ +public: + PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(nullptr) {}; + + ~PythonQtShell_QEnterEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QEnterEvent : public QObject +{ Q_OBJECT +public: +public slots: +QEnterEvent* new_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos); +void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } + QPoint globalPos(QEnterEvent* theWrappedObject) const; + int globalX(QEnterEvent* theWrappedObject) const; + int globalY(QEnterEvent* theWrappedObject) const; + const QPointF* localPos(QEnterEvent* theWrappedObject) const; + QPoint pos(QEnterEvent* theWrappedObject) const; + const QPointF* screenPos(QEnterEvent* theWrappedObject) const; + const QPointF* windowPos(QEnterEvent* theWrappedObject) const; + int x(QEnterEvent* theWrappedObject) const; + int y(QEnterEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QErrorMessage : public QErrorMessage +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline void promoted_done(int arg__1) { this->done(arg__1); } +inline void py_q_changeEvent(QEvent* e) { QErrorMessage::changeEvent(e); } +inline void py_q_done(int arg__1) { QErrorMessage::done(arg__1); } +}; + +class PythonQtWrapper_QErrorMessage : public QObject +{ Q_OBJECT +public: +public slots: +QErrorMessage* new_QErrorMessage(QWidget* parent = nullptr); +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(); +}; + + + + + +class PythonQtShell_QExposeEvent : public QExposeEvent +{ +public: + PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(nullptr) {}; + + ~PythonQtShell_QExposeEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QExposeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QExposeEvent* new_QExposeEvent(const QRegion& rgn); +void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } + const QRegion* region(QExposeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFileDialog : public QFileDialog +{ +public: + 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 +{ public: +inline void promoted_accept() { this->accept(); } +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline void promoted_done(int result) { this->done(result); } +inline void py_q_accept() { QFileDialog::accept(); } +inline void py_q_changeEvent(QEvent* e) { QFileDialog::changeEvent(e); } +inline void py_q_done(int result) { QFileDialog::done(result); } +inline void py_q_setVisible(bool visible) { QFileDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QFileDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DialogLabel Option ) +Q_FLAGS(Options ) +enum DialogLabel{ + LookIn = QFileDialog::LookIn, FileName = QFileDialog::FileName, FileType = QFileDialog::FileType, Accept = QFileDialog::Accept, Reject = QFileDialog::Reject}; +enum Option{ + ShowDirsOnly = QFileDialog::ShowDirsOnly, DontResolveSymlinks = QFileDialog::DontResolveSymlinks, DontConfirmOverwrite = QFileDialog::DontConfirmOverwrite, DontUseSheet = QFileDialog::DontUseSheet, DontUseNativeDialog = QFileDialog::DontUseNativeDialog, ReadOnly = QFileDialog::ReadOnly, HideNameFilterDetails = QFileDialog::HideNameFilterDetails, DontUseCustomDirectoryIcons = QFileDialog::DontUseCustomDirectoryIcons}; +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 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));} + bool confirmOverwrite(QFileDialog* theWrappedObject) const; + QString defaultSuffix(QFileDialog* theWrappedObject) const; + QDir directory(QFileDialog* theWrappedObject) const; + QUrl directoryUrl(QFileDialog* theWrappedObject) const; + void py_q_done(QFileDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_done(result));} + QFileDialog::FileMode fileMode(QFileDialog* theWrappedObject) const; + QDir::Filters filter(QFileDialog* theWrappedObject) const; + QString static_QFileDialog_getExistingDirectory(QWidget* parent = nullptr, const QString& caption = QString(), const QString& dir = QString(), QFileDialog::Options options = QFileDialog::ShowDirsOnly); + QUrl static_QFileDialog_getExistingDirectoryUrl(QWidget* parent = nullptr, const QString& caption = QString(), const QUrl& dir = QUrl(), QFileDialog::Options options = QFileDialog::ShowDirsOnly, const QStringList& supportedSchemes = QStringList()); + QString static_QFileDialog_getOpenFileName(QWidget* parent = nullptr, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = nullptr, QFileDialog::Options options = QFileDialog::Options()); + QStringList static_QFileDialog_getOpenFileNames(QWidget* parent = nullptr, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = nullptr, QFileDialog::Options options = QFileDialog::Options()); + QUrl static_QFileDialog_getOpenFileUrl(QWidget* parent = nullptr, const QString& caption = QString(), const QUrl& dir = QUrl(), const QString& filter = QString(), QString* selectedFilter = nullptr, QFileDialog::Options options = QFileDialog::Options(), const QStringList& supportedSchemes = QStringList()); + QList static_QFileDialog_getOpenFileUrls(QWidget* parent = nullptr, const QString& caption = QString(), const QUrl& dir = QUrl(), const QString& filter = QString(), QString* selectedFilter = nullptr, QFileDialog::Options options = QFileDialog::Options(), const QStringList& supportedSchemes = QStringList()); + QString static_QFileDialog_getSaveFileName(QWidget* parent = nullptr, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = nullptr, QFileDialog::Options options = QFileDialog::Options()); + QUrl static_QFileDialog_getSaveFileUrl(QWidget* parent = nullptr, const QString& caption = QString(), const QUrl& dir = QUrl(), const QString& filter = QString(), QString* selectedFilter = nullptr, QFileDialog::Options options = QFileDialog::Options(), const QStringList& supportedSchemes = QStringList()); + QStringList history(QFileDialog* theWrappedObject) const; + QFileIconProvider* iconProvider(QFileDialog* theWrappedObject) const; + bool isNameFilterDetailsVisible(QFileDialog* theWrappedObject) const; + bool isReadOnly(QFileDialog* theWrappedObject) const; + QAbstractItemDelegate* itemDelegate(QFileDialog* theWrappedObject) const; + QString labelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label) const; + QStringList mimeTypeFilters(QFileDialog* theWrappedObject) const; + QStringList nameFilters(QFileDialog* theWrappedObject) const; + void open(QFileDialog* theWrappedObject, QObject* receiver, const char* member); + QFileDialog::Options options(QFileDialog* theWrappedObject) const; + QAbstractProxyModel* proxyModel(QFileDialog* theWrappedObject) const; + bool resolveSymlinks(QFileDialog* theWrappedObject) const; + bool restoreState(QFileDialog* theWrappedObject, const QByteArray& state); + void static_QFileDialog_saveFileContent(const QByteArray& fileContent, const QString& fileNameHint = QString()); + QByteArray saveState(QFileDialog* theWrappedObject) const; + void selectFile(QFileDialog* theWrappedObject, const QString& filename); + void selectMimeTypeFilter(QFileDialog* theWrappedObject, const QString& filter); + void selectNameFilter(QFileDialog* theWrappedObject, const QString& filter); + void selectUrl(QFileDialog* theWrappedObject, const QUrl& url); + QStringList selectedFiles(QFileDialog* theWrappedObject) const; + QString selectedMimeTypeFilter(QFileDialog* theWrappedObject) const; + QString selectedNameFilter(QFileDialog* theWrappedObject) const; + QList selectedUrls(QFileDialog* theWrappedObject) const; + void setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode); + void setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled); + void setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix); + void setDirectory(QFileDialog* theWrappedObject, const QDir& directory); + void setDirectory(QFileDialog* theWrappedObject, const QString& directory); + void setDirectoryUrl(QFileDialog* theWrappedObject, const QUrl& directory); + void setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode); + void setFilter(QFileDialog* theWrappedObject, QDir::Filters filters); + void setHistory(QFileDialog* theWrappedObject, const QStringList& paths); + void setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider); + void setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate); + void setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text); + void setMimeTypeFilters(QFileDialog* theWrappedObject, const QStringList& filters); + void setNameFilter(QFileDialog* theWrappedObject, const QString& filter); + void setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled); + void setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters); + void setOption(QFileDialog* theWrappedObject, QFileDialog::Option option, bool on = true); + void setOptions(QFileDialog* theWrappedObject, QFileDialog::Options options); + void setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model); + void setReadOnly(QFileDialog* theWrappedObject, bool enabled); + void setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled); + void setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls); + void setSupportedSchemes(QFileDialog* theWrappedObject, const QStringList& schemes); + void setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode); + void py_q_setVisible(QFileDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_setVisible(visible));} + QList sidebarUrls(QFileDialog* theWrappedObject) const; + QStringList supportedSchemes(QFileDialog* theWrappedObject) const; + bool testOption(QFileDialog* theWrappedObject, QFileDialog::Option option) const; + QFileDialog::ViewMode viewMode(QFileDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFileIconProvider : public QFileIconProvider +{ +public: + PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileIconProvider() override; + +QIcon icon(QFileIconProvider::IconType type) const override; +QIcon icon(const QFileInfo& info) const override; +QString type(const QFileInfo& info) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider +{ public: +inline QIcon py_q_icon(QFileIconProvider::IconType type) const { return QFileIconProvider::icon(type); } +inline QIcon py_q_icon(const QFileInfo& info) const { return QFileIconProvider::icon(info); } +inline QString py_q_type(const QFileInfo& info) const { return QFileIconProvider::type(info); } +}; + +class PythonQtWrapper_QFileIconProvider : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IconType Option ) +Q_FLAGS(Options ) +enum IconType{ + Computer = QFileIconProvider::Computer, Desktop = QFileIconProvider::Desktop, Trashcan = QFileIconProvider::Trashcan, Network = QFileIconProvider::Network, Drive = QFileIconProvider::Drive, Folder = QFileIconProvider::Folder, File = QFileIconProvider::File}; +enum Option{ + DontUseCustomDirectoryIcons = QFileIconProvider::DontUseCustomDirectoryIcons}; +Q_DECLARE_FLAGS(Options, Option) +public slots: +QFileIconProvider* new_QFileIconProvider(); +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; + QIcon py_q_icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const{ return (((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->py_q_icon(info));} + QFileIconProvider::Options options(QFileIconProvider* theWrappedObject) const; + void setOptions(QFileIconProvider* theWrappedObject, QFileIconProvider::Options options); + QString type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; + QString py_q_type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const{ return (((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->py_q_type(info));} +}; + + + + + +class PythonQtWrapper_QFileOpenEvent : public QObject +{ Q_OBJECT +public: +public slots: +QFileOpenEvent* new_QFileOpenEvent(const QString& file); +QFileOpenEvent* new_QFileOpenEvent(const QUrl& url); +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; +}; + + + + + +class PythonQtShell_QFileSystemModel : public QFileSystemModel +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline bool py_q_canFetchMore(const QModelIndex& parent) const { return QFileSystemModel::canFetchMore(parent); } +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::columnCount(parent); } +inline QVariant py_q_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QFileSystemModel::data(index, role); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QFileSystemModel::dropMimeData(data, action, row, column, parent); } +inline bool py_q_event(QEvent* event) { return QFileSystemModel::event(event); } +inline void py_q_fetchMore(const QModelIndex& parent) { QFileSystemModel::fetchMore(parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QFileSystemModel::flags(index); } +inline bool py_q_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::hasChildren(parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QFileSystemModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::index(row, column, parent); } +inline QMimeData* py_q_mimeData(const QList& indexes) const { return QFileSystemModel::mimeData(indexes); } +inline QStringList py_q_mimeTypes() const { return QFileSystemModel::mimeTypes(); } +inline QModelIndex py_q_parent(const QModelIndex& child) const { return QFileSystemModel::parent(child); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::rowCount(parent); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QFileSystemModel::setData(index, value, role); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QFileSystemModel::sibling(row, column, idx); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QFileSystemModel::sort(column, order); } +inline Qt::DropActions py_q_supportedDropActions() const { return QFileSystemModel::supportedDropActions(); } +inline void py_q_timerEvent(QTimerEvent* event) { QFileSystemModel::timerEvent(event); } +}; + +class PythonQtWrapper_QFileSystemModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Option Roles ) +Q_FLAGS(Options ) +enum Option{ + DontWatchForChanges = QFileSystemModel::DontWatchForChanges, DontResolveSymlinks = QFileSystemModel::DontResolveSymlinks, DontUseCustomDirectoryIcons = QFileSystemModel::DontUseCustomDirectoryIcons}; +enum Roles{ + FileIconRole = QFileSystemModel::FileIconRole, FilePathRole = QFileSystemModel::FilePathRole, FileNameRole = QFileSystemModel::FileNameRole, FilePermissions = QFileSystemModel::FilePermissions}; +Q_DECLARE_FLAGS(Options, Option) +public slots: +QFileSystemModel* new_QFileSystemModel(QObject* parent = nullptr); +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));} + bool py_q_dropMimeData(QFileSystemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} + bool py_q_event(QFileSystemModel* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_event(event));} + void py_q_fetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent){ (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_fetchMore(parent));} + QIcon fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + QFileInfo fileInfo(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + QString fileName(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + QString filePath(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + QDir::Filters filter(QFileSystemModel* theWrappedObject) const; + Qt::ItemFlags py_q_flags(QFileSystemModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_flags(index));} + bool py_q_hasChildren(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_hasChildren(parent));} + QVariant py_q_headerData(QFileSystemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QFileIconProvider* iconProvider(QFileSystemModel* theWrappedObject) const; + QModelIndex index(QFileSystemModel* theWrappedObject, const QString& path, int column = 0) const; + QModelIndex py_q_index(QFileSystemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_index(row, column, parent));} + bool isDir(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + bool isReadOnly(QFileSystemModel* theWrappedObject) const; + QDateTime lastModified(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + QMimeData* py_q_mimeData(QFileSystemModel* theWrappedObject, const QList& indexes) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_mimeData(indexes));} + QStringList py_q_mimeTypes(QFileSystemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_mimeTypes());} + QModelIndex mkdir(QFileSystemModel* theWrappedObject, const QModelIndex& parent, const QString& name); + QVariant myComputer(QFileSystemModel* theWrappedObject, int role = Qt::DisplayRole) const; + bool nameFilterDisables(QFileSystemModel* theWrappedObject) const; + QStringList nameFilters(QFileSystemModel* theWrappedObject) const; + QFileSystemModel::Options options(QFileSystemModel* theWrappedObject) const; + QModelIndex py_q_parent(QFileSystemModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_parent(child));} + QFile::Permissions permissions(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + bool remove(QFileSystemModel* theWrappedObject, const QModelIndex& index); + bool resolveSymlinks(QFileSystemModel* theWrappedObject) const; + bool rmdir(QFileSystemModel* theWrappedObject, const QModelIndex& index); + QDir rootDirectory(QFileSystemModel* theWrappedObject) const; + QString rootPath(QFileSystemModel* theWrappedObject) const; + int py_q_rowCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_setData(QFileSystemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_setData(index, value, role));} + void setFilter(QFileSystemModel* theWrappedObject, QDir::Filters filters); + void setIconProvider(QFileSystemModel* theWrappedObject, QFileIconProvider* provider); + void setNameFilterDisables(QFileSystemModel* theWrappedObject, bool enable); + void setNameFilters(QFileSystemModel* theWrappedObject, const QStringList& filters); + void setOption(QFileSystemModel* theWrappedObject, QFileSystemModel::Option option, bool on = true); + void setOptions(QFileSystemModel* theWrappedObject, QFileSystemModel::Options options); + void setReadOnly(QFileSystemModel* theWrappedObject, bool enable); + void setResolveSymlinks(QFileSystemModel* theWrappedObject, bool enable); + QModelIndex setRootPath(QFileSystemModel* theWrappedObject, const QString& path); + QModelIndex py_q_sibling(QFileSystemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_sibling(row, column, idx));} + qint64 size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; + void py_q_sort(QFileSystemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_sort(column, order));} + Qt::DropActions py_q_supportedDropActions(QFileSystemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_supportedDropActions());} + bool testOption(QFileSystemModel* theWrappedObject, QFileSystemModel::Option option) const; + void py_q_timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_timerEvent(event));} + QString type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp new file mode 100644 index 00000000..e45cf768 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -0,0 +1,16504 @@ +#include "com_trolltech_qt_gui10.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStylePlugin::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(); + } + } +} + QStylePlugin::childEvent(event0); +} +QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyle*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QStyle**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QStylePlugin::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(); + } + } +} + QStylePlugin::customEvent(event0); +} +bool PythonQtShell_QStylePlugin::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 QStylePlugin::event(event0); +} +bool PythonQtShell_QStylePlugin::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 QStylePlugin::eventFilter(watched0, event1); +} +void PythonQtShell_QStylePlugin::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(); + } + } +} + QStylePlugin::timerEvent(event0); +} +QStylePlugin* PythonQtWrapper_QStylePlugin::new_QStylePlugin(QObject* parent) +{ +return new PythonQtShell_QStylePlugin(parent); } + +const QMetaObject* PythonQtShell_QStylePlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStylePlugin::staticMetaObject); + } else { + return &QStylePlugin::staticMetaObject; + } +} +int PythonQtShell_QStylePlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStylePlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStyle* PythonQtWrapper_QStylePlugin::create(QStylePlugin* theWrappedObject, const QString& key) +{ + return ( theWrappedObject->create(key)); +} + + + +PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStyledItemDelegate::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(); + } + } +} + QStyledItemDelegate::childEvent(event0); +} +QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::createEditor(parent0, option1, index2); +} +void PythonQtShell_QStyledItemDelegate::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(); + } + } +} + QStyledItemDelegate::customEvent(event0); +} +void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("destroyEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::destroyEditor(editor0, index1); +} +QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("displayText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::displayText(value0, locale1); +} +bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::editorEvent(event0, model1, option2, index3); +} +bool PythonQtShell_QStyledItemDelegate::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 QStyledItemDelegate::event(event0); +} +bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, 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*)&object0, (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 QStyledItemDelegate::eventFilter(object0, event1); +} +bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +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[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::helpEvent(event0, view1, option2, index3); +} +void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initStyleOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::initStyleOption(option0, index1); +} +void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +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 QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::paint(painter0, option1, index2); +} +QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintingRoles"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::paintingRoles(); +} +void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::setEditorData(editor0, index1); +} +void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModelData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::setModelData(editor0, model1, index2); +} +QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) 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[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::sizeHint(option0, index1); +} +void PythonQtShell_QStyledItemDelegate::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(); + } + } +} + QStyledItemDelegate::timerEvent(event0); +} +void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::updateEditorGeometry(editor0, option1, index2); +} +QStyledItemDelegate* PythonQtWrapper_QStyledItemDelegate::new_QStyledItemDelegate(QObject* parent) +{ +return new PythonQtShell_QStyledItemDelegate(parent); } + +const QMetaObject* PythonQtShell_QStyledItemDelegate::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStyledItemDelegate::staticMetaObject); + } else { + return &QStyledItemDelegate::staticMetaObject; + } +} +int PythonQtShell_QStyledItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStyledItemDelegate::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const +{ + return ( theWrappedObject->displayText(value, locale)); +} + +void PythonQtWrapper_QStyledItemDelegate::initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_initStyleOption(option, index)); +} + +QItemEditorFactory* PythonQtWrapper_QStyledItemDelegate::itemEditorFactory(QStyledItemDelegate* theWrappedObject) const +{ + return ( theWrappedObject->itemEditorFactory()); +} + +void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory) +{ + ( theWrappedObject->setItemEditorFactory(factory)); +} + + + +PythonQtShell_QSurface::~PythonQtShell_QSurface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSurfaceFormat PythonQtShell_QSurface::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSurfaceFormat(); +} +QSize PythonQtShell_QSurface::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceHandle"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPlatformSurface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); + } else { + returnValue = *((QPlatformSurface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSurface::SurfaceType(); +} +QSurface* PythonQtWrapper_QSurface::new_QSurface(QSurface::SurfaceClass type) +{ +return new PythonQtShell_QSurface(type); } + +QSurfaceFormat PythonQtWrapper_QSurface::format(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QSize PythonQtWrapper_QSurface::size(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +bool PythonQtWrapper_QSurface::supportsOpenGL(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->supportsOpenGL()); +} + +QSurface::SurfaceClass PythonQtWrapper_QSurface::surfaceClass(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceClass()); +} + +QPlatformSurface* PythonQtWrapper_QSurface::surfaceHandle(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceHandle()); +} + +QSurface::SurfaceType PythonQtWrapper_QSurface::surfaceType(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceType()); +} + + + +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat() +{ +return new QSurfaceFormat(); } + +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(QSurfaceFormat::FormatOptions options) +{ +return new QSurfaceFormat(options); } + +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(const QSurfaceFormat& other) +{ +return new QSurfaceFormat(other); } + +int PythonQtWrapper_QSurfaceFormat::alphaBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaBufferSize()); +} + +int PythonQtWrapper_QSurfaceFormat::blueBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->blueBufferSize()); +} + +QSurfaceFormat::ColorSpace PythonQtWrapper_QSurfaceFormat::colorSpace(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->colorSpace()); +} + +QSurfaceFormat PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_defaultFormat() +{ + return (QSurfaceFormat::defaultFormat()); +} + +int PythonQtWrapper_QSurfaceFormat::depthBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->depthBufferSize()); +} + +int PythonQtWrapper_QSurfaceFormat::greenBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->greenBufferSize()); +} + +bool PythonQtWrapper_QSurfaceFormat::hasAlpha(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->hasAlpha()); +} + +int PythonQtWrapper_QSurfaceFormat::majorVersion(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->majorVersion()); +} + +int PythonQtWrapper_QSurfaceFormat::minorVersion(QSurfaceFormat* theWrappedObject) const +{ + 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); +} + +bool PythonQtWrapper_QSurfaceFormat::__eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +QSurfaceFormat::FormatOptions PythonQtWrapper_QSurfaceFormat::options(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QSurfaceFormat::profile(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->profile()); +} + +int PythonQtWrapper_QSurfaceFormat::redBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->redBufferSize()); +} + +QSurfaceFormat::RenderableType PythonQtWrapper_QSurfaceFormat::renderableType(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->renderableType()); +} + +int PythonQtWrapper_QSurfaceFormat::samples(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QSurfaceFormat::setAlphaBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setAlphaBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setBlueBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setBlueBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setColorSpace(QSurfaceFormat* theWrappedObject, QSurfaceFormat::ColorSpace colorSpace) +{ + ( theWrappedObject->setColorSpace(colorSpace)); +} + +void PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_setDefaultFormat(const QSurfaceFormat& format) +{ + (QSurfaceFormat::setDefaultFormat(format)); +} + +void PythonQtWrapper_QSurfaceFormat::setDepthBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setDepthBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setGreenBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setGreenBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setMajorVersion(QSurfaceFormat* theWrappedObject, int majorVersion) +{ + ( theWrappedObject->setMajorVersion(majorVersion)); +} + +void PythonQtWrapper_QSurfaceFormat::setMinorVersion(QSurfaceFormat* theWrappedObject, int minorVersion) +{ + ( theWrappedObject->setMinorVersion(minorVersion)); +} + +void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) +{ + ( theWrappedObject->setOption(opt)); +} + +void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QSurfaceFormat::setOptions(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QSurfaceFormat::setProfile(QSurfaceFormat* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +{ + ( theWrappedObject->setProfile(profile)); +} + +void PythonQtWrapper_QSurfaceFormat::setRedBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setRedBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setRenderableType(QSurfaceFormat* theWrappedObject, QSurfaceFormat::RenderableType type) +{ + ( theWrappedObject->setRenderableType(type)); +} + +void PythonQtWrapper_QSurfaceFormat::setSamples(QSurfaceFormat* theWrappedObject, int numSamples) +{ + ( theWrappedObject->setSamples(numSamples)); +} + +void PythonQtWrapper_QSurfaceFormat::setStencilBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setStencilBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setStereo(QSurfaceFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setStereo(enable)); +} + +void PythonQtWrapper_QSurfaceFormat::setSwapBehavior(QSurfaceFormat* theWrappedObject, QSurfaceFormat::SwapBehavior behavior) +{ + ( theWrappedObject->setSwapBehavior(behavior)); +} + +void PythonQtWrapper_QSurfaceFormat::setSwapInterval(QSurfaceFormat* theWrappedObject, int interval) +{ + ( theWrappedObject->setSwapInterval(interval)); +} + +void PythonQtWrapper_QSurfaceFormat::setVersion(QSurfaceFormat* theWrappedObject, int major, int minor) +{ + ( theWrappedObject->setVersion(major, minor)); +} + +int PythonQtWrapper_QSurfaceFormat::stencilBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->stencilBufferSize()); +} + +bool PythonQtWrapper_QSurfaceFormat::stereo(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->stereo()); +} + +QSurfaceFormat::SwapBehavior PythonQtWrapper_QSurfaceFormat::swapBehavior(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->swapBehavior()); +} + +int PythonQtWrapper_QSurfaceFormat::swapInterval(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->swapInterval()); +} + +bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) const +{ + return ( theWrappedObject->testOption(opt)); +} + +bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + +QPair PythonQtWrapper_QSurfaceFormat::version(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QSurfaceFormat::py_toString(QSurfaceFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSwipeGesture::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(); + } + } +} + QSwipeGesture::childEvent(event0); +} +void PythonQtShell_QSwipeGesture::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(); + } + } +} + QSwipeGesture::customEvent(event0); +} +bool PythonQtShell_QSwipeGesture::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 QSwipeGesture::event(event0); +} +bool PythonQtShell_QSwipeGesture::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 QSwipeGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QSwipeGesture::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(); + } + } +} + QSwipeGesture::timerEvent(event0); +} +QSwipeGesture* PythonQtWrapper_QSwipeGesture::new_QSwipeGesture(QObject* parent) +{ +return new PythonQtShell_QSwipeGesture(parent); } + +const QMetaObject* PythonQtShell_QSwipeGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSwipeGesture::staticMetaObject); + } else { + return &QSwipeGesture::staticMetaObject; + } +} +int PythonQtShell_QSwipeGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSwipeGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::horizontalDirection(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->horizontalDirection()); +} + +void PythonQtWrapper_QSwipeGesture::setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setSwipeAngle(value)); +} + +qreal PythonQtWrapper_QSwipeGesture::swipeAngle(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->swipeAngle()); +} + +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::verticalDirection(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->verticalDirection()); +} + + + +PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSyntaxHighlighter::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(); + } + } +} + QSyntaxHighlighter::childEvent(event0); +} +void PythonQtShell_QSyntaxHighlighter::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(); + } + } +} + QSyntaxHighlighter::customEvent(event0); +} +bool PythonQtShell_QSyntaxHighlighter::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 QSyntaxHighlighter::event(event0); +} +bool PythonQtShell_QSyntaxHighlighter::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 QSyntaxHighlighter::eventFilter(watched0, event1); +} +void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("highlightBlock"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&text0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSyntaxHighlighter::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(); + } + } +} + QSyntaxHighlighter::timerEvent(event0); +} +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QObject* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextDocument* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +const QMetaObject* PythonQtShell_QSyntaxHighlighter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSyntaxHighlighter::staticMetaObject); + } else { + return &QSyntaxHighlighter::staticMetaObject; + } +} +int PythonQtShell_QSyntaxHighlighter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSyntaxHighlighter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextBlock PythonQtWrapper_QSyntaxHighlighter::currentBlock(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlock()); +} + +int PythonQtWrapper_QSyntaxHighlighter::currentBlockState(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockState()); +} + +QTextBlockUserData* PythonQtWrapper_QSyntaxHighlighter::currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockUserData()); +} + +QTextDocument* PythonQtWrapper_QSyntaxHighlighter::document(QSyntaxHighlighter* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QTextCharFormat PythonQtWrapper_QSyntaxHighlighter::format(QSyntaxHighlighter* theWrappedObject, int pos) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_format(pos)); +} + +void PythonQtWrapper_QSyntaxHighlighter::highlightBlock(QSyntaxHighlighter* theWrappedObject, const QString& text) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_highlightBlock(text)); +} + +int PythonQtWrapper_QSyntaxHighlighter::previousBlockState(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_previousBlockState()); +} + +void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockState(QSyntaxHighlighter* theWrappedObject, int newState) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockState(newState)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockUserData(QSyntaxHighlighter* theWrappedObject, QTextBlockUserData* data) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockUserData(data)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc) +{ + ( theWrappedObject->setDocument(doc)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QColor& color) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, color)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QFont& font) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, font)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QTextCharFormat& format) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, format)); +} + + + +PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSystemTrayIcon::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(); + } + } +} + QSystemTrayIcon::childEvent(event0); +} +void PythonQtShell_QSystemTrayIcon::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(); + } + } +} + QSystemTrayIcon::customEvent(event0); +} +bool PythonQtShell_QSystemTrayIcon::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 QSystemTrayIcon::event(event0); +} +bool PythonQtShell_QSystemTrayIcon::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 QSystemTrayIcon::eventFilter(watched0, event1); +} +void PythonQtShell_QSystemTrayIcon::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(); + } + } +} + QSystemTrayIcon::timerEvent(event0); +} +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(parent); } + +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(const QIcon& icon, QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(icon, parent); } + +const QMetaObject* PythonQtShell_QSystemTrayIcon::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSystemTrayIcon::staticMetaObject); + } else { + return &QSystemTrayIcon::staticMetaObject; + } +} +int PythonQtShell_QSystemTrayIcon::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSystemTrayIcon::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->contextMenu()); +} + +QRect PythonQtWrapper_QSystemTrayIcon::geometry(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +QIcon PythonQtWrapper_QSystemTrayIcon::icon(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_isSystemTrayAvailable() +{ + return (QSystemTrayIcon::isSystemTrayAvailable()); +} + +bool PythonQtWrapper_QSystemTrayIcon::isVisible(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +void PythonQtWrapper_QSystemTrayIcon::setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setContextMenu(menu)); +} + +void PythonQtWrapper_QSystemTrayIcon::setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QSystemTrayIcon::setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip) +{ + ( theWrappedObject->setToolTip(tip)); +} + +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() +{ + return (QSystemTrayIcon::supportsMessages()); +} + +QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + + + +PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTabBar::actionEvent(event0); +} +void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::changeEvent(arg__1); +} +void PythonQtShell_QTabBar::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(); + } + } +} + QTabBar::childEvent(event0); +} +void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTabBar::closeEvent(event0); +} +void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QTabBar::contextMenuEvent(event0); +} +void PythonQtShell_QTabBar::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(); + } + } +} + QTabBar::customEvent(event0); +} +int PythonQtShell_QTabBar::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 QTabBar::devType(); +} +void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTabBar::dragEnterEvent(event0); +} +void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTabBar::dragLeaveEvent(event0); +} +void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTabBar::dragMoveEvent(event0); +} +void PythonQtShell_QTabBar::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTabBar::dropEvent(event0); +} +void PythonQtShell_QTabBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTabBar::enterEvent(event0); +} +bool PythonQtShell_QTabBar::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::event(arg__1); +} +bool PythonQtShell_QTabBar::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 QTabBar::eventFilter(watched0, event1); +} +void PythonQtShell_QTabBar::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(); + } + } +} + QTabBar::focusInEvent(event0); +} +bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::focusNextPrevChild(next0); +} +void PythonQtShell_QTabBar::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(); + } + } +} + QTabBar::focusOutEvent(event0); +} +bool PythonQtShell_QTabBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::hasHeightForWidth(); +} +int PythonQtShell_QTabBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::heightForWidth(arg__1); +} +void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::hideEvent(arg__1); +} +void PythonQtShell_QTabBar::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(); + } + } +} + QTabBar::initPainter(painter0); +} +void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::keyPressEvent(arg__1); +} +void PythonQtShell_QTabBar::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(); + } + } +} + QTabBar::keyReleaseEvent(event0); +} +void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTabBar::leaveEvent(event0); +} +int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::metric(arg__1); +} +QSize PythonQtShell_QTabBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::minimumSizeHint(); +} +QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumTabSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::minimumTabSizeHint(index0); +} +void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTabBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::mousePressEvent(arg__1); +} +void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QTabBar::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTabBar::moveEvent(event0); +} +bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTabBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::paintEngine(); +} +void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QTabBar::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 QTabBar::redirected(offset0); +} +void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::resizeEvent(arg__1); +} +void PythonQtShell_QTabBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::setVisible(visible0); +} +QPainter* PythonQtShell_QTabBar::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 QTabBar::sharedPainter(); +} +void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabBar::showEvent(arg__1); +} +QSize PythonQtShell_QTabBar::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::sizeHint(); +} +void PythonQtShell_QTabBar::tabInserted(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabInserted"); + 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(); + } + } +} + QTabBar::tabInserted(index0); +} +void PythonQtShell_QTabBar::tabLayoutChange() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabLayoutChange"); + 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(); + } + } +} + QTabBar::tabLayoutChange(); +} +void PythonQtShell_QTabBar::tabRemoved(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabRemoved"); + 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(); + } + } +} + QTabBar::tabRemoved(index0); +} +QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabBar::tabSizeHint(index0); +} +void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTabBar::tabletEvent(event0); +} +void PythonQtShell_QTabBar::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(); + } + } +} + QTabBar::timerEvent(event0); +} +void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QTabBar::wheelEvent(event0); +} +QTabBar* PythonQtWrapper_QTabBar::new_QTabBar(QWidget* parent) +{ +return new PythonQtShell_QTabBar(parent); } + +const QMetaObject* PythonQtShell_QTabBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabBar::staticMetaObject); + } else { + return &QTabBar::staticMetaObject; + } +} +int PythonQtShell_QTabBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTabBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QTabBar::accessibleTabName(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->accessibleTabName(index)); +} + +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addTab(icon, text)); +} + +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addTab(text)); +} + +bool PythonQtWrapper_QTabBar::autoHide(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->autoHide()); +} + +bool PythonQtWrapper_QTabBar::changeCurrentOnDrag(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->changeCurrentOnDrag()); +} + +int PythonQtWrapper_QTabBar::count(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QTabBar::currentIndex(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +bool PythonQtWrapper_QTabBar::documentMode(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +bool PythonQtWrapper_QTabBar::drawBase(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->drawBase()); +} + +Qt::TextElideMode PythonQtWrapper_QTabBar::elideMode(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->elideMode()); +} + +bool PythonQtWrapper_QTabBar::expanding(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->expanding()); +} + +QSize PythonQtWrapper_QTabBar::iconSize(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QTabBar::initStyleOption(QTabBar* theWrappedObject, QStyleOptionTab* option, int tabIndex) const +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_initStyleOption(option, tabIndex)); +} + +int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertTab(index, icon, text)); +} + +int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QString& text) +{ + return ( theWrappedObject->insertTab(index, text)); +} + +bool PythonQtWrapper_QTabBar::isMovable(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +bool PythonQtWrapper_QTabBar::isTabEnabled(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabEnabled(index)); +} + +bool PythonQtWrapper_QTabBar::isTabVisible(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabVisible(index)); +} + +QSize PythonQtWrapper_QTabBar::minimumSizeHint(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QSize PythonQtWrapper_QTabBar::minimumTabSizeHint(QTabBar* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_minimumTabSizeHint(index)); +} + +void PythonQtWrapper_QTabBar::moveTab(QTabBar* theWrappedObject, int from, int to) +{ + ( theWrappedObject->moveTab(from, to)); +} + +void PythonQtWrapper_QTabBar::removeTab(QTabBar* theWrappedObject, int index) +{ + ( theWrappedObject->removeTab(index)); +} + +QTabBar::SelectionBehavior PythonQtWrapper_QTabBar::selectionBehaviorOnRemove(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->selectionBehaviorOnRemove()); +} + +void PythonQtWrapper_QTabBar::setAccessibleTabName(QTabBar* theWrappedObject, int index, const QString& name) +{ + ( theWrappedObject->setAccessibleTabName(index, name)); +} + +void PythonQtWrapper_QTabBar::setAutoHide(QTabBar* theWrappedObject, bool hide) +{ + ( theWrappedObject->setAutoHide(hide)); +} + +void PythonQtWrapper_QTabBar::setChangeCurrentOnDrag(QTabBar* theWrappedObject, bool change) +{ + ( theWrappedObject->setChangeCurrentOnDrag(change)); +} + +void PythonQtWrapper_QTabBar::setDocumentMode(QTabBar* theWrappedObject, bool set) +{ + ( theWrappedObject->setDocumentMode(set)); +} + +void PythonQtWrapper_QTabBar::setDrawBase(QTabBar* theWrappedObject, bool drawTheBase) +{ + ( theWrappedObject->setDrawBase(drawTheBase)); +} + +void PythonQtWrapper_QTabBar::setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode mode) +{ + ( theWrappedObject->setElideMode(mode)); +} + +void PythonQtWrapper_QTabBar::setExpanding(QTabBar* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setExpanding(enabled)); +} + +void PythonQtWrapper_QTabBar::setIconSize(QTabBar* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QTabBar::setMovable(QTabBar* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QTabBar::setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior) +{ + ( theWrappedObject->setSelectionBehaviorOnRemove(behavior)); +} + +void PythonQtWrapper_QTabBar::setShape(QTabBar* theWrappedObject, QTabBar::Shape shape) +{ + ( theWrappedObject->setShape(shape)); +} + +void PythonQtWrapper_QTabBar::setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget) +{ + ( theWrappedObject->setTabButton(index, position, widget)); +} + +void PythonQtWrapper_QTabBar::setTabData(QTabBar* theWrappedObject, int index, const QVariant& data) +{ + ( theWrappedObject->setTabData(index, data)); +} + +void PythonQtWrapper_QTabBar::setTabEnabled(QTabBar* theWrappedObject, int index, bool enabled) +{ + ( theWrappedObject->setTabEnabled(index, enabled)); +} + +void PythonQtWrapper_QTabBar::setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setTabIcon(index, icon)); +} + +void PythonQtWrapper_QTabBar::setTabText(QTabBar* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabText(index, text)); +} + +void PythonQtWrapper_QTabBar::setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color) +{ + ( theWrappedObject->setTabTextColor(index, color)); +} + +void PythonQtWrapper_QTabBar::setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip) +{ + ( theWrappedObject->setTabToolTip(index, tip)); +} + +void PythonQtWrapper_QTabBar::setTabVisible(QTabBar* theWrappedObject, int index, bool visible) +{ + ( theWrappedObject->setTabVisible(index, visible)); +} + +void PythonQtWrapper_QTabBar::setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabWhatsThis(index, text)); +} + +void PythonQtWrapper_QTabBar::setTabsClosable(QTabBar* theWrappedObject, bool closable) +{ + ( theWrappedObject->setTabsClosable(closable)); +} + +void PythonQtWrapper_QTabBar::setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons) +{ + ( theWrappedObject->setUsesScrollButtons(useButtons)); +} + +QTabBar::Shape PythonQtWrapper_QTabBar::shape(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +QSize PythonQtWrapper_QTabBar::sizeHint(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QTabBar::tabAt(QTabBar* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->tabAt(pos)); +} + +QWidget* PythonQtWrapper_QTabBar::tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const +{ + return ( theWrappedObject->tabButton(index, position)); +} + +QVariant PythonQtWrapper_QTabBar::tabData(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabData(index)); +} + +QIcon PythonQtWrapper_QTabBar::tabIcon(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabIcon(index)); +} + +void PythonQtWrapper_QTabBar::tabInserted(QTabBar* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabInserted(index)); +} + +void PythonQtWrapper_QTabBar::tabLayoutChange(QTabBar* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabLayoutChange()); +} + +QRect PythonQtWrapper_QTabBar::tabRect(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabRect(index)); +} + +void PythonQtWrapper_QTabBar::tabRemoved(QTabBar* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabRemoved(index)); +} + +QSize PythonQtWrapper_QTabBar::tabSizeHint(QTabBar* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabSizeHint(index)); +} + +QString PythonQtWrapper_QTabBar::tabText(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabText(index)); +} + +QColor PythonQtWrapper_QTabBar::tabTextColor(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabTextColor(index)); +} + +QString PythonQtWrapper_QTabBar::tabToolTip(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabToolTip(index)); +} + +QString PythonQtWrapper_QTabBar::tabWhatsThis(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabWhatsThis(index)); +} + +bool PythonQtWrapper_QTabBar::tabsClosable(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->tabsClosable()); +} + +bool PythonQtWrapper_QTabBar::usesScrollButtons(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->usesScrollButtons()); +} + + + +PythonQtShell_QTabWidget::~PythonQtShell_QTabWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTabWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTabWidget::actionEvent(event0); +} +void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::changeEvent(arg__1); +} +void PythonQtShell_QTabWidget::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(); + } + } +} + QTabWidget::childEvent(event0); +} +void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTabWidget::closeEvent(event0); +} +void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QTabWidget::contextMenuEvent(event0); +} +void PythonQtShell_QTabWidget::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(); + } + } +} + QTabWidget::customEvent(event0); +} +int PythonQtShell_QTabWidget::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 QTabWidget::devType(); +} +void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTabWidget::dragEnterEvent(event0); +} +void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTabWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTabWidget::dragMoveEvent(event0); +} +void PythonQtShell_QTabWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTabWidget::dropEvent(event0); +} +void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTabWidget::enterEvent(event0); +} +bool PythonQtShell_QTabWidget::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::event(arg__1); +} +bool PythonQtShell_QTabWidget::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 QTabWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QTabWidget::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(); + } + } +} + QTabWidget::focusInEvent(event0); +} +bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QTabWidget::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(); + } + } +} + QTabWidget::focusOutEvent(event0); +} +bool PythonQtShell_QTabWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::hasHeightForWidth(); +} +int PythonQtShell_QTabWidget::heightForWidth(int width0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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*)&width0}; + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::heightForWidth(width0); +} +void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::hideEvent(event0); +} +void PythonQtShell_QTabWidget::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(); + } + } +} + QTabWidget::initPainter(painter0); +} +void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QTabWidget::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(); + } + } +} + QTabWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTabWidget::leaveEvent(event0); +} +int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::metric(arg__1); +} +QSize PythonQtShell_QTabWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::minimumSizeHint(); +} +void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTabWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTabWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTabWidget::mousePressEvent(event0); +} +void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTabWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTabWidget::moveEvent(event0); +} +bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::paintEngine(); +} +void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QTabWidget::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 QTabWidget::redirected(offset0); +} +void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::resizeEvent(arg__1); +} +void PythonQtShell_QTabWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QTabWidget::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 QTabWidget::sharedPainter(); +} +void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::showEvent(arg__1); +} +QSize PythonQtShell_QTabWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::sizeHint(); +} +void PythonQtShell_QTabWidget::tabInserted(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabInserted"); + 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(); + } + } +} + QTabWidget::tabInserted(index0); +} +void PythonQtShell_QTabWidget::tabRemoved(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabRemoved"); + 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(); + } + } +} + QTabWidget::tabRemoved(index0); +} +void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTabWidget::tabletEvent(event0); +} +void PythonQtShell_QTabWidget::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(); + } + } +} + QTabWidget::timerEvent(event0); +} +void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QTabWidget::wheelEvent(event0); +} +QTabWidget* PythonQtWrapper_QTabWidget::new_QTabWidget(QWidget* parent) +{ +return new PythonQtShell_QTabWidget(parent); } + +const QMetaObject* PythonQtShell_QTabWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabWidget::staticMetaObject); + } else { + return &QTabWidget::staticMetaObject; + } +} +int PythonQtShell_QTabWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTabWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) +{ + return ( theWrappedObject->addTab(widget, icon, label)); +} + +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2) +{ + return ( theWrappedObject->addTab(widget, arg__2)); +} + +void PythonQtWrapper_QTabWidget::clear(QTabWidget* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QWidget* PythonQtWrapper_QTabWidget::cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->cornerWidget(corner)); +} + +int PythonQtWrapper_QTabWidget::count(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QTabWidget::currentIndex(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QTabWidget::currentWidget(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +bool PythonQtWrapper_QTabWidget::documentMode(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +Qt::TextElideMode PythonQtWrapper_QTabWidget::elideMode(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->elideMode()); +} + +QSize PythonQtWrapper_QTabWidget::iconSize(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +int PythonQtWrapper_QTabWidget::indexOf(QTabWidget* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->indexOf(widget)); +} + +void PythonQtWrapper_QTabWidget::initStyleOption(QTabWidget* theWrappedObject, QStyleOptionTabWidgetFrame* option) const +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_initStyleOption(option)); +} + +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) +{ + return ( theWrappedObject->insertTab(index, widget, icon, label)); +} + +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& arg__3) +{ + return ( theWrappedObject->insertTab(index, widget, arg__3)); +} + +bool PythonQtWrapper_QTabWidget::isMovable(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +bool PythonQtWrapper_QTabWidget::isTabEnabled(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabEnabled(index)); +} + +bool PythonQtWrapper_QTabWidget::isTabVisible(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabVisible(index)); +} + +QSize PythonQtWrapper_QTabWidget::minimumSizeHint(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QTabWidget::removeTab(QTabWidget* theWrappedObject, int index) +{ + ( theWrappedObject->removeTab(index)); +} + +void PythonQtWrapper_QTabWidget::setCornerWidget(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP w, Qt::Corner corner) +{ + ( theWrappedObject->setCornerWidget(w, corner)); +} + +void PythonQtWrapper_QTabWidget::setDocumentMode(QTabWidget* theWrappedObject, bool set) +{ + ( theWrappedObject->setDocumentMode(set)); +} + +void PythonQtWrapper_QTabWidget::setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode mode) +{ + ( theWrappedObject->setElideMode(mode)); +} + +void PythonQtWrapper_QTabWidget::setIconSize(QTabWidget* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QTabWidget::setMovable(QTabWidget* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QTabWidget::setTabBar(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_setTabBar(arg__1)); +} + +void PythonQtWrapper_QTabWidget::setTabBarAutoHide(QTabWidget* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setTabBarAutoHide(enabled)); +} + +void PythonQtWrapper_QTabWidget::setTabEnabled(QTabWidget* theWrappedObject, int index, bool enabled) +{ + ( theWrappedObject->setTabEnabled(index, enabled)); +} + +void PythonQtWrapper_QTabWidget::setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setTabIcon(index, icon)); +} + +void PythonQtWrapper_QTabWidget::setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition position) +{ + ( theWrappedObject->setTabPosition(position)); +} + +void PythonQtWrapper_QTabWidget::setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s) +{ + ( theWrappedObject->setTabShape(s)); +} + +void PythonQtWrapper_QTabWidget::setTabText(QTabWidget* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabText(index, text)); +} + +void PythonQtWrapper_QTabWidget::setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip) +{ + ( theWrappedObject->setTabToolTip(index, tip)); +} + +void PythonQtWrapper_QTabWidget::setTabVisible(QTabWidget* theWrappedObject, int index, bool visible) +{ + ( theWrappedObject->setTabVisible(index, visible)); +} + +void PythonQtWrapper_QTabWidget::setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabWhatsThis(index, text)); +} + +void PythonQtWrapper_QTabWidget::setTabsClosable(QTabWidget* theWrappedObject, bool closeable) +{ + ( theWrappedObject->setTabsClosable(closeable)); +} + +void PythonQtWrapper_QTabWidget::setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons) +{ + ( theWrappedObject->setUsesScrollButtons(useButtons)); +} + +QSize PythonQtWrapper_QTabWidget::sizeHint(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QTabBar* PythonQtWrapper_QTabWidget::tabBar(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabBar()); +} + +bool PythonQtWrapper_QTabWidget::tabBarAutoHide(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabBarAutoHide()); +} + +QIcon PythonQtWrapper_QTabWidget::tabIcon(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabIcon(index)); +} + +void PythonQtWrapper_QTabWidget::tabInserted(QTabWidget* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabInserted(index)); +} + +QTabWidget::TabPosition PythonQtWrapper_QTabWidget::tabPosition(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabPosition()); +} + +void PythonQtWrapper_QTabWidget::tabRemoved(QTabWidget* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabRemoved(index)); +} + +QTabWidget::TabShape PythonQtWrapper_QTabWidget::tabShape(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabShape()); +} + +QString PythonQtWrapper_QTabWidget::tabText(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabText(index)); +} + +QString PythonQtWrapper_QTabWidget::tabToolTip(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabToolTip(index)); +} + +QString PythonQtWrapper_QTabWidget::tabWhatsThis(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabWhatsThis(index)); +} + +bool PythonQtWrapper_QTabWidget::tabsClosable(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->tabsClosable()); +} + +bool PythonQtWrapper_QTabWidget::usesScrollButtons(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->usesScrollButtons()); +} + +QWidget* PythonQtWrapper_QTabWidget::widget(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->widget(index)); +} + + + +PythonQtShell_QTableView::~PythonQtShell_QTableView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTableView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTableView::actionEvent(event0); +} +void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::changeEvent(arg__1); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::childEvent(event0); +} +void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::closeEditor(editor0, hint1); +} +void PythonQtShell_QTableView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTableView::closeEvent(event0); +} +void PythonQtShell_QTableView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::commitData(editor0); +} +void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::contextMenuEvent(arg__1); +} +void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::currentChanged(current0, previous1); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::customEvent(event0); +} +void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QTableView::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 QTableView::devType(); +} +void PythonQtShell_QTableView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QTableView::doItemsLayout(); +} +void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTableView::dragEnterEvent(event0); +} +void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTableView::dragLeaveEvent(event0); +} +void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTableView::dragMoveEvent(event0); +} +void PythonQtShell_QTableView::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTableView::dropEvent(event0); +} +bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::edit(index0, trigger1, event2); +} +void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::editorDestroyed(editor0); +} +void PythonQtShell_QTableView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTableView::enterEvent(event0); +} +bool PythonQtShell_QTableView::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 QTableView::event(event0); +} +bool PythonQtShell_QTableView::eventFilter(QObject* object0, 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*)&object0, (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 QTableView::eventFilter(object0, event1); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::focusInEvent(event0); +} +bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::focusNextPrevChild(next0); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::focusOutEvent(event0); +} +bool PythonQtShell_QTableView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::hasHeightForWidth(); +} +int PythonQtShell_QTableView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::heightForWidth(arg__1); +} +void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::hideEvent(event0); +} +int PythonQtShell_QTableView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::horizontalOffset(); +} +void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::indexAt(p0); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::initPainter(painter0); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QTableView::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 QTableView::inputMethodQuery(query0); +} +bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::isIndexHidden(index0); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::keyPressEvent(event0); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::keyReleaseEvent(event0); +} +void PythonQtShell_QTableView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::keyboardSearch(search0); +} +void PythonQtShell_QTableView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTableView::leaveEvent(event0); +} +int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::metric(arg__1); +} +QSize PythonQtShell_QTableView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::minimumSizeHint(); +} +void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableView::mouseMoveEvent(event0); +} +void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableView::mousePressEvent(event0); +} +void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableView::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTableView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTableView::moveEvent(event0); +} +bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTableView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::paintEngine(); +} +void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QTableView::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QTableView::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 QTableView::redirected(offset0); +} +void PythonQtShell_QTableView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QTableView::reset(); +} +void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QTableView::resizeEvent(event0); +} +void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::scrollTo(index0, hint1); +} +void PythonQtShell_QTableView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QTableView::selectAll(); +} +QList PythonQtShell_QTableView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::selectedIndexes(); +} +void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::selectionCommand(index0, event1); +} +void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setModel(model0); +} +void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QTableView::setRootIndex(index0); +} +void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setSelection(rect0, command1); +} +void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QTableView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setVisible(visible0); +} +void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTableView::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 QTableView::sharedPainter(); +} +void PythonQtShell_QTableView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QTableView::showEvent(event0); +} +QSize PythonQtShell_QTableView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::sizeHint(); +} +int PythonQtShell_QTableView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::sizeHintForColumn(column0); +} +int PythonQtShell_QTableView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::sizeHintForRow(row0); +} +void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::startDrag(supportedActions0); +} +void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTableView::tabletEvent(event0); +} +void PythonQtShell_QTableView::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(); + } + } +} + QTableView::timerEvent(event0); +} +void PythonQtShell_QTableView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QTableView::updateEditorData(); +} +void PythonQtShell_QTableView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QTableView::updateEditorGeometries(); +} +void PythonQtShell_QTableView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QTableView::updateGeometries(); +} +int PythonQtShell_QTableView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::verticalOffset(); +} +void PythonQtShell_QTableView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::verticalScrollbarAction(action0); +} +void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::viewOptions(); +} +bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::viewportEvent(event0); +} +QSize PythonQtShell_QTableView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::viewportSizeHint(); +} +QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::visualRect(index0); +} +QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::visualRegionForSelection(selection0); +} +void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::wheelEvent(arg__1); +} +QTableView* PythonQtWrapper_QTableView::new_QTableView(QWidget* parent) +{ +return new PythonQtShell_QTableView(parent); } + +const QMetaObject* PythonQtShell_QTableView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableView::staticMetaObject); + } else { + return &QTableView::staticMetaObject; + } +} +int PythonQtShell_QTableView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTableView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTableView::clearSpans(QTableView* theWrappedObject) +{ + ( theWrappedObject->clearSpans()); +} + +int PythonQtWrapper_QTableView::columnAt(QTableView* theWrappedObject, int x) const +{ + return ( theWrappedObject->columnAt(x)); +} + +int PythonQtWrapper_QTableView::columnSpan(QTableView* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->columnSpan(row, column)); +} + +int PythonQtWrapper_QTableView::columnViewportPosition(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnViewportPosition(column)); +} + +int PythonQtWrapper_QTableView::columnWidth(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnWidth(column)); +} + +Qt::PenStyle PythonQtWrapper_QTableView::gridStyle(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->gridStyle()); +} + +QHeaderView* PythonQtWrapper_QTableView::horizontalHeader(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->horizontalHeader()); +} + +bool PythonQtWrapper_QTableView::isColumnHidden(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->isColumnHidden(column)); +} + +bool PythonQtWrapper_QTableView::isCornerButtonEnabled(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->isCornerButtonEnabled()); +} + +bool PythonQtWrapper_QTableView::isRowHidden(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->isRowHidden(row)); +} + +bool PythonQtWrapper_QTableView::isSortingEnabled(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +int PythonQtWrapper_QTableView::rowAt(QTableView* theWrappedObject, int y) const +{ + return ( theWrappedObject->rowAt(y)); +} + +int PythonQtWrapper_QTableView::rowHeight(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowHeight(row)); +} + +int PythonQtWrapper_QTableView::rowSpan(QTableView* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->rowSpan(row, column)); +} + +int PythonQtWrapper_QTableView::rowViewportPosition(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowViewportPosition(row)); +} + +void PythonQtWrapper_QTableView::setColumnHidden(QTableView* theWrappedObject, int column, bool hide) +{ + ( theWrappedObject->setColumnHidden(column, hide)); +} + +void PythonQtWrapper_QTableView::setColumnWidth(QTableView* theWrappedObject, int column, int width) +{ + ( theWrappedObject->setColumnWidth(column, width)); +} + +void PythonQtWrapper_QTableView::setCornerButtonEnabled(QTableView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCornerButtonEnabled(enable)); +} + +void PythonQtWrapper_QTableView::setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style) +{ + ( theWrappedObject->setGridStyle(style)); +} + +void PythonQtWrapper_QTableView::setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setHorizontalHeader(header)); +} + +void PythonQtWrapper_QTableView::setRowHeight(QTableView* theWrappedObject, int row, int height) +{ + ( theWrappedObject->setRowHeight(row, height)); +} + +void PythonQtWrapper_QTableView::setRowHidden(QTableView* theWrappedObject, int row, bool hide) +{ + ( theWrappedObject->setRowHidden(row, hide)); +} + +void PythonQtWrapper_QTableView::setSortingEnabled(QTableView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); +} + +void PythonQtWrapper_QTableView::setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan) +{ + ( theWrappedObject->setSpan(row, column, rowSpan, columnSpan)); +} + +void PythonQtWrapper_QTableView::setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setVerticalHeader(header)); +} + +void PythonQtWrapper_QTableView::setWordWrap(QTableView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +bool PythonQtWrapper_QTableView::showGrid(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->showGrid()); +} + +QHeaderView* PythonQtWrapper_QTableView::verticalHeader(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->verticalHeader()); +} + +bool PythonQtWrapper_QTableView::wordWrap(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTableWidget::actionEvent(event0); +} +void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::changeEvent(arg__1); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::childEvent(event0); +} +void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::closeEditor(editor0, hint1); +} +void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTableWidget::closeEvent(event0); +} +void PythonQtShell_QTableWidget::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::commitData(editor0); +} +void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::currentChanged(current0, previous1); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::customEvent(event0); +} +void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QTableWidget::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 QTableWidget::devType(); +} +void PythonQtShell_QTableWidget::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QTableWidget::doItemsLayout(); +} +void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTableWidget::dragEnterEvent(event0); +} +void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTableWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTableWidget::dragMoveEvent(event0); +} +void PythonQtShell_QTableWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTableWidget::dropEvent(event0); +} +bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::dropMimeData(row0, column1, data2, action3); +} +bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::edit(index0, trigger1, event2); +} +void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::editorDestroyed(editor0); +} +void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTableWidget::enterEvent(event0); +} +bool PythonQtShell_QTableWidget::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 QTableWidget::event(e0); +} +bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, 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*)&object0, (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 QTableWidget::eventFilter(object0, event1); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::focusInEvent(event0); +} +bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::focusOutEvent(event0); +} +bool PythonQtShell_QTableWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::hasHeightForWidth(); +} +int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::heightForWidth(arg__1); +} +void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::hideEvent(event0); +} +int PythonQtShell_QTableWidget::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::horizontalOffset(); +} +void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::indexAt(p0); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::initPainter(painter0); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::inputMethodEvent(event0); +} +QVariant PythonQtShell_QTableWidget::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 QTableWidget::inputMethodQuery(query0); +} +bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::isIndexHidden(index0); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::keyPressEvent(event0); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::keyboardSearch(search0); +} +void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTableWidget::leaveEvent(event0); +} +int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::mimeData(items0); +} +QStringList PythonQtShell_QTableWidget::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::mimeTypes(); +} +QSize PythonQtShell_QTableWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::minimumSizeHint(); +} +void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableWidget::mousePressEvent(event0); +} +void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTableWidget::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTableWidget::moveEvent(event0); +} +bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::paintEngine(); +} +void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QTableWidget::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QTableWidget::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 QTableWidget::redirected(offset0); +} +void PythonQtShell_QTableWidget::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QTableWidget::reset(); +} +void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QTableWidget::resizeEvent(event0); +} +void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::scrollTo(index0, hint1); +} +void PythonQtShell_QTableWidget::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QTableWidget::selectAll(); +} +QList PythonQtShell_QTableWidget::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::selectedIndexes(); +} +void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::selectionCommand(index0, event1); +} +void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QTableWidget::setRootIndex(index0); +} +void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setSelection(rect0, command1); +} +void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setSelectionModel(selectionModel0); +} +void PythonQtShell_QTableWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setVisible(visible0); +} +void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTableWidget::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 QTableWidget::sharedPainter(); +} +void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QTableWidget::showEvent(event0); +} +QSize PythonQtShell_QTableWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::sizeHint(); +} +int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::sizeHintForColumn(column0); +} +int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::sizeHintForRow(row0); +} +void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::startDrag(supportedActions0); +} +Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::supportedDropActions(); +} +void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTableWidget::tabletEvent(event0); +} +void PythonQtShell_QTableWidget::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(); + } + } +} + QTableWidget::timerEvent(event0); +} +void PythonQtShell_QTableWidget::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QTableWidget::updateEditorData(); +} +void PythonQtShell_QTableWidget::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QTableWidget::updateEditorGeometries(); +} +void PythonQtShell_QTableWidget::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QTableWidget::updateGeometries(); +} +int PythonQtShell_QTableWidget::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::verticalOffset(); +} +void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::verticalScrollbarAction(action0); +} +void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::viewOptions(); +} +bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::viewportEvent(event0); +} +QSize PythonQtShell_QTableWidget::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::viewportSizeHint(); +} +QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::visualRect(index0); +} +QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::visualRegionForSelection(selection0); +} +void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::wheelEvent(arg__1); +} +QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(QWidget* parent) +{ +return new PythonQtShell_QTableWidget(parent); } + +QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(int rows, int columns, QWidget* parent) +{ +return new PythonQtShell_QTableWidget(rows, columns, parent); } + +const QMetaObject* PythonQtShell_QTableWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableWidget::staticMetaObject); + } else { + return &QTableWidget::staticMetaObject; + } +} +int PythonQtShell_QTableWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTableWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QWidget* PythonQtWrapper_QTableWidget::cellWidget(QTableWidget* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->cellWidget(row, column)); +} + +void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->closePersistentEditor(item)); +} + +int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( theWrappedObject->column(item)); +} + +int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentColumn()); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentRow()); +} + +bool PythonQtWrapper_QTableWidget::dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action) +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropMimeData(row, column, data, action)); +} + +void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->editItem(item)); +} + +QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findItems(text, flags)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const +{ + return ( theWrappedObject->horizontalHeaderItem(column)); +} + +QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->item(row, column)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +} + +const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->itemPrototype()); +} + +QList PythonQtWrapper_QTableWidget::items(QTableWidget* theWrappedObject, const QMimeData* data) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_items(data)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::mimeData(QTableWidget* theWrappedObject, const QList items) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeData(items)); +} + +QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); +} + +void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->openPersistentEditor(item)); +} + +void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) +{ + ( theWrappedObject->removeCellWidget(row, column)); +} + +int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( theWrappedObject->row(item)); +} + +int PythonQtWrapper_QTableWidget::rowCount(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedRanges()); +} + +void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setCellWidget(row, column, widget)); +} + +void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) +{ + ( theWrappedObject->setCurrentCell(row, column)); +} + +void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentCell(row, column, command)); +} + +void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); +} + +void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentItem(item, command)); +} + +void PythonQtWrapper_QTableWidget::setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setHorizontalHeaderItem(column, item)); +} + +void PythonQtWrapper_QTableWidget::setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setHorizontalHeaderLabels(labels)); +} + +void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItem(row, column, item)); +} + +void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItemPrototype(item)); +} + +void PythonQtWrapper_QTableWidget::setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select) +{ + ( theWrappedObject->setRangeSelected(range, select)); +} + +void PythonQtWrapper_QTableWidget::setRowCount(QTableWidget* theWrappedObject, int rows) +{ + ( theWrappedObject->setRowCount(rows)); +} + +void PythonQtWrapper_QTableWidget::setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setVerticalHeaderItem(row, item)); +} + +void PythonQtWrapper_QTableWidget::setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setVerticalHeaderLabels(labels)); +} + +void PythonQtWrapper_QTableWidget::sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); +} + +Qt::DropActions PythonQtWrapper_QTableWidget::supportedDropActions(QTableWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) +{ + return ( theWrappedObject->takeHorizontalHeaderItem(column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) +{ + return ( theWrappedObject->takeItem(row, column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) +{ + return ( theWrappedObject->takeVerticalHeaderItem(row)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const +{ + return ( theWrappedObject->verticalHeaderItem(row)); +} + +int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const +{ + return ( theWrappedObject->visualColumn(logicalColumn)); +} + +QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); +} + +int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const +{ + return ( theWrappedObject->visualRow(logicalRow)); +} + + + +PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QTableWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTableWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidgetItem::clone(); +} +QVariant PythonQtShell_QTableWidgetItem::data(int role0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidgetItem::data(role0); +} +void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&in0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidgetItem::read(in0); +} +void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidgetItem::setData(role0, value1); +} +void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&out0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidgetItem::write(out0); +} +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QIcon& icon, const QString& text, int type) +{ +return new PythonQtShell_QTableWidgetItem(icon, text, type); } + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QString& text, int type) +{ +return new PythonQtShell_QTableWidgetItem(text, type); } + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(int type) +{ +return new PythonQtShell_QTableWidgetItem(type); } + +QBrush PythonQtWrapper_QTableWidgetItem::background(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) +{ + ( theWrappedObject->setData(role, value)); +} + +void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSizeHint(size)); +} + +void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) +{ + ( theWrappedObject->setTextAlignment(alignment)); +} + +void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(whatsThis)); +} + +QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->tableWidget()); +} + +QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); +} + +QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QTableWidgetItem::write(QTableWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); +} + + + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange() +{ +return new QTableWidgetSelectionRange(); } + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other) +{ +return new QTableWidgetSelectionRange(other); } + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(int top, int left, int bottom, int right) +{ +return new QTableWidgetSelectionRange(top, left, bottom, right); } + +int PythonQtWrapper_QTableWidgetSelectionRange::bottomRow(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->bottomRow()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::columnCount(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->leftColumn()); +} + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::operator_assign(QTableWidgetSelectionRange* theWrappedObject, const QTableWidgetSelectionRange& other) +{ + return &( (*theWrappedObject)= other); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->rightColumn()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->topRow()); +} + + + +PythonQtShell_QTabletEvent::~PythonQtShell_QTabletEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTabletEvent* PythonQtWrapper_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) +{ +return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID); } + +QTabletEvent* PythonQtWrapper_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) +{ +return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons); } + +Qt::MouseButton PythonQtWrapper_QTabletEvent::button(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +Qt::MouseButtons PythonQtWrapper_QTabletEvent::buttons(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::deviceType(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->deviceType()); +} + +QPoint PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +const QPointF* PythonQtWrapper_QTabletEvent::globalPosF(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPosF()); +} + +int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->hiResGlobalX()); +} + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->hiResGlobalY()); +} + +QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pointerType()); +} + +QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->posF()); +} + +qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pressure()); +} + +qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->tangentialPressure()); +} + +qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->uniqueId()); +} + +int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->xTilt()); +} + +int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->yTilt()); +} + +int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + + + +PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTapAndHoldGesture::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(); + } + } +} + QTapAndHoldGesture::childEvent(event0); +} +void PythonQtShell_QTapAndHoldGesture::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(); + } + } +} + QTapAndHoldGesture::customEvent(event0); +} +bool PythonQtShell_QTapAndHoldGesture::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 QTapAndHoldGesture::event(event0); +} +bool PythonQtShell_QTapAndHoldGesture::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 QTapAndHoldGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QTapAndHoldGesture::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(); + } + } +} + QTapAndHoldGesture::timerEvent(event0); +} +QTapAndHoldGesture* PythonQtWrapper_QTapAndHoldGesture::new_QTapAndHoldGesture(QObject* parent) +{ +return new PythonQtShell_QTapAndHoldGesture(parent); } + +const QMetaObject* PythonQtShell_QTapAndHoldGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapAndHoldGesture::staticMetaObject); + } else { + return &QTapAndHoldGesture::staticMetaObject; + } +} +int PythonQtShell_QTapAndHoldGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTapAndHoldGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPointF PythonQtWrapper_QTapAndHoldGesture::position(QTapAndHoldGesture* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QTapAndHoldGesture::setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPosition(pos)); +} + +void PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_setTimeout(int msecs) +{ + (QTapAndHoldGesture::setTimeout(msecs)); +} + +int PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_timeout() +{ + return (QTapAndHoldGesture::timeout()); +} + + + +PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTapGesture::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(); + } + } +} + QTapGesture::childEvent(event0); +} +void PythonQtShell_QTapGesture::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(); + } + } +} + QTapGesture::customEvent(event0); +} +bool PythonQtShell_QTapGesture::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 QTapGesture::event(event0); +} +bool PythonQtShell_QTapGesture::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 QTapGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QTapGesture::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(); + } + } +} + QTapGesture::timerEvent(event0); +} +QTapGesture* PythonQtWrapper_QTapGesture::new_QTapGesture(QObject* parent) +{ +return new PythonQtShell_QTapGesture(parent); } + +const QMetaObject* PythonQtShell_QTapGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapGesture::staticMetaObject); + } else { + return &QTapGesture::staticMetaObject; + } +} +int PythonQtShell_QTapGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTapGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPosition(pos)); +} + + + +QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock() +{ +return new QTextBlock(); } + +QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock(const QTextBlock& o) +{ +return new QTextBlock(o); } + +QTextBlock::iterator PythonQtWrapper_QTextBlock::begin(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->blockFormat()); +} + +int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->blockFormatIndex()); +} + +int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->blockNumber()); +} + +QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->charFormat()); +} + +int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->charFormatIndex()); +} + +void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) +{ + ( theWrappedObject->clearLayout()); +} + +bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const +{ + return ( theWrappedObject->contains(position)); +} + +const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->firstLineNumber()); +} + +int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->fragmentIndex()); +} + +bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->layout()); +} + +int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->lineCount()); +} + +QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->next()); +} + +bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const +{ + return ( (*theWrappedObject)!= o); +} + +bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const +{ + return ( (*theWrappedObject)< o); +} + +bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const +{ + return ( (*theWrappedObject)== o); +} + +int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->previous()); +} + +int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) +{ + ( theWrappedObject->setLineCount(count)); +} + +void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) +{ + ( theWrappedObject->setRevision(rev)); +} + +void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) +{ + ( theWrappedObject->setUserData(data)); +} + +void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) +{ + ( theWrappedObject->setUserState(state)); +} + +void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->textFormats()); +} + +QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->textList()); +} + +QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->userData()); +} + +int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->userState()); +} + + + +PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() +{ +return new PythonQtShell_QTextBlockFormat(); } + +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextBlockFormat(fmt); } + +Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomMargin()); +} + +int PythonQtWrapper_QTextBlockFormat::headingLevel(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->headingLevel()); +} + +int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftMargin()); +} + +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->lineHeight()); +} + +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const +{ + return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); +} + +int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->lineHeightType()); +} + +QTextBlockFormat::MarkerType PythonQtWrapper_QTextBlockFormat::marker(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->marker()); +} + +bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->nonBreakableLines()); +} + +QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->pageBreakPolicy()); +} + +qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightMargin()); +} + +void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setBottomMargin(margin)); +} + +void PythonQtWrapper_QTextBlockFormat::setHeadingLevel(QTextBlockFormat* theWrappedObject, int alevel) +{ + ( theWrappedObject->setHeadingLevel(alevel)); +} + +void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) +{ + ( theWrappedObject->setIndent(indent)); +} + +void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setLeftMargin(margin)); +} + +void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) +{ + ( theWrappedObject->setLineHeight(height, heightType)); +} + +void PythonQtWrapper_QTextBlockFormat::setMarker(QTextBlockFormat* theWrappedObject, QTextBlockFormat::MarkerType marker) +{ + ( theWrappedObject->setMarker(marker)); +} + +void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) +{ + ( theWrappedObject->setNonBreakableLines(b)); +} + +void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +{ + ( theWrappedObject->setPageBreakPolicy(flags)); +} + +void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setRightMargin(margin)); +} + +void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) +{ + ( theWrappedObject->setTabPositions(tabs)); +} + +void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) +{ + ( theWrappedObject->setTextIndent(aindent)); +} + +void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setTopMargin(margin)); +} + +QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->tabPositions()); +} + +qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->textIndent()); +} + +qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->topMargin()); +} + + + +PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockFormatChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBlockGroup::blockFormatChanged(block0); +} +void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBlockGroup::blockInserted(block0); +} +void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBlockGroup::blockRemoved(block0); +} +void PythonQtShell_QTextBlockGroup::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(); + } + } +} + QTextBlockGroup::childEvent(event0); +} +void PythonQtShell_QTextBlockGroup::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(); + } + } +} + QTextBlockGroup::customEvent(event0); +} +bool PythonQtShell_QTextBlockGroup::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 QTextBlockGroup::event(event0); +} +bool PythonQtShell_QTextBlockGroup::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 QTextBlockGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QTextBlockGroup::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(); + } + } +} + QTextBlockGroup::timerEvent(event0); +} +QTextBlockGroup* PythonQtWrapper_QTextBlockGroup::new_QTextBlockGroup(QTextDocument* doc) +{ +return new PythonQtShell_QTextBlockGroup(doc); } + +const QMetaObject* PythonQtShell_QTextBlockGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBlockGroup::staticMetaObject); + } else { + return &QTextBlockGroup::staticMetaObject; + } +} +int PythonQtShell_QTextBlockGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextBlockGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); +} + +void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); +} + +QList PythonQtWrapper_QTextBlockGroup::blockList(QTextBlockGroup* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockList()); +} + +void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); +} + + + +PythonQtShell_QTextBlockUserData::~PythonQtShell_QTextBlockUserData() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() +{ +return new PythonQtShell_QTextBlockUserData(); } + + + +PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTextBrowser::actionEvent(event0); +} +void PythonQtShell_QTextBrowser::backward() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("backward"); + 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(); + } + } +} + QTextBrowser::backward(); +} +bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canInsertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::canInsertFromMimeData(source0); +} +void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::changeEvent(e0); +} +void PythonQtShell_QTextBrowser::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(); + } + } +} + QTextBrowser::childEvent(event0); +} +void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTextBrowser::closeEvent(event0); +} +void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) +{ +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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QTextBrowser::contextMenuEvent(e0); +} +QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createMimeDataFromSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::createMimeDataFromSelection(); +} +void PythonQtShell_QTextBrowser::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(); + } + } +} + QTextBrowser::customEvent(event0); +} +int PythonQtShell_QTextBrowser::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 QTextBrowser::devType(); +} +void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doSetTextCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&cursor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::doSetTextCursor(cursor0); +} +void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) +{ +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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTextBrowser::dragEnterEvent(e0); +} +void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) +{ +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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTextBrowser::dragLeaveEvent(e0); +} +void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) +{ +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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTextBrowser::dragMoveEvent(e0); +} +void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) +{ +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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTextBrowser::dropEvent(e0); +} +void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTextBrowser::enterEvent(event0); +} +bool PythonQtShell_QTextBrowser::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 QTextBrowser::event(e0); +} +bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QTextBrowser::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::focusInEvent(e0); +} +bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::focusNextPrevChild(next0); +} +void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::focusOutEvent(ev0); +} +void PythonQtShell_QTextBrowser::forward() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("forward"); + 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(); + } + } +} + QTextBrowser::forward(); +} +bool PythonQtShell_QTextBrowser::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::hasHeightForWidth(); +} +int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::heightForWidth(arg__1); +} +void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::hideEvent(event0); +} +void PythonQtShell_QTextBrowser::home() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("home"); + 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(); + } + } +} + QTextBrowser::home(); +} +void PythonQtShell_QTextBrowser::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(); + } + } +} + QTextBrowser::initPainter(painter0); +} +void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) 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*)&property0}; + 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 QTextBrowser::inputMethodQuery(property0); +} +void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::insertFromMimeData(source0); +} +void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::keyPressEvent(ev0); +} +void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::keyReleaseEvent(e0); +} +void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTextBrowser::leaveEvent(event0); +} +QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::loadResource(type0, name1); +} +int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::metric(arg__1); +} +QSize PythonQtShell_QTextBrowser::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::minimumSizeHint(); +} +void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTextBrowser::mouseDoubleClickEvent(e0); +} +void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::mouseMoveEvent(ev0); +} +void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::mousePressEvent(ev0); +} +void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::mouseReleaseEvent(ev0); +} +void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTextBrowser::moveEvent(event0); +} +bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::paintEngine(); +} +void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QTextBrowser::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QTextBrowser::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 QTextBrowser::redirected(offset0); +} +void PythonQtShell_QTextBrowser::reload() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reload"); + 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(); + } + } +} + QTextBrowser::reload(); +} +void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QTextBrowser::resizeEvent(e0); +} +void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::setSource(name0); +} +void PythonQtShell_QTextBrowser::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::setVisible(visible0); +} +void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTextBrowser::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 QTextBrowser::sharedPainter(); +} +void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::showEvent(arg__1); +} +QSize PythonQtShell_QTextBrowser::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::sizeHint(); +} +void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTextBrowser::tabletEvent(event0); +} +void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::timerEvent(e0); +} +bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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*)&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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::viewportEvent(arg__1); +} +QSize PythonQtShell_QTextBrowser::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::viewportSizeHint(); +} +void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QTextBrowser::wheelEvent(e0); +} +QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) +{ +return new PythonQtShell_QTextBrowser(parent); } + +const QMetaObject* PythonQtShell_QTextBrowser::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBrowser::staticMetaObject); + } else { + return &QTextBrowser::staticMetaObject; + } +} +int PythonQtShell_QTextBrowser::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextBrowser::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->backwardHistoryCount()); +} + +void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) +{ + ( theWrappedObject->clearHistory()); +} + +void PythonQtWrapper_QTextBrowser::doSetSource(QTextBrowser* theWrappedObject, const QUrl& name, QTextDocument::ResourceType type) +{ + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_doSetSource(name, type)); +} + +int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->forwardHistoryCount()); +} + +QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->historyTitle(arg__1)); +} + +QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->historyUrl(arg__1)); +} + +bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->isBackwardAvailable()); +} + +bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->isForwardAvailable()); +} + +bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->openExternalLinks()); +} + +bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->openLinks()); +} + +QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->searchPaths()); +} + +void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) +{ + ( theWrappedObject->setOpenExternalLinks(open)); +} + +void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) +{ + ( theWrappedObject->setOpenLinks(open)); +} + +void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setSearchPaths(paths)); +} + +QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +QTextDocument::ResourceType PythonQtWrapper_QTextBrowser::sourceType(QTextBrowser* theWrappedObject) const +{ + return ( theWrappedObject->sourceType()); +} + + + +PythonQtShell_QTextCharFormat::~PythonQtShell_QTextCharFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat() +{ +return new PythonQtShell_QTextCharFormat(); } + +QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextCharFormat(fmt); } + +QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->anchorHref()); +} + +QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->anchorNames()); +} + +QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontCapitalization()); +} + +QVariant PythonQtWrapper_QTextCharFormat::fontFamilies(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFamilies()); +} + +QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFamily()); +} + +bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFixedPitch()); +} + +QFont::HintingPreference PythonQtWrapper_QTextCharFormat::fontHintingPreference(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontHintingPreference()); +} + +bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontItalic()); +} + +bool PythonQtWrapper_QTextCharFormat::fontKerning(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontKerning()); +} + +qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontLetterSpacing()); +} + +QFont::SpacingType PythonQtWrapper_QTextCharFormat::fontLetterSpacingType(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontLetterSpacingType()); +} + +bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontOverline()); +} + +qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontPointSize()); +} + +int PythonQtWrapper_QTextCharFormat::fontStretch(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStretch()); +} + +bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStrikeOut()); +} + +QFont::StyleHint PythonQtWrapper_QTextCharFormat::fontStyleHint(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleHint()); +} + +QVariant PythonQtWrapper_QTextCharFormat::fontStyleName(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleName()); +} + +QFont::StyleStrategy PythonQtWrapper_QTextCharFormat::fontStyleStrategy(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleStrategy()); +} + +bool PythonQtWrapper_QTextCharFormat::fontUnderline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontUnderline()); +} + +int PythonQtWrapper_QTextCharFormat::fontWeight(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontWeight()); +} + +qreal PythonQtWrapper_QTextCharFormat::fontWordSpacing(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontWordSpacing()); +} + +bool PythonQtWrapper_QTextCharFormat::isAnchor(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->isAnchor()); +} + +bool PythonQtWrapper_QTextCharFormat::isValid(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QTextCharFormat::setAnchor(QTextCharFormat* theWrappedObject, bool anchor) +{ + ( theWrappedObject->setAnchor(anchor)); +} + +void PythonQtWrapper_QTextCharFormat::setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value) +{ + ( theWrappedObject->setAnchorHref(value)); +} + +void PythonQtWrapper_QTextCharFormat::setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names) +{ + ( theWrappedObject->setAnchorNames(names)); +} + +void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior) +{ + ( theWrappedObject->setFont(font, behavior)); +} + +void PythonQtWrapper_QTextCharFormat::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization) +{ + ( theWrappedObject->setFontCapitalization(capitalization)); +} + +void PythonQtWrapper_QTextCharFormat::setFontFamilies(QTextCharFormat* theWrappedObject, const QStringList& families) +{ + ( theWrappedObject->setFontFamilies(families)); +} + +void PythonQtWrapper_QTextCharFormat::setFontFamily(QTextCharFormat* theWrappedObject, const QString& family) +{ + ( theWrappedObject->setFontFamily(family)); +} + +void PythonQtWrapper_QTextCharFormat::setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch) +{ + ( theWrappedObject->setFontFixedPitch(fixedPitch)); +} + +void PythonQtWrapper_QTextCharFormat::setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference) +{ + ( theWrappedObject->setFontHintingPreference(hintingPreference)); +} + +void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic) +{ + ( theWrappedObject->setFontItalic(italic)); +} + +void PythonQtWrapper_QTextCharFormat::setFontKerning(QTextCharFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setFontKerning(enable)); +} + +void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setFontLetterSpacing(spacing)); +} + +void PythonQtWrapper_QTextCharFormat::setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType) +{ + ( theWrappedObject->setFontLetterSpacingType(letterSpacingType)); +} + +void PythonQtWrapper_QTextCharFormat::setFontOverline(QTextCharFormat* theWrappedObject, bool overline) +{ + ( theWrappedObject->setFontOverline(overline)); +} + +void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size) +{ + ( theWrappedObject->setFontPointSize(size)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStretch(QTextCharFormat* theWrappedObject, int factor) +{ + ( theWrappedObject->setFontStretch(factor)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut) +{ + ( theWrappedObject->setFontStrikeOut(strikeOut)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy) +{ + ( theWrappedObject->setFontStyleHint(hint, strategy)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStyleName(QTextCharFormat* theWrappedObject, const QString& styleName) +{ + ( theWrappedObject->setFontStyleName(styleName)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy) +{ + ( theWrappedObject->setFontStyleStrategy(strategy)); +} + +void PythonQtWrapper_QTextCharFormat::setFontUnderline(QTextCharFormat* theWrappedObject, bool underline) +{ + ( theWrappedObject->setFontUnderline(underline)); +} + +void PythonQtWrapper_QTextCharFormat::setFontWeight(QTextCharFormat* theWrappedObject, int weight) +{ + ( theWrappedObject->setFontWeight(weight)); +} + +void PythonQtWrapper_QTextCharFormat::setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setFontWordSpacing(spacing)); +} + +void PythonQtWrapper_QTextCharFormat::setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan) +{ + ( theWrappedObject->setTableCellColumnSpan(tableCellColumnSpan)); +} + +void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan) +{ + ( theWrappedObject->setTableCellRowSpan(tableCellRowSpan)); +} + +void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setTextOutline(pen)); +} + +void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip) +{ + ( theWrappedObject->setToolTip(tip)); +} + +void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setUnderlineColor(color)); +} + +void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style) +{ + ( theWrappedObject->setUnderlineStyle(style)); +} + +void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment) +{ + ( theWrappedObject->setVerticalAlignment(alignment)); +} + +int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->tableCellColumnSpan()); +} + +int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->tableCellRowSpan()); +} + +QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->textOutline()); +} + +QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->underlineColor()); +} + +QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->underlineStyle()); +} + +QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->verticalAlignment()); +} + + + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor() +{ +return new QTextCursor(); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextDocument* document) +{ +return new QTextCursor(document); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextFrame* frame) +{ +return new QTextCursor(frame); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextBlock& block) +{ +return new QTextCursor(block); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextCursor& cursor) +{ +return new QTextCursor(cursor); } + +int PythonQtWrapper_QTextCursor::anchor(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->anchor()); +} + +bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atBlockEnd()); +} + +bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atBlockStart()); +} + +bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->atStart()); +} + +void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->beginEditBlock()); +} + +QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->block()); +} + +QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->blockCharFormat()); +} + +QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->blockFormat()); +} + +int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->blockNumber()); +} + +QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->charFormat()); +} + +void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->clearSelection()); +} + +int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) +{ + return ( theWrappedObject->createList(style)); +} + +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) +{ + return ( theWrappedObject->createList(format)); +} + +QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->currentList()); +} + +QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->currentTable()); +} + +void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->deleteChar()); +} + +void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->deletePreviousChar()); +} + +QTextDocument* PythonQtWrapper_QTextCursor::document(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->endEditBlock()); +} + +bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->hasComplexSelection()); +} + +bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->hasSelection()); +} + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->insertBlock()); +} + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +{ + ( theWrappedObject->insertBlock(format)); +} + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) +{ + ( theWrappedObject->insertBlock(format, charFormat)); +} + +void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) +{ + ( theWrappedObject->insertFragment(fragment)); +} + +QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) +{ + return ( theWrappedObject->insertFrame(format)); +} + +void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) +{ + ( theWrappedObject->insertHtml(html)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name) +{ + ( theWrappedObject->insertImage(image, name)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) +{ + ( theWrappedObject->insertImage(name)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) +{ + ( theWrappedObject->insertImage(format)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) +{ + ( theWrappedObject->insertImage(format, alignment)); +} + +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) +{ + return ( theWrappedObject->insertList(style)); +} + +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) +{ + return ( theWrappedObject->insertList(format)); +} + +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) +{ + return ( theWrappedObject->insertTable(rows, cols)); +} + +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) +{ + return ( theWrappedObject->insertTable(rows, cols, format)); +} + +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) +{ + ( theWrappedObject->insertText(text)); +} + +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) +{ + ( theWrappedObject->insertText(text, format)); +} + +bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const +{ + return ( theWrappedObject->isCopyOf(other)); +} + +bool PythonQtWrapper_QTextCursor::isNull(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +void PythonQtWrapper_QTextCursor::joinPreviousEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->joinPreviousEditBlock()); +} + +bool PythonQtWrapper_QTextCursor::keepPositionOnInsert(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->keepPositionOnInsert()); +} + +void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeBlockCharFormat(modifier)); +} + +void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) +{ + ( theWrappedObject->mergeBlockFormat(modifier)); +} + +void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCharFormat(modifier)); +} + +bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) +{ + return ( theWrappedObject->movePosition(op, arg__2, n)); +} + +bool PythonQtWrapper_QTextCursor::__ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)!= rhs); +} + +bool PythonQtWrapper_QTextCursor::__lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)< rhs); +} + +bool PythonQtWrapper_QTextCursor::__le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)<= rhs); +} + +bool PythonQtWrapper_QTextCursor::__eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)== rhs); +} + +bool PythonQtWrapper_QTextCursor::__gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)> rhs); +} + +bool PythonQtWrapper_QTextCursor::__ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)>= rhs); +} + +int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +int PythonQtWrapper_QTextCursor::positionInBlock(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->positionInBlock()); +} + +void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->removeSelectedText()); +} + +void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) +{ + ( theWrappedObject->select(selection)); +} + +QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selection()); +} + +int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectionEnd()); +} + +int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectionStart()); +} + +void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setBlockCharFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +{ + ( theWrappedObject->setBlockFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCharFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b) +{ + ( theWrappedObject->setKeepPositionOnInsert(b)); +} + +void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) +{ + ( theWrappedObject->setPosition(pos, mode)); +} + +void PythonQtWrapper_QTextCursor::setVerticalMovementX(QTextCursor* theWrappedObject, int x) +{ + ( theWrappedObject->setVerticalMovementX(x)); +} + +void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) +{ + ( theWrappedObject->setVisualNavigation(b)); +} + +void PythonQtWrapper_QTextCursor::swap(QTextCursor* theWrappedObject, QTextCursor& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QTextCursor::verticalMovementX(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->verticalMovementX()); +} + +bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->visualNavigation()); +} + + + +PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextDocument::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(); + } + } +} + QTextDocument::childEvent(event0); +} +void PythonQtShell_QTextDocument::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QTextDocument::clear(); +} +QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + } else { + returnValue = *((QTextObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextDocument::createObject(f0); +} +void PythonQtShell_QTextDocument::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(); + } + } +} + QTextDocument::customEvent(event0); +} +bool PythonQtShell_QTextDocument::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 QTextDocument::event(event0); +} +bool PythonQtShell_QTextDocument::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 QTextDocument::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextDocument::loadResource(type0, name1); +} +void PythonQtShell_QTextDocument::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(); + } + } +} + QTextDocument::timerEvent(event0); +} +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) +{ +return new PythonQtShell_QTextDocument(parent); } + +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) +{ +return new PythonQtShell_QTextDocument(text, parent); } + +const QMetaObject* PythonQtShell_QTextDocument::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextDocument::staticMetaObject); + } else { + return &QTextDocument::staticMetaObject; + } +} +int PythonQtShell_QTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextDocument::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) +{ + ( theWrappedObject->addResource(type, name, resource)); +} + +void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) +{ + ( theWrappedObject->adjustSize()); +} + +QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->allFormats()); +} + +int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->availableRedoSteps()); +} + +int PythonQtWrapper_QTextDocument::availableUndoSteps(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->availableUndoSteps()); +} + +QUrl PythonQtWrapper_QTextDocument::baseUrl(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->blockCount()); +} + +QChar PythonQtWrapper_QTextDocument::characterAt(QTextDocument* theWrappedObject, int pos) const +{ + return ( theWrappedObject->characterAt(pos)); +} + +int PythonQtWrapper_QTextDocument::characterCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->characterCount()); +} + +void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) +{ + ( theWrappedObject->clearUndoRedoStacks(historyToClear)); +} + +QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const +{ + return ( theWrappedObject->clone(parent)); +} + +QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) +{ + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); +} + +Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->defaultCursorMoveStyle()); +} + +QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->defaultFont()); +} + +QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->defaultStyleSheet()); +} + +QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->defaultTextOption()); +} + +QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->documentLayout()); +} + +qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->documentMargin()); +} + +void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( theWrappedObject->drawContents(painter, rect)); +} + +QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(expr, cursor, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(expr, from, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(expr, cursor, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(expr, from, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(subString, cursor, options)); +} + +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const +{ + return ( theWrappedObject->find(subString, from, options)); +} + +QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const +{ + return ( theWrappedObject->findBlock(pos)); +} + +QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const +{ + return ( theWrappedObject->findBlockByLineNumber(blockNumber)); +} + +QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const +{ + return ( theWrappedObject->findBlockByNumber(blockNumber)); +} + +QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->firstBlock()); +} + +QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const +{ + return ( theWrappedObject->frameAt(pos)); +} + +qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->idealWidth()); +} + +qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->indentWidth()); +} + +bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isRedoAvailable()); +} + +bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isUndoAvailable()); +} + +bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->isUndoRedoEnabled()); +} + +QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->lastBlock()); +} + +int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->lineCount()); +} + +QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) +{ + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); +} + +void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) +{ + ( theWrappedObject->markContentsDirty(from, length)); +} + +int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->maximumBlockCount()); +} + +QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const +{ + return ( theWrappedObject->metaInformation(info)); +} + +QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const +{ + return ( theWrappedObject->object(objectIndex)); +} + +QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const +{ + return ( theWrappedObject->objectForFormat(arg__1)); +} + +int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->pageCount()); +} + +QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) +{ + ( theWrappedObject->redo(cursor)); +} + +QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const +{ + return ( theWrappedObject->resource(type, name)); +} + +int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->rootFrame()); +} + +void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setBaseUrl(url)); +} + +void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) +{ + ( theWrappedObject->setDefaultCursorMoveStyle(style)); +} + +void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setDefaultFont(font)); +} + +void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) +{ + ( theWrappedObject->setDefaultStyleSheet(sheet)); +} + +void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) +{ + ( theWrappedObject->setDefaultTextOption(option)); +} + +void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) +{ + ( theWrappedObject->setDocumentLayout(layout)); +} + +void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setDocumentMargin(margin)); +} + +void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) +{ + ( theWrappedObject->setHtml(html)); +} + +void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) +{ + ( theWrappedObject->setIndentWidth(width)); +} + +void PythonQtWrapper_QTextDocument::setMarkdown(QTextDocument* theWrappedObject, const QString& markdown, QTextDocument::MarkdownFeatures features) +{ + ( theWrappedObject->setMarkdown(markdown, features)); +} + +void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) +{ + ( theWrappedObject->setMaximumBlockCount(maximum)); +} + +void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) +{ + ( theWrappedObject->setMetaInformation(info, arg__2)); +} + +void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setPageSize(size)); +} + +void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setPlainText(text)); +} + +void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) +{ + ( theWrappedObject->setTextWidth(width)); +} + +void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); +} + +void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) +{ + ( theWrappedObject->setUseDesignMetrics(b)); +} + +QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->textWidth()); +} + +QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const +{ + return ( theWrappedObject->toHtml(encoding)); +} + +QString PythonQtWrapper_QTextDocument::toMarkdown(QTextDocument* theWrappedObject, QTextDocument::MarkdownFeatures features) const +{ + return ( theWrappedObject->toMarkdown(features)); +} + +QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->toRawText()); +} + +void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) +{ + ( theWrappedObject->undo(cursor)); +} + +bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->useDesignMetrics()); +} + + + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment() +{ +return new QTextDocumentFragment(); } + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextCursor& range) +{ +return new QTextDocumentFragment(range); } + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocument* document) +{ +return new QTextDocumentFragment(document); } + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocumentFragment& rhs) +{ +return new QTextDocumentFragment(rhs); } + +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html) +{ + return (QTextDocumentFragment::fromHtml(html)); +} + +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) +{ + return (QTextDocumentFragment::fromHtml(html, resourceProvider)); +} + +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) +{ + return (QTextDocumentFragment::fromPlainText(plainText)); +} + +bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const +{ + return ( theWrappedObject->toHtml(encoding)); +} + +QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + + + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter() +{ +return new QTextDocumentWriter(); } + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(QIODevice* device, const QByteArray& format) +{ +return new QTextDocumentWriter(device, format); } + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(const QString& fileName, const QByteArray& format) +{ +return new QTextDocumentWriter(fileName, format); } + +QTextCodec* PythonQtWrapper_QTextDocumentWriter::codec(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +QList PythonQtWrapper_QTextDocumentWriter::static_QTextDocumentWriter_supportedDocumentFormats() +{ + return (QTextDocumentWriter::supportedDocumentFormats()); +} + +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document) +{ + return ( theWrappedObject->write(document)); +} + +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) +{ + return ( theWrappedObject->write(fragment)); +} + + + +PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTextEdit::actionEvent(event0); +} +bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canInsertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::canInsertFromMimeData(source0); +} +void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::changeEvent(e0); +} +void PythonQtShell_QTextEdit::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(); + } + } +} + QTextEdit::childEvent(event0); +} +void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTextEdit::closeEvent(event0); +} +void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) +{ +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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QTextEdit::contextMenuEvent(e0); +} +QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createMimeDataFromSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::createMimeDataFromSelection(); +} +void PythonQtShell_QTextEdit::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(); + } + } +} + QTextEdit::customEvent(event0); +} +int PythonQtShell_QTextEdit::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 QTextEdit::devType(); +} +void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doSetTextCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&cursor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::doSetTextCursor(cursor0); +} +void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) +{ +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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTextEdit::dragEnterEvent(e0); +} +void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) +{ +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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTextEdit::dragLeaveEvent(e0); +} +void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) +{ +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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTextEdit::dragMoveEvent(e0); +} +void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) +{ +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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTextEdit::dropEvent(e0); +} +void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTextEdit::enterEvent(event0); +} +bool PythonQtShell_QTextEdit::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 QTextEdit::event(e0); +} +bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QTextEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::focusInEvent(e0); +} +bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::focusOutEvent(e0); +} +bool PythonQtShell_QTextEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::hasHeightForWidth(); +} +int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::heightForWidth(arg__1); +} +void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::hideEvent(event0); +} +void PythonQtShell_QTextEdit::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(); + } + } +} + QTextEdit::initPainter(painter0); +} +void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) 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*)&property0}; + 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 QTextEdit::inputMethodQuery(property0); +} +void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::insertFromMimeData(source0); +} +void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::keyPressEvent(e0); +} +void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::keyReleaseEvent(e0); +} +void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTextEdit::leaveEvent(event0); +} +QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::loadResource(type0, name1); +} +int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::metric(arg__1); +} +QSize PythonQtShell_QTextEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::minimumSizeHint(); +} +void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTextEdit::mouseDoubleClickEvent(e0); +} +void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTextEdit::mouseMoveEvent(e0); +} +void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTextEdit::mousePressEvent(e0); +} +void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTextEdit::mouseReleaseEvent(e0); +} +void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTextEdit::moveEvent(event0); +} +bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::paintEngine(); +} +void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QTextEdit::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QTextEdit::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 QTextEdit::redirected(offset0); +} +void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QTextEdit::resizeEvent(e0); +} +void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTextEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::setVisible(visible0); +} +void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTextEdit::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 QTextEdit::sharedPainter(); +} +void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::showEvent(arg__1); +} +QSize PythonQtShell_QTextEdit::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::sizeHint(); +} +void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTextEdit::tabletEvent(event0); +} +void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::timerEvent(e0); +} +bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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*)&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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::viewportEvent(arg__1); +} +QSize PythonQtShell_QTextEdit::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextEdit::viewportSizeHint(); +} +void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QTextEdit::wheelEvent(e0); +} +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) +{ +return new PythonQtShell_QTextEdit(parent); } + +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QTextEdit(text, parent); } + +const QMetaObject* PythonQtShell_QTextEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextEdit::staticMetaObject); + } else { + return &QTextEdit::staticMetaObject; + } +} +int PythonQtShell_QTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->acceptRichText()); +} + +Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->anchorAt(pos)); +} + +QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->autoFormatting()); +} + +bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const +{ + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); +} + +bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->canPaste()); +} + +QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); +} + +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) +{ + return ( theWrappedObject->createStandardContextMenu(position)); +} + +QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentCharFormat()); +} + +QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentFont()); +} + +QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->cursorForPosition(pos)); +} + +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorRect()); +} + +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const +{ + return ( theWrappedObject->cursorRect(cursor)); +} + +int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorWidth()); +} + +void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); +} + +QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->documentTitle()); +} + +void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) +{ + ( theWrappedObject->ensureCursorVisible()); +} + +QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->extraSelections()); +} + +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontFamily()); +} + +bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontItalic()); +} + +qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontPointSize()); +} + +bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontUnderline()); +} + +int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontWeight()); +} + +QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +{ + return ( theWrappedObject->inputMethodQuery(query, argument)); +} + +void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); +} + +bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isUndoRedoEnabled()); +} + +int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->lineWrapColumnOrWidth()); +} + +QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->lineWrapMode()); +} + +QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) +{ + return ( theWrappedObject->loadResource(type, name)); +} + +void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCurrentCharFormat(modifier)); +} + +void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +{ + ( theWrappedObject->moveCursor(operation, mode)); +} + +bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->overwriteMode()); +} + +QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->placeholderText()); +} + +void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) +{ + ( theWrappedObject->setAcceptRichText(accept)); +} + +void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) +{ + ( theWrappedObject->setAutoFormatting(features)); +} + +void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCurrentCharFormat(format)); +} + +void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + +void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) +{ + ( theWrappedObject->setDocument(document)); +} + +void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setDocumentTitle(title)); +} + +void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) +{ + ( theWrappedObject->setExtraSelections(selections)); +} + +void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) +{ + ( theWrappedObject->setLineWrapColumnOrWidth(w)); +} + +void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) +{ + ( theWrappedObject->setLineWrapMode(mode)); +} + +void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) +{ + ( theWrappedObject->setOverwriteMode(overwrite)); +} + +void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) +{ + ( theWrappedObject->setPlaceholderText(placeholderText)); +} + +void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); +} + +void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} + +void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) +{ + ( theWrappedObject->setTabStopDistance(distance)); +} + +void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setTabStopWidth(width)); +} + +void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->setTextCursor(cursor)); +} + +void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); +} + +void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) +{ + ( theWrappedObject->setWordWrapMode(policy)); +} + +bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); +} + +qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopDistance()); +} + +int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopWidth()); +} + +QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textBackgroundColor()); +} + +QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textColor()); +} + +QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textCursor()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->toHtml()); +} + +QString PythonQtWrapper_QTextEdit::toMarkdown(QTextEdit* theWrappedObject, QTextDocument::MarkdownFeatures features) const +{ + return ( theWrappedObject->toMarkdown(features)); +} + +QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->wordWrapMode()); +} + +void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); +} + + + +PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextEdit::ExtraSelection* PythonQtWrapper_QTextEdit__ExtraSelection::new_QTextEdit__ExtraSelection() +{ +return new PythonQtShell_QTextEdit__ExtraSelection(); } + + + +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() +{ +return new QTextFragment(); } + +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) +{ +return new QTextFragment(o); } + +QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->charFormat()); +} + +int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->charFormatIndex()); +} + +bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const +{ + return ( theWrappedObject->contains(position)); +} + +QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const +{ + return ( theWrappedObject->glyphRuns(from, length)); +} + +bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const +{ + return ( (*theWrappedObject)!= o); +} + +bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const +{ + return ( (*theWrappedObject)< o); +} + +bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const +{ + return ( (*theWrappedObject)== o); +} + +int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextFrame::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(); + } + } +} + QTextFrame::childEvent(event0); +} +void PythonQtShell_QTextFrame::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(); + } + } +} + QTextFrame::customEvent(event0); +} +bool PythonQtShell_QTextFrame::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 QTextFrame::event(event0); +} +bool PythonQtShell_QTextFrame::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 QTextFrame::eventFilter(watched0, event1); +} +void PythonQtShell_QTextFrame::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(); + } + } +} + QTextFrame::timerEvent(event0); +} +QTextFrame* PythonQtWrapper_QTextFrame::new_QTextFrame(QTextDocument* doc) +{ +return new PythonQtShell_QTextFrame(doc); } + +const QMetaObject* PythonQtShell_QTextFrame::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextFrame::staticMetaObject); + } else { + return &QTextFrame::staticMetaObject; + } +} +int PythonQtShell_QTextFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextFrame::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->childFrames()); +} + +QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->firstCursorPosition()); +} + +int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->firstPosition()); +} + +QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameFormat()); +} + +QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->lastCursorPosition()); +} + +int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->lastPosition()); +} + +QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->parentFrame()); +} + +void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) +{ + ( theWrappedObject->setFrameFormat(format)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.h new file mode 100644 index 00000000..7d07589b --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui10.h @@ -0,0 +1,2532 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QStylePlugin : public QStylePlugin +{ +public: + PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStylePlugin() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin +{ public: +inline QStyle* py_q_create(const QString& key) { return this->create(key); } +}; + +class PythonQtWrapper_QStylePlugin : public QObject +{ Q_OBJECT +public: +public slots: +QStylePlugin* new_QStylePlugin(QObject* parent = nullptr); +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));} +}; + + + + + +class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate +{ +public: + 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 +{ public: +inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return this->editorEvent(event, model, option, index); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { this->initStyleOption(option, index); } +inline QWidget* py_q_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } +inline QString py_q_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } +inline bool py_q_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } +inline void py_q_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } +inline void py_q_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } +inline void py_q_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } +inline void py_q_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } +inline QSize py_q_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } +inline void py_q_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QStyledItemDelegate : public QObject +{ Q_OBJECT +public: +public slots: +QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = nullptr); +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));} + bool py_q_editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} + bool py_q_eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_eventFilter(object, event));} + void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; + void py_q_initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_initStyleOption(option, index));} + QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; + void py_q_paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_paint(painter, option, index));} + void py_q_setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setEditorData(editor, index));} + void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); + void py_q_setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setModelData(editor, model, index));} + QSize py_q_sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_sizeHint(option, index));} + void py_q_updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_updateEditorGeometry(editor, option, index));} +}; + + + + + +class PythonQtShell_QSurface : public QSurface +{ +public: + PythonQtShell_QSurface(QSurface::SurfaceClass type):QSurface(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QSurface() override; + +QSurfaceFormat format() const override; +QSize size() const override; +QPlatformSurface* surfaceHandle() const override; +QSurface::SurfaceType surfaceType() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSurface : public QSurface +{ public: +inline QSurfaceFormat py_q_format() const { return this->format(); } +inline QSize py_q_size() const { return this->size(); } +inline QPlatformSurface* py_q_surfaceHandle() const { return this->surfaceHandle(); } +inline QSurface::SurfaceType py_q_surfaceType() const { return this->surfaceType(); } +}; + +class PythonQtWrapper_QSurface : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SurfaceClass SurfaceType ) +enum SurfaceClass{ + Window = QSurface::Window, Offscreen = QSurface::Offscreen}; +enum SurfaceType{ + RasterSurface = QSurface::RasterSurface, OpenGLSurface = QSurface::OpenGLSurface, RasterGLSurface = QSurface::RasterGLSurface, OpenVGSurface = QSurface::OpenVGSurface, VulkanSurface = QSurface::VulkanSurface, MetalSurface = QSurface::MetalSurface}; +public slots: +QSurface* new_QSurface(QSurface::SurfaceClass type); +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; + QSize py_q_size(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_size());} + bool supportsOpenGL(QSurface* theWrappedObject) const; + QSurface::SurfaceClass surfaceClass(QSurface* theWrappedObject) const; + QPlatformSurface* surfaceHandle(QSurface* theWrappedObject) const; + QPlatformSurface* py_q_surfaceHandle(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_surfaceHandle());} + QSurface::SurfaceType surfaceType(QSurface* theWrappedObject) const; + QSurface::SurfaceType py_q_surfaceType(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_surfaceType());} +}; + + + + + +class PythonQtWrapper_QSurfaceFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ColorSpace FormatOption OpenGLContextProfile RenderableType SwapBehavior ) +Q_FLAGS(FormatOptions ) +enum ColorSpace{ + DefaultColorSpace = QSurfaceFormat::DefaultColorSpace, sRGBColorSpace = QSurfaceFormat::sRGBColorSpace}; +enum FormatOption{ + StereoBuffers = QSurfaceFormat::StereoBuffers, DebugContext = QSurfaceFormat::DebugContext, DeprecatedFunctions = QSurfaceFormat::DeprecatedFunctions, ResetNotification = QSurfaceFormat::ResetNotification}; +enum OpenGLContextProfile{ + NoProfile = QSurfaceFormat::NoProfile, CoreProfile = QSurfaceFormat::CoreProfile, CompatibilityProfile = QSurfaceFormat::CompatibilityProfile}; +enum RenderableType{ + DefaultRenderableType = QSurfaceFormat::DefaultRenderableType, OpenGL = QSurfaceFormat::OpenGL, OpenGLES = QSurfaceFormat::OpenGLES, OpenVG = QSurfaceFormat::OpenVG}; +enum SwapBehavior{ + DefaultSwapBehavior = QSurfaceFormat::DefaultSwapBehavior, SingleBuffer = QSurfaceFormat::SingleBuffer, DoubleBuffer = QSurfaceFormat::DoubleBuffer, TripleBuffer = QSurfaceFormat::TripleBuffer}; +Q_DECLARE_FLAGS(FormatOptions, FormatOption) +public slots: +QSurfaceFormat* new_QSurfaceFormat(); +QSurfaceFormat* new_QSurfaceFormat(QSurfaceFormat::FormatOptions options); +QSurfaceFormat* new_QSurfaceFormat(const QSurfaceFormat& other); +void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } + int alphaBufferSize(QSurfaceFormat* theWrappedObject) const; + int blueBufferSize(QSurfaceFormat* theWrappedObject) const; + QSurfaceFormat::ColorSpace colorSpace(QSurfaceFormat* theWrappedObject) const; + QSurfaceFormat static_QSurfaceFormat_defaultFormat(); + int depthBufferSize(QSurfaceFormat* theWrappedObject) const; + int greenBufferSize(QSurfaceFormat* theWrappedObject) const; + 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; + QSurfaceFormat::OpenGLContextProfile profile(QSurfaceFormat* theWrappedObject) const; + int redBufferSize(QSurfaceFormat* theWrappedObject) const; + QSurfaceFormat::RenderableType renderableType(QSurfaceFormat* theWrappedObject) const; + int samples(QSurfaceFormat* theWrappedObject) const; + void setAlphaBufferSize(QSurfaceFormat* theWrappedObject, int size); + void setBlueBufferSize(QSurfaceFormat* theWrappedObject, int size); + void setColorSpace(QSurfaceFormat* theWrappedObject, QSurfaceFormat::ColorSpace colorSpace); + void static_QSurfaceFormat_setDefaultFormat(const QSurfaceFormat& format); + void setDepthBufferSize(QSurfaceFormat* theWrappedObject, int size); + void setGreenBufferSize(QSurfaceFormat* theWrappedObject, int size); + void setMajorVersion(QSurfaceFormat* theWrappedObject, int majorVersion); + void setMinorVersion(QSurfaceFormat* theWrappedObject, int minorVersion); + void setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt); + void setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option, bool on = true); + void setOptions(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions options); + void setProfile(QSurfaceFormat* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile); + void setRedBufferSize(QSurfaceFormat* theWrappedObject, int size); + void setRenderableType(QSurfaceFormat* theWrappedObject, QSurfaceFormat::RenderableType type); + void setSamples(QSurfaceFormat* theWrappedObject, int numSamples); + void setStencilBufferSize(QSurfaceFormat* theWrappedObject, int size); + void setStereo(QSurfaceFormat* theWrappedObject, bool enable); + void setSwapBehavior(QSurfaceFormat* theWrappedObject, QSurfaceFormat::SwapBehavior behavior); + void setSwapInterval(QSurfaceFormat* theWrappedObject, int interval); + void setVersion(QSurfaceFormat* theWrappedObject, int major, int minor); + int stencilBufferSize(QSurfaceFormat* theWrappedObject) const; + bool stereo(QSurfaceFormat* theWrappedObject) const; + QSurfaceFormat::SwapBehavior swapBehavior(QSurfaceFormat* theWrappedObject) const; + int swapInterval(QSurfaceFormat* theWrappedObject) const; + bool testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) const; + bool testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option) const; + QPair version(QSurfaceFormat* theWrappedObject) const; + QString py_toString(QSurfaceFormat*); +}; + + + + + +class PythonQtShell_QSwipeGesture : public QSwipeGesture +{ +public: + PythonQtShell_QSwipeGesture(QObject* parent = nullptr):QSwipeGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSwipeGesture() 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_QSwipeGesture : public QObject +{ Q_OBJECT +public: +public slots: +QSwipeGesture* new_QSwipeGesture(QObject* parent = nullptr); +void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } + QSwipeGesture::SwipeDirection horizontalDirection(QSwipeGesture* theWrappedObject) const; + void setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value); + qreal swipeAngle(QSwipeGesture* theWrappedObject) const; + QSwipeGesture::SwipeDirection verticalDirection(QSwipeGesture* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter +{ +public: + PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; + PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSyntaxHighlighter() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSyntaxHighlighter : public QSyntaxHighlighter +{ public: +inline QTextBlock promoted_currentBlock() const { return this->currentBlock(); } +inline int promoted_currentBlockState() const { return this->currentBlockState(); } +inline QTextBlockUserData* promoted_currentBlockUserData() const { return this->currentBlockUserData(); } +inline QTextCharFormat promoted_format(int pos) const { return this->format(pos); } +inline void promoted_highlightBlock(const QString& text) { this->highlightBlock(text); } +inline int promoted_previousBlockState() const { return this->previousBlockState(); } +inline void promoted_setCurrentBlockState(int newState) { this->setCurrentBlockState(newState); } +inline void promoted_setCurrentBlockUserData(QTextBlockUserData* data) { this->setCurrentBlockUserData(data); } +inline void promoted_setFormat(int start, int count, const QColor& color) { this->setFormat(start, count, color); } +inline void promoted_setFormat(int start, int count, const QFont& font) { this->setFormat(start, count, font); } +inline void promoted_setFormat(int start, int count, const QTextCharFormat& format) { this->setFormat(start, count, format); } +inline void py_q_highlightBlock(const QString& text) { this->highlightBlock(text); } +}; + +class PythonQtWrapper_QSyntaxHighlighter : public QObject +{ Q_OBJECT +public: +public slots: +QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent); +QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent); +void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } + QTextBlock currentBlock(QSyntaxHighlighter* theWrappedObject) const; + int currentBlockState(QSyntaxHighlighter* theWrappedObject) const; + QTextBlockUserData* currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const; + QTextDocument* document(QSyntaxHighlighter* theWrappedObject) const; + QTextCharFormat format(QSyntaxHighlighter* theWrappedObject, int pos) const; + void highlightBlock(QSyntaxHighlighter* theWrappedObject, const QString& text); + void py_q_highlightBlock(QSyntaxHighlighter* theWrappedObject, const QString& text){ (((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->py_q_highlightBlock(text));} + int previousBlockState(QSyntaxHighlighter* theWrappedObject) const; + void setCurrentBlockState(QSyntaxHighlighter* theWrappedObject, int newState); + void setCurrentBlockUserData(QSyntaxHighlighter* theWrappedObject, QTextBlockUserData* data); + void setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc); + void setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QColor& color); + void setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QFont& font); + void setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QTextCharFormat& format); +}; + + + + + +class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon +{ +public: + PythonQtShell_QSystemTrayIcon(QObject* parent = nullptr):QSystemTrayIcon(parent),_wrapper(nullptr) {}; + PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr):QSystemTrayIcon(icon, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSystemTrayIcon() 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_QSystemTrayIcon : public QSystemTrayIcon +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool py_q_event(QEvent* event) { return QSystemTrayIcon::event(event); } +}; + +class PythonQtWrapper_QSystemTrayIcon : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ActivationReason MessageIcon ) +enum ActivationReason{ + Unknown = QSystemTrayIcon::Unknown, Context = QSystemTrayIcon::Context, DoubleClick = QSystemTrayIcon::DoubleClick, Trigger = QSystemTrayIcon::Trigger, MiddleClick = QSystemTrayIcon::MiddleClick}; +enum MessageIcon{ + NoIcon = QSystemTrayIcon::NoIcon, Information = QSystemTrayIcon::Information, Warning = QSystemTrayIcon::Warning, Critical = QSystemTrayIcon::Critical}; +public slots: +QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = nullptr); +QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr); +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; + QIcon icon(QSystemTrayIcon* theWrappedObject) const; + bool static_QSystemTrayIcon_isSystemTrayAvailable(); + bool isVisible(QSystemTrayIcon* theWrappedObject) const; + void setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu); + void setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon); + void setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip); + bool static_QSystemTrayIcon_supportsMessages(); + QString toolTip(QSystemTrayIcon* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTabBar : public QTabBar +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionTab* option, int tabIndex) const { this->initStyleOption(option, tabIndex); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline QSize promoted_minimumTabSizeHint(int index) const { return this->minimumTabSizeHint(index); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_tabInserted(int index) { this->tabInserted(index); } +inline void promoted_tabLayoutChange() { this->tabLayoutChange(); } +inline void promoted_tabRemoved(int index) { this->tabRemoved(index); } +inline QSize promoted_tabSizeHint(int index) const { return this->tabSizeHint(index); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void promoted_wheelEvent(QWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_changeEvent(QEvent* arg__1) { QTabBar::changeEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QTabBar::event(arg__1); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QTabBar::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QTabBar::keyPressEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QTabBar::minimumSizeHint(); } +inline QSize py_q_minimumTabSizeHint(int index) const { return QTabBar::minimumTabSizeHint(index); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QTabBar::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QTabBar::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QTabBar::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QTabBar::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QTabBar::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QTabBar::showEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QTabBar::sizeHint(); } +inline void py_q_tabInserted(int index) { QTabBar::tabInserted(index); } +inline void py_q_tabLayoutChange() { QTabBar::tabLayoutChange(); } +inline void py_q_tabRemoved(int index) { QTabBar::tabRemoved(index); } +inline QSize py_q_tabSizeHint(int index) const { return QTabBar::tabSizeHint(index); } +inline void py_q_timerEvent(QTimerEvent* event) { QTabBar::timerEvent(event); } +inline void py_q_wheelEvent(QWheelEvent* event) { QTabBar::wheelEvent(event); } +}; + +class PythonQtWrapper_QTabBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonPosition SelectionBehavior ) +enum ButtonPosition{ + LeftSide = QTabBar::LeftSide, RightSide = QTabBar::RightSide}; +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; } + QString accessibleTabName(QTabBar* theWrappedObject, int index) const; + int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); + int addTab(QTabBar* theWrappedObject, const QString& text); + bool autoHide(QTabBar* theWrappedObject) const; + bool changeCurrentOnDrag(QTabBar* theWrappedObject) const; + void py_q_changeEvent(QTabBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_changeEvent(arg__1));} + int count(QTabBar* theWrappedObject) const; + int currentIndex(QTabBar* theWrappedObject) const; + bool documentMode(QTabBar* theWrappedObject) const; + bool drawBase(QTabBar* theWrappedObject) const; + Qt::TextElideMode elideMode(QTabBar* theWrappedObject) const; + bool py_q_event(QTabBar* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_event(arg__1));} + bool expanding(QTabBar* theWrappedObject) const; + void py_q_hideEvent(QTabBar* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_hideEvent(arg__1));} + QSize iconSize(QTabBar* theWrappedObject) const; + void initStyleOption(QTabBar* theWrappedObject, QStyleOptionTab* option, int tabIndex) const; + int insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text); + int insertTab(QTabBar* theWrappedObject, int index, const QString& text); + bool isMovable(QTabBar* theWrappedObject) const; + bool isTabEnabled(QTabBar* theWrappedObject, int index) const; + bool isTabVisible(QTabBar* theWrappedObject, int index) const; + void py_q_keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + QSize minimumSizeHint(QTabBar* theWrappedObject) const; + QSize py_q_minimumSizeHint(QTabBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_minimumSizeHint());} + QSize minimumTabSizeHint(QTabBar* theWrappedObject, int index) const; + QSize py_q_minimumTabSizeHint(QTabBar* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_minimumTabSizeHint(index));} + void py_q_mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void moveTab(QTabBar* theWrappedObject, int from, int to); + void py_q_paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + void removeTab(QTabBar* theWrappedObject, int index); + void py_q_resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QTabBar::SelectionBehavior selectionBehaviorOnRemove(QTabBar* theWrappedObject) const; + void setAccessibleTabName(QTabBar* theWrappedObject, int index, const QString& name); + void setAutoHide(QTabBar* theWrappedObject, bool hide); + void setChangeCurrentOnDrag(QTabBar* theWrappedObject, bool change); + void setDocumentMode(QTabBar* theWrappedObject, bool set); + void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase); + void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode mode); + void setExpanding(QTabBar* theWrappedObject, bool enabled); + void setIconSize(QTabBar* theWrappedObject, const QSize& size); + void setMovable(QTabBar* theWrappedObject, bool movable); + void setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior); + void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape); + void setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget); + void setTabData(QTabBar* theWrappedObject, int index, const QVariant& data); + void setTabEnabled(QTabBar* theWrappedObject, int index, bool enabled); + void setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon); + void setTabText(QTabBar* theWrappedObject, int index, const QString& text); + void setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color); + void setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip); + void setTabVisible(QTabBar* theWrappedObject, int index, bool visible); + void setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text); + void setTabsClosable(QTabBar* theWrappedObject, bool closable); + void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons); + QTabBar::Shape shape(QTabBar* theWrappedObject) const; + void py_q_showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_showEvent(arg__1));} + QSize sizeHint(QTabBar* theWrappedObject) const; + QSize py_q_sizeHint(QTabBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_sizeHint());} + int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const; + QWidget* tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const; + QVariant tabData(QTabBar* theWrappedObject, int index) const; + QIcon tabIcon(QTabBar* theWrappedObject, int index) const; + void tabInserted(QTabBar* theWrappedObject, int index); + void py_q_tabInserted(QTabBar* theWrappedObject, int index){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_tabInserted(index));} + void tabLayoutChange(QTabBar* theWrappedObject); + void py_q_tabLayoutChange(QTabBar* theWrappedObject){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_tabLayoutChange());} + QRect tabRect(QTabBar* theWrappedObject, int index) const; + void tabRemoved(QTabBar* theWrappedObject, int index); + void py_q_tabRemoved(QTabBar* theWrappedObject, int index){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_tabRemoved(index));} + QSize tabSizeHint(QTabBar* theWrappedObject, int index) const; + QSize py_q_tabSizeHint(QTabBar* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_tabSizeHint(index));} + QString tabText(QTabBar* theWrappedObject, int index) const; + QColor tabTextColor(QTabBar* theWrappedObject, int index) const; + QString tabToolTip(QTabBar* theWrappedObject, int index) const; + QString tabWhatsThis(QTabBar* theWrappedObject, int index) const; + bool tabsClosable(QTabBar* theWrappedObject) const; + void py_q_timerEvent(QTabBar* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_timerEvent(event));} + bool usesScrollButtons(QTabBar* theWrappedObject) const; + void py_q_wheelEvent(QTabBar* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_wheelEvent(event));} +}; + + + + + +class PythonQtShell_QTabWidget : public QTabWidget +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_initStyleOption(QStyleOptionTabWidgetFrame* option) const { this->initStyleOption(option); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_setTabBar(QTabBar* arg__1) { this->setTabBar(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_tabInserted(int index) { this->tabInserted(index); } +inline void promoted_tabRemoved(int index) { this->tabRemoved(index); } +inline void py_q_changeEvent(QEvent* arg__1) { QTabWidget::changeEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QTabWidget::event(arg__1); } +inline bool py_q_hasHeightForWidth() const { return QTabWidget::hasHeightForWidth(); } +inline int py_q_heightForWidth(int width) const { return QTabWidget::heightForWidth(width); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QTabWidget::keyPressEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QTabWidget::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QTabWidget::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QTabWidget::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QTabWidget::showEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QTabWidget::sizeHint(); } +inline void py_q_tabInserted(int index) { QTabWidget::tabInserted(index); } +inline void py_q_tabRemoved(int index) { QTabWidget::tabRemoved(index); } +}; + +class PythonQtWrapper_QTabWidget : public QObject +{ Q_OBJECT +public: +public slots: +QTabWidget* new_QTabWidget(QWidget* parent = nullptr); +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));} + void clear(QTabWidget* theWrappedObject); + QWidget* cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; + int count(QTabWidget* theWrappedObject) const; + int currentIndex(QTabWidget* theWrappedObject) const; + QWidget* currentWidget(QTabWidget* theWrappedObject) const; + bool documentMode(QTabWidget* theWrappedObject) const; + Qt::TextElideMode elideMode(QTabWidget* theWrappedObject) const; + bool py_q_event(QTabWidget* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_hasHeightForWidth(QTabWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_hasHeightForWidth());} + int py_q_heightForWidth(QTabWidget* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_heightForWidth(width));} + QSize iconSize(QTabWidget* theWrappedObject) const; + int indexOf(QTabWidget* theWrappedObject, QWidget* widget) const; + void initStyleOption(QTabWidget* theWrappedObject, QStyleOptionTabWidgetFrame* option) const; + int insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label); + int insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& arg__3); + bool isMovable(QTabWidget* theWrappedObject) const; + bool isTabEnabled(QTabWidget* theWrappedObject, int index) const; + bool isTabVisible(QTabWidget* theWrappedObject, int index) const; + void py_q_keyPressEvent(QTabWidget* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + QSize minimumSizeHint(QTabWidget* theWrappedObject) const; + QSize py_q_minimumSizeHint(QTabWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_paintEvent(QTabWidget* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_paintEvent(arg__1));} + void removeTab(QTabWidget* theWrappedObject, int index); + void py_q_resizeEvent(QTabWidget* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setCornerWidget(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP w, Qt::Corner corner = Qt::TopRightCorner); + void setDocumentMode(QTabWidget* theWrappedObject, bool set); + void setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode mode); + void setIconSize(QTabWidget* theWrappedObject, const QSize& size); + void setMovable(QTabWidget* theWrappedObject, bool movable); + void setTabBar(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1); + void setTabBarAutoHide(QTabWidget* theWrappedObject, bool enabled); + void setTabEnabled(QTabWidget* theWrappedObject, int index, bool enabled); + void setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon); + void setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition position); + void setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s); + void setTabText(QTabWidget* theWrappedObject, int index, const QString& text); + void setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip); + void setTabVisible(QTabWidget* theWrappedObject, int index, bool visible); + void setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text); + void setTabsClosable(QTabWidget* theWrappedObject, bool closeable); + void setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons); + void py_q_showEvent(QTabWidget* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_showEvent(arg__1));} + QSize sizeHint(QTabWidget* theWrappedObject) const; + QSize py_q_sizeHint(QTabWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_sizeHint());} + QTabBar* tabBar(QTabWidget* theWrappedObject) const; + bool tabBarAutoHide(QTabWidget* theWrappedObject) const; + QIcon tabIcon(QTabWidget* theWrappedObject, int index) const; + void tabInserted(QTabWidget* theWrappedObject, int index); + void py_q_tabInserted(QTabWidget* theWrappedObject, int index){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_tabInserted(index));} + QTabWidget::TabPosition tabPosition(QTabWidget* theWrappedObject) const; + void tabRemoved(QTabWidget* theWrappedObject, int index); + void py_q_tabRemoved(QTabWidget* theWrappedObject, int index){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_tabRemoved(index));} + QTabWidget::TabShape tabShape(QTabWidget* theWrappedObject) const; + QString tabText(QTabWidget* theWrappedObject, int index) const; + QString tabToolTip(QTabWidget* theWrappedObject, int index) const; + QString tabWhatsThis(QTabWidget* theWrappedObject, int index) const; + bool tabsClosable(QTabWidget* theWrappedObject) const; + bool usesScrollButtons(QTabWidget* theWrappedObject) const; + QWidget* widget(QTabWidget* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QTableView : public QTableView +{ +public: + 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 +{ public: +inline void promoted_columnCountChanged(int oldCount, int newCount) { this->columnCountChanged(oldCount, newCount); } +inline void promoted_columnMoved(int column, int oldIndex, int newIndex) { this->columnMoved(column, oldIndex, newIndex); } +inline void promoted_columnResized(int column, int oldWidth, int newWidth) { this->columnResized(column, oldWidth, newWidth); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { this->currentChanged(current, previous); } +inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } +inline void promoted_horizontalScrollbarAction(int action) { this->horizontalScrollbarAction(action); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_rowCountChanged(int oldCount, int newCount) { this->rowCountChanged(oldCount, newCount); } +inline void promoted_rowMoved(int row, int oldIndex, int newIndex) { this->rowMoved(row, oldIndex, newIndex); } +inline void promoted_rowResized(int row, int oldHeight, int newHeight) { this->rowResized(row, oldHeight, newHeight); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline QList promoted_selectedIndexes() const { return this->selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { this->selectionChanged(selected, deselected); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } +inline int promoted_sizeHintForColumn(int column) const { return this->sizeHintForColumn(column); } +inline int promoted_sizeHintForRow(int row) const { return this->sizeHintForRow(row); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void promoted_updateGeometries() { this->updateGeometries(); } +inline int promoted_verticalOffset() const { return this->verticalOffset(); } +inline void promoted_verticalScrollbarAction(int action) { this->verticalScrollbarAction(action); } +inline QStyleOptionViewItem promoted_viewOptions() const { return this->viewOptions(); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTableView::currentChanged(current, previous); } +inline void py_q_doItemsLayout() { QTableView::doItemsLayout(); } +inline int py_q_horizontalOffset() const { return QTableView::horizontalOffset(); } +inline void py_q_horizontalScrollbarAction(int action) { QTableView::horizontalScrollbarAction(action); } +inline QModelIndex py_q_indexAt(const QPoint& p) const { return QTableView::indexAt(p); } +inline bool py_q_isIndexHidden(const QModelIndex& index) const { return QTableView::isIndexHidden(index); } +inline QModelIndex py_q_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QTableView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void py_q_paintEvent(QPaintEvent* e) { QTableView::paintEvent(e); } +inline void py_q_scrollContentsBy(int dx, int dy) { QTableView::scrollContentsBy(dx, dy); } +inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTableView::scrollTo(index, hint); } +inline QList py_q_selectedIndexes() const { return QTableView::selectedIndexes(); } +inline void py_q_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTableView::selectionChanged(selected, deselected); } +inline void py_q_setModel(QAbstractItemModel* model) { QTableView::setModel(model); } +inline void py_q_setRootIndex(const QModelIndex& index) { QTableView::setRootIndex(index); } +inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTableView::setSelection(rect, command); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QTableView::setSelectionModel(selectionModel); } +inline int py_q_sizeHintForColumn(int column) const { return QTableView::sizeHintForColumn(column); } +inline int py_q_sizeHintForRow(int row) const { return QTableView::sizeHintForRow(row); } +inline void py_q_timerEvent(QTimerEvent* event) { QTableView::timerEvent(event); } +inline void py_q_updateGeometries() { QTableView::updateGeometries(); } +inline int py_q_verticalOffset() const { return QTableView::verticalOffset(); } +inline void py_q_verticalScrollbarAction(int action) { QTableView::verticalScrollbarAction(action); } +inline QStyleOptionViewItem py_q_viewOptions() const { return QTableView::viewOptions(); } +inline QSize py_q_viewportSizeHint() const { return QTableView::viewportSizeHint(); } +inline QRect py_q_visualRect(const QModelIndex& index) const { return QTableView::visualRect(index); } +inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return QTableView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QTableView : public QObject +{ Q_OBJECT +public: +public slots: +QTableView* new_QTableView(QWidget* parent = nullptr); +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; + int columnViewportPosition(QTableView* theWrappedObject, int column) const; + int columnWidth(QTableView* theWrappedObject, int column) const; + void py_q_currentChanged(QTableView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_currentChanged(current, previous));} + void py_q_doItemsLayout(QTableView* theWrappedObject){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_doItemsLayout());} + Qt::PenStyle gridStyle(QTableView* theWrappedObject) const; + QHeaderView* horizontalHeader(QTableView* theWrappedObject) const; + int py_q_horizontalOffset(QTableView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_horizontalOffset());} + void py_q_horizontalScrollbarAction(QTableView* theWrappedObject, int action){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_horizontalScrollbarAction(action));} + QModelIndex py_q_indexAt(QTableView* theWrappedObject, const QPoint& p) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_indexAt(p));} + bool isColumnHidden(QTableView* theWrappedObject, int column) const; + bool isCornerButtonEnabled(QTableView* theWrappedObject) const; + bool py_q_isIndexHidden(QTableView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_isIndexHidden(index));} + bool isRowHidden(QTableView* theWrappedObject, int row) const; + bool isSortingEnabled(QTableView* theWrappedObject) const; + QModelIndex py_q_moveCursor(QTableView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers){ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_moveCursor(cursorAction, modifiers));} + void py_q_paintEvent(QTableView* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_paintEvent(e));} + int rowAt(QTableView* theWrappedObject, int y) const; + int rowHeight(QTableView* theWrappedObject, int row) const; + int rowSpan(QTableView* theWrappedObject, int row, int column) const; + int rowViewportPosition(QTableView* theWrappedObject, int row) const; + void py_q_scrollContentsBy(QTableView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void py_q_scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_scrollTo(index, hint));} + QList py_q_selectedIndexes(QTableView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_selectedIndexes());} + void py_q_selectionChanged(QTableView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_selectionChanged(selected, deselected));} + void setColumnHidden(QTableView* theWrappedObject, int column, bool hide); + void setColumnWidth(QTableView* theWrappedObject, int column, int width); + void setCornerButtonEnabled(QTableView* theWrappedObject, bool enable); + void setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style); + void setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header); + void py_q_setModel(QTableView* theWrappedObject, QAbstractItemModel* model){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_setModel(model));} + void py_q_setRootIndex(QTableView* theWrappedObject, const QModelIndex& index){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_setRootIndex(index));} + void setRowHeight(QTableView* theWrappedObject, int row, int height); + void setRowHidden(QTableView* theWrappedObject, int row, bool hide); + void py_q_setSelection(QTableView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_setSelection(rect, command));} + void py_q_setSelectionModel(QTableView* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + void setSortingEnabled(QTableView* theWrappedObject, bool enable); + void setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan); + void setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header); + void setWordWrap(QTableView* theWrappedObject, bool on); + bool showGrid(QTableView* theWrappedObject) const; + int py_q_sizeHintForColumn(QTableView* theWrappedObject, int column) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_sizeHintForColumn(column));} + int py_q_sizeHintForRow(QTableView* theWrappedObject, int row) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_sizeHintForRow(row));} + void py_q_timerEvent(QTableView* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_timerEvent(event));} + void py_q_updateGeometries(QTableView* theWrappedObject){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_updateGeometries());} + QHeaderView* verticalHeader(QTableView* theWrappedObject) const; + int py_q_verticalOffset(QTableView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_verticalOffset());} + void py_q_verticalScrollbarAction(QTableView* theWrappedObject, int action){ (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_verticalScrollbarAction(action));} + QStyleOptionViewItem py_q_viewOptions(QTableView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_viewOptions());} + QSize py_q_viewportSizeHint(QTableView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_viewportSizeHint());} + QRect py_q_visualRect(QTableView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_visualRect(index));} + QRegion py_q_visualRegionForSelection(QTableView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QTableView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} + bool wordWrap(QTableView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTableWidget : public QTableWidget +{ +public: + 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 +{ public: +inline void promoted_dropEvent(QDropEvent* event) { this->dropEvent(event); } +inline bool promoted_dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) { return this->dropMimeData(row, column, data, action); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline QModelIndex promoted_indexFromItem(QTableWidgetItem* item) const { return this->indexFromItem(item); } +inline QModelIndex promoted_indexFromItem(const QTableWidgetItem* item) const { return this->indexFromItem(item); } +inline QTableWidgetItem* promoted_itemFromIndex(const QModelIndex& index) const { return this->itemFromIndex(index); } +inline QList promoted_items(const QMimeData* data) const { return this->items(data); } +inline QMimeData* promoted_mimeData(const QList items) const { return this->mimeData(items); } +inline QStringList promoted_mimeTypes() const { return this->mimeTypes(); } +inline Qt::DropActions promoted_supportedDropActions() const { return this->supportedDropActions(); } +inline void py_q_dropEvent(QDropEvent* event) { QTableWidget::dropEvent(event); } +inline bool py_q_dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) { return QTableWidget::dropMimeData(row, column, data, action); } +inline bool py_q_event(QEvent* e) { return QTableWidget::event(e); } +inline QMimeData* py_q_mimeData(const QList items) const { return QTableWidget::mimeData(items); } +inline QStringList py_q_mimeTypes() const { return QTableWidget::mimeTypes(); } +inline Qt::DropActions py_q_supportedDropActions() const { return QTableWidget::supportedDropActions(); } +}; + +class PythonQtWrapper_QTableWidget : public QObject +{ Q_OBJECT +public: +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; } + QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const; + void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); + int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; + int columnCount(QTableWidget* theWrappedObject) const; + int currentColumn(QTableWidget* theWrappedObject) const; + QTableWidgetItem* currentItem(QTableWidget* theWrappedObject) const; + int currentRow(QTableWidget* theWrappedObject) const; + void py_q_dropEvent(QTableWidget* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->py_q_dropEvent(event));} + bool dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action); + bool py_q_dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action){ return (((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->py_q_dropMimeData(row, column, data, action));} + void editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); + bool py_q_event(QTableWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->py_q_event(e));} + QList findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; + QTableWidgetItem* horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const; + QModelIndex indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const; + QModelIndex indexFromItem(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; + bool isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const; + QTableWidgetItem* item(QTableWidget* theWrappedObject, int row, int column) const; + QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, const QPoint& p) const; + QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, int x, int y) const; + QTableWidgetItem* itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const; + const QTableWidgetItem* itemPrototype(QTableWidget* theWrappedObject) const; + QList items(QTableWidget* theWrappedObject, const QMimeData* data) const; + PythonQtPassOwnershipToPython mimeData(QTableWidget* theWrappedObject, const QList items) const; + PythonQtPassOwnershipToPython py_q_mimeData(QTableWidget* theWrappedObject, const QList items) const{ return (((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->py_q_mimeData(items));} + QStringList mimeTypes(QTableWidget* theWrappedObject) const; + QStringList py_q_mimeTypes(QTableWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->py_q_mimeTypes());} + void openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); + void removeCellWidget(QTableWidget* theWrappedObject, int row, int column); + int row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; + int rowCount(QTableWidget* theWrappedObject) const; + QList selectedItems(QTableWidget* theWrappedObject) const; + QList selectedRanges(QTableWidget* theWrappedObject) const; + void setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget); + void setColumnCount(QTableWidget* theWrappedObject, int columns); + void setCurrentCell(QTableWidget* theWrappedObject, int row, int column); + void setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command); + void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); + void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command); + void setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, PythonQtPassOwnershipToCPP item); + void setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); + void setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item); + void setItemPrototype(QTableWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); + void setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select); + void setRowCount(QTableWidget* theWrappedObject, int rows); + void setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item); + void setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); + void sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + Qt::DropActions supportedDropActions(QTableWidget* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QTableWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->py_q_supportedDropActions());} + PythonQtPassOwnershipToPython takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column); + PythonQtPassOwnershipToPython takeItem(QTableWidget* theWrappedObject, int row, int column); + PythonQtPassOwnershipToPython takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row); + QTableWidgetItem* verticalHeaderItem(QTableWidget* theWrappedObject, int row) const; + int visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const; + QRect visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; + int visualRow(QTableWidget* theWrappedObject, int logicalRow) const; +}; + + + + + +class PythonQtShell_QTableWidgetItem : public QTableWidgetItem +{ +public: + 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() override; + +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; +}; + +class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem +{ public: +inline QTableWidgetItem* py_q_clone() const { return QTableWidgetItem::clone(); } +inline QVariant py_q_data(int role) const { return QTableWidgetItem::data(role); } +inline void py_q_read(QDataStream& in) { QTableWidgetItem::read(in); } +inline void py_q_setData(int role, const QVariant& value) { QTableWidgetItem::setData(role, value); } +inline void py_q_write(QDataStream& out) const { QTableWidgetItem::write(out); } +}; + +class PythonQtWrapper_QTableWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ) +enum ItemType{ + Type = QTableWidgetItem::Type, UserType = QTableWidgetItem::UserType}; +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; } + QBrush background(QTableWidgetItem* theWrappedObject) const; + Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const; + QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const; + QTableWidgetItem* py_q_clone(QTableWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->py_q_clone());} + int column(QTableWidgetItem* theWrappedObject) const; + QVariant data(QTableWidgetItem* theWrappedObject, int role) const; + QVariant py_q_data(QTableWidgetItem* theWrappedObject, int role) const{ return (((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->py_q_data(role));} + Qt::ItemFlags flags(QTableWidgetItem* theWrappedObject) const; + QFont font(QTableWidgetItem* theWrappedObject) const; + QBrush foreground(QTableWidgetItem* theWrappedObject) const; + QIcon icon(QTableWidgetItem* theWrappedObject) const; + bool isSelected(QTableWidgetItem* theWrappedObject) const; + void writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in); + void read(QTableWidgetItem* theWrappedObject, QDataStream& in); + void py_q_read(QTableWidgetItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->py_q_read(in));} + int row(QTableWidgetItem* theWrappedObject) const; + void setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush); + void setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state); + void setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value); + void py_q_setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value){ (((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->py_q_setData(role, value));} + void setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QTableWidgetItem* theWrappedObject, const QFont& font); + void setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush); + void setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon); + void setSelected(QTableWidgetItem* theWrappedObject, bool select); + void setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size); + void setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip); + void setText(QTableWidgetItem* theWrappedObject, const QString& text); + void setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment); + void setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip); + void setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis); + QSize sizeHint(QTableWidgetItem* theWrappedObject) const; + QString statusTip(QTableWidgetItem* theWrappedObject) const; + QTableWidget* tableWidget(QTableWidgetItem* theWrappedObject) const; + QString text(QTableWidgetItem* theWrappedObject) const; + int textAlignment(QTableWidgetItem* theWrappedObject) const; + QString toolTip(QTableWidgetItem* theWrappedObject) const; + int type(QTableWidgetItem* theWrappedObject) const; + QString whatsThis(QTableWidgetItem* theWrappedObject) const; + void write(QTableWidgetItem* theWrappedObject, QDataStream& out) const; + void py_q_write(QTableWidgetItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QTableWidgetItem*)theWrappedObject)->py_q_write(out));} +}; + + + + + +class PythonQtWrapper_QTableWidgetSelectionRange : public QObject +{ Q_OBJECT +public: +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; } + int bottomRow(QTableWidgetSelectionRange* theWrappedObject) const; + int columnCount(QTableWidgetSelectionRange* theWrappedObject) const; + int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const; + QTableWidgetSelectionRange* operator_assign(QTableWidgetSelectionRange* theWrappedObject, const QTableWidgetSelectionRange& other); + int rightColumn(QTableWidgetSelectionRange* theWrappedObject) const; + int rowCount(QTableWidgetSelectionRange* theWrappedObject) const; + int topRow(QTableWidgetSelectionRange* theWrappedObject) const; +}; + + + + + +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(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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTabletEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PointerType TabletDevice ) +enum PointerType{ + UnknownPointer = QTabletEvent::UnknownPointer, Pen = QTabletEvent::Pen, Cursor = QTabletEvent::Cursor, Eraser = QTabletEvent::Eraser}; +enum TabletDevice{ + NoDevice = QTabletEvent::NoDevice, Puck = QTabletEvent::Puck, Stylus = QTabletEvent::Stylus, Airbrush = QTabletEvent::Airbrush, FourDMouse = QTabletEvent::FourDMouse, XFreeEraser = QTabletEvent::XFreeEraser, RotationStylus = QTabletEvent::RotationStylus}; +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; } + Qt::MouseButton button(QTabletEvent* theWrappedObject) const; + Qt::MouseButtons buttons(QTabletEvent* theWrappedObject) const; + QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const; + QTabletEvent::TabletDevice deviceType(QTabletEvent* theWrappedObject) const; + QPoint globalPos(QTabletEvent* theWrappedObject) const; + const QPointF* globalPosF(QTabletEvent* theWrappedObject) const; + int globalX(QTabletEvent* theWrappedObject) const; + int globalY(QTabletEvent* theWrappedObject) const; + qreal hiResGlobalX(QTabletEvent* theWrappedObject) const; + qreal hiResGlobalY(QTabletEvent* theWrappedObject) const; + QTabletEvent::PointerType pointerType(QTabletEvent* theWrappedObject) const; + QPoint pos(QTabletEvent* theWrappedObject) const; + const QPointF* posF(QTabletEvent* theWrappedObject) const; + qreal pressure(QTabletEvent* theWrappedObject) const; + qreal rotation(QTabletEvent* theWrappedObject) const; + qreal tangentialPressure(QTabletEvent* theWrappedObject) const; + qint64 uniqueId(QTabletEvent* theWrappedObject) const; + int x(QTabletEvent* theWrappedObject) const; + int xTilt(QTabletEvent* theWrappedObject) const; + int y(QTabletEvent* theWrappedObject) const; + int yTilt(QTabletEvent* theWrappedObject) const; + int z(QTabletEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTapAndHoldGesture : public QTapAndHoldGesture +{ +public: + PythonQtShell_QTapAndHoldGesture(QObject* parent = nullptr):QTapAndHoldGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTapAndHoldGesture() 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_QTapAndHoldGesture : public QObject +{ Q_OBJECT +public: +public slots: +QTapAndHoldGesture* new_QTapAndHoldGesture(QObject* parent = nullptr); +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); + int static_QTapAndHoldGesture_timeout(); +}; + + + + + +class PythonQtShell_QTapGesture : public QTapGesture +{ +public: + PythonQtShell_QTapGesture(QObject* parent = nullptr):QTapGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTapGesture() 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_QTapGesture : public QObject +{ Q_OBJECT +public: +public slots: +QTapGesture* new_QTapGesture(QObject* parent = nullptr); +void delete_QTapGesture(QTapGesture* obj) { delete obj; } + QPointF position(QTapGesture* theWrappedObject) const; + void setPosition(QTapGesture* theWrappedObject, const QPointF& pos); +}; + + + + + +class PythonQtWrapper_QTextBlock : public QObject +{ Q_OBJECT +public: +public slots: +QTextBlock* new_QTextBlock(); +QTextBlock* new_QTextBlock(const QTextBlock& o); +void delete_QTextBlock(QTextBlock* obj) { delete obj; } + QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; + QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; + int blockFormatIndex(QTextBlock* theWrappedObject) const; + int blockNumber(QTextBlock* theWrappedObject) const; + QTextCharFormat charFormat(QTextBlock* theWrappedObject) const; + int charFormatIndex(QTextBlock* theWrappedObject) const; + void clearLayout(QTextBlock* theWrappedObject); + bool contains(QTextBlock* theWrappedObject, int position) const; + const QTextDocument* document(QTextBlock* theWrappedObject) const; + QTextBlock::iterator end(QTextBlock* theWrappedObject) const; + int firstLineNumber(QTextBlock* theWrappedObject) const; + int fragmentIndex(QTextBlock* theWrappedObject) const; + bool isValid(QTextBlock* theWrappedObject) const; + bool isVisible(QTextBlock* theWrappedObject) const; + QTextLayout* layout(QTextBlock* theWrappedObject) const; + int length(QTextBlock* theWrappedObject) const; + int lineCount(QTextBlock* theWrappedObject) const; + QTextBlock next(QTextBlock* theWrappedObject) const; + bool __ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const; + bool __lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const; + bool __eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const; + int position(QTextBlock* theWrappedObject) const; + QTextBlock previous(QTextBlock* theWrappedObject) const; + int revision(QTextBlock* theWrappedObject) const; + void setLineCount(QTextBlock* theWrappedObject, int count); + void setRevision(QTextBlock* theWrappedObject, int rev); + void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data); + void setUserState(QTextBlock* theWrappedObject, int state); + void setVisible(QTextBlock* theWrappedObject, bool visible); + QString text(QTextBlock* theWrappedObject) const; + Qt::LayoutDirection textDirection(QTextBlock* theWrappedObject) const; + QVector textFormats(QTextBlock* theWrappedObject) const; + QTextList* textList(QTextBlock* theWrappedObject) const; + QTextBlockUserData* userData(QTextBlock* theWrappedObject) const; + int userState(QTextBlock* theWrappedObject) const; + bool __nonzero__(QTextBlock* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextBlockFormat : public QTextBlockFormat +{ +public: + PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextBlockFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextBlockFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LineHeightTypes MarkerType ) +enum LineHeightTypes{ + SingleHeight = QTextBlockFormat::SingleHeight, ProportionalHeight = QTextBlockFormat::ProportionalHeight, FixedHeight = QTextBlockFormat::FixedHeight, MinimumHeight = QTextBlockFormat::MinimumHeight, LineDistanceHeight = QTextBlockFormat::LineDistanceHeight}; +enum class MarkerType{ + NoMarker = static_cast(QTextBlockFormat::MarkerType::NoMarker), Unchecked = static_cast(QTextBlockFormat::MarkerType::Unchecked), Checked = static_cast(QTextBlockFormat::MarkerType::Checked)}; +public slots: +QTextBlockFormat* new_QTextBlockFormat(); +QTextBlockFormat* new_QTextBlockFormat(const QTextFormat& fmt); +QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) { +PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat(); +*((QTextBlockFormat*)a) = other; +return a; } +void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } + Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; + qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; + int headingLevel(QTextBlockFormat* theWrappedObject) const; + int indent(QTextBlockFormat* theWrappedObject) const; + bool isValid(QTextBlockFormat* theWrappedObject) const; + qreal leftMargin(QTextBlockFormat* theWrappedObject) const; + qreal lineHeight(QTextBlockFormat* theWrappedObject) const; + qreal lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const; + int lineHeightType(QTextBlockFormat* theWrappedObject) const; + QTextBlockFormat::MarkerType marker(QTextBlockFormat* theWrappedObject) const; + bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const; + QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const; + qreal rightMargin(QTextBlockFormat* theWrappedObject) const; + void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment); + void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin); + void setHeadingLevel(QTextBlockFormat* theWrappedObject, int alevel); + void setIndent(QTextBlockFormat* theWrappedObject, int indent); + void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin); + void setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType); + void setMarker(QTextBlockFormat* theWrappedObject, QTextBlockFormat::MarkerType marker); + void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b); + void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); + void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin); + void setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs); + void setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent); + void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin); + QList tabPositions(QTextBlockFormat* theWrappedObject) const; + qreal textIndent(QTextBlockFormat* theWrappedObject) const; + qreal topMargin(QTextBlockFormat* theWrappedObject) const; + bool __nonzero__(QTextBlockFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextBlockGroup : public QTextBlockGroup +{ +public: + PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextBlockGroup() 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 PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup +{ public: +inline void promoted_blockFormatChanged(const QTextBlock& block) { this->blockFormatChanged(block); } +inline void promoted_blockInserted(const QTextBlock& block) { this->blockInserted(block); } +inline QList promoted_blockList() const { return this->blockList(); } +inline void promoted_blockRemoved(const QTextBlock& block) { this->blockRemoved(block); } +inline void py_q_blockFormatChanged(const QTextBlock& block) { QTextBlockGroup::blockFormatChanged(block); } +inline void py_q_blockInserted(const QTextBlock& block) { QTextBlockGroup::blockInserted(block); } +inline void py_q_blockRemoved(const QTextBlock& block) { QTextBlockGroup::blockRemoved(block); } +}; + +class PythonQtWrapper_QTextBlockGroup : public QObject +{ Q_OBJECT +public: +public slots: +QTextBlockGroup* new_QTextBlockGroup(QTextDocument* doc); + void blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block); + void py_q_blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block){ (((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->py_q_blockFormatChanged(block));} + void blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block); + void py_q_blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block){ (((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->py_q_blockInserted(block));} + QList blockList(QTextBlockGroup* theWrappedObject) const; + void blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block); + void py_q_blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block){ (((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->py_q_blockRemoved(block));} +}; + + + + + +class PythonQtShell_QTextBlockUserData : public QTextBlockUserData +{ +public: + PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextBlockUserData() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextBlockUserData : public QObject +{ Q_OBJECT +public: +public slots: +QTextBlockUserData* new_QTextBlockUserData(); +void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QTextBrowser : public QTextBrowser +{ +public: + 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 +{ public: +inline void promoted_doSetSource(const QUrl& name, QTextDocument::ResourceType type = QTextDocument::UnknownResource) { this->doSetSource(name, type); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* ev) { this->focusOutEvent(ev); } +inline void promoted_keyPressEvent(QKeyEvent* ev) { this->keyPressEvent(ev); } +inline void promoted_mouseMoveEvent(QMouseEvent* ev) { this->mouseMoveEvent(ev); } +inline void promoted_mousePressEvent(QMouseEvent* ev) { this->mousePressEvent(ev); } +inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { this->mouseReleaseEvent(ev); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void py_q_backward() { QTextBrowser::backward(); } +inline bool py_q_event(QEvent* e) { return QTextBrowser::event(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); } +inline void py_q_forward() { QTextBrowser::forward(); } +inline void py_q_home() { QTextBrowser::home(); } +inline void py_q_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); } +inline void py_q_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); } +inline void py_q_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); } +inline void py_q_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); } +inline void py_q_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); } +inline void py_q_reload() { QTextBrowser::reload(); } +inline void py_q_setSource(const QUrl& name) { QTextBrowser::setSource(name); } +}; + +class PythonQtWrapper_QTextBrowser : public QObject +{ Q_OBJECT +public: +public slots: +QTextBrowser* new_QTextBrowser(QWidget* parent = nullptr); +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); + void doSetSource(QTextBrowser* theWrappedObject, const QUrl& name, QTextDocument::ResourceType type = QTextDocument::UnknownResource); + bool py_q_event(QTextBrowser* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_event(e));} + bool py_q_focusNextPrevChild(QTextBrowser* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_focusOutEvent(ev));} + void py_q_forward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_forward());} + int forwardHistoryCount(QTextBrowser* theWrappedObject) const; + QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const; + QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const; + void py_q_home(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_home());} + bool isBackwardAvailable(QTextBrowser* theWrappedObject) const; + bool isForwardAvailable(QTextBrowser* theWrappedObject) const; + void py_q_keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_keyPressEvent(ev));} + QVariant py_q_loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_loadResource(type, name));} + void py_q_mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mouseMoveEvent(ev));} + void py_q_mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mousePressEvent(ev));} + void py_q_mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mouseReleaseEvent(ev));} + bool openExternalLinks(QTextBrowser* theWrappedObject) const; + bool openLinks(QTextBrowser* theWrappedObject) const; + void py_q_paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_paintEvent(e));} + void py_q_reload(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_reload());} + QStringList searchPaths(QTextBrowser* theWrappedObject) const; + void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open); + void setOpenLinks(QTextBrowser* theWrappedObject, bool open); + void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths); + void py_q_setSource(QTextBrowser* theWrappedObject, const QUrl& name){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_setSource(name));} + QUrl source(QTextBrowser* theWrappedObject) const; + QTextDocument::ResourceType sourceType(QTextBrowser* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextCharFormat : public QTextCharFormat +{ +public: + PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextCharFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextCharFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontPropertiesInheritanceBehavior UnderlineStyle VerticalAlignment ) +enum FontPropertiesInheritanceBehavior{ + FontPropertiesSpecifiedOnly = QTextCharFormat::FontPropertiesSpecifiedOnly, FontPropertiesAll = QTextCharFormat::FontPropertiesAll}; +enum UnderlineStyle{ + NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline}; +enum VerticalAlignment{ + AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom, AlignBaseline = QTextCharFormat::AlignBaseline}; +public slots: +QTextCharFormat* new_QTextCharFormat(); +QTextCharFormat* new_QTextCharFormat(const QTextFormat& fmt); +QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { +PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); +*((QTextCharFormat*)a) = other; +return a; } +void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } + QString anchorHref(QTextCharFormat* theWrappedObject) const; + QStringList anchorNames(QTextCharFormat* theWrappedObject) const; + QFont font(QTextCharFormat* theWrappedObject) const; + QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; + QVariant fontFamilies(QTextCharFormat* theWrappedObject) const; + QString fontFamily(QTextCharFormat* theWrappedObject) const; + bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; + QFont::HintingPreference fontHintingPreference(QTextCharFormat* theWrappedObject) const; + bool fontItalic(QTextCharFormat* theWrappedObject) const; + bool fontKerning(QTextCharFormat* theWrappedObject) const; + qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; + QFont::SpacingType fontLetterSpacingType(QTextCharFormat* theWrappedObject) const; + bool fontOverline(QTextCharFormat* theWrappedObject) const; + qreal fontPointSize(QTextCharFormat* theWrappedObject) const; + int fontStretch(QTextCharFormat* theWrappedObject) const; + bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; + QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const; + QVariant fontStyleName(QTextCharFormat* theWrappedObject) const; + QFont::StyleStrategy fontStyleStrategy(QTextCharFormat* theWrappedObject) const; + bool fontUnderline(QTextCharFormat* theWrappedObject) const; + int fontWeight(QTextCharFormat* theWrappedObject) const; + qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const; + bool isAnchor(QTextCharFormat* theWrappedObject) const; + bool isValid(QTextCharFormat* theWrappedObject) const; + void setAnchor(QTextCharFormat* theWrappedObject, bool anchor); + void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value); + void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names); + void setFont(QTextCharFormat* theWrappedObject, const QFont& font); + void setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior); + void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization); + void setFontFamilies(QTextCharFormat* theWrappedObject, const QStringList& families); + void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family); + void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch); + void setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference); + void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); + void setFontKerning(QTextCharFormat* theWrappedObject, bool enable); + void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); + void setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType); + void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); + void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); + void setFontStretch(QTextCharFormat* theWrappedObject, int factor); + void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); + void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); + void setFontStyleName(QTextCharFormat* theWrappedObject, const QString& styleName); + void setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy); + void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline); + void setFontWeight(QTextCharFormat* theWrappedObject, int weight); + void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing); + void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan); + void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan); + void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen); + void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip); + void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color); + void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style); + void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment); + int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const; + int tableCellRowSpan(QTextCharFormat* theWrappedObject) const; + QPen textOutline(QTextCharFormat* theWrappedObject) const; + QString toolTip(QTextCharFormat* theWrappedObject) const; + QColor underlineColor(QTextCharFormat* theWrappedObject) const; + QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const; + QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const; + bool __nonzero__(QTextCharFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextCursor : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MoveMode MoveOperation SelectionType ) +enum MoveMode{ + MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor}; +enum MoveOperation{ + NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow}; +enum SelectionType{ + WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document}; +public slots: +QTextCursor* new_QTextCursor(); +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; } + int anchor(QTextCursor* theWrappedObject) const; + bool atBlockEnd(QTextCursor* theWrappedObject) const; + bool atBlockStart(QTextCursor* theWrappedObject) const; + bool atEnd(QTextCursor* theWrappedObject) const; + bool atStart(QTextCursor* theWrappedObject) const; + void beginEditBlock(QTextCursor* theWrappedObject); + QTextBlock block(QTextCursor* theWrappedObject) const; + QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const; + QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const; + int blockNumber(QTextCursor* theWrappedObject) const; + QTextCharFormat charFormat(QTextCursor* theWrappedObject) const; + void clearSelection(QTextCursor* theWrappedObject); + int columnNumber(QTextCursor* theWrappedObject) const; + QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style); + QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format); + QTextFrame* currentFrame(QTextCursor* theWrappedObject) const; + QTextList* currentList(QTextCursor* theWrappedObject) const; + QTextTable* currentTable(QTextCursor* theWrappedObject) const; + void deleteChar(QTextCursor* theWrappedObject); + void deletePreviousChar(QTextCursor* theWrappedObject); + QTextDocument* document(QTextCursor* theWrappedObject) const; + void endEditBlock(QTextCursor* theWrappedObject); + bool hasComplexSelection(QTextCursor* theWrappedObject) const; + bool hasSelection(QTextCursor* theWrappedObject) const; + void insertBlock(QTextCursor* theWrappedObject); + void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format); + void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat); + void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment); + QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format); + void insertHtml(QTextCursor* theWrappedObject, const QString& html); + void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString()); + void insertImage(QTextCursor* theWrappedObject, const QString& name); + void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format); + void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment); + QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style); + QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format); + QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols); + QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format); + void insertText(QTextCursor* theWrappedObject, const QString& text); + void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format); + bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const; + bool isNull(QTextCursor* theWrappedObject) const; + void joinPreviousEditBlock(QTextCursor* theWrappedObject); + bool keepPositionOnInsert(QTextCursor* theWrappedObject) const; + void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); + void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier); + void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); + bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1); + bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + int position(QTextCursor* theWrappedObject) const; + int positionInBlock(QTextCursor* theWrappedObject) const; + void removeSelectedText(QTextCursor* theWrappedObject); + void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); + QString selectedText(QTextCursor* theWrappedObject) const; + QTextDocumentFragment selection(QTextCursor* theWrappedObject) const; + int selectionEnd(QTextCursor* theWrappedObject) const; + int selectionStart(QTextCursor* theWrappedObject) const; + void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); + void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format); + void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); + void setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b); + void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + void setVerticalMovementX(QTextCursor* theWrappedObject, int x); + void setVisualNavigation(QTextCursor* theWrappedObject, bool b); + void swap(QTextCursor* theWrappedObject, QTextCursor& other); + int verticalMovementX(QTextCursor* theWrappedObject) const; + bool visualNavigation(QTextCursor* theWrappedObject) const; + bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QTextDocument : public QTextDocument +{ +public: + PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextDocument() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextDocument : public QTextDocument +{ public: +inline QTextObject* promoted_createObject(const QTextFormat& f) { return this->createObject(f); } +inline QVariant promoted_loadResource(int type, const QUrl& name) { return this->loadResource(type, name); } +inline void py_q_clear() { QTextDocument::clear(); } +inline QTextObject* py_q_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); } +}; + +class PythonQtWrapper_QTextDocument : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FindFlag MarkdownFeature MetaInformation Stacks ) +Q_FLAGS(FindFlags MarkdownFeatures ) +enum FindFlag{ + FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; +enum MarkdownFeature{ + MarkdownNoHTML = QTextDocument::MarkdownNoHTML, MarkdownDialectCommonMark = QTextDocument::MarkdownDialectCommonMark, MarkdownDialectGitHub = QTextDocument::MarkdownDialectGitHub}; +enum MetaInformation{ + DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; +enum Stacks{ + UndoStack = QTextDocument::UndoStack, RedoStack = QTextDocument::RedoStack, UndoAndRedoStacks = QTextDocument::UndoAndRedoStacks}; +Q_DECLARE_FLAGS(FindFlags, FindFlag) +Q_DECLARE_FLAGS(MarkdownFeatures, MarkdownFeature) +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 addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource); + void adjustSize(QTextDocument* theWrappedObject); + QVector allFormats(QTextDocument* theWrappedObject) const; + int availableRedoSteps(QTextDocument* theWrappedObject) const; + int availableUndoSteps(QTextDocument* theWrappedObject) const; + QUrl baseUrl(QTextDocument* theWrappedObject) const; + QTextBlock begin(QTextDocument* theWrappedObject) const; + int blockCount(QTextDocument* theWrappedObject) const; + QChar characterAt(QTextDocument* theWrappedObject, int pos) const; + int characterCount(QTextDocument* theWrappedObject) const; + void clear(QTextDocument* theWrappedObject); + void py_q_clear(QTextDocument* theWrappedObject){ (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_clear());} + void clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear = QTextDocument::UndoAndRedoStacks); + QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = nullptr) const; + QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); + QTextObject* py_q_createObject(QTextDocument* theWrappedObject, const QTextFormat& f){ return (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_createObject(f));} + Qt::CursorMoveStyle defaultCursorMoveStyle(QTextDocument* theWrappedObject) const; + QFont defaultFont(QTextDocument* theWrappedObject) const; + QString defaultStyleSheet(QTextDocument* theWrappedObject) const; + QTextOption defaultTextOption(QTextDocument* theWrappedObject) const; + QAbstractTextDocumentLayout* documentLayout(QTextDocument* theWrappedObject) const; + qreal documentMargin(QTextDocument* theWrappedObject) const; + void drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect = QRectF()); + QTextBlock end(QTextDocument* theWrappedObject) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextBlock findBlock(QTextDocument* theWrappedObject, int pos) const; + QTextBlock findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const; + QTextBlock findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const; + QTextBlock firstBlock(QTextDocument* theWrappedObject) const; + QTextFrame* frameAt(QTextDocument* theWrappedObject, int pos) const; + qreal idealWidth(QTextDocument* theWrappedObject) const; + qreal indentWidth(QTextDocument* theWrappedObject) const; + bool isEmpty(QTextDocument* theWrappedObject) const; + bool isModified(QTextDocument* theWrappedObject) const; + bool isRedoAvailable(QTextDocument* theWrappedObject) const; + bool isUndoAvailable(QTextDocument* theWrappedObject) const; + bool isUndoRedoEnabled(QTextDocument* theWrappedObject) const; + QTextBlock lastBlock(QTextDocument* theWrappedObject) const; + int lineCount(QTextDocument* theWrappedObject) const; + QVariant loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name); + QVariant py_q_loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_loadResource(type, name));} + void markContentsDirty(QTextDocument* theWrappedObject, int from, int length); + int maximumBlockCount(QTextDocument* theWrappedObject) const; + QString metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const; + QTextObject* object(QTextDocument* theWrappedObject, int objectIndex) const; + QTextObject* objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const; + int pageCount(QTextDocument* theWrappedObject) const; + QSizeF pageSize(QTextDocument* theWrappedObject) const; + void print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const; + void redo(QTextDocument* theWrappedObject, QTextCursor* cursor); + QVariant resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const; + int revision(QTextDocument* theWrappedObject) const; + QTextFrame* rootFrame(QTextDocument* theWrappedObject) const; + void setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url); + void setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style); + void setDefaultFont(QTextDocument* theWrappedObject, const QFont& font); + void setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet); + void setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option); + void setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout); + void setDocumentMargin(QTextDocument* theWrappedObject, qreal margin); + void setHtml(QTextDocument* theWrappedObject, const QString& html); + void setIndentWidth(QTextDocument* theWrappedObject, qreal width); + void setMarkdown(QTextDocument* theWrappedObject, const QString& markdown, QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub); + void setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum); + void setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2); + void setPageSize(QTextDocument* theWrappedObject, const QSizeF& size); + void setPlainText(QTextDocument* theWrappedObject, const QString& text); + void setTextWidth(QTextDocument* theWrappedObject, qreal width); + void setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable); + void setUseDesignMetrics(QTextDocument* theWrappedObject, bool b); + QSizeF size(QTextDocument* theWrappedObject) const; + qreal textWidth(QTextDocument* theWrappedObject) const; + QString toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding = QByteArray()) const; + QString toMarkdown(QTextDocument* theWrappedObject, QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub) const; + QString toPlainText(QTextDocument* theWrappedObject) const; + QString toRawText(QTextDocument* theWrappedObject) const; + void undo(QTextDocument* theWrappedObject, QTextCursor* cursor); + bool useDesignMetrics(QTextDocument* theWrappedObject) const; + bool __nonzero__(QTextDocument* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextDocumentFragment : public QObject +{ Q_OBJECT +public: +public slots: +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; } + QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); + QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); + QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); + bool isEmpty(QTextDocumentFragment* theWrappedObject) const; + QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding = QByteArray()) const; + QString toPlainText(QTextDocumentFragment* theWrappedObject) const; + bool __nonzero__(QTextDocumentFragment* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextDocumentWriter : public QObject +{ Q_OBJECT +public: +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; } + QTextCodec* codec(QTextDocumentWriter* theWrappedObject) const; + QIODevice* device(QTextDocumentWriter* theWrappedObject) const; + QString fileName(QTextDocumentWriter* theWrappedObject) const; + QByteArray format(QTextDocumentWriter* theWrappedObject) const; + void setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec); + void setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device); + void setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName); + void setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format); + QList static_QTextDocumentWriter_supportedDocumentFormats(); + bool write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document); + bool write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment); +}; + + + + + +class PythonQtShell_QTextEdit : public QTextEdit +{ +public: + 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 +{ public: +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } +inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void promoted_zoomInF(float range) { this->zoomInF(range); } +inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } +inline void py_q_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } +inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } +inline QMimeData* py_q_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } +inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QTextEdit::doSetTextCursor(cursor); } +inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } +inline bool py_q_event(QEvent* e) { return QTextEdit::event(e); } +inline void py_q_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } +inline void py_q_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } +inline void py_q_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } +inline void py_q_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } +inline void py_q_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } +inline void py_q_wheelEvent(QWheelEvent* e) { QTextEdit::wheelEvent(e); } +}; + +class PythonQtWrapper_QTextEdit : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AutoFormattingFlag ) +Q_FLAGS(AutoFormatting ) +enum AutoFormattingFlag{ + AutoNone = QTextEdit::AutoNone, AutoBulletList = QTextEdit::AutoBulletList, AutoAll = QTextEdit::AutoAll}; +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; } + bool acceptRichText(QTextEdit* theWrappedObject) const; + Qt::Alignment alignment(QTextEdit* theWrappedObject) const; + QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const; + QTextEdit::AutoFormatting autoFormatting(QTextEdit* theWrappedObject) const; + bool canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const; + bool py_q_canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} + bool canPaste(QTextEdit* theWrappedObject) const; + void py_q_changeEvent(QTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_changeEvent(e));} + void py_q_contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} + QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; + QMimeData* py_q_createMimeDataFromSelection(QTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} + QMenu* createStandardContextMenu(QTextEdit* theWrappedObject); + QMenu* createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position); + QTextCharFormat currentCharFormat(QTextEdit* theWrappedObject) const; + QFont currentFont(QTextEdit* theWrappedObject) const; + QTextCursor cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const; + QRect cursorRect(QTextEdit* theWrappedObject) const; + QRect cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const; + int cursorWidth(QTextEdit* theWrappedObject) const; + void doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); + void py_q_doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} + QTextDocument* document(QTextEdit* theWrappedObject) const; + QString documentTitle(QTextEdit* theWrappedObject) const; + void py_q_dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} + void py_q_dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dropEvent(e));} + void ensureCursorVisible(QTextEdit* theWrappedObject); + bool py_q_event(QTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_event(e));} + QList extraSelections(QTextEdit* theWrappedObject) const; + bool find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + void py_q_focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} + bool py_q_focusNextPrevChild(QTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} + QString fontFamily(QTextEdit* theWrappedObject) const; + bool fontItalic(QTextEdit* theWrappedObject) const; + qreal fontPointSize(QTextEdit* theWrappedObject) const; + bool fontUnderline(QTextEdit* theWrappedObject) const; + int fontWeight(QTextEdit* theWrappedObject) const; + void py_q_inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} + QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; + void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); + void py_q_insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} + bool isReadOnly(QTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; + void py_q_keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} + int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; + QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; + QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); + QVariant py_q_loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} + void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void py_q_mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} + void py_q_mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QTextEdit* theWrappedObject) const; + void py_q_paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_paintEvent(e));} + QString placeholderText(QTextEdit* theWrappedObject) const; + void print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; + void py_q_resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} + void py_q_scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setAcceptRichText(QTextEdit* theWrappedObject, bool accept); + void setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features); + void setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format); + void setCursorWidth(QTextEdit* theWrappedObject, int width); + void setDocument(QTextEdit* theWrappedObject, QTextDocument* document); + void setDocumentTitle(QTextEdit* theWrappedObject, const QString& title); + void setExtraSelections(QTextEdit* theWrappedObject, const QList& selections); + void setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w); + void setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode); + void setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite); + void setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText); + void setReadOnly(QTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); + void setTabStopDistance(QTextEdit* theWrappedObject, qreal distance); + void setTabStopWidth(QTextEdit* theWrappedObject, int width); + void setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); + void setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); + void setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable); + void setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy); + void py_q_showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} + bool tabChangesFocus(QTextEdit* theWrappedObject) const; + qreal tabStopDistance(QTextEdit* theWrappedObject) const; + int tabStopWidth(QTextEdit* theWrappedObject) const; + QColor textBackgroundColor(QTextEdit* theWrappedObject) const; + QColor textColor(QTextEdit* theWrappedObject) const; + QTextCursor textCursor(QTextEdit* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QTextEdit* theWrappedObject) const; + void py_q_timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_timerEvent(e));} + QString toHtml(QTextEdit* theWrappedObject) const; + QString toMarkdown(QTextEdit* theWrappedObject, QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub) const; + QString toPlainText(QTextEdit* theWrappedObject) const; + void py_q_wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} + QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; + void zoomInF(QTextEdit* theWrappedObject, float range); +}; + + + + + +class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection +{ +public: + PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextEdit__ExtraSelection(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject +{ Q_OBJECT +public: +public slots: +QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(); +QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(const QTextEdit::ExtraSelection& other) { +PythonQtShell_QTextEdit__ExtraSelection* a = new PythonQtShell_QTextEdit__ExtraSelection(); +*((QTextEdit::ExtraSelection*)a) = other; +return a; } +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; } +QTextCharFormat py_get_format(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->format; } +}; + + + + + +class PythonQtWrapper_QTextFragment : public QObject +{ Q_OBJECT +public: +public slots: +QTextFragment* new_QTextFragment(); +QTextFragment* new_QTextFragment(const QTextFragment& o); +void delete_QTextFragment(QTextFragment* obj) { delete obj; } + QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; + int charFormatIndex(QTextFragment* theWrappedObject) const; + bool contains(QTextFragment* theWrappedObject, int position) const; + QList glyphRuns(QTextFragment* theWrappedObject, int from = -1, int length = -1) const; + bool isValid(QTextFragment* theWrappedObject) const; + int length(QTextFragment* theWrappedObject) const; + bool __ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const; + bool __lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const; + bool __eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const; + int position(QTextFragment* theWrappedObject) const; + QString text(QTextFragment* theWrappedObject) const; + bool __nonzero__(QTextFragment* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextFrame : public QTextFrame +{ +public: + PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextFrame() 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_QTextFrame : public QObject +{ Q_OBJECT +public: +public slots: +QTextFrame* new_QTextFrame(QTextDocument* doc); +void delete_QTextFrame(QTextFrame* obj) { delete obj; } + QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; + QList childFrames(QTextFrame* theWrappedObject) const; + QTextFrame::iterator end(QTextFrame* theWrappedObject) const; + QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const; + int firstPosition(QTextFrame* theWrappedObject) const; + QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const; + QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const; + int lastPosition(QTextFrame* theWrappedObject) const; + QTextFrame* parentFrame(QTextFrame* theWrappedObject) const; + void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format); +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp new file mode 100644 index 00000000..7d2a4628 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -0,0 +1,14823 @@ +#include "com_trolltech_qt_gui11.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() +{ +return new PythonQtShell_QTextFrameFormat(); } + +QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextFrameFormat(fmt); } + +qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->border()); +} + +QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->borderBrush()); +} + +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->borderStyle()); +} + +qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomMargin()); +} + +QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftMargin()); +} + +qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->margin()); +} + +qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->padding()); +} + +QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->pageBreakPolicy()); +} + +QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightMargin()); +} + +void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border) +{ + ( theWrappedObject->setBorder(border)); +} + +void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBorderBrush(brush)); +} + +void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setBorderStyle(style)); +} + +void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setBottomMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) +{ + ( theWrappedObject->setHeight(height)); +} + +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) +{ + ( theWrappedObject->setHeight(height)); +} + +void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setLeftMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setPadding(padding)); +} + +void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +{ + ( theWrappedObject->setPageBreakPolicy(flags)); +} + +void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) +{ + ( theWrappedObject->setPosition(f)); +} + +void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setRightMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setTopMargin(margin)); +} + +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) +{ + ( theWrappedObject->setWidth(length)); +} + +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); +} + +qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->topMargin()); +} + +QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() +{ +return new PythonQtShell_QTextImageFormat(); } + +QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat(const QTextFormat& format) +{ +return new PythonQtShell_QTextImageFormat(format); } + +qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +int PythonQtWrapper_QTextImageFormat::quality(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) +{ + ( theWrappedObject->setHeight(height)); +} + +void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QTextImageFormat::setQuality(QTextImageFormat* theWrappedObject, int quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); +} + +qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() +{ +return new QTextInlineObject(); } + +qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->formatIndex()); +} + +qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) +{ + ( theWrappedObject->setAscent(a)); +} + +void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) +{ + ( theWrappedObject->setDescent(d)); +} + +void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) +{ + ( theWrappedObject->setWidth(w)); +} + +Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->textPosition()); +} + +qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() +{ +return new PythonQtShell_QTextItem(); } + +qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->renderFlags()); +} + +QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout() +{ +return new QTextLayout(); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text) +{ +return new QTextLayout(text); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice) +{ +return new QTextLayout(text, font, paintdevice); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QTextBlock& b) +{ +return new QTextLayout(b); } + +QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->additionalFormats()); +} + +void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->beginLayout()); +} + +QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->cacheEnabled()); +} + +void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->clearAdditionalFormats()); +} + +void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->clearFormats()); +} + +void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->clearLayout()); +} + +QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) +{ + return ( theWrappedObject->createLine()); +} + +Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->cursorMoveStyle()); +} + +void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const +{ + ( theWrappedObject->draw(p, pos, selections, clip)); +} + +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const +{ + ( theWrappedObject->drawCursor(p, pos, cursorPosition)); +} + +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const +{ + ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); +} + +void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->endLayout()); +} + +QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->formats()); +} + +QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const +{ + return ( theWrappedObject->glyphRuns(from, length)); +} + +bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const +{ + return ( theWrappedObject->isValidCursorPosition(pos)); +} + +int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +{ + return ( theWrappedObject->leftCursorPosition(oldPos)); +} + +QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const +{ + return ( theWrappedObject->lineAt(i)); +} + +int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->lineCount()); +} + +QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const +{ + return ( theWrappedObject->lineForTextPosition(pos)); +} + +qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); +} + +qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); +} + +int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const +{ + return ( theWrappedObject->nextCursorPosition(oldPos, mode)); +} + +QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->preeditAreaPosition()); +} + +QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->preeditAreaText()); +} + +int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const +{ + return ( theWrappedObject->previousCursorPosition(oldPos, mode)); +} + +int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +{ + return ( theWrappedObject->rightCursorPosition(oldPos)); +} + +void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) +{ + ( theWrappedObject->setAdditionalFormats(overrides)); +} + +void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCacheEnabled(enable)); +} + +void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) +{ + ( theWrappedObject->setCursorMoveStyle(style)); +} + +void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) +{ + ( theWrappedObject->setFont(f)); +} + +void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) +{ + ( theWrappedObject->setFormats(overrides)); +} + +void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setPosition(p)); +} + +void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) +{ + ( theWrappedObject->setPreeditArea(position, text)); +} + +void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) +{ + ( theWrappedObject->setRawFont(rawFont)); +} + +void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) +{ + ( theWrappedObject->setText(string)); +} + +void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) +{ + ( theWrappedObject->setTextOption(option)); +} + +QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const +{ + return &( theWrappedObject->textOption()); +} + + + +PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextLayout::FormatRange* PythonQtWrapper_QTextLayout__FormatRange::new_QTextLayout__FormatRange() +{ +return new PythonQtShell_QTextLayout__FormatRange(); } + + + +QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() +{ +return new QTextLine(); } + +qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const +{ + return ( theWrappedObject->cursorToX(cursorPos, edge)); +} + +qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const +{ + ( theWrappedObject->draw(p, point, selection)); +} + +QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const +{ + return ( theWrappedObject->glyphRuns(from, length)); +} + +qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->horizontalAdvance()); +} + +bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->leading()); +} + +bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->leadingIncluded()); +} + +int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->naturalTextRect()); +} + +qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->naturalTextWidth()); +} + +QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) +{ + ( theWrappedObject->setLeadingIncluded(included)); +} + +void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) +{ + ( theWrappedObject->setLineWidth(width)); +} + +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) +{ + ( theWrappedObject->setNumColumns(columns)); +} + +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) +{ + ( theWrappedObject->setNumColumns(columns, alignmentWidth)); +} + +void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPosition(pos)); +} + +int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->textLength()); +} + +int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->textStart()); +} + +qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const +{ + return ( theWrappedObject->xToCursor(x, arg__2)); +} + +qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +PythonQtShell_QTextList::~PythonQtShell_QTextList() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockFormatChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextList::blockFormatChanged(block0); +} +void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextList::blockInserted(block0); +} +void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextList::blockRemoved(block0); +} +void PythonQtShell_QTextList::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(); + } + } +} + QTextList::childEvent(event0); +} +void PythonQtShell_QTextList::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(); + } + } +} + QTextList::customEvent(event0); +} +bool PythonQtShell_QTextList::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 QTextList::event(event0); +} +bool PythonQtShell_QTextList::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 QTextList::eventFilter(watched0, event1); +} +void PythonQtShell_QTextList::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(); + } + } +} + QTextList::timerEvent(event0); +} +QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) +{ +return new PythonQtShell_QTextList(doc); } + +const QMetaObject* PythonQtShell_QTextList::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextList::staticMetaObject); + } else { + return &QTextList::staticMetaObject; + } +} +int PythonQtShell_QTextList::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextList::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) +{ + ( theWrappedObject->add(block)); +} + +int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const +{ + return ( theWrappedObject->item(i)); +} + +int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const +{ + return ( theWrappedObject->itemNumber(arg__1)); +} + +QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const +{ + return ( theWrappedObject->itemText(arg__1)); +} + +void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) +{ + ( theWrappedObject->remove(arg__1)); +} + +void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) +{ + ( theWrappedObject->removeItem(i)); +} + +void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + + + +PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() +{ +return new PythonQtShell_QTextListFormat(); } + +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextListFormat(fmt); } + +int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->numberPrefix()); +} + +QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->numberSuffix()); +} + +void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) +{ + ( theWrappedObject->setIndent(indent)); +} + +void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) +{ + ( theWrappedObject->setNumberPrefix(numberPrefix)); +} + +void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) +{ + ( theWrappedObject->setNumberSuffix(numberSuffix)); +} + +void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) +{ + ( theWrappedObject->setStyle(style)); +} + +QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + + + +PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextObject::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(); + } + } +} + QTextObject::childEvent(event0); +} +void PythonQtShell_QTextObject::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(); + } + } +} + QTextObject::customEvent(event0); +} +bool PythonQtShell_QTextObject::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 QTextObject::event(event0); +} +bool PythonQtShell_QTextObject::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 QTextObject::eventFilter(watched0, event1); +} +void PythonQtShell_QTextObject::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(); + } + } +} + QTextObject::timerEvent(event0); +} +QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) +{ +return new PythonQtShell_QTextObject(doc); } + +const QMetaObject* PythonQtShell_QTextObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextObject::staticMetaObject); + } else { + return &QTextObject::staticMetaObject; + } +} +int PythonQtShell_QTextObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->formatIndex()); +} + +int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->objectIndex()); +} + +void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) +{ + ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); +} + + + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() +{ +return new QTextOption(); } + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) +{ +return new QTextOption(alignment); } + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) +{ +return new QTextOption(o); } + +Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) +{ + ( theWrappedObject->setTabArray(tabStops)); +} + +void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) +{ + ( theWrappedObject->setTabStop(tabStop)); +} + +void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) +{ + ( theWrappedObject->setTabStopDistance(tabStopDistance)); +} + +void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) +{ + ( theWrappedObject->setTabs(tabStops)); +} + +void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) +{ + ( theWrappedObject->setTextDirection(aDirection)); +} + +void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) +{ + ( theWrappedObject->setUseDesignMetrics(b)); +} + +void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) +{ + ( theWrappedObject->setWrapMode(wrap)); +} + +QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabArray()); +} + +qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabStop()); +} + +qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabStopDistance()); +} + +QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabs()); +} + +Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->useDesignMetrics()); +} + +QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->wrapMode()); +} + + + +PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab() +{ +return new PythonQtShell_QTextOption__Tab(); } + +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) +{ +return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } + +bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +{ + return ( (*theWrappedObject)== other); +} + + + +PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextTable::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(); + } + } +} + QTextTable::childEvent(event0); +} +void PythonQtShell_QTextTable::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(); + } + } +} + QTextTable::customEvent(event0); +} +bool PythonQtShell_QTextTable::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 QTextTable::event(event0); +} +bool PythonQtShell_QTextTable::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 QTextTable::eventFilter(watched0, event1); +} +void PythonQtShell_QTextTable::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(); + } + } +} + QTextTable::timerEvent(event0); +} +QTextTable* PythonQtWrapper_QTextTable::new_QTextTable(QTextDocument* doc) +{ +return new PythonQtShell_QTextTable(doc); } + +const QMetaObject* PythonQtShell_QTextTable::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextTable::staticMetaObject); + } else { + return &QTextTable::staticMetaObject; + } +} +int PythonQtShell_QTextTable::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextTable::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) +{ + ( theWrappedObject->appendColumns(count)); +} + +void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) +{ + ( theWrappedObject->appendRows(count)); +} + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const +{ + return ( theWrappedObject->cellAt(c)); +} + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const +{ + return ( theWrappedObject->cellAt(position)); +} + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const +{ + return ( theWrappedObject->cellAt(row, col)); +} + +int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const +{ + return ( theWrappedObject->columns()); +} + +QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->insertColumns(pos, num)); +} + +void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->insertRows(pos, num)); +} + +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->mergeCells(cursor)); +} + +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) +{ + ( theWrappedObject->mergeCells(row, col, numRows, numCols)); +} + +void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->removeColumns(pos, num)); +} + +void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->removeRows(pos, num)); +} + +void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) +{ + ( theWrappedObject->resize(rows, cols)); +} + +QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const +{ + return ( theWrappedObject->rowEnd(c)); +} + +QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const +{ + return ( theWrappedObject->rowStart(c)); +} + +int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const +{ + return ( theWrappedObject->rows()); +} + +void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) +{ + ( theWrappedObject->splitCell(row, col, numRows, numCols)); +} + + + +QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() +{ +return new QTextTableCell(); } + +QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) +{ +return new QTextTableCell(o); } + +QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->columnSpan()); +} + +QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->firstCursorPosition()); +} + +int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->firstPosition()); +} + +QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->lastCursorPosition()); +} + +int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->lastPosition()); +} + +bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->rowSpan()); +} + +void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->tableCellFormatIndex()); +} + + + +PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() +{ +return new PythonQtShell_QTextTableCellFormat(); } + +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextTableCellFormat(fmt); } + +qreal PythonQtWrapper_QTextTableCellFormat::bottomBorder(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomBorder()); +} + +QBrush PythonQtWrapper_QTextTableCellFormat::bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomBorderBrush()); +} + +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomBorderStyle()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomPadding()); +} + +bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::leftBorder(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftBorder()); +} + +QBrush PythonQtWrapper_QTextTableCellFormat::leftBorderBrush(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftBorderBrush()); +} + +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::leftBorderStyle(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftBorderStyle()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftPadding()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::rightBorder(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightBorder()); +} + +QBrush PythonQtWrapper_QTextTableCellFormat::rightBorderBrush(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightBorderBrush()); +} + +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::rightBorderStyle(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightBorderStyle()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightPadding()); +} + +void PythonQtWrapper_QTextTableCellFormat::setBorder(QTextTableCellFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setBorder(width)); +} + +void PythonQtWrapper_QTextTableCellFormat::setBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBorderBrush(brush)); +} + +void PythonQtWrapper_QTextTableCellFormat::setBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setBorderStyle(style)); +} + +void PythonQtWrapper_QTextTableCellFormat::setBottomBorder(QTextTableCellFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setBottomBorder(width)); +} + +void PythonQtWrapper_QTextTableCellFormat::setBottomBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBottomBorderBrush(brush)); +} + +void PythonQtWrapper_QTextTableCellFormat::setBottomBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setBottomBorderStyle(style)); +} + +void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setBottomPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setLeftBorder(QTextTableCellFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setLeftBorder(width)); +} + +void PythonQtWrapper_QTextTableCellFormat::setLeftBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setLeftBorderBrush(brush)); +} + +void PythonQtWrapper_QTextTableCellFormat::setLeftBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setLeftBorderStyle(style)); +} + +void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setLeftPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setRightBorder(QTextTableCellFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setRightBorder(width)); +} + +void PythonQtWrapper_QTextTableCellFormat::setRightBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setRightBorderBrush(brush)); +} + +void PythonQtWrapper_QTextTableCellFormat::setRightBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setRightBorderStyle(style)); +} + +void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setRightPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setTopBorder(QTextTableCellFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setTopBorder(width)); +} + +void PythonQtWrapper_QTextTableCellFormat::setTopBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setTopBorderBrush(brush)); +} + +void PythonQtWrapper_QTextTableCellFormat::setTopBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setTopBorderStyle(style)); +} + +void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setTopPadding(padding)); +} + +qreal PythonQtWrapper_QTextTableCellFormat::topBorder(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->topBorder()); +} + +QBrush PythonQtWrapper_QTextTableCellFormat::topBorderBrush(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->topBorderBrush()); +} + +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::topBorderStyle(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->topBorderStyle()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->topPadding()); +} + + + +PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() +{ +return new PythonQtShell_QTextTableFormat(); } + +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextTableFormat(fmt); } + +Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +bool PythonQtWrapper_QTextTableFormat::borderCollapse(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->borderCollapse()); +} + +qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->cellPadding()); +} + +qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->cellSpacing()); +} + +void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) +{ + ( theWrappedObject->clearColumnWidthConstraints()); +} + +QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->columnWidthConstraints()); +} + +int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->columns()); +} + +int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->headerRowCount()); +} + +bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QTextTableFormat::setBorderCollapse(QTextTableFormat* theWrappedObject, bool borderCollapse) +{ + ( theWrappedObject->setBorderCollapse(borderCollapse)); +} + +void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setCellPadding(padding)); +} + +void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setCellSpacing(spacing)); +} + +void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) +{ + ( theWrappedObject->setColumnWidthConstraints(constraints)); +} + +void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumns(columns)); +} + +void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) +{ + ( theWrappedObject->setHeaderRowCount(count)); +} + + + +PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) +{ +return new PythonQtShell_QTileRules(horizontalRule, verticalRule); } + +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule rule) +{ +return new PythonQtShell_QTileRules(rule); } + + + +PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTimeEdit::actionEvent(event0); +} +void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QTimeEdit::changeEvent(event0); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::childEvent(event0); +} +void PythonQtShell_QTimeEdit::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QTimeEdit::clear(); +} +void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTimeEdit::closeEvent(event0); +} +void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QTimeEdit::contextMenuEvent(event0); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::customEvent(event0); +} +QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dateTimeFromText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::dateTimeFromText(text0); +} +int PythonQtShell_QTimeEdit::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 QTimeEdit::devType(); +} +void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTimeEdit::dragEnterEvent(event0); +} +void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTimeEdit::dragLeaveEvent(event0); +} +void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTimeEdit::dragMoveEvent(event0); +} +void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTimeEdit::dropEvent(event0); +} +void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTimeEdit::enterEvent(event0); +} +bool PythonQtShell_QTimeEdit::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 QTimeEdit::event(event0); +} +bool PythonQtShell_QTimeEdit::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 QTimeEdit::eventFilter(watched0, event1); +} +void PythonQtShell_QTimeEdit::fixup(QString& input0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeEdit::fixup(input0); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::focusInEvent(event0); +} +bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::focusOutEvent(event0); +} +bool PythonQtShell_QTimeEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::hasHeightForWidth(); +} +int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::heightForWidth(arg__1); +} +void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeEdit::hideEvent(event0); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::initPainter(painter0); +} +void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::keyPressEvent(event0); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::keyReleaseEvent(event0); +} +void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTimeEdit::leaveEvent(event0); +} +int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::metric(arg__1); +} +QSize PythonQtShell_QTimeEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::minimumSizeHint(); +} +void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTimeEdit::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTimeEdit::mouseMoveEvent(event0); +} +void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTimeEdit::mousePressEvent(event0); +} +void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTimeEdit::mouseReleaseEvent(event0); +} +void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTimeEdit::moveEvent(event0); +} +bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::paintEngine(); +} +void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QTimeEdit::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QTimeEdit::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 QTimeEdit::redirected(offset0); +} +void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QTimeEdit::resizeEvent(event0); +} +void PythonQtShell_QTimeEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeEdit::setVisible(visible0); +} +QPainter* PythonQtShell_QTimeEdit::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 QTimeEdit::sharedPainter(); +} +void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QTimeEdit::showEvent(event0); +} +QSize PythonQtShell_QTimeEdit::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::sizeHint(); +} +void PythonQtShell_QTimeEdit::stepBy(int steps0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepBy"); + 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*)&steps0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeEdit::stepBy(steps0); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::stepEnabled(); +} +void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTimeEdit::tabletEvent(event0); +} +QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textFromDateTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::textFromDateTime(dt0); +} +void PythonQtShell_QTimeEdit::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(); + } + } +} + QTimeEdit::timerEvent(event0); +} +QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeEdit::validate(input0, pos1); +} +void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QTimeEdit::wheelEvent(event0); +} +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(QWidget* parent) +{ +return new PythonQtShell_QTimeEdit(parent); } + +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(const QTime& time, QWidget* parent) +{ +return new PythonQtShell_QTimeEdit(time, parent); } + +const QMetaObject* PythonQtShell_QTimeEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeEdit::staticMetaObject); + } else { + return &QTimeEdit::staticMetaObject; + } +} +int PythonQtShell_QTimeEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTimeEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QToolBar::actionEvent(event0); +} +void PythonQtShell_QToolBar::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QToolBar::changeEvent(event0); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::childEvent(event0); +} +void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QToolBar::closeEvent(event0); +} +void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QToolBar::contextMenuEvent(event0); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::customEvent(event0); +} +int PythonQtShell_QToolBar::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 QToolBar::devType(); +} +void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QToolBar::dragEnterEvent(event0); +} +void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QToolBar::dragLeaveEvent(event0); +} +void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QToolBar::dragMoveEvent(event0); +} +void PythonQtShell_QToolBar::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QToolBar::dropEvent(event0); +} +void PythonQtShell_QToolBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QToolBar::enterEvent(event0); +} +bool PythonQtShell_QToolBar::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 QToolBar::event(event0); +} +bool PythonQtShell_QToolBar::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 QToolBar::eventFilter(watched0, event1); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::focusInEvent(event0); +} +bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::focusNextPrevChild(next0); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::focusOutEvent(event0); +} +bool PythonQtShell_QToolBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::hasHeightForWidth(); +} +int PythonQtShell_QToolBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::heightForWidth(arg__1); +} +void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::hideEvent(event0); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::initPainter(painter0); +} +void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::keyPressEvent(event0); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::keyReleaseEvent(event0); +} +void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QToolBar::leaveEvent(event0); +} +int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::metric(arg__1); +} +QSize PythonQtShell_QToolBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::minimumSizeHint(); +} +void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBar::mouseMoveEvent(event0); +} +void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBar::mousePressEvent(event0); +} +void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBar::mouseReleaseEvent(event0); +} +void PythonQtShell_QToolBar::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QToolBar::moveEvent(event0); +} +bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QToolBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::paintEngine(); +} +void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QToolBar::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QToolBar::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 QToolBar::redirected(offset0); +} +void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QToolBar::resizeEvent(event0); +} +void PythonQtShell_QToolBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::setVisible(visible0); +} +QPainter* PythonQtShell_QToolBar::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 QToolBar::sharedPainter(); +} +void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QToolBar::showEvent(event0); +} +QSize PythonQtShell_QToolBar::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::sizeHint(); +} +void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QToolBar::tabletEvent(event0); +} +void PythonQtShell_QToolBar::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(); + } + } +} + QToolBar::timerEvent(event0); +} +void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QToolBar::wheelEvent(event0); +} +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(QWidget* parent) +{ +return new PythonQtShell_QToolBar(parent); } + +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QToolBar(title, parent); } + +const QMetaObject* PythonQtShell_QToolBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBar::staticMetaObject); + } else { + return &QToolBar::staticMetaObject; + } +} +int PythonQtShell_QToolBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->actionAt(p)); +} + +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->actionAt(x, y)); +} + +QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const +{ + return ( theWrappedObject->actionGeometry(action)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addAction(icon, text)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member) +{ + return ( theWrappedObject->addAction(icon, text, receiver, member)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +{ + return ( theWrappedObject->addAction(text, receiver, member)); +} + +QAction* PythonQtWrapper_QToolBar::addSeparator(QToolBar* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); +} + +QAction* PythonQtWrapper_QToolBar::addWidget(QToolBar* theWrappedObject, QWidget* widget) +{ + return ( theWrappedObject->addWidget(widget)); +} + +Qt::ToolBarAreas PythonQtWrapper_QToolBar::allowedAreas(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->allowedAreas()); +} + +void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QToolBar::initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const +{ + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); +} + +QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) +{ + return ( theWrappedObject->insertWidget(before, widget)); +} + +bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const +{ + return ( theWrappedObject->isAreaAllowed(area)); +} + +bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->isFloatable()); +} + +bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->isFloating()); +} + +bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QToolBar::setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas) +{ + ( theWrappedObject->setAllowedAreas(areas)); +} + +void PythonQtWrapper_QToolBar::setFloatable(QToolBar* theWrappedObject, bool floatable) +{ + ( theWrappedObject->setFloatable(floatable)); +} + +void PythonQtWrapper_QToolBar::setMovable(QToolBar* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QToolBar::setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +QAction* PythonQtWrapper_QToolBar::toggleViewAction(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->toggleViewAction()); +} + +Qt::ToolButtonStyle PythonQtWrapper_QToolBar::toolButtonStyle(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); +} + +QWidget* PythonQtWrapper_QToolBar::widgetForAction(QToolBar* theWrappedObject, QAction* action) const +{ + return ( theWrappedObject->widgetForAction(action)); +} + + + +QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) +{ +return new QToolBarChangeEvent(t); } + +bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->toggle()); +} + + + +PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QToolBox::actionEvent(event0); +} +void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::changeEvent(arg__1); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::childEvent(event0); +} +void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QToolBox::closeEvent(event0); +} +void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QToolBox::contextMenuEvent(event0); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::customEvent(event0); +} +int PythonQtShell_QToolBox::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 QToolBox::devType(); +} +void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QToolBox::dragEnterEvent(event0); +} +void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QToolBox::dragLeaveEvent(event0); +} +void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QToolBox::dragMoveEvent(event0); +} +void PythonQtShell_QToolBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QToolBox::dropEvent(event0); +} +void PythonQtShell_QToolBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QToolBox::enterEvent(event0); +} +bool PythonQtShell_QToolBox::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 QToolBox::event(e0); +} +bool PythonQtShell_QToolBox::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 QToolBox::eventFilter(watched0, event1); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::focusInEvent(event0); +} +bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::focusNextPrevChild(next0); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::focusOutEvent(event0); +} +bool PythonQtShell_QToolBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::hasHeightForWidth(); +} +int PythonQtShell_QToolBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::heightForWidth(arg__1); +} +void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::hideEvent(event0); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::initPainter(painter0); +} +void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QToolBox::itemInserted(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemInserted"); + 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(); + } + } +} + QToolBox::itemInserted(index0); +} +void PythonQtShell_QToolBox::itemRemoved(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemRemoved"); + 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(); + } + } +} + QToolBox::itemRemoved(index0); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::keyPressEvent(event0); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::keyReleaseEvent(event0); +} +void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QToolBox::leaveEvent(event0); +} +int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::metric(arg__1); +} +QSize PythonQtShell_QToolBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::minimumSizeHint(); +} +void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBox::mouseMoveEvent(event0); +} +void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBox::mousePressEvent(event0); +} +void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QToolBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QToolBox::moveEvent(event0); +} +bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QToolBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::paintEngine(); +} +void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QToolBox::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 QToolBox::redirected(offset0); +} +void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QToolBox::resizeEvent(event0); +} +void PythonQtShell_QToolBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::setVisible(visible0); +} +QPainter* PythonQtShell_QToolBox::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 QToolBox::sharedPainter(); +} +void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QToolBox::showEvent(e0); +} +QSize PythonQtShell_QToolBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::sizeHint(); +} +void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QToolBox::tabletEvent(event0); +} +void PythonQtShell_QToolBox::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(); + } + } +} + QToolBox::timerEvent(event0); +} +void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QToolBox::wheelEvent(event0); +} +QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QToolBox(parent, f); } + +const QMetaObject* PythonQtShell_QToolBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBox::staticMetaObject); + } else { + return &QToolBox::staticMetaObject; + } +} +int PythonQtShell_QToolBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addItem(widget, icon, text)); +} + +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) +{ + return ( theWrappedObject->addItem(widget, text)); +} + +int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->indexOf(widget)); +} + +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertItem(index, widget, icon, text)); +} + +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) +{ + return ( theWrappedObject->insertItem(index, widget, text)); +} + +bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->isItemEnabled(index)); +} + +QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemIcon(index)); +} + +void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); +} + +void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); +} + +QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemText(index)); +} + +QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemToolTip(index)); +} + +void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) +{ + ( theWrappedObject->removeItem(index)); +} + +void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) +{ + ( theWrappedObject->setItemEnabled(index, enabled)); +} + +void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setItemIcon(index, icon)); +} + +void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setItemText(index, text)); +} + +void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) +{ + ( theWrappedObject->setItemToolTip(index, toolTip)); +} + +QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->widget(index)); +} + + + +PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::actionEvent(arg__1); +} +void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::changeEvent(arg__1); +} +void PythonQtShell_QToolButton::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("checkStateSet"); + 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(); + } + } +} + QToolButton::checkStateSet(); +} +void PythonQtShell_QToolButton::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(); + } + } +} + QToolButton::childEvent(event0); +} +void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QToolButton::closeEvent(event0); +} +void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QToolButton::contextMenuEvent(event0); +} +void PythonQtShell_QToolButton::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(); + } + } +} + QToolButton::customEvent(event0); +} +int PythonQtShell_QToolButton::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 QToolButton::devType(); +} +void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QToolButton::dragEnterEvent(event0); +} +void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QToolButton::dragLeaveEvent(event0); +} +void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QToolButton::dragMoveEvent(event0); +} +void PythonQtShell_QToolButton::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QToolButton::dropEvent(event0); +} +void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::enterEvent(arg__1); +} +bool PythonQtShell_QToolButton::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 QToolButton::event(e0); +} +bool PythonQtShell_QToolButton::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 QToolButton::eventFilter(watched0, event1); +} +void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::focusInEvent(e0); +} +bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::focusNextPrevChild(next0); +} +void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::focusOutEvent(e0); +} +bool PythonQtShell_QToolButton::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::hasHeightForWidth(); +} +int PythonQtShell_QToolButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::heightForWidth(arg__1); +} +void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::hideEvent(event0); +} +bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::hitButton(pos0); +} +void PythonQtShell_QToolButton::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(); + } + } +} + QToolButton::initPainter(painter0); +} +void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::keyPressEvent(e0); +} +void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::keyReleaseEvent(e0); +} +void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::leaveEvent(arg__1); +} +int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::metric(arg__1); +} +QSize PythonQtShell_QToolButton::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::minimumSizeHint(); +} +void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolButton::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QToolButton::mouseMoveEvent(e0); +} +void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::mousePressEvent(arg__1); +} +void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QToolButton::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QToolButton::moveEvent(event0); +} +bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QToolButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + 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(); + } + } +} + QToolButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QToolButton::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::paintEngine(); +} +void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QToolButton::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 QToolButton::redirected(offset0); +} +void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QToolButton::resizeEvent(event0); +} +void PythonQtShell_QToolButton::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::setVisible(visible0); +} +QPainter* PythonQtShell_QToolButton::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 QToolButton::sharedPainter(); +} +void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QToolButton::showEvent(event0); +} +QSize PythonQtShell_QToolButton::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::sizeHint(); +} +void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QToolButton::tabletEvent(event0); +} +void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::timerEvent(arg__1); +} +void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QToolButton::wheelEvent(event0); +} +QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) +{ +return new PythonQtShell_QToolButton(parent); } + +const QMetaObject* PythonQtShell_QToolButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolButton::staticMetaObject); + } else { + return &QToolButton::staticMetaObject; + } +} +int PythonQtShell_QToolButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->arrowType()); +} + +bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRaise()); +} + +QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); +} + +void PythonQtWrapper_QToolButton::initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QSize PythonQtWrapper_QToolButton::minimumSizeHint(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QToolButton::ToolButtonPopupMode PythonQtWrapper_QToolButton::popupMode(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->popupMode()); +} + +void PythonQtWrapper_QToolButton::setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type) +{ + ( theWrappedObject->setArrowType(type)); +} + +void PythonQtWrapper_QToolButton::setAutoRaise(QToolButton* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAutoRaise(enable)); +} + +void PythonQtWrapper_QToolButton::setMenu(QToolButton* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); +} + +void PythonQtWrapper_QToolButton::setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode) +{ + ( theWrappedObject->setPopupMode(mode)); +} + +QSize PythonQtWrapper_QToolButton::sizeHint(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); +} + + + +QFont PythonQtWrapper_QToolTip::static_QToolTip_font() +{ + return (QToolTip::font()); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_hideText() +{ + (QToolTip::hideText()); +} + +bool PythonQtWrapper_QToolTip::static_QToolTip_isVisible() +{ + return (QToolTip::isVisible()); +} + +QPalette PythonQtWrapper_QToolTip::static_QToolTip_palette() +{ + return (QToolTip::palette()); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_setFont(const QFont& arg__1) +{ + (QToolTip::setFont(arg__1)); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_setPalette(const QPalette& arg__1) +{ + (QToolTip::setPalette(arg__1)); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w) +{ + (QToolTip::showText(pos, text, w)); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect) +{ + (QToolTip::showText(pos, text, w, rect)); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime) +{ + (QToolTip::showText(pos, text, w, rect, msecShowTime)); +} + +QString PythonQtWrapper_QToolTip::static_QToolTip_text() +{ + return (QToolTip::text()); +} + + + +QTouchDevice* PythonQtWrapper_QTouchDevice::new_QTouchDevice() +{ +return new QTouchDevice(); } + +QTouchDevice::Capabilities PythonQtWrapper_QTouchDevice::capabilities(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); +} + +QList PythonQtWrapper_QTouchDevice::static_QTouchDevice_devices() +{ + return (QTouchDevice::devices()); +} + +int PythonQtWrapper_QTouchDevice::maximumTouchPoints(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->maximumTouchPoints()); +} + +QString PythonQtWrapper_QTouchDevice::name(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QTouchDevice::setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps) +{ + ( theWrappedObject->setCapabilities(caps)); +} + +void PythonQtWrapper_QTouchDevice::setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max) +{ + ( theWrappedObject->setMaximumTouchPoints(max)); +} + +void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) +{ + ( theWrappedObject->setType(devType)); +} + +QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QTouchEvent::~PythonQtShell_QTouchEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTouchEvent* PythonQtWrapper_QTouchEvent::new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device, Qt::KeyboardModifiers modifiers, Qt::TouchPointStates touchPointStates, const QList& touchPoints) +{ +return new PythonQtShell_QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints); } + +QTouchDevice* PythonQtWrapper_QTouchEvent::device(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) +{ + ( theWrappedObject->setDevice(adevice)); +} + +void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) +{ + ( theWrappedObject->setTarget(atarget)); +} + +void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) +{ + ( theWrappedObject->setTouchPointStates(aTouchPointStates)); +} + +void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) +{ + ( theWrappedObject->setTouchPoints(atouchPoints)); +} + +void PythonQtWrapper_QTouchEvent::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) +{ + ( theWrappedObject->setWindow(awindow)); +} + +QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->touchPointStates()); +} + +const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const +{ + return &( theWrappedObject->touchPoints()); +} + +QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + + + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& other) +{ +return new QTouchEvent::TouchPoint(other); } + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(int id) +{ +return new QTouchEvent::TouchPoint(id); } + +QSizeF PythonQtWrapper_QTouchEvent__TouchPoint::ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->ellipseDiameters()); +} + +QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastNormalizedPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->normalizedPos()); +} + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) +{ + return &( (*theWrappedObject)= other); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pressure()); +} + +QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rawScreenPositions()); +} + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::rotation(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenRect()); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia) +{ + ( theWrappedObject->setEllipseDiameters(dia)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) +{ + ( theWrappedObject->setId(id)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) +{ + ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) +{ + ( theWrappedObject->setLastPos(lastPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) +{ + ( theWrappedObject->setLastScenePos(lastScenePos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) +{ + ( theWrappedObject->setLastScreenPos(lastScreenPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) +{ + ( theWrappedObject->setNormalizedPos(normalizedPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) +{ + ( theWrappedObject->setPressure(pressure)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) +{ + ( theWrappedObject->setRawScreenPositions(positions)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setRotation(angle)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) +{ + ( theWrappedObject->setScenePos(scenePos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) +{ + ( theWrappedObject->setSceneRect(sceneRect)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) +{ + ( theWrappedObject->setScreenPos(screenPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) +{ + ( theWrappedObject->setScreenRect(screenRect)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) +{ + ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) +{ + ( theWrappedObject->setStartPos(startPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) +{ + ( theWrappedObject->setStartScenePos(startScenePos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) +{ + ( theWrappedObject->setStartScreenPos(startScreenPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) +{ + ( theWrappedObject->setState(state)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid) +{ + ( theWrappedObject->setUniqueId(uid)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) +{ + ( theWrappedObject->setVelocity(v)); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startNormalizedPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScenePos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScreenPos()); +} + +Qt::TouchPointState PythonQtWrapper_QTouchEvent__TouchPoint::state(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other) +{ + ( theWrappedObject->swap(other)); +} + +QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->velocity()); +} + +QString PythonQtWrapper_QTouchEvent__TouchPoint::py_toString(QTouchEvent::TouchPoint* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QTransposeProxyModel::~PythonQtShell_QTransposeProxyModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QTransposeProxyModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::buddy(index0); +} +bool PythonQtShell_QTransposeProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QTransposeProxyModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::canFetchMore(parent0); +} +void PythonQtShell_QTransposeProxyModel::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(); + } + } +} + QTransposeProxyModel::childEvent(event0); +} +int PythonQtShell_QTransposeProxyModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::columnCount(parent0); +} +void PythonQtShell_QTransposeProxyModel::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(); + } + } +} + QTransposeProxyModel::customEvent(event0); +} +QVariant PythonQtShell_QTransposeProxyModel::data(const QModelIndex& proxyIndex0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::data(proxyIndex0, role1); +} +bool PythonQtShell_QTransposeProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QTransposeProxyModel::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 QTransposeProxyModel::event(event0); +} +bool PythonQtShell_QTransposeProxyModel::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 QTransposeProxyModel::eventFilter(watched0, event1); +} +void PythonQtShell_QTransposeProxyModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTransposeProxyModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QTransposeProxyModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::flags(index0); +} +bool PythonQtShell_QTransposeProxyModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::hasChildren(parent0); +} +QVariant PythonQtShell_QTransposeProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QTransposeProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::index(row0, column1, parent2); +} +bool PythonQtShell_QTransposeProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QTransposeProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QTransposeProxyModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::itemData(index0); +} +QModelIndex PythonQtShell_QTransposeProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::mapFromSource(sourceIndex0); +} +QItemSelection PythonQtShell_QTransposeProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::mapSelectionFromSource(selection0); +} +QItemSelection PythonQtShell_QTransposeProxyModel::mapSelectionToSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::mapSelectionToSource(selection0); +} +QModelIndex PythonQtShell_QTransposeProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::mapToSource(proxyIndex0); +} +QList PythonQtShell_QTransposeProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QTransposeProxyModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::mimeData(indexes0); +} +QStringList PythonQtShell_QTransposeProxyModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::mimeTypes(); +} +bool PythonQtShell_QTransposeProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QTransposeProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QTransposeProxyModel::parent(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::parent(index0); +} +bool PythonQtShell_QTransposeProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QTransposeProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QTransposeProxyModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QTransposeProxyModel::revert(); +} +QHash PythonQtShell_QTransposeProxyModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::roleNames(); +} +int PythonQtShell_QTransposeProxyModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::rowCount(parent0); +} +bool PythonQtShell_QTransposeProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::setData(index0, value1, role2); +} +bool PythonQtShell_QTransposeProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QTransposeProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::setItemData(index0, roles1); +} +void PythonQtShell_QTransposeProxyModel::setSourceModel(QAbstractItemModel* newSourceModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSourceModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&newSourceModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTransposeProxyModel::setSourceModel(newSourceModel0); +} +QModelIndex PythonQtShell_QTransposeProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QTransposeProxyModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTransposeProxyModel::sort(column0, order1); +} +QSize PythonQtShell_QTransposeProxyModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::span(index0); +} +bool PythonQtShell_QTransposeProxyModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::submit(); +} +Qt::DropActions PythonQtShell_QTransposeProxyModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QTransposeProxyModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTransposeProxyModel::supportedDropActions(); +} +void PythonQtShell_QTransposeProxyModel::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(); + } + } +} + QTransposeProxyModel::timerEvent(event0); +} +QTransposeProxyModel* PythonQtWrapper_QTransposeProxyModel::new_QTransposeProxyModel(QObject* parent) +{ +return new PythonQtShell_QTransposeProxyModel(parent); } + +const QMetaObject* PythonQtShell_QTransposeProxyModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTransposeProxyModel::staticMetaObject); + } else { + return &QTransposeProxyModel::staticMetaObject; + } +} +int PythonQtShell_QTransposeProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTransposeProxyModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTreeView::actionEvent(event0); +} +void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::changeEvent(arg__1); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::childEvent(event0); +} +void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::closeEditor(editor0, hint1); +} +void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTreeView::closeEvent(event0); +} +void PythonQtShell_QTreeView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::commitData(editor0); +} +void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::contextMenuEvent(arg__1); +} +void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::currentChanged(current0, previous1); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::customEvent(event0); +} +void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QTreeView::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 QTreeView::devType(); +} +void PythonQtShell_QTreeView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QTreeView::doItemsLayout(); +} +void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTreeView::dragEnterEvent(event0); +} +void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTreeView::dragLeaveEvent(event0); +} +void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTreeView::dragMoveEvent(event0); +} +void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawBranches"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::drawBranches(painter0, rect1, index2); +} +void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::drawRow(painter0, options1, index2); +} +void PythonQtShell_QTreeView::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTreeView::dropEvent(event0); +} +bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::edit(index0, trigger1, event2); +} +void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::editorDestroyed(editor0); +} +void PythonQtShell_QTreeView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTreeView::enterEvent(event0); +} +bool PythonQtShell_QTreeView::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 QTreeView::event(event0); +} +bool PythonQtShell_QTreeView::eventFilter(QObject* object0, 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*)&object0, (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 QTreeView::eventFilter(object0, event1); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::focusInEvent(event0); +} +bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::focusNextPrevChild(next0); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::focusOutEvent(event0); +} +bool PythonQtShell_QTreeView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::hasHeightForWidth(); +} +int PythonQtShell_QTreeView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::heightForWidth(arg__1); +} +void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::hideEvent(event0); +} +int PythonQtShell_QTreeView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::horizontalOffset(); +} +void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::indexAt(p0); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::initPainter(painter0); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QTreeView::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 QTreeView::inputMethodQuery(query0); +} +bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::isIndexHidden(index0); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::keyPressEvent(event0); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::keyReleaseEvent(event0); +} +void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::keyboardSearch(search0); +} +void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTreeView::leaveEvent(event0); +} +int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::metric(arg__1); +} +QSize PythonQtShell_QTreeView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::minimumSizeHint(); +} +void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeView::mouseMoveEvent(event0); +} +void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeView::mousePressEvent(event0); +} +void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeView::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTreeView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTreeView::moveEvent(event0); +} +bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTreeView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::paintEngine(); +} +void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QTreeView::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QTreeView::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 QTreeView::redirected(offset0); +} +void PythonQtShell_QTreeView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QTreeView::reset(); +} +void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QTreeView::resizeEvent(event0); +} +void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::scrollTo(index0, hint1); +} +void PythonQtShell_QTreeView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QTreeView::selectAll(); +} +QList PythonQtShell_QTreeView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::selectedIndexes(); +} +void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::selectionCommand(index0, event1); +} +void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setModel(model0); +} +void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QTreeView::setRootIndex(index0); +} +void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setSelection(rect0, command1); +} +void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QTreeView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setVisible(visible0); +} +void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTreeView::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 QTreeView::sharedPainter(); +} +void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QTreeView::showEvent(event0); +} +QSize PythonQtShell_QTreeView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::sizeHint(); +} +int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::sizeHintForColumn(column0); +} +int PythonQtShell_QTreeView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::sizeHintForRow(row0); +} +void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::startDrag(supportedActions0); +} +void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTreeView::tabletEvent(event0); +} +void PythonQtShell_QTreeView::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(); + } + } +} + QTreeView::timerEvent(event0); +} +void PythonQtShell_QTreeView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QTreeView::updateEditorData(); +} +void PythonQtShell_QTreeView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QTreeView::updateEditorGeometries(); +} +void PythonQtShell_QTreeView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QTreeView::updateGeometries(); +} +int PythonQtShell_QTreeView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::verticalOffset(); +} +void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::verticalScrollbarAction(action0); +} +void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::viewOptions(); +} +bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::viewportEvent(event0); +} +QSize PythonQtShell_QTreeView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::viewportSizeHint(); +} +QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::visualRect(index0); +} +QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::visualRegionForSelection(selection0); +} +void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::wheelEvent(arg__1); +} +QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) +{ +return new PythonQtShell_QTreeView(parent); } + +const QMetaObject* PythonQtShell_QTreeView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeView::staticMetaObject); + } else { + return &QTreeView::staticMetaObject; + } +} +int PythonQtShell_QTreeView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTreeView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QTreeView::allColumnsShowFocus(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->allColumnsShowFocus()); +} + +int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->autoExpandDelay()); +} + +int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const +{ + return ( theWrappedObject->columnAt(x)); +} + +int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnViewportPosition(column)); +} + +int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnWidth(column)); +} + +void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); +} + +void PythonQtWrapper_QTreeView::drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawRow(painter, options, index)); +} + +void PythonQtWrapper_QTreeView::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); +} + +bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->expandsOnDoubleClick()); +} + +QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->header()); +} + +int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->indentation()); +} + +QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexAbove(index)); +} + +QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexBelow(index)); +} + +int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); +} + +bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); +} + +bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->isColumnHidden(column)); +} + +bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isExpanded(index)); +} + +bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->isFirstColumnSpanned(row, parent)); +} + +bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isHeaderHidden()); +} + +bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->isRowHidden(row, parent)); +} + +bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->itemsExpandable()); +} + +void PythonQtWrapper_QTreeView::resetIndentation(QTreeView* theWrappedObject) +{ + ( theWrappedObject->resetIndentation()); +} + +bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->rootIsDecorated()); +} + +int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); +} + +void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAllColumnsShowFocus(enable)); +} + +void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAnimated(enable)); +} + +void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) +{ + ( theWrappedObject->setAutoExpandDelay(delay)); +} + +void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) +{ + ( theWrappedObject->setColumnHidden(column, hide)); +} + +void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) +{ + ( theWrappedObject->setColumnWidth(column, width)); +} + +void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) +{ + ( theWrappedObject->setExpanded(index, expand)); +} + +void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setExpandsOnDoubleClick(enable)); +} + +void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) +{ + ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); +} + +void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setHeader(header)); +} + +void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHeaderHidden(hide)); +} + +void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) +{ + ( theWrappedObject->setIndentation(i)); +} + +void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setItemsExpandable(enable)); +} + +void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) +{ + ( theWrappedObject->setRootIsDecorated(show)); +} + +void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) +{ + ( theWrappedObject->setRowHidden(row, parent, hide)); +} + +void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); +} + +void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) +{ + ( theWrappedObject->setTreePosition(logicalIndex)); +} + +void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) +{ + ( theWrappedObject->setUniformRowHeights(uniform)); +} + +void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->treePosition()); +} + +bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->uniformRowHeights()); +} + +bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QTreeWidget::actionEvent(event0); +} +void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::changeEvent(arg__1); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::childEvent(event0); +} +void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::closeEditor(editor0, hint1); +} +void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QTreeWidget::closeEvent(event0); +} +void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::commitData(editor0); +} +void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::currentChanged(current0, previous1); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::customEvent(event0); +} +void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QTreeWidget::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 QTreeWidget::devType(); +} +void PythonQtShell_QTreeWidget::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QTreeWidget::doItemsLayout(); +} +void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QTreeWidget::dragEnterEvent(event0); +} +void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QTreeWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QTreeWidget::dragMoveEvent(event0); +} +void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawBranches"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::drawBranches(painter0, rect1, index2); +} +void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::drawRow(painter0, options1, index2); +} +void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QTreeWidget::dropEvent(event0); +} +bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::dropMimeData(parent0, index1, data2, action3); +} +bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::edit(index0, trigger1, event2); +} +void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::editorDestroyed(editor0); +} +void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QTreeWidget::enterEvent(event0); +} +bool PythonQtShell_QTreeWidget::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 QTreeWidget::event(e0); +} +bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, 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*)&object0, (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 QTreeWidget::eventFilter(object0, event1); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::focusInEvent(event0); +} +bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::focusOutEvent(event0); +} +bool PythonQtShell_QTreeWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::hasHeightForWidth(); +} +int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::heightForWidth(arg__1); +} +void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::hideEvent(event0); +} +int PythonQtShell_QTreeWidget::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::horizontalOffset(); +} +void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::indexAt(p0); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::initPainter(painter0); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::inputMethodEvent(event0); +} +QVariant PythonQtShell_QTreeWidget::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 QTreeWidget::inputMethodQuery(query0); +} +bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::isIndexHidden(index0); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::keyPressEvent(event0); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::keyboardSearch(search0); +} +void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QTreeWidget::leaveEvent(event0); +} +int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::mimeData(items0); +} +QStringList PythonQtShell_QTreeWidget::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::mimeTypes(); +} +QSize PythonQtShell_QTreeWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::minimumSizeHint(); +} +void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeWidget::mousePressEvent(event0); +} +void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QTreeWidget::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QTreeWidget::moveEvent(event0); +} +bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::paintEngine(); +} +void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QTreeWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QTreeWidget::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 QTreeWidget::redirected(offset0); +} +void PythonQtShell_QTreeWidget::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QTreeWidget::reset(); +} +void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QTreeWidget::resizeEvent(event0); +} +void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::scrollTo(index0, hint1); +} +void PythonQtShell_QTreeWidget::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QTreeWidget::selectAll(); +} +QList PythonQtShell_QTreeWidget::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::selectedIndexes(); +} +void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::selectionCommand(index0, event1); +} +void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QTreeWidget::setRootIndex(index0); +} +void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setSelection(rect0, command1); +} +void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setSelectionModel(selectionModel0); +} +void PythonQtShell_QTreeWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setVisible(visible0); +} +void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTreeWidget::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 QTreeWidget::sharedPainter(); +} +void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QTreeWidget::showEvent(event0); +} +QSize PythonQtShell_QTreeWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::sizeHint(); +} +int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::sizeHintForColumn(column0); +} +int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::sizeHintForRow(row0); +} +void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::startDrag(supportedActions0); +} +Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::supportedDropActions(); +} +void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QTreeWidget::tabletEvent(event0); +} +void PythonQtShell_QTreeWidget::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(); + } + } +} + QTreeWidget::timerEvent(event0); +} +void PythonQtShell_QTreeWidget::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QTreeWidget::updateEditorData(); +} +void PythonQtShell_QTreeWidget::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QTreeWidget::updateEditorGeometries(); +} +void PythonQtShell_QTreeWidget::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QTreeWidget::updateGeometries(); +} +int PythonQtShell_QTreeWidget::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::verticalOffset(); +} +void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::verticalScrollbarAction(action0); +} +void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::viewOptions(); +} +bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::viewportEvent(event0); +} +QSize PythonQtShell_QTreeWidget::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::viewportSizeHint(); +} +QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::visualRect(index0); +} +QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::visualRegionForSelection(selection0); +} +void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::wheelEvent(arg__1); +} +QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) +{ +return new PythonQtShell_QTreeWidget(parent); } + +const QMetaObject* PythonQtShell_QTreeWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeWidget::staticMetaObject); + } else { + return &QTreeWidget::staticMetaObject; + } +} +int PythonQtShell_QTreeWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTreeWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->addTopLevelItems(items)); +} + +void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->closePersistentEditor(item, column)); +} + +int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentColumn()); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +bool PythonQtWrapper_QTreeWidget::dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_dropMimeData(parent, index, data, action)); +} + +void PythonQtWrapper_QTreeWidget::editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->editItem(item, column)); +} + +QList PythonQtWrapper_QTreeWidget::findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const +{ + return ( theWrappedObject->findItems(text, flags, column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::headerItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->headerItem()); +} + +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); +} + +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); +} + +int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const +{ + return ( theWrappedObject->indexOfTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertTopLevelItem(index, item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertTopLevelItems(index, items)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->invisibleRootItem()); +} + +bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->isFirstItemColumnSpanned(item)); +} + +bool PythonQtWrapper_QTreeWidget::isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item, column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->itemAbove(item)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->itemBelow(item)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +} + +QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( theWrappedObject->itemWidget(item, column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::mimeData(QTreeWidget* theWrappedObject, const QList items) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeData(items)); +} + +QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); +} + +void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->openPersistentEditor(item, column)); +} + +void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->removeItemWidget(item, column)); +} + +QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->setCurrentItem(item, column)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentItem(item, column, command)); +} + +void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) +{ + ( theWrappedObject->setFirstItemColumnSpanned(item, span)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setHeaderItem(item)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) +{ + ( theWrappedObject->setHeaderLabel(label)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setHeaderLabels(labels)); +} + +void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) +{ + ( theWrappedObject->setItemWidget(item, column, widget)); +} + +int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->sortColumn()); +} + +void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); +} + +Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) +{ + return ( theWrappedObject->takeTopLevelItem(index)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->topLevelItem(index)); +} + +int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->topLevelItemCount()); +} + +QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); +} + + + +PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QTreeWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTreeWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidgetItem::clone(); +} +QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidgetItem::data(column0, role1); +} +void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&in0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidgetItem::read(in0); +} +void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&column0, (void*)&role1, (void*)&value2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidgetItem::setData(column0, role1, value2); +} +void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&out0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidgetItem::write(out0); +} +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(treeview, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(treeview, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, int type) +{ +return new PythonQtShell_QTreeWidgetItem(treeview, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) +{ +return new PythonQtShell_QTreeWidgetItem(type); } + +void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child) +{ + ( theWrappedObject->addChild(child)); +} + +void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children) +{ + ( theWrappedObject->addChildren(children)); +} + +QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->background(column)); +} + +Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->checkState(column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const +{ + return ( theWrappedObject->child(index)); +} + +int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->childCount()); +} + +QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->childIndicatorPolicy()); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const +{ + return ( theWrappedObject->data(column, role)); +} + +void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); +} + +Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->font(column)); +} + +QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->foreground(column)); +} + +QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->icon(column)); +} + +int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const +{ + return ( theWrappedObject->indexOfChild(child)); +} + +void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) +{ + ( theWrappedObject->insertChild(index, child)); +} + +void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) +{ + ( theWrappedObject->insertChildren(index, children)); +} + +bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isDisabled()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isExpanded()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isFirstColumnSpanned()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) +{ + ( theWrappedObject->removeChild(child)); +} + +void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +{ + ( theWrappedObject->setBackground(column, brush)); +} + +void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(column, state)); +} + +void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) +{ + ( theWrappedObject->setChildIndicatorPolicy(policy)); +} + +void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) +{ + ( theWrappedObject->setData(column, role, value)); +} + +void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) +{ + ( theWrappedObject->setDisabled(disabled)); +} + +void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) +{ + ( theWrappedObject->setExpanded(expand)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) +{ + ( theWrappedObject->setFirstColumnSpanned(span)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) +{ + ( theWrappedObject->setFont(column, font)); +} + +void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +{ + ( theWrappedObject->setForeground(column, brush)); +} + +void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHidden(hide)); +} + +void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +{ + ( theWrappedObject->setIcon(column, icon)); +} + +void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) +{ + ( theWrappedObject->setSizeHint(column, size)); +} + +void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(column, statusTip)); +} + +void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) +{ + ( theWrappedObject->setText(column, text)); +} + +void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) +{ + ( theWrappedObject->setTextAlignment(column, alignment)); +} + +void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(column, toolTip)); +} + +void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(column, whatsThis)); +} + +QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->sizeHint(column)); +} + +void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortChildren(column, order)); +} + +QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->statusTip(column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) +{ + return ( theWrappedObject->takeChild(index)); +} + +PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) +{ + return ( theWrappedObject->takeChildren()); +} + +QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->text(column)); +} + +int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->textAlignment(column)); +} + +QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->toolTip(column)); +} + +QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->treeWidget()); +} + +int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->whatsThis(column)); +} + +void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.h new file mode 100644 index 00000000..72fe53f2 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui11.h @@ -0,0 +1,2125 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QTextFrameFormat : public QTextFrameFormat +{ +public: + PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextFrameFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextFrameFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BorderStyle Position ) +enum BorderStyle{ + BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset}; +enum Position{ + InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; +public slots: +QTextFrameFormat* new_QTextFrameFormat(); +QTextFrameFormat* new_QTextFrameFormat(const QTextFormat& fmt); +QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { +PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); +*((QTextFrameFormat*)a) = other; +return a; } +void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } + qreal border(QTextFrameFormat* theWrappedObject) const; + QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; + QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; + qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; + QTextLength height(QTextFrameFormat* theWrappedObject) const; + bool isValid(QTextFrameFormat* theWrappedObject) const; + qreal leftMargin(QTextFrameFormat* theWrappedObject) const; + qreal margin(QTextFrameFormat* theWrappedObject) const; + qreal padding(QTextFrameFormat* theWrappedObject) const; + QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; + QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; + qreal rightMargin(QTextFrameFormat* theWrappedObject) const; + void setBorder(QTextFrameFormat* theWrappedObject, qreal border); + void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); + void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); + void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); + void setHeight(QTextFrameFormat* theWrappedObject, qreal height); + void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); + void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); + void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); + void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); + void setWidth(QTextFrameFormat* theWrappedObject, qreal width); + qreal topMargin(QTextFrameFormat* theWrappedObject) const; + QTextLength width(QTextFrameFormat* theWrappedObject) const; + bool __nonzero__(QTextFrameFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextImageFormat : public QTextImageFormat +{ +public: + PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextImageFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextImageFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextImageFormat* new_QTextImageFormat(); +QTextImageFormat* new_QTextImageFormat(const QTextFormat& format); +QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { +PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); +*((QTextImageFormat*)a) = other; +return a; } +void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } + qreal height(QTextImageFormat* theWrappedObject) const; + bool isValid(QTextImageFormat* theWrappedObject) const; + QString name(QTextImageFormat* theWrappedObject) const; + int quality(QTextImageFormat* theWrappedObject) const; + void setHeight(QTextImageFormat* theWrappedObject, qreal height); + void setName(QTextImageFormat* theWrappedObject, const QString& name); + void setQuality(QTextImageFormat* theWrappedObject, int quality = 100); + void setWidth(QTextImageFormat* theWrappedObject, qreal width); + qreal width(QTextImageFormat* theWrappedObject) const; + bool __nonzero__(QTextImageFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextInlineObject : public QObject +{ Q_OBJECT +public: +public slots: +QTextInlineObject* new_QTextInlineObject(); +QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) { +QTextInlineObject* a = new QTextInlineObject(); +*((QTextInlineObject*)a) = other; +return a; } +void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } + qreal ascent(QTextInlineObject* theWrappedObject) const; + qreal descent(QTextInlineObject* theWrappedObject) const; + QTextFormat format(QTextInlineObject* theWrappedObject) const; + int formatIndex(QTextInlineObject* theWrappedObject) const; + qreal height(QTextInlineObject* theWrappedObject) const; + bool isValid(QTextInlineObject* theWrappedObject) const; + QRectF rect(QTextInlineObject* theWrappedObject) const; + void setAscent(QTextInlineObject* theWrappedObject, qreal a); + void setDescent(QTextInlineObject* theWrappedObject, qreal d); + void setWidth(QTextInlineObject* theWrappedObject, qreal w); + Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const; + int textPosition(QTextInlineObject* theWrappedObject) const; + qreal width(QTextInlineObject* theWrappedObject) const; + bool __nonzero__(QTextInlineObject* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextItem : public QTextItem +{ +public: + PythonQtShell_QTextItem():QTextItem(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextItem(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RenderFlag ) +Q_FLAGS(RenderFlags ) +enum RenderFlag{ + RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy}; +Q_DECLARE_FLAGS(RenderFlags, RenderFlag) +public slots: +QTextItem* new_QTextItem(); +void delete_QTextItem(QTextItem* obj) { delete obj; } + qreal ascent(QTextItem* theWrappedObject) const; + qreal descent(QTextItem* theWrappedObject) const; + QFont font(QTextItem* theWrappedObject) const; + QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const; + QString text(QTextItem* theWrappedObject) const; + qreal width(QTextItem* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTextLayout : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CursorMode ) +enum CursorMode{ + SkipCharacters = QTextLayout::SkipCharacters, SkipWords = QTextLayout::SkipWords}; +public slots: +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; } + QList additionalFormats(QTextLayout* theWrappedObject) const; + void beginLayout(QTextLayout* theWrappedObject); + QRectF boundingRect(QTextLayout* theWrappedObject) const; + bool cacheEnabled(QTextLayout* theWrappedObject) const; + void clearAdditionalFormats(QTextLayout* theWrappedObject); + void clearFormats(QTextLayout* theWrappedObject); + void clearLayout(QTextLayout* theWrappedObject); + QTextLine createLine(QTextLayout* theWrappedObject); + Qt::CursorMoveStyle cursorMoveStyle(QTextLayout* theWrappedObject) const; + void draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections = QVector(), const QRectF& clip = QRectF()) const; + void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const; + void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const; + void endLayout(QTextLayout* theWrappedObject); + QFont font(QTextLayout* theWrappedObject) const; + QVector formats(QTextLayout* theWrappedObject) const; + QList glyphRuns(QTextLayout* theWrappedObject, int from = -1, int length = -1) const; + bool isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const; + int leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; + QTextLine lineAt(QTextLayout* theWrappedObject, int i) const; + int lineCount(QTextLayout* theWrappedObject) const; + QTextLine lineForTextPosition(QTextLayout* theWrappedObject, int pos) const; + qreal maximumWidth(QTextLayout* theWrappedObject) const; + qreal minimumWidth(QTextLayout* theWrappedObject) const; + int nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; + QPointF position(QTextLayout* theWrappedObject) const; + int preeditAreaPosition(QTextLayout* theWrappedObject) const; + QString preeditAreaText(QTextLayout* theWrappedObject) const; + int previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; + int rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; + void setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides); + void setCacheEnabled(QTextLayout* theWrappedObject, bool enable); + void setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style); + void setFlags(QTextLayout* theWrappedObject, int flags); + void setFont(QTextLayout* theWrappedObject, const QFont& f); + void setFormats(QTextLayout* theWrappedObject, const QVector& overrides); + void setPosition(QTextLayout* theWrappedObject, const QPointF& p); + void setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text); + void setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont); + void setText(QTextLayout* theWrappedObject, const QString& string); + void setTextOption(QTextLayout* theWrappedObject, const QTextOption& option); + QString text(QTextLayout* theWrappedObject) const; + const QTextOption* textOption(QTextLayout* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextLayout__FormatRange : public QTextLayout::FormatRange +{ +public: + PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextLayout__FormatRange(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextLayout__FormatRange : public QObject +{ Q_OBJECT +public: +public slots: +QTextLayout::FormatRange* new_QTextLayout__FormatRange(); +QTextLayout::FormatRange* new_QTextLayout__FormatRange(const QTextLayout::FormatRange& other) { +PythonQtShell_QTextLayout__FormatRange* a = new PythonQtShell_QTextLayout__FormatRange(); +*((QTextLayout::FormatRange*)a) = other; +return a; } +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; } +int py_get_length(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->length; } +void py_set_start(QTextLayout::FormatRange* theWrappedObject, int start){ theWrappedObject->start = start; } +int py_get_start(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->start; } +}; + + + + + +class PythonQtWrapper_QTextLine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CursorPosition Edge ) +enum CursorPosition{ + CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter}; +enum Edge{ + Leading = QTextLine::Leading, Trailing = QTextLine::Trailing}; +public slots: +QTextLine* new_QTextLine(); +QTextLine* new_QTextLine(const QTextLine& other) { +QTextLine* a = new QTextLine(); +*((QTextLine*)a) = other; +return a; } +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; + void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = nullptr) const; + QList glyphRuns(QTextLine* theWrappedObject, int from = -1, int length = -1) const; + qreal height(QTextLine* theWrappedObject) const; + qreal horizontalAdvance(QTextLine* theWrappedObject) const; + bool isValid(QTextLine* theWrappedObject) const; + qreal leading(QTextLine* theWrappedObject) const; + bool leadingIncluded(QTextLine* theWrappedObject) const; + int lineNumber(QTextLine* theWrappedObject) const; + QRectF naturalTextRect(QTextLine* theWrappedObject) const; + qreal naturalTextWidth(QTextLine* theWrappedObject) const; + QPointF position(QTextLine* theWrappedObject) const; + QRectF rect(QTextLine* theWrappedObject) const; + void setLeadingIncluded(QTextLine* theWrappedObject, bool included); + void setLineWidth(QTextLine* theWrappedObject, qreal width); + void setNumColumns(QTextLine* theWrappedObject, int columns); + void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth); + void setPosition(QTextLine* theWrappedObject, const QPointF& pos); + int textLength(QTextLine* theWrappedObject) const; + int textStart(QTextLine* theWrappedObject) const; + qreal width(QTextLine* theWrappedObject) const; + qreal x(QTextLine* theWrappedObject) const; + int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const; + qreal y(QTextLine* theWrappedObject) const; + bool __nonzero__(QTextLine* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextList : public QTextList +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QTextList* new_QTextList(QTextDocument* doc); +void delete_QTextList(QTextList* obj) { delete obj; } + void add(QTextList* theWrappedObject, const QTextBlock& block); + int count(QTextList* theWrappedObject) const; + QTextListFormat format(QTextList* theWrappedObject) const; + QTextBlock item(QTextList* theWrappedObject, int i) const; + int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const; + QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const; + void remove(QTextList* theWrappedObject, const QTextBlock& arg__1); + void removeItem(QTextList* theWrappedObject, int i); + void setFormat(QTextList* theWrappedObject, const QTextListFormat& format); + bool __nonzero__(QTextList* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextListFormat : public QTextListFormat +{ +public: + PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextListFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextListFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Style ) +enum Style{ + ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListLowerRoman = QTextListFormat::ListLowerRoman, ListUpperRoman = QTextListFormat::ListUpperRoman, ListStyleUndefined = QTextListFormat::ListStyleUndefined}; +public slots: +QTextListFormat* new_QTextListFormat(); +QTextListFormat* new_QTextListFormat(const QTextFormat& fmt); +QTextListFormat* new_QTextListFormat(const QTextListFormat& other) { +PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat(); +*((QTextListFormat*)a) = other; +return a; } +void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } + int indent(QTextListFormat* theWrappedObject) const; + bool isValid(QTextListFormat* theWrappedObject) const; + QString numberPrefix(QTextListFormat* theWrappedObject) const; + QString numberSuffix(QTextListFormat* theWrappedObject) const; + void setIndent(QTextListFormat* theWrappedObject, int indent); + void setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix); + void setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix); + void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style); + QTextListFormat::Style style(QTextListFormat* theWrappedObject) const; + bool __nonzero__(QTextListFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextObject : public QTextObject +{ +public: + PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextObject() 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_QTextObject : public QTextObject +{ public: +inline void promoted_setFormat(const QTextFormat& format) { this->setFormat(format); } +}; + +class PythonQtWrapper_QTextObject : public QObject +{ Q_OBJECT +public: +public slots: +QTextObject* new_QTextObject(QTextDocument* doc); + QTextDocument* document(QTextObject* theWrappedObject) const; + QTextFormat format(QTextObject* theWrappedObject) const; + int formatIndex(QTextObject* theWrappedObject) const; + int objectIndex(QTextObject* theWrappedObject) const; + void setFormat(QTextObject* theWrappedObject, const QTextFormat& format); +}; + + + + + +class PythonQtWrapper_QTextOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Flag TabType WrapMode ) +Q_FLAGS(Flags ) +enum Flag{ + ShowTabsAndSpaces = QTextOption::ShowTabsAndSpaces, ShowLineAndParagraphSeparators = QTextOption::ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators = QTextOption::AddSpaceForLineAndParagraphSeparators, SuppressColors = QTextOption::SuppressColors, ShowDocumentTerminator = QTextOption::ShowDocumentTerminator, IncludeTrailingSpaces = QTextOption::IncludeTrailingSpaces}; +enum TabType{ + LeftTab = QTextOption::LeftTab, RightTab = QTextOption::RightTab, CenterTab = QTextOption::CenterTab, DelimiterTab = QTextOption::DelimiterTab}; +enum WrapMode{ + NoWrap = QTextOption::NoWrap, WordWrap = QTextOption::WordWrap, ManualWrap = QTextOption::ManualWrap, WrapAnywhere = QTextOption::WrapAnywhere, WrapAtWordBoundaryOrAnywhere = QTextOption::WrapAtWordBoundaryOrAnywhere}; +Q_DECLARE_FLAGS(Flags, Flag) +public slots: +QTextOption* new_QTextOption(); +QTextOption* new_QTextOption(Qt::Alignment alignment); +QTextOption* new_QTextOption(const QTextOption& o); +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); + void setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags); + void setTabArray(QTextOption* theWrappedObject, const QList& tabStops); + void setTabStop(QTextOption* theWrappedObject, qreal tabStop); + void setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance); + void setTabs(QTextOption* theWrappedObject, const QList& tabStops); + void setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection); + void setUseDesignMetrics(QTextOption* theWrappedObject, bool b); + void setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap); + QList tabArray(QTextOption* theWrappedObject) const; + qreal tabStop(QTextOption* theWrappedObject) const; + qreal tabStopDistance(QTextOption* theWrappedObject) const; + QList tabs(QTextOption* theWrappedObject) const; + Qt::LayoutDirection textDirection(QTextOption* theWrappedObject) const; + bool useDesignMetrics(QTextOption* theWrappedObject) const; + QTextOption::WrapMode wrapMode(QTextOption* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextOption__Tab : public QTextOption::Tab +{ +public: + 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; +}; + +class PythonQtWrapper_QTextOption__Tab : public QObject +{ Q_OBJECT +public: +public slots: +QTextOption::Tab* new_QTextOption__Tab(); +QTextOption::Tab* new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()); +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; } + 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; } +QChar py_get_delimiter(QTextOption::Tab* theWrappedObject){ return theWrappedObject->delimiter; } +void py_set_position(QTextOption::Tab* theWrappedObject, qreal position){ theWrappedObject->position = position; } +qreal py_get_position(QTextOption::Tab* theWrappedObject){ return theWrappedObject->position; } +void py_set_type(QTextOption::Tab* theWrappedObject, QTextOption::TabType type){ theWrappedObject->type = type; } +QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return theWrappedObject->type; } +}; + + + + + +class PythonQtShell_QTextTable : public QTextTable +{ +public: + PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextTable() 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_QTextTable : public QObject +{ Q_OBJECT +public: +public slots: +QTextTable* new_QTextTable(QTextDocument* doc); +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; + QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const; + QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const; + int columns(QTextTable* theWrappedObject) const; + QTextTableFormat format(QTextTable* theWrappedObject) const; + void insertColumns(QTextTable* theWrappedObject, int pos, int num); + void insertRows(QTextTable* theWrappedObject, int pos, int num); + void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor); + void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); + void removeColumns(QTextTable* theWrappedObject, int pos, int num); + void removeRows(QTextTable* theWrappedObject, int pos, int num); + void resize(QTextTable* theWrappedObject, int rows, int cols); + QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const; + QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const; + int rows(QTextTable* theWrappedObject) const; + void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format); + void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); +}; + + + + + +class PythonQtWrapper_QTextTableCell : public QObject +{ Q_OBJECT +public: +public slots: +QTextTableCell* new_QTextTableCell(); +QTextTableCell* new_QTextTableCell(const QTextTableCell& o); +void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } + QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; + int column(QTextTableCell* theWrappedObject) const; + int columnSpan(QTextTableCell* theWrappedObject) const; + QTextFrame::iterator end(QTextTableCell* theWrappedObject) const; + QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const; + int firstPosition(QTextTableCell* theWrappedObject) const; + QTextCharFormat format(QTextTableCell* theWrappedObject) const; + bool isValid(QTextTableCell* theWrappedObject) const; + QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const; + int lastPosition(QTextTableCell* theWrappedObject) const; + bool __ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; + bool __eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; + int row(QTextTableCell* theWrappedObject) const; + int rowSpan(QTextTableCell* theWrappedObject) const; + void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format); + int tableCellFormatIndex(QTextTableCell* theWrappedObject) const; + bool __nonzero__(QTextTableCell* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat +{ +public: + PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextTableCellFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTableCellFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextTableCellFormat* new_QTextTableCellFormat(); +QTextTableCellFormat* new_QTextTableCellFormat(const QTextFormat& fmt); +QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) { +PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); +*((QTextTableCellFormat*)a) = other; +return a; } +void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } + qreal bottomBorder(QTextTableCellFormat* theWrappedObject) const; + QBrush bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const; + QTextFrameFormat::BorderStyle bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const; + qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const; + bool isValid(QTextTableCellFormat* theWrappedObject) const; + qreal leftBorder(QTextTableCellFormat* theWrappedObject) const; + QBrush leftBorderBrush(QTextTableCellFormat* theWrappedObject) const; + QTextFrameFormat::BorderStyle leftBorderStyle(QTextTableCellFormat* theWrappedObject) const; + qreal leftPadding(QTextTableCellFormat* theWrappedObject) const; + qreal rightBorder(QTextTableCellFormat* theWrappedObject) const; + QBrush rightBorderBrush(QTextTableCellFormat* theWrappedObject) const; + QTextFrameFormat::BorderStyle rightBorderStyle(QTextTableCellFormat* theWrappedObject) const; + qreal rightPadding(QTextTableCellFormat* theWrappedObject) const; + void setBorder(QTextTableCellFormat* theWrappedObject, qreal width); + void setBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush); + void setBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); + void setBottomBorder(QTextTableCellFormat* theWrappedObject, qreal width); + void setBottomBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush); + void setBottomBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); + void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setLeftBorder(QTextTableCellFormat* theWrappedObject, qreal width); + void setLeftBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush); + void setLeftBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); + void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setRightBorder(QTextTableCellFormat* theWrappedObject, qreal width); + void setRightBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush); + void setRightBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); + void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + void setTopBorder(QTextTableCellFormat* theWrappedObject, qreal width); + void setTopBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush); + void setTopBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); + void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding); + qreal topBorder(QTextTableCellFormat* theWrappedObject) const; + QBrush topBorderBrush(QTextTableCellFormat* theWrappedObject) const; + QTextFrameFormat::BorderStyle topBorderStyle(QTextTableCellFormat* theWrappedObject) const; + qreal topPadding(QTextTableCellFormat* theWrappedObject) const; + bool __nonzero__(QTextTableCellFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextTableFormat : public QTextTableFormat +{ +public: + PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextTableFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTableFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextTableFormat* new_QTextTableFormat(); +QTextTableFormat* new_QTextTableFormat(const QTextFormat& fmt); +QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { +PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); +*((QTextTableFormat*)a) = other; +return a; } +void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } + Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; + bool borderCollapse(QTextTableFormat* theWrappedObject) const; + qreal cellPadding(QTextTableFormat* theWrappedObject) const; + qreal cellSpacing(QTextTableFormat* theWrappedObject) const; + void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject); + QVector columnWidthConstraints(QTextTableFormat* theWrappedObject) const; + int columns(QTextTableFormat* theWrappedObject) const; + int headerRowCount(QTextTableFormat* theWrappedObject) const; + bool isValid(QTextTableFormat* theWrappedObject) const; + void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment); + void setBorderCollapse(QTextTableFormat* theWrappedObject, bool borderCollapse); + void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding); + void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing); + void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints); + void setColumns(QTextTableFormat* theWrappedObject, int columns); + void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count); + bool __nonzero__(QTextTableFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTileRules : public QTileRules +{ +public: + 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; +}; + +class PythonQtWrapper_QTileRules : public QObject +{ Q_OBJECT +public: +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 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; } +Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; } +}; + + + + + +class PythonQtShell_QTimeEdit : public QTimeEdit +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QTimeEdit* new_QTimeEdit(QWidget* parent = nullptr); +QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = nullptr); +void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QToolBar : public QToolBar +{ +public: + 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 +{ public: +inline void promoted_actionEvent(QActionEvent* event) { this->actionEvent(event); } +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_initStyleOption(QStyleOptionToolBar* option) const { this->initStyleOption(option); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void py_q_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } +inline bool py_q_event(QEvent* event) { return QToolBar::event(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); } +}; + +class PythonQtWrapper_QToolBar : public QObject +{ Q_OBJECT +public: +public slots: +QToolBar* new_QToolBar(QWidget* parent = nullptr); +QToolBar* new_QToolBar(const QString& title, QWidget* parent = nullptr); +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));} + QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; + QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member); + QAction* addAction(QToolBar* theWrappedObject, const QString& text); + QAction* addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); + QAction* addSeparator(QToolBar* theWrappedObject); + QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); + Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; + void py_q_changeEvent(QToolBar* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_changeEvent(event));} + void clear(QToolBar* theWrappedObject); + bool py_q_event(QToolBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_event(event));} + QSize iconSize(QToolBar* theWrappedObject) const; + void initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const; + QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before); + QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget); + bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const; + bool isFloatable(QToolBar* theWrappedObject) const; + bool isFloating(QToolBar* theWrappedObject) const; + bool isMovable(QToolBar* theWrappedObject) const; + Qt::Orientation orientation(QToolBar* theWrappedObject) const; + void py_q_paintEvent(QToolBar* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_paintEvent(event));} + void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas); + void setFloatable(QToolBar* theWrappedObject, bool floatable); + void setMovable(QToolBar* theWrappedObject, bool movable); + void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation); + QAction* toggleViewAction(QToolBar* theWrappedObject) const; + Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const; + QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const; + + QAction* addAction (QToolBar* menu, const QString & text, PyObject* callable) + { + QAction* a = menu->addAction(text); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + + QAction* addAction (QToolBar* menu, const QIcon& icon, const QString& text, PyObject* callable) + { + QAction* a = menu->addAction(text); + a->setIcon(icon); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + +}; + + + + + +class PythonQtWrapper_QToolBarChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); +void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } + bool toggle(QToolBarChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QToolBox : public QToolBox +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_itemInserted(int index) { this->itemInserted(index); } +inline void promoted_itemRemoved(int index) { this->itemRemoved(index); } +inline void promoted_showEvent(QShowEvent* e) { this->showEvent(e); } +inline void py_q_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QToolBox::event(e); } +inline void py_q_itemInserted(int index) { QToolBox::itemInserted(index); } +inline void py_q_itemRemoved(int index) { QToolBox::itemRemoved(index); } +inline void py_q_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } +}; + +class PythonQtWrapper_QToolBox : public QObject +{ Q_OBJECT +public: +public slots: +QToolBox* new_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); +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));} + int count(QToolBox* theWrappedObject) const; + int currentIndex(QToolBox* theWrappedObject) const; + QWidget* currentWidget(QToolBox* theWrappedObject) const; + bool py_q_event(QToolBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_event(e));} + int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; + int insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); + int insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text); + bool isItemEnabled(QToolBox* theWrappedObject, int index) const; + QIcon itemIcon(QToolBox* theWrappedObject, int index) const; + void itemInserted(QToolBox* theWrappedObject, int index); + void py_q_itemInserted(QToolBox* theWrappedObject, int index){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_itemInserted(index));} + void itemRemoved(QToolBox* theWrappedObject, int index); + void py_q_itemRemoved(QToolBox* theWrappedObject, int index){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_itemRemoved(index));} + QString itemText(QToolBox* theWrappedObject, int index) const; + QString itemToolTip(QToolBox* theWrappedObject, int index) const; + void removeItem(QToolBox* theWrappedObject, int index); + void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled); + void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon); + void setItemText(QToolBox* theWrappedObject, int index, const QString& text); + void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip); + void py_q_showEvent(QToolBox* theWrappedObject, QShowEvent* e){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_showEvent(e));} + QWidget* widget(QToolBox* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QToolButton : public QToolButton +{ +public: + 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 +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } +inline void promoted_initStyleOption(QStyleOptionToolButton* option) const { this->initStyleOption(option); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_nextCheckState() { this->nextCheckState(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } +inline void py_q_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QToolButton::event(e); } +inline bool py_q_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } +inline void py_q_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QToolButton::minimumSizeHint(); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } +inline void py_q_nextCheckState() { QToolButton::nextCheckState(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QToolButton::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QToolButton : public QObject +{ Q_OBJECT +public: +public slots: +QToolButton* new_QToolButton(QWidget* parent = nullptr); +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; + void py_q_changeEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_changeEvent(arg__1));} + QAction* defaultAction(QToolButton* theWrappedObject) const; + void py_q_enterEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_enterEvent(arg__1));} + bool py_q_event(QToolButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_event(e));} + bool py_q_hitButton(QToolButton* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_hitButton(pos));} + void initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const; + void py_q_leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QMenu* menu(QToolButton* theWrappedObject) const; + QSize minimumSizeHint(QToolButton* theWrappedObject) const; + QSize py_q_minimumSizeHint(QToolButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_nextCheckState(QToolButton* theWrappedObject){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_nextCheckState());} + void py_q_paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_paintEvent(arg__1));} + QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const; + void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type); + void setAutoRaise(QToolButton* theWrappedObject, bool enable); + void setMenu(QToolButton* theWrappedObject, QMenu* menu); + void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode); + QSize sizeHint(QToolButton* theWrappedObject) const; + QSize py_q_sizeHint(QToolButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_timerEvent(arg__1));} + Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QToolTip : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QToolTip(QToolTip* obj) { delete obj; } + QFont static_QToolTip_font(); + void static_QToolTip_hideText(); + bool static_QToolTip_isVisible(); + QPalette static_QToolTip_palette(); + void static_QToolTip_setFont(const QFont& arg__1); + void static_QToolTip_setPalette(const QPalette& arg__1); + void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w = nullptr); + void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect); + void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime); + QString static_QToolTip_text(); +}; + + + + + +class PythonQtWrapper_QTouchDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CapabilityFlag DeviceType ) +Q_FLAGS(Capabilities ) +enum CapabilityFlag{ + Position = QTouchDevice::Position, Area = QTouchDevice::Area, Pressure = QTouchDevice::Pressure, Velocity = QTouchDevice::Velocity, RawPositions = QTouchDevice::RawPositions, NormalizedPosition = QTouchDevice::NormalizedPosition, MouseEmulation = QTouchDevice::MouseEmulation}; +enum DeviceType{ + TouchScreen = QTouchDevice::TouchScreen, TouchPad = QTouchDevice::TouchPad}; +Q_DECLARE_FLAGS(Capabilities, CapabilityFlag) +public slots: +QTouchDevice* new_QTouchDevice(); +void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } + QTouchDevice::Capabilities capabilities(QTouchDevice* theWrappedObject) const; + QList static_QTouchDevice_devices(); + int maximumTouchPoints(QTouchDevice* theWrappedObject) const; + QString name(QTouchDevice* theWrappedObject) const; + void setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps); + void setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max); + void setName(QTouchDevice* theWrappedObject, const QString& name); + void setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType); + QTouchDevice::DeviceType type(QTouchDevice* theWrappedObject) const; + QString py_toString(QTouchDevice*); +}; + + + + + +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(nullptr) {}; + + ~PythonQtShell_QTouchEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTouchEvent : public QObject +{ Q_OBJECT +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; } + QTouchDevice* device(QTouchEvent* theWrappedObject) const; + void setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice); + void setTarget(QTouchEvent* theWrappedObject, QObject* atarget); + void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); + void setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints); + void setWindow(QTouchEvent* theWrappedObject, QWindow* awindow); + QObject* target(QTouchEvent* theWrappedObject) const; + Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; + const QList* touchPoints(QTouchEvent* theWrappedObject) const; + QWindow* window(QTouchEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTouchEvent__TouchPoint : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InfoFlag ) +Q_FLAGS(InfoFlags ) +enum InfoFlag{ + Pen = QTouchEvent::TouchPoint::Pen, Token = QTouchEvent::TouchPoint::Token}; +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; } + QSizeF ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const; + QTouchEvent::TouchPoint::InfoFlags flags(QTouchEvent::TouchPoint* theWrappedObject) const; + int id(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QTouchEvent::TouchPoint* operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other); + QPointF pos(QTouchEvent::TouchPoint* theWrappedObject) const; + qreal pressure(QTouchEvent::TouchPoint* theWrappedObject) const; + QVector rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const; + QRectF rect(QTouchEvent::TouchPoint* theWrappedObject) const; + qreal rotation(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF scenePos(QTouchEvent::TouchPoint* theWrappedObject) const; + QRectF sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF screenPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QRectF screenRect(QTouchEvent::TouchPoint* theWrappedObject) const; + void setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia); + void setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags); + void setId(QTouchEvent::TouchPoint* theWrappedObject, int id); + void setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos); + void setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos); + void setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos); + void setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos); + void setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos); + void setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos); + void setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure); + void setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions); + void setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect); + void setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle); + void setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos); + void setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect); + void setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos); + void setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect); + void setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos); + void setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos); + void setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos); + void setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos); + void setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state); + void setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid); + void setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v); + QPointF startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF startPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; + Qt::TouchPointState state(QTouchEvent::TouchPoint* theWrappedObject) const; + void swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other); + QVector2D velocity(QTouchEvent::TouchPoint* theWrappedObject) const; + QString py_toString(QTouchEvent::TouchPoint*); +}; + + + + + +class PythonQtShell_QTransposeProxyModel : public QTransposeProxyModel +{ +public: + PythonQtShell_QTransposeProxyModel(QObject* parent = nullptr):QTransposeProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTransposeProxyModel() 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& index) 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* newSourceModel) 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_QTransposeProxyModel : public QTransposeProxyModel +{ public: +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QTransposeProxyModel::columnCount(parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QTransposeProxyModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QTransposeProxyModel::index(row, column, parent); } +inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QTransposeProxyModel::insertColumns(column, count, parent); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QTransposeProxyModel::insertRows(row, count, parent); } +inline QMap py_q_itemData(const QModelIndex& index) const { return QTransposeProxyModel::itemData(index); } +inline QModelIndex py_q_mapFromSource(const QModelIndex& sourceIndex) const { return QTransposeProxyModel::mapFromSource(sourceIndex); } +inline QModelIndex py_q_mapToSource(const QModelIndex& proxyIndex) const { return QTransposeProxyModel::mapToSource(proxyIndex); } +inline bool py_q_moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) { return QTransposeProxyModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); } +inline bool py_q_moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) { return QTransposeProxyModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); } +inline QModelIndex py_q_parent(const QModelIndex& index) const { return QTransposeProxyModel::parent(index); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QTransposeProxyModel::removeColumns(column, count, parent); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QTransposeProxyModel::removeRows(row, count, parent); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QTransposeProxyModel::rowCount(parent); } +inline bool py_q_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QTransposeProxyModel::setHeaderData(section, orientation, value, role); } +inline bool py_q_setItemData(const QModelIndex& index, const QMap& roles) { return QTransposeProxyModel::setItemData(index, roles); } +inline void py_q_setSourceModel(QAbstractItemModel* newSourceModel) { QTransposeProxyModel::setSourceModel(newSourceModel); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QTransposeProxyModel::sort(column, order); } +inline QSize py_q_span(const QModelIndex& index) const { return QTransposeProxyModel::span(index); } +}; + +class PythonQtWrapper_QTransposeProxyModel : public QObject +{ Q_OBJECT +public: +public slots: +QTransposeProxyModel* new_QTransposeProxyModel(QObject* parent = nullptr); +void delete_QTransposeProxyModel(QTransposeProxyModel* obj) { delete obj; } + int py_q_columnCount(QTransposeProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_columnCount(parent));} + QVariant py_q_headerData(QTransposeProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QModelIndex py_q_index(QTransposeProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_index(row, column, parent));} + bool py_q_insertColumns(QTransposeProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} + bool py_q_insertRows(QTransposeProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} + QMap py_q_itemData(QTransposeProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_itemData(index));} + QModelIndex py_q_mapFromSource(QTransposeProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_mapFromSource(sourceIndex));} + QModelIndex py_q_mapToSource(QTransposeProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_mapToSource(proxyIndex));} + bool py_q_moveColumns(QTransposeProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild));} + bool py_q_moveRows(QTransposeProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild));} + QModelIndex py_q_parent(QTransposeProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_parent(index));} + bool py_q_removeColumns(QTransposeProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + bool py_q_removeRows(QTransposeProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + int py_q_rowCount(QTransposeProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_setHeaderData(QTransposeProxyModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_setHeaderData(section, orientation, value, role));} + bool py_q_setItemData(QTransposeProxyModel* theWrappedObject, const QModelIndex& index, const QMap& roles){ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_setItemData(index, roles));} + void py_q_setSourceModel(QTransposeProxyModel* theWrappedObject, QAbstractItemModel* newSourceModel){ (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_setSourceModel(newSourceModel));} + void py_q_sort(QTransposeProxyModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_sort(column, order));} + QSize py_q_span(QTransposeProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTransposeProxyModel*)theWrappedObject)->py_q_span(index));} +}; + + + + + +class PythonQtShell_QTreeView : public QTreeView +{ +public: + 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 +{ public: +inline void promoted_columnCountChanged(int oldCount, int newCount) { this->columnCountChanged(oldCount, newCount); } +inline void promoted_columnMoved() { this->columnMoved(); } +inline void promoted_columnResized(int column, int oldSize, int newSize) { this->columnResized(column, oldSize, newSize); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { this->currentChanged(current, previous); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { this->dragMoveEvent(event); } +inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { this->drawBranches(painter, rect, index); } +inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { this->drawRow(painter, options, index); } +inline void promoted_drawTree(QPainter* painter, const QRegion& region) const { this->drawTree(painter, region); } +inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } +inline void promoted_horizontalScrollbarAction(int action) { this->horizontalScrollbarAction(action); } +inline int promoted_indexRowSizeHint(const QModelIndex& index) const { return this->indexRowSizeHint(index); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_reexpand() { this->reexpand(); } +inline int promoted_rowHeight(const QModelIndex& index) const { return this->rowHeight(index); } +inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { this->rowsAboutToBeRemoved(parent, start, end); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { this->rowsInserted(parent, start, end); } +inline void promoted_rowsRemoved(const QModelIndex& parent, int first, int last) { this->rowsRemoved(parent, first, last); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline QList promoted_selectedIndexes() const { return this->selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { this->selectionChanged(selected, deselected); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } +inline int promoted_sizeHintForColumn(int column) const { return this->sizeHintForColumn(column); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void promoted_updateGeometries() { this->updateGeometries(); } +inline int promoted_verticalOffset() const { return this->verticalOffset(); } +inline void promoted_verticalScrollbarValueChanged(int value) { this->verticalScrollbarValueChanged(value); } +inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } +inline void py_q_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QTreeView::dataChanged(topLeft, bottomRight, roles); } +inline void py_q_doItemsLayout() { QTreeView::doItemsLayout(); } +inline void py_q_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); } +inline void py_q_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); } +inline void py_q_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); } +inline int py_q_horizontalOffset() const { return QTreeView::horizontalOffset(); } +inline void py_q_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); } +inline QModelIndex py_q_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); } +inline bool py_q_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); } +inline void py_q_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); } +inline QModelIndex py_q_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QTreeView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void py_q_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } +inline void py_q_reset() { QTreeView::reset(); } +inline void py_q_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); } +inline void py_q_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); } +inline void py_q_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); } +inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); } +inline void py_q_selectAll() { QTreeView::selectAll(); } +inline QList py_q_selectedIndexes() const { return QTreeView::selectedIndexes(); } +inline void py_q_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); } +inline void py_q_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); } +inline void py_q_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); } +inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); } +inline int py_q_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } +inline void py_q_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); } +inline void py_q_updateGeometries() { QTreeView::updateGeometries(); } +inline int py_q_verticalOffset() const { return QTreeView::verticalOffset(); } +inline void py_q_verticalScrollbarValueChanged(int value) { QTreeView::verticalScrollbarValueChanged(value); } +inline bool py_q_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); } +inline QSize py_q_viewportSizeHint() const { return QTreeView::viewportSizeHint(); } +inline QRect py_q_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); } +inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QTreeView : public QObject +{ Q_OBJECT +public: +public slots: +QTreeView* new_QTreeView(QWidget* parent = nullptr); +void delete_QTreeView(QTreeView* obj) { delete obj; } + bool allColumnsShowFocus(QTreeView* theWrappedObject) const; + int autoExpandDelay(QTreeView* theWrappedObject) const; + int columnAt(QTreeView* theWrappedObject, int x) const; + int columnViewportPosition(QTreeView* theWrappedObject, int column) const; + int columnWidth(QTreeView* theWrappedObject, int column) const; + void py_q_currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_currentChanged(current, previous));} + void py_q_dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_dataChanged(topLeft, bottomRight, roles));} + void py_q_doItemsLayout(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_doItemsLayout());} + void py_q_dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_dragMoveEvent(event));} + void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const; + void py_q_drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_drawBranches(painter, rect, index));} + void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; + void py_q_drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_drawRow(painter, options, index));} + void drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const; + bool expandsOnDoubleClick(QTreeView* theWrappedObject) const; + QHeaderView* header(QTreeView* theWrappedObject) const; + int py_q_horizontalOffset(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_horizontalOffset());} + void py_q_horizontalScrollbarAction(QTreeView* theWrappedObject, int action){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_horizontalScrollbarAction(action));} + int indentation(QTreeView* theWrappedObject) const; + QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const; + QModelIndex py_q_indexAt(QTreeView* theWrappedObject, const QPoint& p) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_indexAt(p));} + QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const; + int indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const; + bool isAnimated(QTreeView* theWrappedObject) const; + bool isColumnHidden(QTreeView* theWrappedObject, int column) const; + bool isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const; + bool isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; + bool isHeaderHidden(QTreeView* theWrappedObject) const; + bool py_q_isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_isIndexHidden(index));} + bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; + bool isSortingEnabled(QTreeView* theWrappedObject) const; + bool itemsExpandable(QTreeView* theWrappedObject) const; + void py_q_keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_keyPressEvent(event));} + void py_q_keyboardSearch(QTreeView* theWrappedObject, const QString& search){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_keyboardSearch(search));} + void py_q_mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void py_q_mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + QModelIndex py_q_moveCursor(QTreeView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers){ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_moveCursor(cursorAction, modifiers));} + void py_q_paintEvent(QTreeView* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_paintEvent(event));} + void py_q_reset(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_reset());} + void resetIndentation(QTreeView* theWrappedObject); + bool rootIsDecorated(QTreeView* theWrappedObject) const; + int rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const; + void py_q_rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_rowsAboutToBeRemoved(parent, start, end));} + void py_q_rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_rowsInserted(parent, start, end));} + void py_q_scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void py_q_scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_scrollTo(index, hint));} + void py_q_selectAll(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectAll());} + QList py_q_selectedIndexes(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectedIndexes());} + void py_q_selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectionChanged(selected, deselected));} + void setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable); + void setAnimated(QTreeView* theWrappedObject, bool enable); + void setAutoExpandDelay(QTreeView* theWrappedObject, int delay); + void setColumnHidden(QTreeView* theWrappedObject, int column, bool hide); + void setColumnWidth(QTreeView* theWrappedObject, int column, int width); + void setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand); + void setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable); + void setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span); + void setHeader(QTreeView* theWrappedObject, QHeaderView* header); + void setHeaderHidden(QTreeView* theWrappedObject, bool hide); + void setIndentation(QTreeView* theWrappedObject, int i); + void setItemsExpandable(QTreeView* theWrappedObject, bool enable); + void py_q_setModel(QTreeView* theWrappedObject, QAbstractItemModel* model){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setModel(model));} + void py_q_setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setRootIndex(index));} + void setRootIsDecorated(QTreeView* theWrappedObject, bool show); + void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide); + void py_q_setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setSelection(rect, command));} + void py_q_setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + void setSortingEnabled(QTreeView* theWrappedObject, bool enable); + void setTreePosition(QTreeView* theWrappedObject, int logicalIndex); + void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform); + void setWordWrap(QTreeView* theWrappedObject, bool on); + int py_q_sizeHintForColumn(QTreeView* theWrappedObject, int column) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_sizeHintForColumn(column));} + void py_q_timerEvent(QTreeView* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_timerEvent(event));} + int treePosition(QTreeView* theWrappedObject) const; + bool uniformRowHeights(QTreeView* theWrappedObject) const; + void py_q_updateGeometries(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_updateGeometries());} + int py_q_verticalOffset(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_verticalOffset());} + void py_q_verticalScrollbarValueChanged(QTreeView* theWrappedObject, int value){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_verticalScrollbarValueChanged(value));} + bool py_q_viewportEvent(QTreeView* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_viewportEvent(event));} + QSize py_q_viewportSizeHint(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_viewportSizeHint());} + QRect py_q_visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_visualRect(index));} + QRegion py_q_visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} + bool wordWrap(QTreeView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTreeWidget : public QTreeWidget +{ +public: + 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 +{ public: +inline void promoted_dropEvent(QDropEvent* event) { this->dropEvent(event); } +inline bool promoted_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return this->dropMimeData(parent, index, data, action); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline QModelIndex promoted_indexFromItem(QTreeWidgetItem* item, int column = 0) const { return this->indexFromItem(item, column); } +inline QModelIndex promoted_indexFromItem(const QTreeWidgetItem* item, int column = 0) const { return this->indexFromItem(item, column); } +inline QTreeWidgetItem* promoted_itemFromIndex(const QModelIndex& index) const { return this->itemFromIndex(index); } +inline QMimeData* promoted_mimeData(const QList items) const { return this->mimeData(items); } +inline QStringList promoted_mimeTypes() const { return this->mimeTypes(); } +inline Qt::DropActions promoted_supportedDropActions() const { return this->supportedDropActions(); } +inline void py_q_dropEvent(QDropEvent* event) { QTreeWidget::dropEvent(event); } +inline bool py_q_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return QTreeWidget::dropMimeData(parent, index, data, action); } +inline bool py_q_event(QEvent* e) { return QTreeWidget::event(e); } +inline QMimeData* py_q_mimeData(const QList items) const { return QTreeWidget::mimeData(items); } +inline QStringList py_q_mimeTypes() const { return QTreeWidget::mimeTypes(); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeWidget::setSelectionModel(selectionModel); } +inline Qt::DropActions py_q_supportedDropActions() const { return QTreeWidget::supportedDropActions(); } +}; + +class PythonQtWrapper_QTreeWidget : public QObject +{ Q_OBJECT +public: +public slots: +QTreeWidget* new_QTreeWidget(QWidget* parent = nullptr); +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); + int columnCount(QTreeWidget* theWrappedObject) const; + int currentColumn(QTreeWidget* theWrappedObject) const; + QTreeWidgetItem* currentItem(QTreeWidget* theWrappedObject) const; + void py_q_dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_dropEvent(event));} + bool dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); + bool py_q_dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action){ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_dropMimeData(parent, index, data, action));} + void editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + bool py_q_event(QTreeWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_event(e));} + QList findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column = 0) const; + QTreeWidgetItem* headerItem(QTreeWidget* theWrappedObject) const; + QModelIndex indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0) const; + QModelIndex indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column = 0) const; + int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const; + void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item); + void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items); + QTreeWidgetItem* invisibleRootItem(QTreeWidget* theWrappedObject) const; + bool isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + bool isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0) const; + QTreeWidgetItem* itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const; + QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, int x, int y) const; + QTreeWidgetItem* itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + QTreeWidgetItem* itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const; + QWidget* itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const; + PythonQtPassOwnershipToPython mimeData(QTreeWidget* theWrappedObject, const QList items) const; + PythonQtPassOwnershipToPython py_q_mimeData(QTreeWidget* theWrappedObject, const QList items) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_mimeData(items));} + QStringList mimeTypes(QTreeWidget* theWrappedObject) const; + QStringList py_q_mimeTypes(QTreeWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_mimeTypes());} + void openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + void removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); + QList selectedItems(QTreeWidget* theWrappedObject) const; + void setColumnCount(QTreeWidget* theWrappedObject, int columns); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command); + void setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span); + void setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); + void setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label); + void setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels); + void setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget); + void py_q_setSelectionModel(QTreeWidget* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + int sortColumn(QTreeWidget* theWrappedObject) const; + void sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order); + Qt::DropActions supportedDropActions(QTreeWidget* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QTreeWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_supportedDropActions());} + PythonQtPassOwnershipToPython takeTopLevelItem(QTreeWidget* theWrappedObject, int index); + QTreeWidgetItem* topLevelItem(QTreeWidget* theWrappedObject, int index) const; + int topLevelItemCount(QTreeWidget* theWrappedObject) const; + QRect visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; +}; + + + + + +class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem +{ +public: + PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(treeview, after, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, const QStringList& strings, int type = Type):QTreeWidgetItem(treeview, strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, int type = Type):QTreeWidgetItem(treeview, 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 +{ public: +inline void promoted_emitDataChanged() { this->emitDataChanged(); } +inline QTreeWidgetItem* py_q_clone() const { return QTreeWidgetItem::clone(); } +inline QVariant py_q_data(int column, int role) const { return QTreeWidgetItem::data(column, role); } +inline void py_q_read(QDataStream& in) { QTreeWidgetItem::read(in); } +inline void py_q_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); } +inline void py_q_write(QDataStream& out) const { QTreeWidgetItem::write(out); } +}; + +class PythonQtWrapper_QTreeWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ChildIndicatorPolicy ItemType ) +enum ChildIndicatorPolicy{ + ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless}; +enum ItemType{ + Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType}; +public slots: +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, QTreeWidgetItem* after, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, const QStringList& strings, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type = Type); +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 addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child); + void addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children); + QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; + Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const; + QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const; + int childCount(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem* py_q_clone(QTreeWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_clone());} + int columnCount(QTreeWidgetItem* theWrappedObject) const; + QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const; + QVariant py_q_data(QTreeWidgetItem* theWrappedObject, int column, int role) const{ return (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_data(column, role));} + void emitDataChanged(QTreeWidgetItem* theWrappedObject); + Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const; + QFont font(QTreeWidgetItem* theWrappedObject, int column) const; + QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const; + QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const; + int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const; + void insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child); + void insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children); + bool isDisabled(QTreeWidgetItem* theWrappedObject) const; + bool isExpanded(QTreeWidgetItem* theWrappedObject) const; + bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const; + bool isHidden(QTreeWidgetItem* theWrappedObject) const; + bool isSelected(QTreeWidgetItem* theWrappedObject) const; + void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in); + QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const; + void read(QTreeWidgetItem* theWrappedObject, QDataStream& in); + void py_q_read(QTreeWidgetItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_read(in));} + void removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child); + void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); + void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state); + void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy); + void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value); + void py_q_setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value){ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_setData(column, role, value));} + void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled); + void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand); + void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span); + void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font); + void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); + void setHidden(QTreeWidgetItem* theWrappedObject, bool hide); + void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon); + void setSelected(QTreeWidgetItem* theWrappedObject, bool select); + void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size); + void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip); + void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text); + void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment); + void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip); + void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis); + QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const; + void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order); + QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const; + PythonQtPassOwnershipToPython takeChild(QTreeWidgetItem* theWrappedObject, int index); + PythonQtPassOwnershipToCPP > takeChildren(QTreeWidgetItem* theWrappedObject); + QString text(QTreeWidgetItem* theWrappedObject, int column) const; + int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const; + QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const; + QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const; + int type(QTreeWidgetItem* theWrappedObject) const; + QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const; + void write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const; + void py_q_write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_write(out));} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp new file mode 100644 index 00000000..cca17b19 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -0,0 +1,12203 @@ +#include "com_trolltech_qt_gui12.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QUndoCommand::id() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("id"); + 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("id", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoCommand::id(); +} +bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mergeWith"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoCommand::mergeWith(other0); +} +void PythonQtShell_QUndoCommand::redo() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redo"); + 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(); + } + } +} + QUndoCommand::redo(); +} +void PythonQtShell_QUndoCommand::undo() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("undo"); + 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(); + } + } +} + QUndoCommand::undo(); +} +QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent) +{ +return new PythonQtShell_QUndoCommand(parent); } + +QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent) +{ +return new PythonQtShell_QUndoCommand(text, parent); } + +QString PythonQtWrapper_QUndoCommand::actionText(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->actionText()); +} + +const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const +{ + return ( theWrappedObject->child(index)); +} + +int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->childCount()); +} + +int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QUndoCommand::isObsolete(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->isObsolete()); +} + +bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) +{ + return ( theWrappedObject->mergeWith(other)); +} + +void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) +{ + ( theWrappedObject->redo()); +} + +void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) +{ + ( theWrappedObject->setObsolete(obsolete)); +} + +void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) +{ + ( theWrappedObject->undo()); +} + + + +PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUndoGroup::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(); + } + } +} + QUndoGroup::childEvent(event0); +} +void PythonQtShell_QUndoGroup::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(); + } + } +} + QUndoGroup::customEvent(event0); +} +bool PythonQtShell_QUndoGroup::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 QUndoGroup::event(event0); +} +bool PythonQtShell_QUndoGroup::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 QUndoGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QUndoGroup::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(); + } + } +} + QUndoGroup::timerEvent(event0); +} +QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) +{ +return new PythonQtShell_QUndoGroup(parent); } + +const QMetaObject* PythonQtShell_QUndoGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoGroup::staticMetaObject); + } else { + return &QUndoGroup::staticMetaObject; + } +} +int PythonQtShell_QUndoGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->activeStack()); +} + +void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +{ + ( theWrappedObject->addStack(stack)); +} + +bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->canRedo()); +} + +bool PythonQtWrapper_QUndoGroup::canUndo(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->canUndo()); +} + +QAction* PythonQtWrapper_QUndoGroup::createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createRedoAction(parent, prefix)); +} + +QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createUndoAction(parent, prefix)); +} + +bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->isClean()); +} + +QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->redoText()); +} + +void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +{ + ( theWrappedObject->removeStack(stack)); +} + +QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->stacks()); +} + +QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->undoText()); +} + + + +PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUndoStack::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(); + } + } +} + QUndoStack::childEvent(event0); +} +void PythonQtShell_QUndoStack::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(); + } + } +} + QUndoStack::customEvent(event0); +} +bool PythonQtShell_QUndoStack::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 QUndoStack::event(event0); +} +bool PythonQtShell_QUndoStack::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 QUndoStack::eventFilter(watched0, event1); +} +void PythonQtShell_QUndoStack::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(); + } + } +} + QUndoStack::timerEvent(event0); +} +QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent) +{ +return new PythonQtShell_QUndoStack(parent); } + +const QMetaObject* PythonQtShell_QUndoStack::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoStack::staticMetaObject); + } else { + return &QUndoStack::staticMetaObject; + } +} +int PythonQtShell_QUndoStack::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoStack::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text) +{ + ( theWrappedObject->beginMacro(text)); +} + +bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->canRedo()); +} + +bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->canUndo()); +} + +int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->cleanIndex()); +} + +void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const +{ + return ( theWrappedObject->command(index)); +} + +int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createRedoAction(parent, prefix)); +} + +QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createUndoAction(parent, prefix)); +} + +void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) +{ + ( theWrappedObject->endMacro()); +} + +int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->isClean()); +} + +void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) +{ + ( theWrappedObject->push(cmd)); +} + +QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->redoText()); +} + +void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) +{ + ( theWrappedObject->setUndoLimit(limit)); +} + +QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const +{ + return ( theWrappedObject->text(idx)); +} + +int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->undoLimit()); +} + +QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->undoText()); +} + + + +PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QUndoView::actionEvent(event0); +} +void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::changeEvent(arg__1); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::childEvent(event0); +} +void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::closeEditor(editor0, hint1); +} +void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QUndoView::closeEvent(event0); +} +void PythonQtShell_QUndoView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::commitData(editor0); +} +void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::contextMenuEvent(arg__1); +} +void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::currentChanged(current0, previous1); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::customEvent(event0); +} +void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QUndoView::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 QUndoView::devType(); +} +void PythonQtShell_QUndoView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QUndoView::doItemsLayout(); +} +void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QUndoView::dragEnterEvent(event0); +} +void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) +{ +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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QUndoView::dragLeaveEvent(e0); +} +void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) +{ +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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QUndoView::dragMoveEvent(e0); +} +void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) +{ +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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QUndoView::dropEvent(e0); +} +bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::edit(index0, trigger1, event2); +} +void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::editorDestroyed(editor0); +} +void PythonQtShell_QUndoView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QUndoView::enterEvent(event0); +} +bool PythonQtShell_QUndoView::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 QUndoView::event(e0); +} +bool PythonQtShell_QUndoView::eventFilter(QObject* object0, 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*)&object0, (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 QUndoView::eventFilter(object0, event1); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::focusInEvent(event0); +} +bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::focusNextPrevChild(next0); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::focusOutEvent(event0); +} +bool PythonQtShell_QUndoView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::hasHeightForWidth(); +} +int PythonQtShell_QUndoView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::heightForWidth(arg__1); +} +void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::hideEvent(event0); +} +int PythonQtShell_QUndoView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::horizontalOffset(); +} +void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::indexAt(p0); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::initPainter(painter0); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QUndoView::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 QUndoView::inputMethodQuery(query0); +} +bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::isIndexHidden(index0); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::keyPressEvent(event0); +} +void PythonQtShell_QUndoView::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(); + } + } +} + QUndoView::keyReleaseEvent(event0); +} +void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::keyboardSearch(search0); +} +void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QUndoView::leaveEvent(event0); +} +int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::metric(arg__1); +} +QSize PythonQtShell_QUndoView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::minimumSizeHint(); +} +void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QUndoView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QUndoView::mouseMoveEvent(e0); +} +void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QUndoView::mousePressEvent(event0); +} +void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QUndoView::mouseReleaseEvent(e0); +} +QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QUndoView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QUndoView::moveEvent(event0); +} +bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QUndoView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::paintEngine(); +} +void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QUndoView::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QUndoView::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 QUndoView::redirected(offset0); +} +void PythonQtShell_QUndoView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QUndoView::reset(); +} +void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QUndoView::resizeEvent(e0); +} +void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::scrollTo(index0, hint1); +} +void PythonQtShell_QUndoView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QUndoView::selectAll(); +} +QList PythonQtShell_QUndoView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::selectedIndexes(); +} +void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::selectionCommand(index0, event1); +} +void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setModel(model0); +} +void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QUndoView::setRootIndex(index0); +} +void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setSelection(rect0, command1); +} +void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QUndoView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setVisible(visible0); +} +void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QUndoView::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 QUndoView::sharedPainter(); +} +void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QUndoView::showEvent(event0); +} +QSize PythonQtShell_QUndoView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sizeHint(); +} +int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sizeHintForColumn(column0); +} +int PythonQtShell_QUndoView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sizeHintForRow(row0); +} +void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::startDrag(supportedActions0); +} +void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QUndoView::tabletEvent(event0); +} +void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::timerEvent(e0); +} +void PythonQtShell_QUndoView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QUndoView::updateEditorData(); +} +void PythonQtShell_QUndoView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QUndoView::updateEditorGeometries(); +} +void PythonQtShell_QUndoView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QUndoView::updateGeometries(); +} +int PythonQtShell_QUndoView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::verticalOffset(); +} +void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::verticalScrollbarAction(action0); +} +void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::viewOptions(); +} +bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::viewportEvent(event0); +} +QSize PythonQtShell_QUndoView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::viewportSizeHint(); +} +QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::visualRect(index0); +} +QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::visualRegionForSelection(selection0); +} +void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QUndoView::wheelEvent(e0); +} +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoGroup* group, QWidget* parent) +{ +return new PythonQtShell_QUndoView(group, parent); } + +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoStack* stack, QWidget* parent) +{ +return new PythonQtShell_QUndoView(stack, parent); } + +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QWidget* parent) +{ +return new PythonQtShell_QUndoView(parent); } + +const QMetaObject* PythonQtShell_QUndoView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoView::staticMetaObject); + } else { + return &QUndoView::staticMetaObject; + } +} +int PythonQtShell_QUndoView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->cleanIcon()); +} + +QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->emptyLabel()); +} + +QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setCleanIcon(icon)); +} + +void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) +{ + ( theWrappedObject->setEmptyLabel(label)); +} + +QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->stack()); +} + + + +PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVBoxLayout::addItem(arg__1); +} +void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVBoxLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::controlTypes(); +} +int PythonQtShell_QVBoxLayout::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 QVBoxLayout::count(); +} +void PythonQtShell_QVBoxLayout::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(); + } + } +} + QVBoxLayout::customEvent(event0); +} +bool PythonQtShell_QVBoxLayout::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 QVBoxLayout::event(event0); +} +bool PythonQtShell_QVBoxLayout::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 QVBoxLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QVBoxLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::geometry(); +} +bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::hasHeightForWidth(); +} +int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::heightForWidth(arg__1); +} +int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + 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("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QVBoxLayout::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(); + } + } +} + QVBoxLayout::invalidate(); +} +bool PythonQtShell_QVBoxLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) 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[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QVBoxLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::layout(); +} +QSize PythonQtShell_QVBoxLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::maximumSize(); +} +int PythonQtShell_QVBoxLayout::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 QVBoxLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QVBoxLayout::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::minimumSize(); +} +void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVBoxLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QVBoxLayout::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVBoxLayout::takeAt(arg__1); +} +void PythonQtShell_QVBoxLayout::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(); + } + } +} + 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(); } + +QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) +{ +return new PythonQtShell_QVBoxLayout(parent); } + +const QMetaObject* PythonQtShell_QVBoxLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVBoxLayout::staticMetaObject); + } else { + return &QVBoxLayout::staticMetaObject; + } +} +int PythonQtShell_QVBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVBoxLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QValidator::~PythonQtShell_QValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QValidator::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(); + } + } +} + QValidator::childEvent(event0); +} +void PythonQtShell_QValidator::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(); + } + } +} + QValidator::customEvent(event0); +} +bool PythonQtShell_QValidator::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 QValidator::event(event0); +} +bool PythonQtShell_QValidator::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 QValidator::eventFilter(watched0, event1); +} +void PythonQtShell_QValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QValidator::fixup(arg__1); +} +void PythonQtShell_QValidator::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(); + } + } +} + QValidator::timerEvent(event0); +} +QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QValidator::State(); +} +QValidator* PythonQtWrapper_QValidator::new_QValidator(QObject* parent) +{ +return new PythonQtShell_QValidator(parent); } + +const QMetaObject* PythonQtShell_QValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QValidator::staticMetaObject); + } else { + return &QValidator::staticMetaObject; + } +} +int PythonQtShell_QValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QValidator::fixup(QValidator* theWrappedObject, QString& arg__1) const +{ + ( theWrappedObject->fixup(arg__1)); +} + +QLocale PythonQtWrapper_QValidator::locale(QValidator* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +void PythonQtWrapper_QValidator::setLocale(QValidator* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +QValidator::State PythonQtWrapper_QValidator::validate(QValidator* theWrappedObject, QString& arg__1, int& arg__2) const +{ + return ( theWrappedObject->validate(arg__1, arg__2)); +} + + + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D() +{ +return new QVector2D(); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPoint& point) +{ +return new QVector2D(point); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPointF& point) +{ +return new QVector2D(point); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector3D& vector) +{ +return new QVector2D(vector); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector4D& vector) +{ +return new QVector2D(vector); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(float xpos, float ypos) +{ +return new QVector2D(xpos, ypos); } + +float PythonQtWrapper_QVector2D::distanceToLine(QVector2D* theWrappedObject, const QVector2D& point, const QVector2D& direction) const +{ + return ( theWrappedObject->distanceToLine(point, direction)); +} + +float PythonQtWrapper_QVector2D::distanceToPoint(QVector2D* theWrappedObject, const QVector2D& point) const +{ + return ( theWrappedObject->distanceToPoint(point)); +} + +float PythonQtWrapper_QVector2D::static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2) +{ + return (QVector2D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector2D::isNull(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +float PythonQtWrapper_QVector2D::length(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +float PythonQtWrapper_QVector2D::lengthSquared(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +void PythonQtWrapper_QVector2D::normalize(QVector2D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector2D PythonQtWrapper_QVector2D::normalized(QVector2D* theWrappedObject) const +{ + 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); +} + +const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector2D PythonQtWrapper_QVector2D::__add__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector2D* PythonQtWrapper_QVector2D::__iadd__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector2D PythonQtWrapper_QVector2D::__sub__(QVector2D* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +const QVector2D PythonQtWrapper_QVector2D::__sub__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)- v2); +} + +QVector2D* PythonQtWrapper_QVector2D::__isub__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)-= vector); +} + +const QVector2D PythonQtWrapper_QVector2D::__div__(QVector2D* theWrappedObject, const QVector2D& divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +const QVector2D PythonQtWrapper_QVector2D::__div__(QVector2D* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)/= vector); +} + +QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QVector2D::writeTo(QVector2D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QVector2D::__eq__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)== v2); +} + +void PythonQtWrapper_QVector2D::readFrom(QVector2D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +float PythonQtWrapper_QVector2D::operator_subscript(QVector2D* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QVector2D::setX(QVector2D* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QVector2D::setY(QVector2D* theWrappedObject, float y) +{ + ( theWrappedObject->setY(y)); +} + +QPoint PythonQtWrapper_QVector2D::toPoint(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QVector2D::toPointF(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); +} + +QVector3D PythonQtWrapper_QVector2D::toVector3D(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3D()); +} + +QVector4D PythonQtWrapper_QVector2D::toVector4D(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +float PythonQtWrapper_QVector2D::x(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +float PythonQtWrapper_QVector2D::y(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QVector2D::py_toString(QVector2D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D() +{ +return new QVector3D(); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPoint& point) +{ +return new QVector3D(point); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPointF& point) +{ +return new QVector3D(point); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector) +{ +return new QVector3D(vector); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector, float zpos) +{ +return new QVector3D(vector, zpos); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector4D& vector) +{ +return new QVector3D(vector); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(float xpos, float ypos, float zpos) +{ +return new QVector3D(xpos, ypos, zpos); } + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::crossProduct(v1, v2)); +} + +float PythonQtWrapper_QVector3D::distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const +{ + return ( theWrappedObject->distanceToLine(point, direction)); +} + +float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const +{ + return ( theWrappedObject->distanceToPlane(plane, normal)); +} + +float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const +{ + return ( theWrappedObject->distanceToPlane(plane1, plane2, plane3)); +} + +float PythonQtWrapper_QVector3D::distanceToPoint(QVector3D* theWrappedObject, const QVector3D& point) const +{ + return ( theWrappedObject->distanceToPoint(point)); +} + +float PythonQtWrapper_QVector3D::static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector3D::isNull(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +float PythonQtWrapper_QVector3D::length(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +float PythonQtWrapper_QVector3D::lengthSquared(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::normal(v1, v2)); +} + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3) +{ + return (QVector3D::normal(v1, v2, v3)); +} + +void PythonQtWrapper_QVector3D::normalize(QVector3D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) const +{ + 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); +} + +const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)* v2); +} + +const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector3D PythonQtWrapper_QVector3D::__add__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector3D* PythonQtWrapper_QVector3D::__iadd__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)- v2); +} + +QVector3D* PythonQtWrapper_QVector3D::__isub__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)-= vector); +} + +const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, const QVector3D& divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)/= vector); +} + +QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QVector3D::writeTo(QVector3D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QVector3D::__eq__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)== v2); +} + +void PythonQtWrapper_QVector3D::readFrom(QVector3D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +float PythonQtWrapper_QVector3D::operator_subscript(QVector3D* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +QVector3D PythonQtWrapper_QVector3D::project(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const +{ + return ( theWrappedObject->project(modelView, projection, viewport)); +} + +void PythonQtWrapper_QVector3D::setX(QVector3D* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QVector3D::setY(QVector3D* theWrappedObject, float y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QVector3D::setZ(QVector3D* theWrappedObject, float z) +{ + ( theWrappedObject->setZ(z)); +} + +QPoint PythonQtWrapper_QVector3D::toPoint(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QVector3D::toPointF(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); +} + +QVector2D PythonQtWrapper_QVector3D::toVector2D(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toVector2D()); +} + +QVector4D PythonQtWrapper_QVector3D::toVector4D(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +QVector3D PythonQtWrapper_QVector3D::unproject(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const +{ + return ( theWrappedObject->unproject(modelView, projection, viewport)); +} + +float PythonQtWrapper_QVector3D::x(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +float PythonQtWrapper_QVector3D::y(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +float PythonQtWrapper_QVector3D::z(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QVector3D::py_toString(QVector3D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D() +{ +return new QVector4D(); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPoint& point) +{ +return new QVector4D(point); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPointF& point) +{ +return new QVector4D(point); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector) +{ +return new QVector4D(vector); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector, float zpos, float wpos) +{ +return new QVector4D(vector, zpos, wpos); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector) +{ +return new QVector4D(vector); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector, float wpos) +{ +return new QVector4D(vector, wpos); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(float xpos, float ypos, float zpos, float wpos) +{ +return new QVector4D(xpos, ypos, zpos, wpos); } + +float PythonQtWrapper_QVector4D::static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2) +{ + return (QVector4D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector4D::isNull(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +float PythonQtWrapper_QVector4D::length(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +float PythonQtWrapper_QVector4D::lengthSquared(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +void PythonQtWrapper_QVector4D::normalize(QVector4D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector4D PythonQtWrapper_QVector4D::normalized(QVector4D* theWrappedObject) const +{ + 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); +} + +const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)* v2); +} + +const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector4D PythonQtWrapper_QVector4D::__add__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector4D* PythonQtWrapper_QVector4D::__iadd__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector4D PythonQtWrapper_QVector4D::__sub__(QVector4D* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +const QVector4D PythonQtWrapper_QVector4D::__sub__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)- v2); +} + +QVector4D* PythonQtWrapper_QVector4D::__isub__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)-= vector); +} + +const QVector4D PythonQtWrapper_QVector4D::__div__(QVector4D* theWrappedObject, const QVector4D& divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +const QVector4D PythonQtWrapper_QVector4D::__div__(QVector4D* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)/= vector); +} + +QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QVector4D::writeTo(QVector4D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QVector4D::__eq__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)== v2); +} + +void PythonQtWrapper_QVector4D::readFrom(QVector4D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +float PythonQtWrapper_QVector4D::operator_subscript(QVector4D* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QVector4D::setW(QVector4D* theWrappedObject, float w) +{ + ( theWrappedObject->setW(w)); +} + +void PythonQtWrapper_QVector4D::setX(QVector4D* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QVector4D::setY(QVector4D* theWrappedObject, float y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QVector4D::setZ(QVector4D* theWrappedObject, float z) +{ + ( theWrappedObject->setZ(z)); +} + +QPoint PythonQtWrapper_QVector4D::toPoint(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QVector4D::toPointF(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); +} + +QVector2D PythonQtWrapper_QVector4D::toVector2D(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector2D()); +} + +QVector2D PythonQtWrapper_QVector4D::toVector2DAffine(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector2DAffine()); +} + +QVector3D PythonQtWrapper_QVector4D::toVector3D(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3D()); +} + +QVector3D PythonQtWrapper_QVector4D::toVector3DAffine(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3DAffine()); +} + +float PythonQtWrapper_QVector4D::w(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->w()); +} + +float PythonQtWrapper_QVector4D::x(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +float PythonQtWrapper_QVector4D::y(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +float PythonQtWrapper_QVector4D::z(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QVector4D::py_toString(QVector4D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QAction* PythonQtWrapper_QWhatsThis::static_QWhatsThis_createAction(QObject* parent) +{ + return (QWhatsThis::createAction(parent)); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_enterWhatsThisMode() +{ + (QWhatsThis::enterWhatsThisMode()); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_hideText() +{ + (QWhatsThis::hideText()); +} + +bool PythonQtWrapper_QWhatsThis::static_QWhatsThis_inWhatsThisMode() +{ + return (QWhatsThis::inWhatsThisMode()); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_leaveWhatsThisMode() +{ + (QWhatsThis::leaveWhatsThisMode()); +} + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w) +{ + (QWhatsThis::showText(pos, text, w)); +} + + + +QWhatsThisClickedEvent* PythonQtWrapper_QWhatsThisClickedEvent::new_QWhatsThisClickedEvent(const QString& href) +{ +return new QWhatsThisClickedEvent(href); } + +QString PythonQtWrapper_QWhatsThisClickedEvent::href(QWhatsThisClickedEvent* theWrappedObject) const +{ + return ( theWrappedObject->href()); +} + + + +PythonQtShell_QWheelEvent::~PythonQtShell_QWheelEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, buttons, modifiers, phase, inverted, source); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers); } + +QWheelEvent* PythonQtWrapper_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) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase); } + +QWheelEvent* PythonQtWrapper_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) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source); } + +QWheelEvent* PythonQtWrapper_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) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) +{ +return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); } + +QPoint PythonQtWrapper_QWheelEvent::angleDelta(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->angleDelta()); +} + +Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->delta()); +} + +QPoint PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +const QPointF* PythonQtWrapper_QWheelEvent::globalPosF(QWheelEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPosF()); +} + +QPointF PythonQtWrapper_QWheelEvent::globalPosition(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPosition()); +} + +int PythonQtWrapper_QWheelEvent::globalX(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QWheelEvent::globalY(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +bool PythonQtWrapper_QWheelEvent::inverted(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->inverted()); +} + +Qt::Orientation PythonQtWrapper_QWheelEvent::orientation(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +Qt::ScrollPhase PythonQtWrapper_QWheelEvent::phase(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->phase()); +} + +QPoint PythonQtWrapper_QWheelEvent::pixelDelta(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->pixelDelta()); +} + +QPoint PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QWheelEvent::posF(QWheelEvent* theWrappedObject) const +{ + return &( theWrappedObject->posF()); +} + +QPointF PythonQtWrapper_QWheelEvent::position(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +Qt::MouseEventSource PythonQtWrapper_QWheelEvent::source(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +PythonQtShell_QWidget::~PythonQtShell_QWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QWidget::actionEvent(event0); +} +void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidget::changeEvent(arg__1); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::childEvent(event0); +} +void PythonQtShell_QWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QWidget::closeEvent(event0); +} +void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QWidget::contextMenuEvent(event0); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::customEvent(event0); +} +int PythonQtShell_QWidget::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 QWidget::devType(); +} +void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QWidget::dragEnterEvent(event0); +} +void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QWidget::dragMoveEvent(event0); +} +void PythonQtShell_QWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QWidget::dropEvent(event0); +} +void PythonQtShell_QWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QWidget::enterEvent(event0); +} +bool PythonQtShell_QWidget::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 QWidget::event(event0); +} +bool PythonQtShell_QWidget::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 QWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::focusInEvent(event0); +} +bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::focusOutEvent(event0); +} +bool PythonQtShell_QWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::hasHeightForWidth(); +} +int PythonQtShell_QWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::heightForWidth(arg__1); +} +void PythonQtShell_QWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidget::hideEvent(event0); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::initPainter(painter0); +} +void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::keyPressEvent(event0); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QWidget::leaveEvent(event0); +} +int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::metric(arg__1); +} +QSize PythonQtShell_QWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::minimumSizeHint(); +} +void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWidget::mousePressEvent(event0); +} +void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QWidget::moveEvent(event0); +} +bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::paintEngine(); +} +void PythonQtShell_QWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QWidget::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 QWidget::redirected(offset0); +} +void PythonQtShell_QWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QWidget::resizeEvent(event0); +} +void PythonQtShell_QWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QWidget::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 QWidget::sharedPainter(); +} +void PythonQtShell_QWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QWidget::showEvent(event0); +} +QSize PythonQtShell_QWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::sizeHint(); +} +void PythonQtShell_QWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QWidget::tabletEvent(event0); +} +void PythonQtShell_QWidget::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(); + } + } +} + QWidget::timerEvent(event0); +} +void PythonQtShell_QWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QWidget::wheelEvent(event0); +} +QWidget* PythonQtWrapper_QWidget::new_QWidget(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QWidget(parent, f); } + +const QMetaObject* PythonQtShell_QWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWidget::staticMetaObject); + } else { + return &QWidget::staticMetaObject; + } +} +int PythonQtShell_QWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QWidget::acceptDrops(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->acceptDrops()); +} + +QString PythonQtWrapper_QWidget::accessibleDescription(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->accessibleDescription()); +} + +QString PythonQtWrapper_QWidget::accessibleName(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->accessibleName()); +} + +void PythonQtWrapper_QWidget::actionEvent(QWidget* theWrappedObject, QActionEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_actionEvent(event)); +} + +QList PythonQtWrapper_QWidget::actions(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->actions()); +} + +void PythonQtWrapper_QWidget::activateWindow(QWidget* theWrappedObject) +{ + ( theWrappedObject->activateWindow()); +} + +void PythonQtWrapper_QWidget::addAction(QWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->addAction(action)); +} + +void PythonQtWrapper_QWidget::addActions(QWidget* theWrappedObject, QList actions) +{ + ( theWrappedObject->addActions(actions)); +} + +void PythonQtWrapper_QWidget::adjustSize(QWidget* theWrappedObject) +{ + ( theWrappedObject->adjustSize()); +} + +bool PythonQtWrapper_QWidget::autoFillBackground(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->autoFillBackground()); +} + +QPalette::ColorRole PythonQtWrapper_QWidget::backgroundRole(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->backgroundRole()); +} + +QBackingStore* PythonQtWrapper_QWidget::backingStore(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->backingStore()); +} + +QSize PythonQtWrapper_QWidget::baseSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->baseSize()); +} + +void PythonQtWrapper_QWidget::changeEvent(QWidget* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_changeEvent(arg__1)); +} + +QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->childAt(p)); +} + +QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->childAt(x, y)); +} + +QRect PythonQtWrapper_QWidget::childrenRect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->childrenRect()); +} + +QRegion PythonQtWrapper_QWidget::childrenRegion(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->childrenRegion()); +} + +void PythonQtWrapper_QWidget::clearFocus(QWidget* theWrappedObject) +{ + ( theWrappedObject->clearFocus()); +} + +void PythonQtWrapper_QWidget::clearMask(QWidget* theWrappedObject) +{ + ( theWrappedObject->clearMask()); +} + +void PythonQtWrapper_QWidget::closeEvent(QWidget* theWrappedObject, QCloseEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_closeEvent(event)); +} + +QMargins PythonQtWrapper_QWidget::contentsMargins(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->contentsMargins()); +} + +QRect PythonQtWrapper_QWidget::contentsRect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->contentsRect()); +} + +void PythonQtWrapper_QWidget::contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +Qt::ContextMenuPolicy PythonQtWrapper_QWidget::contextMenuPolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->contextMenuPolicy()); +} + +void PythonQtWrapper_QWidget::createWinId(QWidget* theWrappedObject) +{ + ( theWrappedObject->createWinId()); +} + +QWidget* PythonQtWrapper_QWidget::static_QWidget_createWindowContainer(QWindow* window, QWidget* parent, Qt::WindowFlags flags) +{ + return (QWidget::createWindowContainer(window, parent, flags)); +} + +QCursor PythonQtWrapper_QWidget::cursor(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} + +void PythonQtWrapper_QWidget::destroy(QWidget* theWrappedObject, bool destroyWindow, bool destroySubWindows) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_destroy(destroyWindow, destroySubWindows)); +} + +void PythonQtWrapper_QWidget::dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); +} + +void PythonQtWrapper_QWidget::dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); +} + +void PythonQtWrapper_QWidget::dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +void PythonQtWrapper_QWidget::dropEvent(QWidget* theWrappedObject, QDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dropEvent(event)); +} + +WId PythonQtWrapper_QWidget::effectiveWinId(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->effectiveWinId()); +} + +void PythonQtWrapper_QWidget::ensurePolished(QWidget* theWrappedObject) const +{ + ( theWrappedObject->ensurePolished()); +} + +void PythonQtWrapper_QWidget::enterEvent(QWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_enterEvent(event)); +} + +void PythonQtWrapper_QWidget::focusInEvent(QWidget* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusInEvent(event)); +} + +bool PythonQtWrapper_QWidget::focusNextChild(QWidget* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextChild()); +} + +bool PythonQtWrapper_QWidget::focusNextPrevChild(QWidget* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +void PythonQtWrapper_QWidget::focusOutEvent(QWidget* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +Qt::FocusPolicy PythonQtWrapper_QWidget::focusPolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusPolicy()); +} + +bool PythonQtWrapper_QWidget::focusPreviousChild(QWidget* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusPreviousChild()); +} + +QWidget* PythonQtWrapper_QWidget::focusProxy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusProxy()); +} + +QWidget* PythonQtWrapper_QWidget::focusWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusWidget()); +} + +const QFont* PythonQtWrapper_QWidget::font(QWidget* theWrappedObject) const +{ + return &( theWrappedObject->font()); +} + +QFontInfo PythonQtWrapper_QWidget::fontInfo(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->fontInfo()); +} + +QFontMetrics PythonQtWrapper_QWidget::fontMetrics(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->fontMetrics()); +} + +QPalette::ColorRole PythonQtWrapper_QWidget::foregroundRole(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->foregroundRole()); +} + +QRect PythonQtWrapper_QWidget::frameGeometry(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->frameGeometry()); +} + +QSize PythonQtWrapper_QWidget::frameSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->frameSize()); +} + +const QRect* PythonQtWrapper_QWidget::geometry(QWidget* theWrappedObject) const +{ + return &( theWrappedObject->geometry()); +} + +QPixmap PythonQtWrapper_QWidget::grab(QWidget* theWrappedObject, const QRect& rectangle) +{ + return ( theWrappedObject->grab(rectangle)); +} + +void PythonQtWrapper_QWidget::grabGesture(QWidget* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) +{ + ( theWrappedObject->grabGesture(type, flags)); +} + +void PythonQtWrapper_QWidget::grabKeyboard(QWidget* theWrappedObject) +{ + ( theWrappedObject->grabKeyboard()); +} + +void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject) +{ + ( theWrappedObject->grabMouse()); +} + +void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject, const QCursor& arg__1) +{ + ( theWrappedObject->grabMouse(arg__1)); +} + +int PythonQtWrapper_QWidget::grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context) +{ + return ( theWrappedObject->grabShortcut(key, context)); +} + +QGraphicsEffect* PythonQtWrapper_QWidget::graphicsEffect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->graphicsEffect()); +} + +QGraphicsProxyWidget* PythonQtWrapper_QWidget::graphicsProxyWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->graphicsProxyWidget()); +} + +bool PythonQtWrapper_QWidget::hasFocus(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +bool PythonQtWrapper_QWidget::hasHeightForWidth(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +bool PythonQtWrapper_QWidget::hasMouseTracking(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasMouseTracking()); +} + +bool PythonQtWrapper_QWidget::hasTabletTracking(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasTabletTracking()); +} + +int PythonQtWrapper_QWidget::height(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +int PythonQtWrapper_QWidget::heightForWidth(QWidget* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->heightForWidth(arg__1)); +} + +void PythonQtWrapper_QWidget::hideEvent(QWidget* theWrappedObject, QHideEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hideEvent(event)); +} + +void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +Qt::InputMethodHints PythonQtWrapper_QWidget::inputMethodHints(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->inputMethodHints()); +} + +QVariant PythonQtWrapper_QWidget::inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const +{ + return ( theWrappedObject->inputMethodQuery(arg__1)); +} + +void PythonQtWrapper_QWidget::insertAction(QWidget* theWrappedObject, QAction* before, QAction* action) +{ + ( theWrappedObject->insertAction(before, action)); +} + +void PythonQtWrapper_QWidget::insertActions(QWidget* theWrappedObject, QAction* before, QList actions) +{ + ( theWrappedObject->insertActions(before, actions)); +} + +bool PythonQtWrapper_QWidget::isActiveWindow(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isActiveWindow()); +} + +bool PythonQtWrapper_QWidget::isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const +{ + return ( theWrappedObject->isAncestorOf(child)); +} + +bool PythonQtWrapper_QWidget::isEnabled(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QWidget::isEnabledTo(QWidget* theWrappedObject, const QWidget* arg__1) const +{ + return ( theWrappedObject->isEnabledTo(arg__1)); +} + +bool PythonQtWrapper_QWidget::isFullScreen(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isFullScreen()); +} + +bool PythonQtWrapper_QWidget::isHidden(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QWidget::isLeftToRight(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isLeftToRight()); +} + +bool PythonQtWrapper_QWidget::isMaximized(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMaximized()); +} + +bool PythonQtWrapper_QWidget::isMinimized(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMinimized()); +} + +bool PythonQtWrapper_QWidget::isModal(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isModal()); +} + +bool PythonQtWrapper_QWidget::isRightToLeft(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isRightToLeft()); +} + +bool PythonQtWrapper_QWidget::isVisible(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +bool PythonQtWrapper_QWidget::isVisibleTo(QWidget* theWrappedObject, const QWidget* arg__1) const +{ + return ( theWrappedObject->isVisibleTo(arg__1)); +} + +bool PythonQtWrapper_QWidget::isWindow(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isWindow()); +} + +bool PythonQtWrapper_QWidget::isWindowModified(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isWindowModified()); +} + +void PythonQtWrapper_QWidget::keyPressEvent(QWidget* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QWidget::keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +QWidget* PythonQtWrapper_QWidget::static_QWidget_keyboardGrabber() +{ + return (QWidget::keyboardGrabber()); +} + +QLayout* PythonQtWrapper_QWidget::layout(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->layout()); +} + +Qt::LayoutDirection PythonQtWrapper_QWidget::layoutDirection(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +void PythonQtWrapper_QWidget::leaveEvent(QWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_leaveEvent(event)); +} + +QLocale PythonQtWrapper_QWidget::locale(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +QPoint PythonQtWrapper_QWidget::mapFrom(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const +{ + return ( theWrappedObject->mapFrom(arg__1, arg__2)); +} + +QPoint PythonQtWrapper_QWidget::mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapFromGlobal(arg__1)); +} + +QPoint PythonQtWrapper_QWidget::mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapFromParent(arg__1)); +} + +QPoint PythonQtWrapper_QWidget::mapTo(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const +{ + return ( theWrappedObject->mapTo(arg__1, arg__2)); +} + +QPoint PythonQtWrapper_QWidget::mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapToGlobal(arg__1)); +} + +QPoint PythonQtWrapper_QWidget::mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->mapToParent(arg__1)); +} + +QRegion PythonQtWrapper_QWidget::mask(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->mask()); +} + +int PythonQtWrapper_QWidget::maximumHeight(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->maximumHeight()); +} + +QSize PythonQtWrapper_QWidget::maximumSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); +} + +int PythonQtWrapper_QWidget::maximumWidth(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); +} + +int PythonQtWrapper_QWidget::minimumHeight(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumHeight()); +} + +QSize PythonQtWrapper_QWidget::minimumSize(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumSize()); +} + +QSize PythonQtWrapper_QWidget::minimumSizeHint(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +int PythonQtWrapper_QWidget::minimumWidth(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); +} + +void PythonQtWrapper_QWidget::mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +QWidget* PythonQtWrapper_QWidget::static_QWidget_mouseGrabber() +{ + return (QWidget::mouseGrabber()); +} + +void PythonQtWrapper_QWidget::mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QWidget::mousePressEvent(QWidget* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QWidget::mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, const QPoint& arg__1) +{ + ( theWrappedObject->move(arg__1)); +} + +void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, int x, int y) +{ + ( theWrappedObject->move(x, y)); +} + +void PythonQtWrapper_QWidget::moveEvent(QWidget* theWrappedObject, QMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_moveEvent(event)); +} + +bool PythonQtWrapper_QWidget::nativeEvent(QWidget* theWrappedObject, const QByteArray& eventType, void* message, long* result) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); +} + +QWidget* PythonQtWrapper_QWidget::nativeParentWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->nativeParentWidget()); +} + +QWidget* PythonQtWrapper_QWidget::nextInFocusChain(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->nextInFocusChain()); +} + +QRect PythonQtWrapper_QWidget::normalGeometry(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->normalGeometry()); +} + +void PythonQtWrapper_QWidget::overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) +{ + ( theWrappedObject->overrideWindowFlags(type)); +} + +void PythonQtWrapper_QWidget::overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state) +{ + ( theWrappedObject->overrideWindowState(state)); +} + +void PythonQtWrapper_QWidget::paintEvent(QWidget* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEvent(event)); +} + +const QPalette* PythonQtWrapper_QWidget::palette(QWidget* theWrappedObject) const +{ + return &( theWrappedObject->palette()); +} + +QWidget* PythonQtWrapper_QWidget::parentWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +QPoint PythonQtWrapper_QWidget::pos(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QWidget* PythonQtWrapper_QWidget::previousInFocusChain(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->previousInFocusChain()); +} + +QRect PythonQtWrapper_QWidget::rect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QWidget::releaseKeyboard(QWidget* theWrappedObject) +{ + ( theWrappedObject->releaseKeyboard()); +} + +void PythonQtWrapper_QWidget::releaseMouse(QWidget* theWrappedObject) +{ + ( theWrappedObject->releaseMouse()); +} + +void PythonQtWrapper_QWidget::releaseShortcut(QWidget* theWrappedObject, int id) +{ + ( theWrappedObject->releaseShortcut(id)); +} + +void PythonQtWrapper_QWidget::removeAction(QWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->removeAction(action)); +} + +void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) +{ + ( theWrappedObject->render(target, targetOffset, sourceRegion, renderFlags)); +} + +void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) +{ + ( theWrappedObject->render(painter, targetOffset, sourceRegion, renderFlags)); +} + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->repaint(arg__1)); +} + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->repaint(arg__1)); +} + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->repaint(x, y, w, h)); +} + +void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->resize(arg__1)); +} + +void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QWidget::resizeEvent(QWidget* theWrappedObject, QResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_resizeEvent(event)); +} + +bool PythonQtWrapper_QWidget::restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry) +{ + return ( theWrappedObject->restoreGeometry(geometry)); +} + +QByteArray PythonQtWrapper_QWidget::saveGeometry(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->saveGeometry()); +} + +QScreen* PythonQtWrapper_QWidget::screen(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + +void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->scroll(dx, dy)); +} + +void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3) +{ + ( theWrappedObject->scroll(dx, dy, arg__3)); +} + +void PythonQtWrapper_QWidget::setAcceptDrops(QWidget* theWrappedObject, bool on) +{ + ( theWrappedObject->setAcceptDrops(on)); +} + +void PythonQtWrapper_QWidget::setAccessibleDescription(QWidget* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setAccessibleDescription(description)); +} + +void PythonQtWrapper_QWidget::setAccessibleName(QWidget* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setAccessibleName(name)); +} + +void PythonQtWrapper_QWidget::setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on) +{ + ( theWrappedObject->setAttribute(arg__1, on)); +} + +void PythonQtWrapper_QWidget::setAutoFillBackground(QWidget* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoFillBackground(enabled)); +} + +void PythonQtWrapper_QWidget::setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) +{ + ( theWrappedObject->setBackgroundRole(arg__1)); +} + +void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setBaseSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, int basew, int baseh) +{ + ( theWrappedObject->setBaseSize(basew, baseh)); +} + +void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, const QMargins& margins) +{ + ( theWrappedObject->setContentsMargins(margins)); +} + +void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QWidget::setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy) +{ + ( theWrappedObject->setContextMenuPolicy(policy)); +} + +void PythonQtWrapper_QWidget::setCursor(QWidget* theWrappedObject, const QCursor& arg__1) +{ + ( theWrappedObject->setCursor(arg__1)); +} + +void PythonQtWrapper_QWidget::setFixedHeight(QWidget* theWrappedObject, int h) +{ + ( theWrappedObject->setFixedHeight(h)); +} + +void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setFixedSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->setFixedSize(w, h)); +} + +void PythonQtWrapper_QWidget::setFixedWidth(QWidget* theWrappedObject, int w) +{ + ( theWrappedObject->setFixedWidth(w)); +} + +void PythonQtWrapper_QWidget::setFocus(QWidget* theWrappedObject, Qt::FocusReason reason) +{ + ( theWrappedObject->setFocus(reason)); +} + +void PythonQtWrapper_QWidget::setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy) +{ + ( theWrappedObject->setFocusPolicy(policy)); +} + +void PythonQtWrapper_QWidget::setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1) +{ + ( theWrappedObject->setFocusProxy(arg__1)); +} + +void PythonQtWrapper_QWidget::setFont(QWidget* theWrappedObject, const QFont& arg__1) +{ + ( theWrappedObject->setFont(arg__1)); +} + +void PythonQtWrapper_QWidget::setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) +{ + ( theWrappedObject->setForegroundRole(arg__1)); +} + +void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->setGeometry(arg__1)); +} + +void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setGeometry(x, y, w, h)); +} + +void PythonQtWrapper_QWidget::setGraphicsEffect(QWidget* theWrappedObject, QGraphicsEffect* effect) +{ + ( theWrappedObject->setGraphicsEffect(effect)); +} + +void PythonQtWrapper_QWidget::setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints) +{ + ( theWrappedObject->setInputMethodHints(hints)); +} + +void PythonQtWrapper_QWidget::setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) +{ + ( theWrappedObject->setLayout(arg__1)); +} + +void PythonQtWrapper_QWidget::setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QWidget::setLocale(QWidget* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QBitmap& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); +} + +void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); +} + +void PythonQtWrapper_QWidget::setMaximumHeight(QWidget* theWrappedObject, int maxh) +{ + ( theWrappedObject->setMaximumHeight(maxh)); +} + +void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setMaximumSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh) +{ + ( theWrappedObject->setMaximumSize(maxw, maxh)); +} + +void PythonQtWrapper_QWidget::setMaximumWidth(QWidget* theWrappedObject, int maxw) +{ + ( theWrappedObject->setMaximumWidth(maxw)); +} + +void PythonQtWrapper_QWidget::setMinimumHeight(QWidget* theWrappedObject, int minh) +{ + ( theWrappedObject->setMinimumHeight(minh)); +} + +void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setMinimumSize(arg__1)); +} + +void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, int minw, int minh) +{ + ( theWrappedObject->setMinimumSize(minw, minh)); +} + +void PythonQtWrapper_QWidget::setMinimumWidth(QWidget* theWrappedObject, int minw) +{ + ( theWrappedObject->setMinimumWidth(minw)); +} + +void PythonQtWrapper_QWidget::setMouseTracking(QWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setMouseTracking(enable)); +} + +void PythonQtWrapper_QWidget::setPalette(QWidget* theWrappedObject, const QPalette& arg__1) +{ + ( theWrappedObject->setPalette(arg__1)); +} + +void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent) +{ + ( theWrappedObject->setParent(parent)); +} + +void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent, Qt::WindowFlags f) +{ + ( theWrappedObject->setParent(parent, f)); +} + +void PythonQtWrapper_QWidget::setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable) +{ + ( theWrappedObject->setShortcutAutoRepeat(id, enable)); +} + +void PythonQtWrapper_QWidget::setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable) +{ + ( theWrappedObject->setShortcutEnabled(id, enable)); +} + +void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setSizeIncrement(arg__1)); +} + +void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->setSizeIncrement(w, h)); +} + +void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1) +{ + ( theWrappedObject->setSizePolicy(arg__1)); +} + +void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) +{ + ( theWrappedObject->setSizePolicy(horizontal, vertical)); +} + +void PythonQtWrapper_QWidget::setStatusTip(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setStatusTip(arg__1)); +} + +void PythonQtWrapper_QWidget::setStyle(QWidget* theWrappedObject, QStyle* arg__1) +{ + ( theWrappedObject->setStyle(arg__1)); +} + +void PythonQtWrapper_QWidget::static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2) +{ + (QWidget::setTabOrder(arg__1, arg__2)); +} + +void PythonQtWrapper_QWidget::setTabletTracking(QWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setTabletTracking(enable)); +} + +void PythonQtWrapper_QWidget::setToolTip(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setToolTip(arg__1)); +} + +void PythonQtWrapper_QWidget::setToolTipDuration(QWidget* theWrappedObject, int msec) +{ + ( theWrappedObject->setToolTipDuration(msec)); +} + +void PythonQtWrapper_QWidget::setUpdatesEnabled(QWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUpdatesEnabled(enable)); +} + +void PythonQtWrapper_QWidget::setWhatsThis(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWhatsThis(arg__1)); +} + +void PythonQtWrapper_QWidget::setWindowFilePath(QWidget* theWrappedObject, const QString& filePath) +{ + ( theWrappedObject->setWindowFilePath(filePath)); +} + +void PythonQtWrapper_QWidget::setWindowFlag(QWidget* theWrappedObject, Qt::WindowType arg__1, bool on) +{ + ( theWrappedObject->setWindowFlag(arg__1, on)); +} + +void PythonQtWrapper_QWidget::setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) +{ + ( theWrappedObject->setWindowFlags(type)); +} + +void PythonQtWrapper_QWidget::setWindowIcon(QWidget* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setWindowIcon(icon)); +} + +void PythonQtWrapper_QWidget::setWindowIconText(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWindowIconText(arg__1)); +} + +void PythonQtWrapper_QWidget::setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality) +{ + ( theWrappedObject->setWindowModality(windowModality)); +} + +void PythonQtWrapper_QWidget::setWindowOpacity(QWidget* theWrappedObject, qreal level) +{ + ( theWrappedObject->setWindowOpacity(level)); +} + +void PythonQtWrapper_QWidget::setWindowRole(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWindowRole(arg__1)); +} + +void PythonQtWrapper_QWidget::setWindowState(QWidget* theWrappedObject, Qt::WindowStates state) +{ + ( theWrappedObject->setWindowState(state)); +} + +void PythonQtWrapper_QWidget::showEvent(QWidget* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_showEvent(event)); +} + +QSize PythonQtWrapper_QWidget::size(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QSize PythonQtWrapper_QWidget::sizeHint(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QSize PythonQtWrapper_QWidget::sizeIncrement(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeIncrement()); +} + +QSizePolicy PythonQtWrapper_QWidget::sizePolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + +void PythonQtWrapper_QWidget::stackUnder(QWidget* theWrappedObject, QWidget* arg__1) +{ + ( theWrappedObject->stackUnder(arg__1)); +} + +QString PythonQtWrapper_QWidget::statusTip(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QStyle* PythonQtWrapper_QWidget::style(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +QString PythonQtWrapper_QWidget::styleSheet(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->styleSheet()); +} + +void PythonQtWrapper_QWidget::tabletEvent(QWidget* theWrappedObject, QTabletEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_tabletEvent(event)); +} + +bool PythonQtWrapper_QWidget::testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const +{ + return ( theWrappedObject->testAttribute(arg__1)); +} + +QString PythonQtWrapper_QWidget::toolTip(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QWidget::toolTipDuration(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->toolTipDuration()); +} + +bool PythonQtWrapper_QWidget::underMouse(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->underMouse()); +} + +void PythonQtWrapper_QWidget::ungrabGesture(QWidget* theWrappedObject, Qt::GestureType type) +{ + ( theWrappedObject->ungrabGesture(type)); +} + +void PythonQtWrapper_QWidget::unsetCursor(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} + +void PythonQtWrapper_QWidget::unsetLayoutDirection(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLayoutDirection()); +} + +void PythonQtWrapper_QWidget::unsetLocale(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLocale()); +} + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->update(arg__1)); +} + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->update(arg__1)); +} + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->update(x, y, w, h)); +} + +void PythonQtWrapper_QWidget::updateGeometry(QWidget* theWrappedObject) +{ + ( theWrappedObject->updateGeometry()); +} + +bool PythonQtWrapper_QWidget::updatesEnabled(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->updatesEnabled()); +} + +QRegion PythonQtWrapper_QWidget::visibleRegion(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->visibleRegion()); +} + +QString PythonQtWrapper_QWidget::whatsThis(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QWidget::wheelEvent(QWidget* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_wheelEvent(event)); +} + +int PythonQtWrapper_QWidget::width(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +WId PythonQtWrapper_QWidget::winId(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->winId()); +} + +QWidget* PythonQtWrapper_QWidget::window(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +QString PythonQtWrapper_QWidget::windowFilePath(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFilePath()); +} + +Qt::WindowFlags PythonQtWrapper_QWidget::windowFlags(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFlags()); +} + +QWindow* PythonQtWrapper_QWidget::windowHandle(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowHandle()); +} + +QIcon PythonQtWrapper_QWidget::windowIcon(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowIcon()); +} + +QString PythonQtWrapper_QWidget::windowIconText(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowIconText()); +} + +Qt::WindowModality PythonQtWrapper_QWidget::windowModality(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowModality()); +} + +qreal PythonQtWrapper_QWidget::windowOpacity(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowOpacity()); +} + +QString PythonQtWrapper_QWidget::windowRole(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowRole()); +} + +Qt::WindowStates PythonQtWrapper_QWidget::windowState(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowState()); +} + +QString PythonQtWrapper_QWidget::windowTitle(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowTitle()); +} + +Qt::WindowType PythonQtWrapper_QWidget::windowType(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowType()); +} + +int PythonQtWrapper_QWidget::x(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QWidget::y(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QWidget::py_toString(QWidget* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWidgetAction::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(); + } + } +} + QWidgetAction::childEvent(event0); +} +QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createWidget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetAction::createWidget(parent0); +} +void PythonQtShell_QWidgetAction::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(); + } + } +} + QWidgetAction::customEvent(event0); +} +void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deleteWidget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidgetAction::deleteWidget(widget0); +} +bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetAction::event(arg__1); +} +bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QWidgetAction::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWidgetAction::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(); + } + } +} + QWidgetAction::timerEvent(event0); +} +QWidgetAction* PythonQtWrapper_QWidgetAction::new_QWidgetAction(QObject* parent) +{ +return new PythonQtShell_QWidgetAction(parent); } + +const QMetaObject* PythonQtShell_QWidgetAction::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWidgetAction::staticMetaObject); + } else { + return &QWidgetAction::staticMetaObject; + } +} +int PythonQtShell_QWidgetAction::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWidgetAction::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QWidget* PythonQtWrapper_QWidgetAction::createWidget(QWidgetAction* theWrappedObject, QWidget* parent) +{ + return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createWidget(parent)); +} + +QList PythonQtWrapper_QWidgetAction::createdWidgets(QWidgetAction* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createdWidgets()); +} + +QWidget* PythonQtWrapper_QWidgetAction::defaultWidget(QWidgetAction* theWrappedObject) const +{ + return ( theWrappedObject->defaultWidget()); +} + +void PythonQtWrapper_QWidgetAction::deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_deleteWidget(widget)); +} + +void PythonQtWrapper_QWidgetAction::releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->releaseWidget(widget)); +} + +QWidget* PythonQtWrapper_QWidgetAction::requestWidget(QWidgetAction* theWrappedObject, QWidget* parent) +{ + return ( theWrappedObject->requestWidget(parent)); +} + +void PythonQtWrapper_QWidgetAction::setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->setDefaultWidget(w)); +} + + + +PythonQtShell_QWidgetItem::~PythonQtShell_QWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::controlTypes(); +} +Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::expandingDirections(); +} +QRect PythonQtShell_QWidgetItem::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::geometry(); +} +bool PythonQtShell_QWidgetItem::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::hasHeightForWidth(); +} +int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::heightForWidth(arg__1); +} +void PythonQtShell_QWidgetItem::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(); + } + } +} + QWidgetItem::invalidate(); +} +bool PythonQtShell_QWidgetItem::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::isEmpty(); +} +QLayout* PythonQtShell_QWidgetItem::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::layout(); +} +QSize PythonQtShell_QWidgetItem::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::maximumSize(); +} +int PythonQtShell_QWidgetItem::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 QWidgetItem::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QWidgetItem::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::minimumSize(); +} +void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidgetItem::setGeometry(arg__1); +} +QSize PythonQtShell_QWidgetItem::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::sizeHint(); +} +QSpacerItem* PythonQtShell_QWidgetItem::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 QWidgetItem::spacerItem(); +} +QWidget* PythonQtShell_QWidgetItem::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 QWidgetItem::widget(); +} +QWidgetItem* PythonQtWrapper_QWidgetItem::new_QWidgetItem(QWidget* w) +{ +return new PythonQtShell_QWidgetItem(w); } + + + +PythonQtShell_QWindow::~PythonQtShell_QWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWindow::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(); + } + } +} + QWindow::childEvent(event0); +} +void PythonQtShell_QWindow::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(); + } + } +} + QWindow::customEvent(event0); +} +bool PythonQtShell_QWindow::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWindow::event(arg__1); +} +bool PythonQtShell_QWindow::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 QWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::exposeEvent(arg__1); +} +void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::focusInEvent(arg__1); +} +QObject* PythonQtShell_QWindow::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWindow::focusObject(); +} +void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QWindow::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWindow::format(); +} +void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::hideEvent(arg__1); +} +void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::keyPressEvent(arg__1); +} +void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::mousePressEvent(arg__1); +} +void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::moveEvent(arg__1); +} +bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWindow::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::resizeEvent(arg__1); +} +void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::showEvent(arg__1); +} +QSize PythonQtShell_QWindow::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWindow::size(); +} +QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWindow::surfaceType(); +} +void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::tabletEvent(arg__1); +} +void PythonQtShell_QWindow::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(); + } + } +} + QWindow::timerEvent(event0); +} +void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::touchEvent(arg__1); +} +void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::wheelEvent(arg__1); +} +QWindow* PythonQtWrapper_QWindow::new_QWindow(QScreen* screen) +{ +return new PythonQtShell_QWindow(screen); } + +QWindow* PythonQtWrapper_QWindow::new_QWindow(QWindow* parent) +{ +return new PythonQtShell_QWindow(parent); } + +const QMetaObject* PythonQtShell_QWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWindow::staticMetaObject); + } else { + return &QWindow::staticMetaObject; + } +} +int PythonQtShell_QWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSize PythonQtWrapper_QWindow::baseSize(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->baseSize()); +} + +Qt::ScreenOrientation PythonQtWrapper_QWindow::contentOrientation(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->contentOrientation()); +} + +void PythonQtWrapper_QWindow::create(QWindow* theWrappedObject) +{ + ( theWrappedObject->create()); +} + +QCursor PythonQtWrapper_QWindow::cursor(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} + +void PythonQtWrapper_QWindow::destroy(QWindow* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +qreal PythonQtWrapper_QWindow::devicePixelRatio(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +void PythonQtWrapper_QWindow::exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_exposeEvent(arg__1)); +} + +QString PythonQtWrapper_QWindow::filePath(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->filePath()); +} + +Qt::WindowFlags PythonQtWrapper_QWindow::flags(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +void PythonQtWrapper_QWindow::focusInEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +QObject* PythonQtWrapper_QWindow::focusObject(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->focusObject()); +} + +void PythonQtWrapper_QWindow::focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +QRect PythonQtWrapper_QWindow::frameGeometry(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->frameGeometry()); +} + +QMargins PythonQtWrapper_QWindow::frameMargins(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->frameMargins()); +} + +QPoint PythonQtWrapper_QWindow::framePosition(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->framePosition()); +} + +QWindow* PythonQtWrapper_QWindow::static_QWindow_fromWinId(WId id) +{ + return (QWindow::fromWinId(id)); +} + +QRect PythonQtWrapper_QWindow::geometry(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +int PythonQtWrapper_QWindow::height(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +void PythonQtWrapper_QWindow::hideEvent(QWindow* theWrappedObject, QHideEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_hideEvent(arg__1)); +} + +QIcon PythonQtWrapper_QWindow::icon(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QWindow::isActive(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QWindow::isAncestorOf(QWindow* theWrappedObject, const QWindow* child, QWindow::AncestorMode mode) const +{ + return ( theWrappedObject->isAncestorOf(child, mode)); +} + +bool PythonQtWrapper_QWindow::isExposed(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isExposed()); +} + +bool PythonQtWrapper_QWindow::isModal(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isModal()); +} + +bool PythonQtWrapper_QWindow::isTopLevel(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isTopLevel()); +} + +bool PythonQtWrapper_QWindow::isVisible(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +void PythonQtWrapper_QWindow::keyPressEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::keyReleaseEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); +} + +QPoint PythonQtWrapper_QWindow::mapFromGlobal(QWindow* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->mapFromGlobal(pos)); +} + +QPoint PythonQtWrapper_QWindow::mapToGlobal(QWindow* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->mapToGlobal(pos)); +} + +QRegion PythonQtWrapper_QWindow::mask(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->mask()); +} + +int PythonQtWrapper_QWindow::maximumHeight(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximumHeight()); +} + +QSize PythonQtWrapper_QWindow::maximumSize(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); +} + +int PythonQtWrapper_QWindow::maximumWidth(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); +} + +int PythonQtWrapper_QWindow::minimumHeight(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumHeight()); +} + +QSize PythonQtWrapper_QWindow::minimumSize(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumSize()); +} + +int PythonQtWrapper_QWindow::minimumWidth(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); +} + +Qt::WindowModality PythonQtWrapper_QWindow::modality(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->modality()); +} + +void PythonQtWrapper_QWindow::mouseDoubleClickEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::mouseMoveEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::mousePressEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::mouseReleaseEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::moveEvent(QWindow* theWrappedObject, QMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_moveEvent(arg__1)); +} + +bool PythonQtWrapper_QWindow::nativeEvent(QWindow* theWrappedObject, const QByteArray& eventType, void* message, long* result) +{ + return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); +} + +qreal PythonQtWrapper_QWindow::opacity(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QWindow* PythonQtWrapper_QWindow::parent(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +QWindow* PythonQtWrapper_QWindow::parent(QWindow* theWrappedObject, QWindow::AncestorMode mode) const +{ + return ( theWrappedObject->parent(mode)); +} + +QPoint PythonQtWrapper_QWindow::position(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QWindow::reportContentOrientationChange(QWindow* theWrappedObject, Qt::ScreenOrientation orientation) +{ + ( theWrappedObject->reportContentOrientationChange(orientation)); +} + +QSurfaceFormat PythonQtWrapper_QWindow::requestedFormat(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->requestedFormat()); +} + +void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, const QSize& newSize) +{ + ( theWrappedObject->resize(newSize)); +} + +void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QWindow::resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +QScreen* PythonQtWrapper_QWindow::screen(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + +void PythonQtWrapper_QWindow::setBaseSize(QWindow* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setBaseSize(size)); +} + +void PythonQtWrapper_QWindow::setCursor(QWindow* theWrappedObject, const QCursor& arg__1) +{ + ( theWrappedObject->setCursor(arg__1)); +} + +void PythonQtWrapper_QWindow::setFilePath(QWindow* theWrappedObject, const QString& filePath) +{ + ( theWrappedObject->setFilePath(filePath)); +} + +void PythonQtWrapper_QWindow::setFlag(QWindow* theWrappedObject, Qt::WindowType arg__1, bool on) +{ + ( theWrappedObject->setFlag(arg__1, on)); +} + +void PythonQtWrapper_QWindow::setFlags(QWindow* theWrappedObject, Qt::WindowFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QWindow::setFormat(QWindow* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QWindow::setFramePosition(QWindow* theWrappedObject, const QPoint& point) +{ + ( theWrappedObject->setFramePosition(point)); +} + +void PythonQtWrapper_QWindow::setIcon(QWindow* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +bool PythonQtWrapper_QWindow::setKeyboardGrabEnabled(QWindow* theWrappedObject, bool grab) +{ + return ( theWrappedObject->setKeyboardGrabEnabled(grab)); +} + +void PythonQtWrapper_QWindow::setMask(QWindow* theWrappedObject, const QRegion& region) +{ + ( theWrappedObject->setMask(region)); +} + +void PythonQtWrapper_QWindow::setMaximumSize(QWindow* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setMaximumSize(size)); +} + +void PythonQtWrapper_QWindow::setMinimumSize(QWindow* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setMinimumSize(size)); +} + +void PythonQtWrapper_QWindow::setModality(QWindow* theWrappedObject, Qt::WindowModality modality) +{ + ( theWrappedObject->setModality(modality)); +} + +bool PythonQtWrapper_QWindow::setMouseGrabEnabled(QWindow* theWrappedObject, bool grab) +{ + return ( theWrappedObject->setMouseGrabEnabled(grab)); +} + +void PythonQtWrapper_QWindow::setOpacity(QWindow* theWrappedObject, qreal level) +{ + ( theWrappedObject->setOpacity(level)); +} + +void PythonQtWrapper_QWindow::setParent(QWindow* theWrappedObject, QWindow* parent) +{ + ( theWrappedObject->setParent(parent)); +} + +void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, const QPoint& pt) +{ + ( theWrappedObject->setPosition(pt)); +} + +void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, int posx, int posy) +{ + ( theWrappedObject->setPosition(posx, posy)); +} + +void PythonQtWrapper_QWindow::setScreen(QWindow* theWrappedObject, QScreen* screen) +{ + ( theWrappedObject->setScreen(screen)); +} + +void PythonQtWrapper_QWindow::setSizeIncrement(QWindow* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSizeIncrement(size)); +} + +void PythonQtWrapper_QWindow::setSurfaceType(QWindow* theWrappedObject, QSurface::SurfaceType surfaceType) +{ + ( theWrappedObject->setSurfaceType(surfaceType)); +} + +void PythonQtWrapper_QWindow::setTransientParent(QWindow* theWrappedObject, QWindow* parent) +{ + ( theWrappedObject->setTransientParent(parent)); +} + +void PythonQtWrapper_QWindow::setVisibility(QWindow* theWrappedObject, QWindow::Visibility v) +{ + ( theWrappedObject->setVisibility(v)); +} + +void PythonQtWrapper_QWindow::setWindowState(QWindow* theWrappedObject, Qt::WindowState state) +{ + ( theWrappedObject->setWindowState(state)); +} + +void PythonQtWrapper_QWindow::setWindowStates(QWindow* theWrappedObject, Qt::WindowStates states) +{ + ( theWrappedObject->setWindowStates(states)); +} + +void PythonQtWrapper_QWindow::showEvent(QWindow* theWrappedObject, QShowEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_showEvent(arg__1)); +} + +QSize PythonQtWrapper_QWindow::sizeIncrement(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->sizeIncrement()); +} + +void PythonQtWrapper_QWindow::tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_tabletEvent(arg__1)); +} + +QString PythonQtWrapper_QWindow::title(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +void PythonQtWrapper_QWindow::touchEvent(QWindow* theWrappedObject, QTouchEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_touchEvent(arg__1)); +} + +QWindow* PythonQtWrapper_QWindow::transientParent(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->transientParent()); +} + +Qt::WindowType PythonQtWrapper_QWindow::type(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +void PythonQtWrapper_QWindow::unsetCursor(QWindow* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} + +QWindow::Visibility PythonQtWrapper_QWindow::visibility(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->visibility()); +} + +void PythonQtWrapper_QWindow::wheelEvent(QWindow* theWrappedObject, QWheelEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_wheelEvent(arg__1)); +} + +int PythonQtWrapper_QWindow::width(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +WId PythonQtWrapper_QWindow::winId(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->winId()); +} + +Qt::WindowState PythonQtWrapper_QWindow::windowState(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->windowState()); +} + +Qt::WindowStates PythonQtWrapper_QWindow::windowStates(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->windowStates()); +} + +int PythonQtWrapper_QWindow::x(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QWindow::y(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QWindow::py_toString(QWindow* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QWindowStateChangeEvent* PythonQtWrapper_QWindowStateChangeEvent::new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride) +{ +return new QWindowStateChangeEvent(aOldState, isOverride); } + +bool PythonQtWrapper_QWindowStateChangeEvent::isOverride(QWindowStateChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->isOverride()); +} + +Qt::WindowStates PythonQtWrapper_QWindowStateChangeEvent::oldState(QWindowStateChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->oldState()); +} + + + +PythonQtShell_QWizard::~PythonQtShell_QWizard() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWizard::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QWizard::accept(); +} +void PythonQtShell_QWizard::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QWizard::actionEvent(event0); +} +void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::changeEvent(arg__1); +} +void PythonQtShell_QWizard::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(); + } + } +} + QWizard::childEvent(event0); +} +void PythonQtShell_QWizard::cleanupPage(int id0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cleanupPage"); + 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*)&id0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::cleanupPage(id0); +} +void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::closeEvent(arg__1); +} +void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::contextMenuEvent(arg__1); +} +void PythonQtShell_QWizard::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(); + } + } +} + QWizard::customEvent(event0); +} +int PythonQtShell_QWizard::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 QWizard::devType(); +} +void PythonQtShell_QWizard::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::done(result0); +} +void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QWizard::dragEnterEvent(event0); +} +void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QWizard::dragLeaveEvent(event0); +} +void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QWizard::dragMoveEvent(event0); +} +void PythonQtShell_QWizard::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QWizard::dropEvent(event0); +} +void PythonQtShell_QWizard::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QWizard::enterEvent(event0); +} +bool PythonQtShell_QWizard::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 QWizard::event(event0); +} +bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QWizard::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QWizard::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::exec(); +} +void PythonQtShell_QWizard::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(); + } + } +} + QWizard::focusInEvent(event0); +} +bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::focusNextPrevChild(next0); +} +void PythonQtShell_QWizard::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(); + } + } +} + QWizard::focusOutEvent(event0); +} +bool PythonQtShell_QWizard::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::hasHeightForWidth(); +} +int PythonQtShell_QWizard::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::heightForWidth(arg__1); +} +void PythonQtShell_QWizard::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::hideEvent(event0); +} +void PythonQtShell_QWizard::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(); + } + } +} + QWizard::initPainter(painter0); +} +void PythonQtShell_QWizard::initializePage(int id0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializePage"); + 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*)&id0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::initializePage(id0); +} +void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::inputMethodQuery(arg__1); +} +void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::keyPressEvent(arg__1); +} +void PythonQtShell_QWizard::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(); + } + } +} + QWizard::keyReleaseEvent(event0); +} +void PythonQtShell_QWizard::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QWizard::leaveEvent(event0); +} +int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::metric(arg__1); +} +QSize PythonQtShell_QWizard::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::minimumSizeHint(); +} +void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizard::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizard::mouseMoveEvent(event0); +} +void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizard::mousePressEvent(event0); +} +void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizard::mouseReleaseEvent(event0); +} +void PythonQtShell_QWizard::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QWizard::moveEvent(event0); +} +bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::nativeEvent(eventType0, message1, result2); +} +int PythonQtShell_QWizard::nextId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextId"); + 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("nextId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::nextId(); +} +void PythonQtShell_QWizard::open() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + 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(); + } + } +} + QWizard::open(); +} +QPaintEngine* PythonQtShell_QWizard::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::paintEngine(); +} +void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QWizard::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QWizard::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 QWizard::redirected(offset0); +} +void PythonQtShell_QWizard::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QWizard::reject(); +} +void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QWizard::resizeEvent(event0); +} +void PythonQtShell_QWizard::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::setVisible(visible0); +} +QPainter* PythonQtShell_QWizard::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 QWizard::sharedPainter(); +} +void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::showEvent(arg__1); +} +QSize PythonQtShell_QWizard::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::sizeHint(); +} +void PythonQtShell_QWizard::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QWizard::tabletEvent(event0); +} +void PythonQtShell_QWizard::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(); + } + } +} + QWizard::timerEvent(event0); +} +bool PythonQtShell_QWizard::validateCurrentPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validateCurrentPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizard::validateCurrentPage(); +} +void PythonQtShell_QWizard::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QWizard::wheelEvent(event0); +} +QWizard* PythonQtWrapper_QWizard::new_QWizard(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QWizard(parent, flags); } + +const QMetaObject* PythonQtShell_QWizard::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWizard::staticMetaObject); + } else { + return &QWizard::staticMetaObject; + } +} +int PythonQtShell_QWizard::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWizard::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QWizard::addPage(QWizard* theWrappedObject, PythonQtPassOwnershipToCPP page) +{ + return ( theWrappedObject->addPage(page)); +} + +QAbstractButton* PythonQtWrapper_QWizard::button(QWizard* theWrappedObject, QWizard::WizardButton which) const +{ + return ( theWrappedObject->button(which)); +} + +QString PythonQtWrapper_QWizard::buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const +{ + return ( theWrappedObject->buttonText(which)); +} + +void PythonQtWrapper_QWizard::cleanupPage(QWizard* theWrappedObject, int id) +{ + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_cleanupPage(id)); +} + +int PythonQtWrapper_QWizard::currentId(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->currentId()); +} + +QWizardPage* PythonQtWrapper_QWizard::currentPage(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->currentPage()); +} + +QVariant PythonQtWrapper_QWizard::field(QWizard* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->field(name)); +} + +bool PythonQtWrapper_QWizard::hasVisitedPage(QWizard* theWrappedObject, int id) const +{ + return ( theWrappedObject->hasVisitedPage(id)); +} + +void PythonQtWrapper_QWizard::initializePage(QWizard* theWrappedObject, int id) +{ + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_initializePage(id)); +} + +int PythonQtWrapper_QWizard::nextId(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->nextId()); +} + +QWizard::WizardOptions PythonQtWrapper_QWizard::options(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QWizardPage* PythonQtWrapper_QWizard::page(QWizard* theWrappedObject, int id) const +{ + return ( theWrappedObject->page(id)); +} + +QList PythonQtWrapper_QWizard::pageIds(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->pageIds()); +} + +QPixmap PythonQtWrapper_QWizard::pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const +{ + return ( theWrappedObject->pixmap(which)); +} + +void PythonQtWrapper_QWizard::removePage(QWizard* theWrappedObject, int id) +{ + ( theWrappedObject->removePage(id)); +} + +void PythonQtWrapper_QWizard::setButton(QWizard* theWrappedObject, QWizard::WizardButton which, PythonQtPassOwnershipToCPP button) +{ + ( theWrappedObject->setButton(which, button)); +} + +void PythonQtWrapper_QWizard::setButtonLayout(QWizard* theWrappedObject, const QList& layout) +{ + ( theWrappedObject->setButtonLayout(layout)); +} + +void PythonQtWrapper_QWizard::setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text) +{ + ( theWrappedObject->setButtonText(which, text)); +} + +void PythonQtWrapper_QWizard::setField(QWizard* theWrappedObject, const QString& name, const QVariant& value) +{ + ( theWrappedObject->setField(name, value)); +} + +void PythonQtWrapper_QWizard::setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QWizard::setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QWizard::setPage(QWizard* theWrappedObject, int id, QWizardPage* page) +{ + ( theWrappedObject->setPage(id, page)); +} + +void PythonQtWrapper_QWizard::setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(which, pixmap)); +} + +void PythonQtWrapper_QWizard::setSideWidget(QWizard* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setSideWidget(widget)); +} + +void PythonQtWrapper_QWizard::setStartId(QWizard* theWrappedObject, int id) +{ + ( theWrappedObject->setStartId(id)); +} + +void PythonQtWrapper_QWizard::setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) +{ + ( theWrappedObject->setSubTitleFormat(format)); +} + +void PythonQtWrapper_QWizard::setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) +{ + ( theWrappedObject->setTitleFormat(format)); +} + +void PythonQtWrapper_QWizard::setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style) +{ + ( theWrappedObject->setWizardStyle(style)); +} + +QWidget* PythonQtWrapper_QWizard::sideWidget(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->sideWidget()); +} + +int PythonQtWrapper_QWizard::startId(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->startId()); +} + +Qt::TextFormat PythonQtWrapper_QWizard::subTitleFormat(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->subTitleFormat()); +} + +bool PythonQtWrapper_QWizard::testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + +Qt::TextFormat PythonQtWrapper_QWizard::titleFormat(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->titleFormat()); +} + +bool PythonQtWrapper_QWizard::validateCurrentPage(QWizard* theWrappedObject) +{ + return ( theWrappedObject->validateCurrentPage()); +} + +QList PythonQtWrapper_QWizard::visitedIds(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->visitedIds()); +} + +QList PythonQtWrapper_QWizard::visitedPages(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->visitedPages()); +} + +QWizard::WizardStyle PythonQtWrapper_QWizard::wizardStyle(QWizard* theWrappedObject) const +{ + return ( theWrappedObject->wizardStyle()); +} + + + +PythonQtShell_QWizardPage::~PythonQtShell_QWizardPage() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWizardPage::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QWizardPage::actionEvent(event0); +} +void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::changeEvent(arg__1); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::childEvent(event0); +} +void PythonQtShell_QWizardPage::cleanupPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cleanupPage"); + 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(); + } + } +} + QWizardPage::cleanupPage(); +} +void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QWizardPage::closeEvent(event0); +} +void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QWizardPage::contextMenuEvent(event0); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::customEvent(event0); +} +int PythonQtShell_QWizardPage::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 QWizardPage::devType(); +} +void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QWizardPage::dragEnterEvent(event0); +} +void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QWizardPage::dragLeaveEvent(event0); +} +void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QWizardPage::dragMoveEvent(event0); +} +void PythonQtShell_QWizardPage::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QWizardPage::dropEvent(event0); +} +void PythonQtShell_QWizardPage::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QWizardPage::enterEvent(event0); +} +bool PythonQtShell_QWizardPage::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 QWizardPage::event(event0); +} +bool PythonQtShell_QWizardPage::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 QWizardPage::eventFilter(watched0, event1); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::focusInEvent(event0); +} +bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::focusNextPrevChild(next0); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::focusOutEvent(event0); +} +bool PythonQtShell_QWizardPage::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::hasHeightForWidth(); +} +int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::heightForWidth(arg__1); +} +void PythonQtShell_QWizardPage::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::hideEvent(event0); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::initPainter(painter0); +} +void PythonQtShell_QWizardPage::initializePage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializePage"); + 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(); + } + } +} + QWizardPage::initializePage(); +} +void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::inputMethodQuery(arg__1); +} +bool PythonQtShell_QWizardPage::isComplete() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isComplete"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::isComplete(); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::keyPressEvent(event0); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::keyReleaseEvent(event0); +} +void PythonQtShell_QWizardPage::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QWizardPage::leaveEvent(event0); +} +int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::metric(arg__1); +} +QSize PythonQtShell_QWizardPage::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::minimumSizeHint(); +} +void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizardPage::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizardPage::mouseMoveEvent(event0); +} +void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizardPage::mousePressEvent(event0); +} +void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QWizardPage::mouseReleaseEvent(event0); +} +void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QWizardPage::moveEvent(event0); +} +bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::nativeEvent(eventType0, message1, result2); +} +int PythonQtShell_QWizardPage::nextId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextId"); + 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("nextId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::nextId(); +} +QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::paintEngine(); +} +void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QWizardPage::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QWizardPage::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 QWizardPage::redirected(offset0); +} +void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QWizardPage::resizeEvent(event0); +} +void PythonQtShell_QWizardPage::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::setVisible(visible0); +} +QPainter* PythonQtShell_QWizardPage::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 QWizardPage::sharedPainter(); +} +void PythonQtShell_QWizardPage::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QWizardPage::showEvent(event0); +} +QSize PythonQtShell_QWizardPage::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::sizeHint(); +} +void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QWizardPage::tabletEvent(event0); +} +void PythonQtShell_QWizardPage::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(); + } + } +} + QWizardPage::timerEvent(event0); +} +bool PythonQtShell_QWizardPage::validatePage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validatePage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::validatePage(); +} +void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QWizardPage::wheelEvent(event0); +} +QWizardPage* PythonQtWrapper_QWizardPage::new_QWizardPage(QWidget* parent) +{ +return new PythonQtShell_QWizardPage(parent); } + +const QMetaObject* PythonQtShell_QWizardPage::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWizardPage::staticMetaObject); + } else { + return &QWizardPage::staticMetaObject; + } +} +int PythonQtShell_QWizardPage::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWizardPage::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QWizardPage::buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const +{ + return ( theWrappedObject->buttonText(which)); +} + +void PythonQtWrapper_QWizardPage::cleanupPage(QWizardPage* theWrappedObject) +{ + ( theWrappedObject->cleanupPage()); +} + +QVariant PythonQtWrapper_QWizardPage::field(QWizardPage* theWrappedObject, const QString& name) const +{ + return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_field(name)); +} + +void PythonQtWrapper_QWizardPage::initializePage(QWizardPage* theWrappedObject) +{ + ( theWrappedObject->initializePage()); +} + +bool PythonQtWrapper_QWizardPage::isCommitPage(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->isCommitPage()); +} + +bool PythonQtWrapper_QWizardPage::isComplete(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->isComplete()); +} + +bool PythonQtWrapper_QWizardPage::isFinalPage(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->isFinalPage()); +} + +int PythonQtWrapper_QWizardPage::nextId(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->nextId()); +} + +QPixmap PythonQtWrapper_QWizardPage::pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const +{ + return ( theWrappedObject->pixmap(which)); +} + +void PythonQtWrapper_QWizardPage::registerField(QWizardPage* theWrappedObject, const QString& name, QWidget* widget, const char* property, const char* changedSignal) +{ + ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_registerField(name, widget, property, changedSignal)); +} + +void PythonQtWrapper_QWizardPage::setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text) +{ + ( theWrappedObject->setButtonText(which, text)); +} + +void PythonQtWrapper_QWizardPage::setCommitPage(QWizardPage* theWrappedObject, bool commitPage) +{ + ( theWrappedObject->setCommitPage(commitPage)); +} + +void PythonQtWrapper_QWizardPage::setField(QWizardPage* theWrappedObject, const QString& name, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_setField(name, value)); +} + +void PythonQtWrapper_QWizardPage::setFinalPage(QWizardPage* theWrappedObject, bool finalPage) +{ + ( theWrappedObject->setFinalPage(finalPage)); +} + +void PythonQtWrapper_QWizardPage::setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(which, pixmap)); +} + +void PythonQtWrapper_QWizardPage::setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle) +{ + ( theWrappedObject->setSubTitle(subTitle)); +} + +void PythonQtWrapper_QWizardPage::setTitle(QWizardPage* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +QString PythonQtWrapper_QWizardPage::subTitle(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->subTitle()); +} + +QString PythonQtWrapper_QWizardPage::title(QWizardPage* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +bool PythonQtWrapper_QWizardPage::validatePage(QWizardPage* theWrappedObject) +{ + return ( theWrappedObject->validatePage()); +} + +QWizard* PythonQtWrapper_QWizardPage::wizard(QWizardPage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_wizard()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.h new file mode 100644 index 00000000..629fe7bb --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui12.h @@ -0,0 +1,1767 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QUndoCommand : public QUndoCommand +{ +public: + PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoCommand() override; + +int id() const override; +bool mergeWith(const QUndoCommand* other) override; +void redo() override; +void undo() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand +{ public: +inline int py_q_id() const { return QUndoCommand::id(); } +inline bool py_q_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } +inline void py_q_redo() { QUndoCommand::redo(); } +inline void py_q_undo() { QUndoCommand::undo(); } +}; + +class PythonQtWrapper_QUndoCommand : public QObject +{ Q_OBJECT +public: +public slots: +QUndoCommand* new_QUndoCommand(QUndoCommand* parent = nullptr); +QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr); +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; + int id(QUndoCommand* theWrappedObject) const; + int py_q_id(QUndoCommand* theWrappedObject) const{ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_id());} + bool isObsolete(QUndoCommand* theWrappedObject) const; + bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); + bool py_q_mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other){ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_mergeWith(other));} + void redo(QUndoCommand* theWrappedObject); + void py_q_redo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_redo());} + void setObsolete(QUndoCommand* theWrappedObject, bool obsolete); + void setText(QUndoCommand* theWrappedObject, const QString& text); + QString text(QUndoCommand* theWrappedObject) const; + void undo(QUndoCommand* theWrappedObject); + void py_q_undo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_undo());} +}; + + + + + +class PythonQtShell_QUndoGroup : public QUndoGroup +{ +public: + PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoGroup() 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_QUndoGroup : public QObject +{ Q_OBJECT +public: +public slots: +QUndoGroup* new_QUndoGroup(QObject* parent = nullptr); +void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } + QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; + void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); + bool canRedo(QUndoGroup* theWrappedObject) const; + bool canUndo(QUndoGroup* theWrappedObject) const; + QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + bool isClean(QUndoGroup* theWrappedObject) const; + QString redoText(QUndoGroup* theWrappedObject) const; + void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); + QList stacks(QUndoGroup* theWrappedObject) const; + QString undoText(QUndoGroup* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QUndoStack : public QUndoStack +{ +public: + PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoStack() 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_QUndoStack : public QObject +{ Q_OBJECT +public: +public slots: +QUndoStack* new_QUndoStack(QObject* parent = nullptr); +void delete_QUndoStack(QUndoStack* obj) { delete obj; } + void beginMacro(QUndoStack* theWrappedObject, const QString& text); + bool canRedo(QUndoStack* theWrappedObject) const; + bool canUndo(QUndoStack* theWrappedObject) const; + int cleanIndex(QUndoStack* theWrappedObject) const; + void clear(QUndoStack* theWrappedObject); + const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const; + int count(QUndoStack* theWrappedObject) const; + QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + void endMacro(QUndoStack* theWrappedObject); + int index(QUndoStack* theWrappedObject) const; + bool isActive(QUndoStack* theWrappedObject) const; + bool isClean(QUndoStack* theWrappedObject) const; + void push(QUndoStack* theWrappedObject, QUndoCommand* cmd); + QString redoText(QUndoStack* theWrappedObject) const; + void setUndoLimit(QUndoStack* theWrappedObject, int limit); + QString text(QUndoStack* theWrappedObject, int idx) const; + int undoLimit(QUndoStack* theWrappedObject) const; + QString undoText(QUndoStack* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QUndoView : public QUndoView +{ +public: + 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 +{ Q_OBJECT +public: +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; } + QIcon cleanIcon(QUndoView* theWrappedObject) const; + QString emptyLabel(QUndoView* theWrappedObject) const; + QUndoGroup* group(QUndoView* theWrappedObject) const; + void setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon); + void setEmptyLabel(QUndoView* theWrappedObject, const QString& label); + QUndoStack* stack(QUndoView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QVBoxLayout : public QVBoxLayout +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QVBoxLayout* new_QVBoxLayout(); +QVBoxLayout* new_QVBoxLayout(QWidget* parent); +void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } + bool __nonzero__(QVBoxLayout* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QValidator : public QValidator +{ +public: + PythonQtShell_QValidator(QObject* parent = nullptr):QValidator(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QValidator() 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& arg__1, int& arg__2) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QValidator : public QValidator +{ public: +inline void py_q_fixup(QString& arg__1) const { QValidator::fixup(arg__1); } +inline QValidator::State py_q_validate(QString& arg__1, int& arg__2) const { return this->validate(arg__1, arg__2); } +}; + +class PythonQtWrapper_QValidator : public QObject +{ Q_OBJECT +public: +public slots: +QValidator* new_QValidator(QObject* parent = nullptr); +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; + void setLocale(QValidator* theWrappedObject, const QLocale& locale); + QValidator::State validate(QValidator* theWrappedObject, QString& arg__1, int& arg__2) const; + QValidator::State py_q_validate(QValidator* theWrappedObject, QString& arg__1, int& arg__2) const{ return (((PythonQtPublicPromoter_QValidator*)theWrappedObject)->py_q_validate(arg__1, arg__2));} +}; + + + + + +class PythonQtWrapper_QVector2D : public QObject +{ Q_OBJECT +public: +public slots: +QVector2D* new_QVector2D(); +QVector2D* new_QVector2D(const QPoint& point); +QVector2D* new_QVector2D(const QPointF& point); +QVector2D* new_QVector2D(const QVector3D& vector); +QVector2D* new_QVector2D(const QVector4D& vector); +QVector2D* new_QVector2D(float xpos, float ypos); +QVector2D* new_QVector2D(const QVector2D& other) { +QVector2D* a = new QVector2D(); +*((QVector2D*)a) = other; +return a; } +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); + bool isNull(QVector2D* theWrappedObject) const; + float length(QVector2D* theWrappedObject) const; + 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); + QVector2D* __imul__(QVector2D* theWrappedObject, float factor); + const QVector2D __add__(QVector2D* theWrappedObject, const QVector2D& v2); + QVector2D* __iadd__(QVector2D* theWrappedObject, const QVector2D& vector); + const QVector2D __sub__(QVector2D* theWrappedObject); + const QVector2D __sub__(QVector2D* theWrappedObject, const QVector2D& v2); + QVector2D* __isub__(QVector2D* theWrappedObject, const QVector2D& vector); + const QVector2D __div__(QVector2D* theWrappedObject, const QVector2D& divisor); + const QVector2D __div__(QVector2D* theWrappedObject, float divisor); + QVector2D* __idiv__(QVector2D* theWrappedObject, const QVector2D& vector); + QVector2D* __idiv__(QVector2D* theWrappedObject, float divisor); + void writeTo(QVector2D* theWrappedObject, QDataStream& arg__1); + bool __eq__(QVector2D* theWrappedObject, const QVector2D& v2); + void readFrom(QVector2D* theWrappedObject, QDataStream& arg__1); + float operator_subscript(QVector2D* theWrappedObject, int i) const; + void setX(QVector2D* theWrappedObject, float x); + void setY(QVector2D* theWrappedObject, float y); + QPoint toPoint(QVector2D* theWrappedObject) const; + QPointF toPointF(QVector2D* theWrappedObject) const; + QVector3D toVector3D(QVector2D* theWrappedObject) const; + QVector4D toVector4D(QVector2D* theWrappedObject) const; + float x(QVector2D* theWrappedObject) const; + float y(QVector2D* theWrappedObject) const; + QString py_toString(QVector2D*); + bool __nonzero__(QVector2D* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QVector3D : public QObject +{ Q_OBJECT +public: +public slots: +QVector3D* new_QVector3D(); +QVector3D* new_QVector3D(const QPoint& point); +QVector3D* new_QVector3D(const QPointF& point); +QVector3D* new_QVector3D(const QVector2D& vector); +QVector3D* new_QVector3D(const QVector2D& vector, float zpos); +QVector3D* new_QVector3D(const QVector4D& vector); +QVector3D* new_QVector3D(float xpos, float ypos, float zpos); +QVector3D* new_QVector3D(const QVector3D& other) { +QVector3D* a = new QVector3D(); +*((QVector3D*)a) = other; +return a; } +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; + float distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const; + float distanceToPoint(QVector3D* theWrappedObject, const QVector3D& point) const; + float static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2); + bool isNull(QVector3D* theWrappedObject) const; + float length(QVector3D* theWrappedObject) const; + float lengthSquared(QVector3D* theWrappedObject) const; + QVector3D static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2); + 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); + QVector3D* __imul__(QVector3D* theWrappedObject, const QVector3D& vector); + QVector3D* __imul__(QVector3D* theWrappedObject, float factor); + const QVector3D __add__(QVector3D* theWrappedObject, const QVector3D& v2); + QVector3D* __iadd__(QVector3D* theWrappedObject, const QVector3D& vector); + const QVector3D __sub__(QVector3D* theWrappedObject); + const QVector3D __sub__(QVector3D* theWrappedObject, const QVector3D& v2); + QVector3D* __isub__(QVector3D* theWrappedObject, const QVector3D& vector); + const QVector3D __div__(QVector3D* theWrappedObject, const QVector3D& divisor); + const QVector3D __div__(QVector3D* theWrappedObject, float divisor); + QVector3D* __idiv__(QVector3D* theWrappedObject, const QVector3D& vector); + QVector3D* __idiv__(QVector3D* theWrappedObject, float divisor); + void writeTo(QVector3D* theWrappedObject, QDataStream& arg__1); + bool __eq__(QVector3D* theWrappedObject, const QVector3D& v2); + void readFrom(QVector3D* theWrappedObject, QDataStream& arg__1); + float operator_subscript(QVector3D* theWrappedObject, int i) const; + QVector3D project(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const; + void setX(QVector3D* theWrappedObject, float x); + void setY(QVector3D* theWrappedObject, float y); + void setZ(QVector3D* theWrappedObject, float z); + QPoint toPoint(QVector3D* theWrappedObject) const; + QPointF toPointF(QVector3D* theWrappedObject) const; + QVector2D toVector2D(QVector3D* theWrappedObject) const; + QVector4D toVector4D(QVector3D* theWrappedObject) const; + QVector3D unproject(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const; + float x(QVector3D* theWrappedObject) const; + float y(QVector3D* theWrappedObject) const; + float z(QVector3D* theWrappedObject) const; + QString py_toString(QVector3D*); + bool __nonzero__(QVector3D* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QVector4D : public QObject +{ Q_OBJECT +public: +public slots: +QVector4D* new_QVector4D(); +QVector4D* new_QVector4D(const QPoint& point); +QVector4D* new_QVector4D(const QPointF& point); +QVector4D* new_QVector4D(const QVector2D& vector); +QVector4D* new_QVector4D(const QVector2D& vector, float zpos, float wpos); +QVector4D* new_QVector4D(const QVector3D& vector); +QVector4D* new_QVector4D(const QVector3D& vector, float wpos); +QVector4D* new_QVector4D(float xpos, float ypos, float zpos, float wpos); +QVector4D* new_QVector4D(const QVector4D& other) { +QVector4D* a = new QVector4D(); +*((QVector4D*)a) = other; +return a; } +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); + QVector4D* __imul__(QVector4D* theWrappedObject, const QVector4D& vector); + QVector4D* __imul__(QVector4D* theWrappedObject, float factor); + const QVector4D __add__(QVector4D* theWrappedObject, const QVector4D& v2); + QVector4D* __iadd__(QVector4D* theWrappedObject, const QVector4D& vector); + const QVector4D __sub__(QVector4D* theWrappedObject); + const QVector4D __sub__(QVector4D* theWrappedObject, const QVector4D& v2); + QVector4D* __isub__(QVector4D* theWrappedObject, const QVector4D& vector); + const QVector4D __div__(QVector4D* theWrappedObject, const QVector4D& divisor); + const QVector4D __div__(QVector4D* theWrappedObject, float divisor); + QVector4D* __idiv__(QVector4D* theWrappedObject, const QVector4D& vector); + QVector4D* __idiv__(QVector4D* theWrappedObject, float divisor); + void writeTo(QVector4D* theWrappedObject, QDataStream& arg__1); + bool __eq__(QVector4D* theWrappedObject, const QVector4D& v2); + void readFrom(QVector4D* theWrappedObject, QDataStream& arg__1); + float operator_subscript(QVector4D* theWrappedObject, int i) const; + void setW(QVector4D* theWrappedObject, float w); + void setX(QVector4D* theWrappedObject, float x); + void setY(QVector4D* theWrappedObject, float y); + void setZ(QVector4D* theWrappedObject, float z); + QPoint toPoint(QVector4D* theWrappedObject) const; + QPointF toPointF(QVector4D* theWrappedObject) const; + QVector2D toVector2D(QVector4D* theWrappedObject) const; + QVector2D toVector2DAffine(QVector4D* theWrappedObject) const; + QVector3D toVector3D(QVector4D* theWrappedObject) const; + QVector3D toVector3DAffine(QVector4D* theWrappedObject) const; + float w(QVector4D* theWrappedObject) const; + float x(QVector4D* theWrappedObject) const; + float y(QVector4D* theWrappedObject) const; + float z(QVector4D* theWrappedObject) const; + QString py_toString(QVector4D*); + bool __nonzero__(QVector4D* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QWhatsThis : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } + QAction* static_QWhatsThis_createAction(QObject* parent = nullptr); + void static_QWhatsThis_enterWhatsThisMode(); + void static_QWhatsThis_hideText(); + bool static_QWhatsThis_inWhatsThisMode(); + void static_QWhatsThis_leaveWhatsThisMode(); + void static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w = nullptr); +}; + + + + + +class PythonQtWrapper_QWhatsThisClickedEvent : public QObject +{ Q_OBJECT +public: +public slots: +QWhatsThisClickedEvent* new_QWhatsThisClickedEvent(const QString& href); +void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } + QString href(QWhatsThisClickedEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWheelEvent : public QWheelEvent +{ +public: + PythonQtShell_QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source = Qt::MouseEventNotSynthesized):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, buttons, modifiers, phase, inverted, 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):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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWheelEvent : public QObject +{ Q_OBJECT +public: +public slots: +QWheelEvent* new_QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source = Qt::MouseEventNotSynthesized); +QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +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); +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); +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; } + QPoint angleDelta(QWheelEvent* theWrappedObject) const; + Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const; + int delta(QWheelEvent* theWrappedObject) const; + QPoint globalPos(QWheelEvent* theWrappedObject) const; + const QPointF* globalPosF(QWheelEvent* theWrappedObject) const; + QPointF globalPosition(QWheelEvent* theWrappedObject) const; + int globalX(QWheelEvent* theWrappedObject) const; + int globalY(QWheelEvent* theWrappedObject) const; + bool inverted(QWheelEvent* theWrappedObject) const; + Qt::Orientation orientation(QWheelEvent* theWrappedObject) const; + Qt::ScrollPhase phase(QWheelEvent* theWrappedObject) const; + QPoint pixelDelta(QWheelEvent* theWrappedObject) const; + QPoint pos(QWheelEvent* theWrappedObject) const; + const QPointF* posF(QWheelEvent* theWrappedObject) const; + QPointF position(QWheelEvent* theWrappedObject) const; + Qt::MouseEventSource source(QWheelEvent* theWrappedObject) const; + int x(QWheelEvent* theWrappedObject) const; + int y(QWheelEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWidget : public QWidget +{ +public: + 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 +{ public: +inline void promoted_actionEvent(QActionEvent* event) { this->actionEvent(event); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_destroy(bool destroyWindow = true, bool destroySubWindows = true) { this->destroy(destroyWindow, destroySubWindows); } +inline void promoted_dragEnterEvent(QDragEnterEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { this->dragMoveEvent(event); } +inline void promoted_dropEvent(QDropEvent* event) { this->dropEvent(event); } +inline void promoted_enterEvent(QEvent* event) { this->enterEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextChild() { return this->focusNextChild(); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline bool promoted_focusPreviousChild() { return this->focusPreviousChild(); } +inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } +inline void promoted_initPainter(QPainter* painter) const { this->initPainter(painter); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_leaveEvent(QEvent* event) { this->leaveEvent(event); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_moveEvent(QMoveEvent* event) { this->moveEvent(event); } +inline bool promoted_nativeEvent(const QByteArray& eventType, void* message, long* result) { return this->nativeEvent(eventType, message, result); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline QPaintDevice* promoted_redirected(QPoint* offset) const { return this->redirected(offset); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline QPainter* promoted_sharedPainter() const { return this->sharedPainter(); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline void promoted_tabletEvent(QTabletEvent* event) { this->tabletEvent(event); } +inline void promoted_updateMicroFocus() { this->updateMicroFocus(); } +inline void promoted_wheelEvent(QWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_actionEvent(QActionEvent* event) { QWidget::actionEvent(event); } +inline void py_q_changeEvent(QEvent* arg__1) { QWidget::changeEvent(arg__1); } +inline void py_q_closeEvent(QCloseEvent* event) { QWidget::closeEvent(event); } +inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QWidget::contextMenuEvent(event); } +inline int py_q_devType() const { return QWidget::devType(); } +inline void py_q_dragEnterEvent(QDragEnterEvent* event) { QWidget::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* event) { QWidget::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QDragMoveEvent* event) { QWidget::dragMoveEvent(event); } +inline void py_q_dropEvent(QDropEvent* event) { QWidget::dropEvent(event); } +inline void py_q_enterEvent(QEvent* event) { QWidget::enterEvent(event); } +inline bool py_q_event(QEvent* event) { return QWidget::event(event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QWidget::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QWidget::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QWidget::focusOutEvent(event); } +inline bool py_q_hasHeightForWidth() const { return QWidget::hasHeightForWidth(); } +inline int py_q_heightForWidth(int arg__1) const { return QWidget::heightForWidth(arg__1); } +inline void py_q_hideEvent(QHideEvent* event) { QWidget::hideEvent(event); } +inline void py_q_initPainter(QPainter* painter) const { QWidget::initPainter(painter); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QWidget::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QWidget::inputMethodQuery(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QWidget::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QWidget::keyReleaseEvent(event); } +inline void py_q_leaveEvent(QEvent* event) { QWidget::leaveEvent(event); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QWidget::metric(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QWidget::minimumSizeHint(); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QWidget::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QWidget::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QWidget::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QWidget::mouseReleaseEvent(event); } +inline void py_q_moveEvent(QMoveEvent* event) { QWidget::moveEvent(event); } +inline bool py_q_nativeEvent(const QByteArray& eventType, void* message, long* result) { return QWidget::nativeEvent(eventType, message, result); } +inline QPaintEngine* py_q_paintEngine() const { return QWidget::paintEngine(); } +inline void py_q_paintEvent(QPaintEvent* event) { QWidget::paintEvent(event); } +inline QPaintDevice* py_q_redirected(QPoint* offset) const { return QWidget::redirected(offset); } +inline void py_q_resizeEvent(QResizeEvent* event) { QWidget::resizeEvent(event); } +inline void py_q_setVisible(bool visible) { QWidget::setVisible(visible); } +inline QPainter* py_q_sharedPainter() const { return QWidget::sharedPainter(); } +inline void py_q_showEvent(QShowEvent* event) { QWidget::showEvent(event); } +inline QSize py_q_sizeHint() const { return QWidget::sizeHint(); } +inline void py_q_tabletEvent(QTabletEvent* event) { QWidget::tabletEvent(event); } +inline void py_q_wheelEvent(QWheelEvent* event) { QWidget::wheelEvent(event); } +}; + +class PythonQtWrapper_QWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RenderFlag ) +Q_FLAGS(RenderFlags ) +enum RenderFlag{ + DrawWindowBackground = QWidget::DrawWindowBackground, DrawChildren = QWidget::DrawChildren, IgnoreMask = QWidget::IgnoreMask}; +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; } + bool acceptDrops(QWidget* theWrappedObject) const; + QString accessibleDescription(QWidget* theWrappedObject) const; + QString accessibleName(QWidget* theWrappedObject) const; + void actionEvent(QWidget* theWrappedObject, QActionEvent* event); + void py_q_actionEvent(QWidget* theWrappedObject, QActionEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_actionEvent(event));} + QList actions(QWidget* theWrappedObject) const; + void activateWindow(QWidget* theWrappedObject); + void addAction(QWidget* theWrappedObject, QAction* action); + void addActions(QWidget* theWrappedObject, QList actions); + void adjustSize(QWidget* theWrappedObject); + bool autoFillBackground(QWidget* theWrappedObject) const; + QPalette::ColorRole backgroundRole(QWidget* theWrappedObject) const; + QBackingStore* backingStore(QWidget* theWrappedObject) const; + QSize baseSize(QWidget* theWrappedObject) const; + void changeEvent(QWidget* theWrappedObject, QEvent* arg__1); + void py_q_changeEvent(QWidget* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_changeEvent(arg__1));} + QWidget* childAt(QWidget* theWrappedObject, const QPoint& p) const; + QWidget* childAt(QWidget* theWrappedObject, int x, int y) const; + QRect childrenRect(QWidget* theWrappedObject) const; + QRegion childrenRegion(QWidget* theWrappedObject) const; + void clearFocus(QWidget* theWrappedObject); + void clearMask(QWidget* theWrappedObject); + void closeEvent(QWidget* theWrappedObject, QCloseEvent* event); + void py_q_closeEvent(QWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_closeEvent(event));} + QMargins contentsMargins(QWidget* theWrappedObject) const; + QRect contentsRect(QWidget* theWrappedObject) const; + void contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* event); + void py_q_contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_contextMenuEvent(event));} + Qt::ContextMenuPolicy contextMenuPolicy(QWidget* theWrappedObject) const; + void createWinId(QWidget* theWrappedObject); + QWidget* static_QWidget_createWindowContainer(QWindow* window, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); + QCursor cursor(QWidget* theWrappedObject) const; + void destroy(QWidget* theWrappedObject, bool destroyWindow = true, bool destroySubWindows = true); + int py_q_devType(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_devType());} + void dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event); + void py_q_dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} + void dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* event); + void py_q_dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_dragLeaveEvent(event));} + void dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* event); + void py_q_dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_dragMoveEvent(event));} + void dropEvent(QWidget* theWrappedObject, QDropEvent* event); + void py_q_dropEvent(QWidget* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_dropEvent(event));} + WId effectiveWinId(QWidget* theWrappedObject) const; + void ensurePolished(QWidget* theWrappedObject) const; + void enterEvent(QWidget* theWrappedObject, QEvent* event); + void py_q_enterEvent(QWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_enterEvent(event));} + bool py_q_event(QWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_event(event));} + void focusInEvent(QWidget* theWrappedObject, QFocusEvent* event); + void py_q_focusInEvent(QWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_focusInEvent(event));} + bool focusNextChild(QWidget* theWrappedObject); + bool focusNextPrevChild(QWidget* theWrappedObject, bool next); + bool py_q_focusNextPrevChild(QWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void focusOutEvent(QWidget* theWrappedObject, QFocusEvent* event); + void py_q_focusOutEvent(QWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_focusOutEvent(event));} + Qt::FocusPolicy focusPolicy(QWidget* theWrappedObject) const; + bool focusPreviousChild(QWidget* theWrappedObject); + QWidget* focusProxy(QWidget* theWrappedObject) const; + QWidget* focusWidget(QWidget* theWrappedObject) const; + const QFont* font(QWidget* theWrappedObject) const; + QFontInfo fontInfo(QWidget* theWrappedObject) const; + QFontMetrics fontMetrics(QWidget* theWrappedObject) const; + QPalette::ColorRole foregroundRole(QWidget* theWrappedObject) const; + QRect frameGeometry(QWidget* theWrappedObject) const; + QSize frameSize(QWidget* theWrappedObject) const; + const QRect* geometry(QWidget* theWrappedObject) const; + QPixmap grab(QWidget* theWrappedObject, const QRect& rectangle = QRect(QPoint(0, 0), QSize(-1, -1))); + void grabGesture(QWidget* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags()); + void grabKeyboard(QWidget* theWrappedObject); + void grabMouse(QWidget* theWrappedObject); + void grabMouse(QWidget* theWrappedObject, const QCursor& arg__1); + int grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context = Qt::WindowShortcut); + QGraphicsEffect* graphicsEffect(QWidget* theWrappedObject) const; + QGraphicsProxyWidget* graphicsProxyWidget(QWidget* theWrappedObject) const; + bool hasFocus(QWidget* theWrappedObject) const; + bool hasHeightForWidth(QWidget* theWrappedObject) const; + bool py_q_hasHeightForWidth(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_hasHeightForWidth());} + bool hasMouseTracking(QWidget* theWrappedObject) const; + bool hasTabletTracking(QWidget* theWrappedObject) const; + int height(QWidget* theWrappedObject) const; + int heightForWidth(QWidget* theWrappedObject, int arg__1) const; + int py_q_heightForWidth(QWidget* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_heightForWidth(arg__1));} + void hideEvent(QWidget* theWrappedObject, QHideEvent* event); + void py_q_hideEvent(QWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_hideEvent(event));} + void py_q_initPainter(QWidget* theWrappedObject, QPainter* painter) const{ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_initPainter(painter));} + void inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1); + void py_q_inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + Qt::InputMethodHints inputMethodHints(QWidget* theWrappedObject) const; + QVariant inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const; + QVariant py_q_inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_inputMethodQuery(arg__1));} + void insertAction(QWidget* theWrappedObject, QAction* before, QAction* action); + void insertActions(QWidget* theWrappedObject, QAction* before, QList actions); + bool isActiveWindow(QWidget* theWrappedObject) const; + bool isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const; + bool isEnabled(QWidget* theWrappedObject) const; + bool isEnabledTo(QWidget* theWrappedObject, const QWidget* arg__1) const; + bool isFullScreen(QWidget* theWrappedObject) const; + bool isHidden(QWidget* theWrappedObject) const; + bool isLeftToRight(QWidget* theWrappedObject) const; + bool isMaximized(QWidget* theWrappedObject) const; + bool isMinimized(QWidget* theWrappedObject) const; + bool isModal(QWidget* theWrappedObject) const; + bool isRightToLeft(QWidget* theWrappedObject) const; + bool isVisible(QWidget* theWrappedObject) const; + bool isVisibleTo(QWidget* theWrappedObject, const QWidget* arg__1) const; + bool isWindow(QWidget* theWrappedObject) const; + bool isWindowModified(QWidget* theWrappedObject) const; + void keyPressEvent(QWidget* theWrappedObject, QKeyEvent* event); + void py_q_keyPressEvent(QWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_keyPressEvent(event));} + void keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* event); + void py_q_keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} + QWidget* static_QWidget_keyboardGrabber(); + QLayout* layout(QWidget* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QWidget* theWrappedObject) const; + void leaveEvent(QWidget* theWrappedObject, QEvent* event); + void py_q_leaveEvent(QWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_leaveEvent(event));} + QLocale locale(QWidget* theWrappedObject) const; + QPoint mapFrom(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const; + QPoint mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const; + QPoint mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const; + QPoint mapTo(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const; + QPoint mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const; + QPoint mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const; + QRegion mask(QWidget* theWrappedObject) const; + int maximumHeight(QWidget* theWrappedObject) const; + QSize maximumSize(QWidget* theWrappedObject) const; + int maximumWidth(QWidget* theWrappedObject) const; + int py_q_metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_metric(arg__1));} + int minimumHeight(QWidget* theWrappedObject) const; + QSize minimumSize(QWidget* theWrappedObject) const; + QSize minimumSizeHint(QWidget* theWrappedObject) const; + QSize py_q_minimumSizeHint(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_minimumSizeHint());} + int minimumWidth(QWidget* theWrappedObject) const; + void mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* event); + void py_q_mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + QWidget* static_QWidget_mouseGrabber(); + void mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* event); + void py_q_mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void mousePressEvent(QWidget* theWrappedObject, QMouseEvent* event); + void py_q_mousePressEvent(QWidget* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_mousePressEvent(event));} + void mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* event); + void py_q_mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + void move(QWidget* theWrappedObject, const QPoint& arg__1); + void move(QWidget* theWrappedObject, int x, int y); + void moveEvent(QWidget* theWrappedObject, QMoveEvent* event); + void py_q_moveEvent(QWidget* theWrappedObject, QMoveEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_moveEvent(event));} + bool nativeEvent(QWidget* theWrappedObject, const QByteArray& eventType, void* message, long* result); + bool py_q_nativeEvent(QWidget* theWrappedObject, const QByteArray& eventType, void* message, long* result){ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_nativeEvent(eventType, message, result));} + QWidget* nativeParentWidget(QWidget* theWrappedObject) const; + QWidget* nextInFocusChain(QWidget* theWrappedObject) const; + QRect normalGeometry(QWidget* theWrappedObject) const; + void overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); + void overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state); + QPaintEngine* py_q_paintEngine(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_paintEngine());} + void paintEvent(QWidget* theWrappedObject, QPaintEvent* event); + void py_q_paintEvent(QWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_paintEvent(event));} + const QPalette* palette(QWidget* theWrappedObject) const; + QWidget* parentWidget(QWidget* theWrappedObject) const; + QPoint pos(QWidget* theWrappedObject) const; + QWidget* previousInFocusChain(QWidget* theWrappedObject) const; + QRect rect(QWidget* theWrappedObject) const; + QPaintDevice* py_q_redirected(QWidget* theWrappedObject, QPoint* offset) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_redirected(offset));} + void releaseKeyboard(QWidget* theWrappedObject); + void releaseMouse(QWidget* theWrappedObject); + void releaseShortcut(QWidget* theWrappedObject, int id); + void removeAction(QWidget* theWrappedObject, QAction* action); + void render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = QWidget::RenderFlags(DrawWindowBackground | DrawChildren)); + void render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = QWidget::RenderFlags(DrawWindowBackground | DrawChildren)); + void repaint(QWidget* theWrappedObject, const QRect& arg__1); + void repaint(QWidget* theWrappedObject, const QRegion& arg__1); + void repaint(QWidget* theWrappedObject, int x, int y, int w, int h); + void resize(QWidget* theWrappedObject, const QSize& arg__1); + void resize(QWidget* theWrappedObject, int w, int h); + void resizeEvent(QWidget* theWrappedObject, QResizeEvent* event); + void py_q_resizeEvent(QWidget* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_resizeEvent(event));} + bool restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry); + QByteArray saveGeometry(QWidget* theWrappedObject) const; + QScreen* screen(QWidget* theWrappedObject) const; + void scroll(QWidget* theWrappedObject, int dx, int dy); + void scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3); + void setAcceptDrops(QWidget* theWrappedObject, bool on); + void setAccessibleDescription(QWidget* theWrappedObject, const QString& description); + void setAccessibleName(QWidget* theWrappedObject, const QString& name); + void setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on = true); + void setAutoFillBackground(QWidget* theWrappedObject, bool enabled); + void setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1); + void setBaseSize(QWidget* theWrappedObject, const QSize& arg__1); + void setBaseSize(QWidget* theWrappedObject, int basew, int baseh); + void setContentsMargins(QWidget* theWrappedObject, const QMargins& margins); + void setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom); + void setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy); + void setCursor(QWidget* theWrappedObject, const QCursor& arg__1); + void setFixedHeight(QWidget* theWrappedObject, int h); + void setFixedSize(QWidget* theWrappedObject, const QSize& arg__1); + void setFixedSize(QWidget* theWrappedObject, int w, int h); + void setFixedWidth(QWidget* theWrappedObject, int w); + void setFocus(QWidget* theWrappedObject, Qt::FocusReason reason); + void setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy); + void setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1); + void setFont(QWidget* theWrappedObject, const QFont& arg__1); + void setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1); + void setGeometry(QWidget* theWrappedObject, const QRect& arg__1); + void setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h); + void setGraphicsEffect(QWidget* theWrappedObject, QGraphicsEffect* effect); + void setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints); + void setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1); + void setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction); + void setLocale(QWidget* theWrappedObject, const QLocale& locale); + void setMask(QWidget* theWrappedObject, const QBitmap& arg__1); + void setMask(QWidget* theWrappedObject, const QRegion& arg__1); + void setMaximumHeight(QWidget* theWrappedObject, int maxh); + void setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1); + void setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh); + void setMaximumWidth(QWidget* theWrappedObject, int maxw); + void setMinimumHeight(QWidget* theWrappedObject, int minh); + void setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1); + void setMinimumSize(QWidget* theWrappedObject, int minw, int minh); + void setMinimumWidth(QWidget* theWrappedObject, int minw); + void setMouseTracking(QWidget* theWrappedObject, bool enable); + void setPalette(QWidget* theWrappedObject, const QPalette& arg__1); + void setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent); + void setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent, Qt::WindowFlags f); + void setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable = true); + void setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable = true); + void setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1); + void setSizeIncrement(QWidget* theWrappedObject, int w, int h); + void setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1); + void setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical); + void setStatusTip(QWidget* theWrappedObject, const QString& arg__1); + void setStyle(QWidget* theWrappedObject, QStyle* arg__1); + void static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2); + void setTabletTracking(QWidget* theWrappedObject, bool enable); + void setToolTip(QWidget* theWrappedObject, const QString& arg__1); + void setToolTipDuration(QWidget* theWrappedObject, int msec); + void setUpdatesEnabled(QWidget* theWrappedObject, bool enable); + void py_q_setVisible(QWidget* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_setVisible(visible));} + void setWhatsThis(QWidget* theWrappedObject, const QString& arg__1); + void setWindowFilePath(QWidget* theWrappedObject, const QString& filePath); + void setWindowFlag(QWidget* theWrappedObject, Qt::WindowType arg__1, bool on = true); + void setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); + void setWindowIcon(QWidget* theWrappedObject, const QIcon& icon); + void setWindowIconText(QWidget* theWrappedObject, const QString& arg__1); + void setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality); + void setWindowOpacity(QWidget* theWrappedObject, qreal level); + void setWindowRole(QWidget* theWrappedObject, const QString& arg__1); + void setWindowState(QWidget* theWrappedObject, Qt::WindowStates state); + QPainter* py_q_sharedPainter(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_sharedPainter());} + void showEvent(QWidget* theWrappedObject, QShowEvent* event); + void py_q_showEvent(QWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_showEvent(event));} + QSize size(QWidget* theWrappedObject) const; + QSize sizeHint(QWidget* theWrappedObject) const; + QSize py_q_sizeHint(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_sizeHint());} + QSize sizeIncrement(QWidget* theWrappedObject) const; + QSizePolicy sizePolicy(QWidget* theWrappedObject) const; + void stackUnder(QWidget* theWrappedObject, QWidget* arg__1); + QString statusTip(QWidget* theWrappedObject) const; + QStyle* style(QWidget* theWrappedObject) const; + QString styleSheet(QWidget* theWrappedObject) const; + void tabletEvent(QWidget* theWrappedObject, QTabletEvent* event); + void py_q_tabletEvent(QWidget* theWrappedObject, QTabletEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_tabletEvent(event));} + bool testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const; + QString toolTip(QWidget* theWrappedObject) const; + int toolTipDuration(QWidget* theWrappedObject) const; + bool underMouse(QWidget* theWrappedObject) const; + void ungrabGesture(QWidget* theWrappedObject, Qt::GestureType type); + void unsetCursor(QWidget* theWrappedObject); + void unsetLayoutDirection(QWidget* theWrappedObject); + void unsetLocale(QWidget* theWrappedObject); + void update(QWidget* theWrappedObject, const QRect& arg__1); + void update(QWidget* theWrappedObject, const QRegion& arg__1); + void update(QWidget* theWrappedObject, int x, int y, int w, int h); + void updateGeometry(QWidget* theWrappedObject); + bool updatesEnabled(QWidget* theWrappedObject) const; + QRegion visibleRegion(QWidget* theWrappedObject) const; + QString whatsThis(QWidget* theWrappedObject) const; + void wheelEvent(QWidget* theWrappedObject, QWheelEvent* event); + void py_q_wheelEvent(QWidget* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_wheelEvent(event));} + int width(QWidget* theWrappedObject) const; + WId winId(QWidget* theWrappedObject) const; + QWidget* window(QWidget* theWrappedObject) const; + QString windowFilePath(QWidget* theWrappedObject) const; + Qt::WindowFlags windowFlags(QWidget* theWrappedObject) const; + QWindow* windowHandle(QWidget* theWrappedObject) const; + QIcon windowIcon(QWidget* theWrappedObject) const; + QString windowIconText(QWidget* theWrappedObject) const; + Qt::WindowModality windowModality(QWidget* theWrappedObject) const; + qreal windowOpacity(QWidget* theWrappedObject) const; + QString windowRole(QWidget* theWrappedObject) const; + Qt::WindowStates windowState(QWidget* theWrappedObject) const; + QString windowTitle(QWidget* theWrappedObject) const; + Qt::WindowType windowType(QWidget* theWrappedObject) const; + int x(QWidget* theWrappedObject) const; + int y(QWidget* theWrappedObject) const; + QString py_toString(QWidget*); +}; + + + + + +class PythonQtShell_QWidgetAction : public QWidgetAction +{ +public: + PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWidgetAction() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWidgetAction : public QWidgetAction +{ public: +inline QWidget* promoted_createWidget(QWidget* parent) { return this->createWidget(parent); } +inline QList promoted_createdWidgets() const { return this->createdWidgets(); } +inline void promoted_deleteWidget(QWidget* widget) { this->deleteWidget(widget); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline QWidget* py_q_createWidget(QWidget* parent) { return QWidgetAction::createWidget(parent); } +inline void py_q_deleteWidget(QWidget* widget) { QWidgetAction::deleteWidget(widget); } +inline bool py_q_event(QEvent* arg__1) { return QWidgetAction::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QWidgetAction::eventFilter(arg__1, arg__2); } +}; + +class PythonQtWrapper_QWidgetAction : public QObject +{ Q_OBJECT +public: +public slots: +QWidgetAction* new_QWidgetAction(QObject* parent); +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; + QWidget* defaultWidget(QWidgetAction* theWrappedObject) const; + void deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget); + void py_q_deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_deleteWidget(widget));} + bool py_q_event(QWidgetAction* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + void releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget); + QWidget* requestWidget(QWidgetAction* theWrappedObject, QWidget* parent); + void setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w); +}; + + + + + +class PythonQtShell_QWidgetItem : public QWidgetItem +{ +public: + 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 +{ public: +inline QSizePolicy::ControlTypes py_q_controlTypes() const { return QWidgetItem::controlTypes(); } +inline Qt::Orientations py_q_expandingDirections() const { return QWidgetItem::expandingDirections(); } +inline QRect py_q_geometry() const { return QWidgetItem::geometry(); } +inline bool py_q_hasHeightForWidth() const { return QWidgetItem::hasHeightForWidth(); } +inline int py_q_heightForWidth(int arg__1) const { return QWidgetItem::heightForWidth(arg__1); } +inline bool py_q_isEmpty() const { return QWidgetItem::isEmpty(); } +inline QSize py_q_maximumSize() const { return QWidgetItem::maximumSize(); } +inline QSize py_q_minimumSize() const { return QWidgetItem::minimumSize(); } +inline void py_q_setGeometry(const QRect& arg__1) { QWidgetItem::setGeometry(arg__1); } +inline QSize py_q_sizeHint() const { return QWidgetItem::sizeHint(); } +inline QWidget* py_q_widget() { return QWidgetItem::widget(); } +}; + +class PythonQtWrapper_QWidgetItem : public QObject +{ Q_OBJECT +public: +public slots: +QWidgetItem* new_QWidgetItem(QWidget* w); +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());} + bool py_q_hasHeightForWidth(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_hasHeightForWidth());} + int py_q_heightForWidth(QWidgetItem* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_heightForWidth(arg__1));} + bool py_q_isEmpty(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_isEmpty());} + QSize py_q_maximumSize(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_maximumSize());} + QSize py_q_minimumSize(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_minimumSize());} + void py_q_setGeometry(QWidgetItem* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_setGeometry(arg__1));} + QSize py_q_sizeHint(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_sizeHint());} + QWidget* py_q_widget(QWidgetItem* theWrappedObject){ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_widget());} + bool __nonzero__(QWidgetItem* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QWindow : public QWindow +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_exposeEvent(QExposeEvent* arg__1) { this->exposeEvent(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_moveEvent(QMoveEvent* arg__1) { this->moveEvent(arg__1); } +inline bool promoted_nativeEvent(const QByteArray& eventType, void* message, long* result) { return this->nativeEvent(eventType, message, result); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_tabletEvent(QTabletEvent* arg__1) { this->tabletEvent(arg__1); } +inline void promoted_touchEvent(QTouchEvent* arg__1) { this->touchEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QWindow::event(arg__1); } +inline void py_q_exposeEvent(QExposeEvent* arg__1) { QWindow::exposeEvent(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QWindow::focusInEvent(arg__1); } +inline QObject* py_q_focusObject() const { return QWindow::focusObject(); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QWindow::focusOutEvent(arg__1); } +inline QSurfaceFormat py_q_format() const { return QWindow::format(); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QWindow::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QWindow::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QWindow::keyReleaseEvent(arg__1); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWindow::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QWindow::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QWindow::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QWindow::mouseReleaseEvent(arg__1); } +inline void py_q_moveEvent(QMoveEvent* arg__1) { QWindow::moveEvent(arg__1); } +inline bool py_q_nativeEvent(const QByteArray& eventType, void* message, long* result) { return QWindow::nativeEvent(eventType, message, result); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QWindow::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QWindow::showEvent(arg__1); } +inline QSize py_q_size() const { return QWindow::size(); } +inline QSurface::SurfaceType py_q_surfaceType() const { return QWindow::surfaceType(); } +inline void py_q_tabletEvent(QTabletEvent* arg__1) { QWindow::tabletEvent(arg__1); } +inline void py_q_touchEvent(QTouchEvent* arg__1) { QWindow::touchEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QWindow::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QWindow : public QObject +{ Q_OBJECT +public: +public slots: +QWindow* new_QWindow(QScreen* screen = nullptr); +QWindow* new_QWindow(QWindow* parent); +void delete_QWindow(QWindow* obj) { delete obj; } + QSize baseSize(QWindow* theWrappedObject) const; + Qt::ScreenOrientation contentOrientation(QWindow* theWrappedObject) const; + void create(QWindow* theWrappedObject); + QCursor cursor(QWindow* theWrappedObject) const; + void destroy(QWindow* theWrappedObject); + qreal devicePixelRatio(QWindow* theWrappedObject) const; + bool py_q_event(QWindow* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_event(arg__1));} + void exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1); + void py_q_exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} + QString filePath(QWindow* theWrappedObject) const; + Qt::WindowFlags flags(QWindow* theWrappedObject) const; + void focusInEvent(QWindow* theWrappedObject, QFocusEvent* arg__1); + void py_q_focusInEvent(QWindow* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_focusInEvent(arg__1));} + QObject* focusObject(QWindow* theWrappedObject) const; + QObject* py_q_focusObject(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_focusObject());} + void focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1); + void py_q_focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + QSurfaceFormat py_q_format(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_format());} + QRect frameGeometry(QWindow* theWrappedObject) const; + QMargins frameMargins(QWindow* theWrappedObject) const; + QPoint framePosition(QWindow* theWrappedObject) const; + QWindow* static_QWindow_fromWinId(WId id); + QRect geometry(QWindow* theWrappedObject) const; + int height(QWindow* theWrappedObject) const; + void hideEvent(QWindow* theWrappedObject, QHideEvent* arg__1); + void py_q_hideEvent(QWindow* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_hideEvent(arg__1));} + QIcon icon(QWindow* theWrappedObject) const; + bool isActive(QWindow* theWrappedObject) const; + bool isAncestorOf(QWindow* theWrappedObject, const QWindow* child, QWindow::AncestorMode mode = QWindow::IncludeTransients) const; + bool isExposed(QWindow* theWrappedObject) const; + bool isModal(QWindow* theWrappedObject) const; + bool isTopLevel(QWindow* theWrappedObject) const; + bool isVisible(QWindow* theWrappedObject) const; + void keyPressEvent(QWindow* theWrappedObject, QKeyEvent* arg__1); + void py_q_keyPressEvent(QWindow* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void keyReleaseEvent(QWindow* theWrappedObject, QKeyEvent* arg__1); + void py_q_keyReleaseEvent(QWindow* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + QPoint mapFromGlobal(QWindow* theWrappedObject, const QPoint& pos) const; + QPoint mapToGlobal(QWindow* theWrappedObject, const QPoint& pos) const; + QRegion mask(QWindow* theWrappedObject) const; + int maximumHeight(QWindow* theWrappedObject) const; + QSize maximumSize(QWindow* theWrappedObject) const; + int maximumWidth(QWindow* theWrappedObject) const; + int minimumHeight(QWindow* theWrappedObject) const; + QSize minimumSize(QWindow* theWrappedObject) const; + int minimumWidth(QWindow* theWrappedObject) const; + Qt::WindowModality modality(QWindow* theWrappedObject) const; + void mouseDoubleClickEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); + void py_q_mouseDoubleClickEvent(QWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + void mouseMoveEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); + void py_q_mouseMoveEvent(QWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void mousePressEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); + void py_q_mousePressEvent(QWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void mouseReleaseEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); + void py_q_mouseReleaseEvent(QWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void moveEvent(QWindow* theWrappedObject, QMoveEvent* arg__1); + void py_q_moveEvent(QWindow* theWrappedObject, QMoveEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_moveEvent(arg__1));} + bool nativeEvent(QWindow* theWrappedObject, const QByteArray& eventType, void* message, long* result); + bool py_q_nativeEvent(QWindow* theWrappedObject, const QByteArray& eventType, void* message, long* result){ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_nativeEvent(eventType, message, result));} + qreal opacity(QWindow* theWrappedObject) const; + QWindow* parent(QWindow* theWrappedObject) const; + QWindow* parent(QWindow* theWrappedObject, QWindow::AncestorMode mode) const; + QPoint position(QWindow* theWrappedObject) const; + void reportContentOrientationChange(QWindow* theWrappedObject, Qt::ScreenOrientation orientation); + QSurfaceFormat requestedFormat(QWindow* theWrappedObject) const; + void resize(QWindow* theWrappedObject, const QSize& newSize); + void resize(QWindow* theWrappedObject, int w, int h); + void resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1); + void py_q_resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QScreen* screen(QWindow* theWrappedObject) const; + void setBaseSize(QWindow* theWrappedObject, const QSize& size); + void setCursor(QWindow* theWrappedObject, const QCursor& arg__1); + void setFilePath(QWindow* theWrappedObject, const QString& filePath); + void setFlag(QWindow* theWrappedObject, Qt::WindowType arg__1, bool on = true); + void setFlags(QWindow* theWrappedObject, Qt::WindowFlags flags); + void setFormat(QWindow* theWrappedObject, const QSurfaceFormat& format); + void setFramePosition(QWindow* theWrappedObject, const QPoint& point); + void setIcon(QWindow* theWrappedObject, const QIcon& icon); + bool setKeyboardGrabEnabled(QWindow* theWrappedObject, bool grab); + void setMask(QWindow* theWrappedObject, const QRegion& region); + void setMaximumSize(QWindow* theWrappedObject, const QSize& size); + void setMinimumSize(QWindow* theWrappedObject, const QSize& size); + void setModality(QWindow* theWrappedObject, Qt::WindowModality modality); + bool setMouseGrabEnabled(QWindow* theWrappedObject, bool grab); + void setOpacity(QWindow* theWrappedObject, qreal level); + void setParent(QWindow* theWrappedObject, QWindow* parent); + void setPosition(QWindow* theWrappedObject, const QPoint& pt); + void setPosition(QWindow* theWrappedObject, int posx, int posy); + void setScreen(QWindow* theWrappedObject, QScreen* screen); + void setSizeIncrement(QWindow* theWrappedObject, const QSize& size); + void setSurfaceType(QWindow* theWrappedObject, QSurface::SurfaceType surfaceType); + void setTransientParent(QWindow* theWrappedObject, QWindow* parent); + void setVisibility(QWindow* theWrappedObject, QWindow::Visibility v); + void setWindowState(QWindow* theWrappedObject, Qt::WindowState state); + void setWindowStates(QWindow* theWrappedObject, Qt::WindowStates states); + void showEvent(QWindow* theWrappedObject, QShowEvent* arg__1); + void py_q_showEvent(QWindow* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_showEvent(arg__1));} + QSize py_q_size(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_size());} + QSize sizeIncrement(QWindow* theWrappedObject) const; + QSurface::SurfaceType py_q_surfaceType(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_surfaceType());} + void tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1); + void py_q_tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_tabletEvent(arg__1));} + QString title(QWindow* theWrappedObject) const; + void touchEvent(QWindow* theWrappedObject, QTouchEvent* arg__1); + void py_q_touchEvent(QWindow* theWrappedObject, QTouchEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_touchEvent(arg__1));} + QWindow* transientParent(QWindow* theWrappedObject) const; + Qt::WindowType type(QWindow* theWrappedObject) const; + void unsetCursor(QWindow* theWrappedObject); + QWindow::Visibility visibility(QWindow* theWrappedObject) const; + void wheelEvent(QWindow* theWrappedObject, QWheelEvent* arg__1); + void py_q_wheelEvent(QWindow* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_wheelEvent(arg__1));} + int width(QWindow* theWrappedObject) const; + WId winId(QWindow* theWrappedObject) const; + Qt::WindowState windowState(QWindow* theWrappedObject) const; + Qt::WindowStates windowStates(QWindow* theWrappedObject) const; + int x(QWindow* theWrappedObject) const; + int y(QWindow* theWrappedObject) const; + QString py_toString(QWindow*); +}; + + + + + +class PythonQtWrapper_QWindowStateChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride = false); +void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } + bool isOverride(QWindowStateChangeEvent* theWrappedObject) const; + Qt::WindowStates oldState(QWindowStateChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWizard : public QWizard +{ +public: + 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 +{ public: +inline void promoted_cleanupPage(int id) { this->cleanupPage(id); } +inline void promoted_done(int result) { this->done(result); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_initializePage(int id) { this->initializePage(id); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void py_q_cleanupPage(int id) { QWizard::cleanupPage(id); } +inline void py_q_done(int result) { QWizard::done(result); } +inline bool py_q_event(QEvent* event) { return QWizard::event(event); } +inline void py_q_initializePage(int id) { QWizard::initializePage(id); } +inline int py_q_nextId() const { return QWizard::nextId(); } +inline void py_q_paintEvent(QPaintEvent* event) { QWizard::paintEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QWizard::resizeEvent(event); } +inline void py_q_setVisible(bool visible) { QWizard::setVisible(visible); } +inline QSize py_q_sizeHint() const { return QWizard::sizeHint(); } +inline bool py_q_validateCurrentPage() { return QWizard::validateCurrentPage(); } +}; + +class PythonQtWrapper_QWizard : public QObject +{ Q_OBJECT +public: +Q_ENUMS(WizardButton WizardOption WizardPixmap ) +Q_FLAGS(WizardOptions ) +enum WizardButton{ + BackButton = QWizard::BackButton, NextButton = QWizard::NextButton, CommitButton = QWizard::CommitButton, FinishButton = QWizard::FinishButton, CancelButton = QWizard::CancelButton, HelpButton = QWizard::HelpButton, CustomButton1 = QWizard::CustomButton1, CustomButton2 = QWizard::CustomButton2, CustomButton3 = QWizard::CustomButton3, Stretch = QWizard::Stretch, NoButton = QWizard::NoButton, NStandardButtons = QWizard::NStandardButtons, NButtons = QWizard::NButtons}; +enum WizardOption{ + IndependentPages = QWizard::IndependentPages, IgnoreSubTitles = QWizard::IgnoreSubTitles, ExtendedWatermarkPixmap = QWizard::ExtendedWatermarkPixmap, NoDefaultButton = QWizard::NoDefaultButton, NoBackButtonOnStartPage = QWizard::NoBackButtonOnStartPage, NoBackButtonOnLastPage = QWizard::NoBackButtonOnLastPage, DisabledBackButtonOnLastPage = QWizard::DisabledBackButtonOnLastPage, HaveNextButtonOnLastPage = QWizard::HaveNextButtonOnLastPage, HaveFinishButtonOnEarlyPages = QWizard::HaveFinishButtonOnEarlyPages, NoCancelButton = QWizard::NoCancelButton, CancelButtonOnLeft = QWizard::CancelButtonOnLeft, HaveHelpButton = QWizard::HaveHelpButton, HelpButtonOnRight = QWizard::HelpButtonOnRight, HaveCustomButton1 = QWizard::HaveCustomButton1, HaveCustomButton2 = QWizard::HaveCustomButton2, HaveCustomButton3 = QWizard::HaveCustomButton3, NoCancelButtonOnLastPage = QWizard::NoCancelButtonOnLastPage}; +enum WizardPixmap{ + WatermarkPixmap = QWizard::WatermarkPixmap, LogoPixmap = QWizard::LogoPixmap, BannerPixmap = QWizard::BannerPixmap, BackgroundPixmap = QWizard::BackgroundPixmap, NPixmaps = QWizard::NPixmaps}; +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; } + int addPage(QWizard* theWrappedObject, PythonQtPassOwnershipToCPP page); + QAbstractButton* button(QWizard* theWrappedObject, QWizard::WizardButton which) const; + QString buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const; + void cleanupPage(QWizard* theWrappedObject, int id); + void py_q_cleanupPage(QWizard* theWrappedObject, int id){ (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_cleanupPage(id));} + int currentId(QWizard* theWrappedObject) const; + QWizardPage* currentPage(QWizard* theWrappedObject) const; + void py_q_done(QWizard* theWrappedObject, int result){ (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_done(result));} + bool py_q_event(QWizard* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_event(event));} + QVariant field(QWizard* theWrappedObject, const QString& name) const; + bool hasVisitedPage(QWizard* theWrappedObject, int id) const; + void initializePage(QWizard* theWrappedObject, int id); + void py_q_initializePage(QWizard* theWrappedObject, int id){ (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_initializePage(id));} + int nextId(QWizard* theWrappedObject) const; + int py_q_nextId(QWizard* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_nextId());} + QWizard::WizardOptions options(QWizard* theWrappedObject) const; + QWizardPage* page(QWizard* theWrappedObject, int id) const; + QList pageIds(QWizard* theWrappedObject) const; + void py_q_paintEvent(QWizard* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_paintEvent(event));} + QPixmap pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const; + void removePage(QWizard* theWrappedObject, int id); + void py_q_resizeEvent(QWizard* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_resizeEvent(event));} + void setButton(QWizard* theWrappedObject, QWizard::WizardButton which, PythonQtPassOwnershipToCPP button); + void setButtonLayout(QWizard* theWrappedObject, const QList& layout); + void setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text); + void setField(QWizard* theWrappedObject, const QString& name, const QVariant& value); + void setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on = true); + void setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options); + void setPage(QWizard* theWrappedObject, int id, QWizardPage* page); + void setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap); + void setSideWidget(QWizard* theWrappedObject, QWidget* widget); + void setStartId(QWizard* theWrappedObject, int id); + void setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format); + void setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format); + void py_q_setVisible(QWizard* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_setVisible(visible));} + void setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style); + QWidget* sideWidget(QWizard* theWrappedObject) const; + QSize py_q_sizeHint(QWizard* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_sizeHint());} + int startId(QWizard* theWrappedObject) const; + Qt::TextFormat subTitleFormat(QWizard* theWrappedObject) const; + bool testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const; + Qt::TextFormat titleFormat(QWizard* theWrappedObject) const; + bool validateCurrentPage(QWizard* theWrappedObject); + bool py_q_validateCurrentPage(QWizard* theWrappedObject){ return (((PythonQtPublicPromoter_QWizard*)theWrappedObject)->py_q_validateCurrentPage());} + QList visitedIds(QWizard* theWrappedObject) const; + QList visitedPages(QWizard* theWrappedObject) const; + QWizard::WizardStyle wizardStyle(QWizard* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWizardPage : public QWizardPage +{ +public: + 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 +{ public: +inline QVariant promoted_field(const QString& name) const { return this->field(name); } +inline void promoted_registerField(const QString& name, QWidget* widget, const char* property = nullptr, const char* changedSignal = nullptr) { this->registerField(name, widget, property, changedSignal); } +inline void promoted_setField(const QString& name, const QVariant& value) { this->setField(name, value); } +inline QWizard* promoted_wizard() const { return this->wizard(); } +inline void py_q_cleanupPage() { QWizardPage::cleanupPage(); } +inline void py_q_initializePage() { QWizardPage::initializePage(); } +inline bool py_q_isComplete() const { return QWizardPage::isComplete(); } +inline int py_q_nextId() const { return QWizardPage::nextId(); } +inline bool py_q_validatePage() { return QWizardPage::validatePage(); } +}; + +class PythonQtWrapper_QWizardPage : public QObject +{ Q_OBJECT +public: +public slots: +QWizardPage* new_QWizardPage(QWidget* parent = nullptr); +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());} + QVariant field(QWizardPage* theWrappedObject, const QString& name) const; + void initializePage(QWizardPage* theWrappedObject); + void py_q_initializePage(QWizardPage* theWrappedObject){ (((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->py_q_initializePage());} + bool isCommitPage(QWizardPage* theWrappedObject) const; + bool isComplete(QWizardPage* theWrappedObject) const; + bool py_q_isComplete(QWizardPage* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->py_q_isComplete());} + bool isFinalPage(QWizardPage* theWrappedObject) const; + int nextId(QWizardPage* theWrappedObject) const; + int py_q_nextId(QWizardPage* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->py_q_nextId());} + QPixmap pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const; + void registerField(QWizardPage* theWrappedObject, const QString& name, QWidget* widget, const char* property = nullptr, const char* changedSignal = nullptr); + void setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text); + void setCommitPage(QWizardPage* theWrappedObject, bool commitPage); + void setField(QWizardPage* theWrappedObject, const QString& name, const QVariant& value); + void setFinalPage(QWizardPage* theWrappedObject, bool finalPage); + void setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap); + void setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle); + void setTitle(QWizardPage* theWrappedObject, const QString& title); + QString subTitle(QWizardPage* theWrappedObject) const; + QString title(QWizardPage* theWrappedObject) const; + bool validatePage(QWizardPage* theWrappedObject); + bool py_q_validatePage(QWizardPage* theWrappedObject){ return (((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->py_q_validatePage());} + QWizard* wizard(QWizardPage* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp new file mode 100644 index 00000000..f800d623 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -0,0 +1,14862 @@ +#include "com_trolltech_qt_gui2.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QFocusEvent* PythonQtWrapper_QFocusEvent::new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason) +{ +return new QFocusEvent(type, reason); } + +bool PythonQtWrapper_QFocusEvent::gotFocus(QFocusEvent* theWrappedObject) const +{ + return ( theWrappedObject->gotFocus()); +} + +bool PythonQtWrapper_QFocusEvent::lostFocus(QFocusEvent* theWrappedObject) const +{ + return ( theWrappedObject->lostFocus()); +} + +Qt::FocusReason PythonQtWrapper_QFocusEvent::reason(QFocusEvent* theWrappedObject) const +{ + return ( theWrappedObject->reason()); +} + + + +PythonQtShell_QFocusFrame::~PythonQtShell_QFocusFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QFocusFrame::actionEvent(event0); +} +void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::changeEvent(arg__1); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::childEvent(event0); +} +void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QFocusFrame::closeEvent(event0); +} +void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QFocusFrame::contextMenuEvent(event0); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::customEvent(event0); +} +int PythonQtShell_QFocusFrame::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 QFocusFrame::devType(); +} +void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QFocusFrame::dragEnterEvent(event0); +} +void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QFocusFrame::dragLeaveEvent(event0); +} +void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QFocusFrame::dragMoveEvent(event0); +} +void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QFocusFrame::dropEvent(event0); +} +void PythonQtShell_QFocusFrame::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QFocusFrame::enterEvent(event0); +} +bool PythonQtShell_QFocusFrame::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 QFocusFrame::event(e0); +} +bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QFocusFrame::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::focusInEvent(event0); +} +bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::focusNextPrevChild(next0); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::focusOutEvent(event0); +} +bool PythonQtShell_QFocusFrame::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::hasHeightForWidth(); +} +int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::heightForWidth(arg__1); +} +void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::hideEvent(event0); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::initPainter(painter0); +} +void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::inputMethodQuery(arg__1); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::keyPressEvent(event0); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::keyReleaseEvent(event0); +} +void PythonQtShell_QFocusFrame::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QFocusFrame::leaveEvent(event0); +} +int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::metric(arg__1); +} +QSize PythonQtShell_QFocusFrame::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::minimumSizeHint(); +} +void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFocusFrame::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFocusFrame::mouseMoveEvent(event0); +} +void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFocusFrame::mousePressEvent(event0); +} +void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFocusFrame::mouseReleaseEvent(event0); +} +void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QFocusFrame::moveEvent(event0); +} +bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::paintEngine(); +} +void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QFocusFrame::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 QFocusFrame::redirected(offset0); +} +void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QFocusFrame::resizeEvent(event0); +} +void PythonQtShell_QFocusFrame::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::setVisible(visible0); +} +QPainter* PythonQtShell_QFocusFrame::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 QFocusFrame::sharedPainter(); +} +void PythonQtShell_QFocusFrame::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QFocusFrame::showEvent(event0); +} +QSize PythonQtShell_QFocusFrame::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFocusFrame::sizeHint(); +} +void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QFocusFrame::tabletEvent(event0); +} +void PythonQtShell_QFocusFrame::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(); + } + } +} + QFocusFrame::timerEvent(event0); +} +void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QFocusFrame::wheelEvent(event0); +} +QFocusFrame* PythonQtWrapper_QFocusFrame::new_QFocusFrame(QWidget* parent) +{ +return new PythonQtShell_QFocusFrame(parent); } + +const QMetaObject* PythonQtShell_QFocusFrame::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFocusFrame::staticMetaObject); + } else { + return &QFocusFrame::staticMetaObject; + } +} +int PythonQtShell_QFocusFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFocusFrame::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QFocusFrame::initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const +{ + ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QFocusFrame::setWidget(QFocusFrame* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QWidget* PythonQtWrapper_QFocusFrame::widget(QFocusFrame* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +PythonQtShell_QFontComboBox::~PythonQtShell_QFontComboBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QFontComboBox::actionEvent(event0); +} +void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::changeEvent(e0); +} +void PythonQtShell_QFontComboBox::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(); + } + } +} + QFontComboBox::childEvent(event0); +} +void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QFontComboBox::closeEvent(event0); +} +void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) +{ +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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QFontComboBox::contextMenuEvent(e0); +} +void PythonQtShell_QFontComboBox::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(); + } + } +} + QFontComboBox::customEvent(event0); +} +int PythonQtShell_QFontComboBox::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 QFontComboBox::devType(); +} +void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QFontComboBox::dragEnterEvent(event0); +} +void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QFontComboBox::dragLeaveEvent(event0); +} +void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QFontComboBox::dragMoveEvent(event0); +} +void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QFontComboBox::dropEvent(event0); +} +void PythonQtShell_QFontComboBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QFontComboBox::enterEvent(event0); +} +bool PythonQtShell_QFontComboBox::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 QFontComboBox::event(e0); +} +bool PythonQtShell_QFontComboBox::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 QFontComboBox::eventFilter(watched0, event1); +} +void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::focusInEvent(e0); +} +bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::focusNextPrevChild(next0); +} +void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::focusOutEvent(e0); +} +bool PythonQtShell_QFontComboBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::hasHeightForWidth(); +} +int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::heightForWidth(arg__1); +} +void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::hideEvent(e0); +} +void PythonQtShell_QFontComboBox::hidePopup() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hidePopup"); + 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(); + } + } +} + QFontComboBox::hidePopup(); +} +void PythonQtShell_QFontComboBox::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(); + } + } +} + QFontComboBox::initPainter(painter0); +} +void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::keyPressEvent(e0); +} +void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::keyReleaseEvent(e0); +} +void PythonQtShell_QFontComboBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QFontComboBox::leaveEvent(event0); +} +int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::metric(arg__1); +} +QSize PythonQtShell_QFontComboBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::minimumSizeHint(); +} +void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontComboBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontComboBox::mouseMoveEvent(event0); +} +void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontComboBox::mousePressEvent(e0); +} +void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontComboBox::mouseReleaseEvent(e0); +} +void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QFontComboBox::moveEvent(event0); +} +bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::paintEngine(); +} +void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QFontComboBox::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QFontComboBox::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 QFontComboBox::redirected(offset0); +} +void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QFontComboBox::resizeEvent(e0); +} +void PythonQtShell_QFontComboBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::setVisible(visible0); +} +QPainter* PythonQtShell_QFontComboBox::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 QFontComboBox::sharedPainter(); +} +void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QFontComboBox::showEvent(e0); +} +void PythonQtShell_QFontComboBox::showPopup() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showPopup"); + 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(); + } + } +} + QFontComboBox::showPopup(); +} +QSize PythonQtShell_QFontComboBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::sizeHint(); +} +void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QFontComboBox::tabletEvent(event0); +} +void PythonQtShell_QFontComboBox::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(); + } + } +} + QFontComboBox::timerEvent(event0); +} +void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QFontComboBox::wheelEvent(e0); +} +QFontComboBox* PythonQtWrapper_QFontComboBox::new_QFontComboBox(QWidget* parent) +{ +return new PythonQtShell_QFontComboBox(parent); } + +const QMetaObject* PythonQtShell_QFontComboBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFontComboBox::staticMetaObject); + } else { + return &QFontComboBox::staticMetaObject; + } +} +int PythonQtShell_QFontComboBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFontComboBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QFont PythonQtWrapper_QFontComboBox::currentFont(QFontComboBox* theWrappedObject) const +{ + return ( theWrappedObject->currentFont()); +} + +QFontComboBox::FontFilters PythonQtWrapper_QFontComboBox::fontFilters(QFontComboBox* theWrappedObject) const +{ + return ( theWrappedObject->fontFilters()); +} + +void PythonQtWrapper_QFontComboBox::setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters) +{ + ( theWrappedObject->setFontFilters(filters)); +} + +void PythonQtWrapper_QFontComboBox::setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1) +{ + ( theWrappedObject->setWritingSystem(arg__1)); +} + +QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFontComboBox* theWrappedObject) const +{ + return ( theWrappedObject->writingSystem()); +} + + + +QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() +{ +return new QFontDatabase(); } + +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) +{ + return (QFontDatabase::addApplicationFont(fileName)); +} + +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) +{ + return (QFontDatabase::addApplicationFontFromData(fontData)); +} + +QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) +{ + return (QFontDatabase::applicationFontFamilies(id)); +} + +bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->bold(family, style)); +} + +QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const +{ + return ( theWrappedObject->families(writingSystem)); +} + +QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const +{ + return ( theWrappedObject->font(family, style, pointSize)); +} + +bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->hasFamily(family)); +} + +bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isBitmapScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isFixedPitch(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->isPrivateFamily(family)); +} + +bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isSmoothlyScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->italic(family, style)); +} + +QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +{ + return ( theWrappedObject->pointSizes(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() +{ + return (QFontDatabase::removeAllApplicationFonts()); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) +{ + return (QFontDatabase::removeApplicationFont(id)); +} + +QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +{ + return ( theWrappedObject->smoothSizes(family, style)); +} + +QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() +{ + return (QFontDatabase::standardSizes()); +} + +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) +{ + return ( theWrappedObject->styleString(font)); +} + +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) +{ + return ( theWrappedObject->styleString(fontInfo)); +} + +QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->styles(family)); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() +{ + return (QFontDatabase::supportsThreadedFontRendering()); +} + +QFont PythonQtWrapper_QFontDatabase::static_QFontDatabase_systemFont(QFontDatabase::SystemFont type) +{ + return (QFontDatabase::systemFont(type)); +} + +int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->weight(family, style)); +} + +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) +{ + return (QFontDatabase::writingSystemName(writingSystem)); +} + +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) +{ + return (QFontDatabase::writingSystemSample(writingSystem)); +} + +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const +{ + return ( theWrappedObject->writingSystems()); +} + +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->writingSystems(family)); +} + + + +PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFontDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QFontDialog::accept(); +} +void PythonQtShell_QFontDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QFontDialog::actionEvent(event0); +} +void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QFontDialog::changeEvent(event0); +} +void PythonQtShell_QFontDialog::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(); + } + } +} + QFontDialog::childEvent(event0); +} +void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::closeEvent(arg__1); +} +void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QFontDialog::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(); + } + } +} + QFontDialog::customEvent(event0); +} +int PythonQtShell_QFontDialog::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 QFontDialog::devType(); +} +void PythonQtShell_QFontDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::done(result0); +} +void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QFontDialog::dragEnterEvent(event0); +} +void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QFontDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QFontDialog::dragMoveEvent(event0); +} +void PythonQtShell_QFontDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QFontDialog::dropEvent(event0); +} +void PythonQtShell_QFontDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QFontDialog::enterEvent(event0); +} +bool PythonQtShell_QFontDialog::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 QFontDialog::event(event0); +} +bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, 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*)&object0, (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 QFontDialog::eventFilter(object0, event1); +} +int PythonQtShell_QFontDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::exec(); +} +void PythonQtShell_QFontDialog::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(); + } + } +} + QFontDialog::focusInEvent(event0); +} +bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QFontDialog::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(); + } + } +} + QFontDialog::focusOutEvent(event0); +} +bool PythonQtShell_QFontDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::hasHeightForWidth(); +} +int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::heightForWidth(arg__1); +} +void PythonQtShell_QFontDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::hideEvent(event0); +} +void PythonQtShell_QFontDialog::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(); + } + } +} + QFontDialog::initPainter(painter0); +} +void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QFontDialog::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(); + } + } +} + QFontDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QFontDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QFontDialog::leaveEvent(event0); +} +int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::metric(arg__1); +} +QSize PythonQtShell_QFontDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::minimumSizeHint(); +} +void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontDialog::mousePressEvent(event0); +} +void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFontDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QFontDialog::moveEvent(event0); +} +bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::paintEngine(); +} +void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QFontDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QFontDialog::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 QFontDialog::redirected(offset0); +} +void PythonQtShell_QFontDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QFontDialog::reject(); +} +void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::resizeEvent(arg__1); +} +void PythonQtShell_QFontDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QFontDialog::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 QFontDialog::sharedPainter(); +} +void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::showEvent(arg__1); +} +QSize PythonQtShell_QFontDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontDialog::sizeHint(); +} +void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QFontDialog::tabletEvent(event0); +} +void PythonQtShell_QFontDialog::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(); + } + } +} + QFontDialog::timerEvent(event0); +} +void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QFontDialog::wheelEvent(event0); +} +QFontDialog* PythonQtWrapper_QFontDialog::new_QFontDialog(QWidget* parent) +{ +return new PythonQtShell_QFontDialog(parent); } + +QFontDialog* PythonQtWrapper_QFontDialog::new_QFontDialog(const QFont& initial, QWidget* parent) +{ +return new PythonQtShell_QFontDialog(initial, parent); } + +const QMetaObject* PythonQtShell_QFontDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFontDialog::staticMetaObject); + } else { + return &QFontDialog::staticMetaObject; + } +} +int PythonQtShell_QFontDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFontDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QFont PythonQtWrapper_QFontDialog::currentFont(QFontDialog* theWrappedObject) const +{ + return ( theWrappedObject->currentFont()); +} + +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, QWidget* parent) +{ + return (QFontDialog::getFont(ok, parent)); +} + +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title, QFontDialog::FontDialogOptions options) +{ + return (QFontDialog::getFont(ok, initial, parent, title, options)); +} + +void PythonQtWrapper_QFontDialog::open(QFontDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QFontDialog::FontDialogOptions PythonQtWrapper_QFontDialog::options(QFontDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QFont PythonQtWrapper_QFontDialog::selectedFont(QFontDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedFont()); +} + +void PythonQtWrapper_QFontDialog::setCurrentFont(QFontDialog* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setCurrentFont(font)); +} + +void PythonQtWrapper_QFontDialog::setOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QFontDialog::setOptions(QFontDialog* theWrappedObject, QFontDialog::FontDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +bool PythonQtWrapper_QFontDialog::testOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + + + +QFontInfo* PythonQtWrapper_QFontInfo::new_QFontInfo(const QFont& arg__1) +{ +return new QFontInfo(arg__1); } + +QFontInfo* PythonQtWrapper_QFontInfo::new_QFontInfo(const QFontInfo& arg__1) +{ +return new QFontInfo(arg__1); } + +bool PythonQtWrapper_QFontInfo::bold(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->bold()); +} + +bool PythonQtWrapper_QFontInfo::exactMatch(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->exactMatch()); +} + +QString PythonQtWrapper_QFontInfo::family(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->family()); +} + +bool PythonQtWrapper_QFontInfo::fixedPitch(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->fixedPitch()); +} + +bool PythonQtWrapper_QFontInfo::italic(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->italic()); +} + +bool PythonQtWrapper_QFontInfo::overline(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->overline()); +} + +int PythonQtWrapper_QFontInfo::pixelSize(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->pixelSize()); +} + +int PythonQtWrapper_QFontInfo::pointSize(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->pointSize()); +} + +qreal PythonQtWrapper_QFontInfo::pointSizeF(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->pointSizeF()); +} + +bool PythonQtWrapper_QFontInfo::rawMode(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->rawMode()); +} + +bool PythonQtWrapper_QFontInfo::strikeOut(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->strikeOut()); +} + +QFont::Style PythonQtWrapper_QFontInfo::style(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +QFont::StyleHint PythonQtWrapper_QFontInfo::styleHint(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->styleHint()); +} + +QString PythonQtWrapper_QFontInfo::styleName(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->styleName()); +} + +void PythonQtWrapper_QFontInfo::swap(QFontInfo* theWrappedObject, QFontInfo& other) +{ + ( theWrappedObject->swap(other)); +} + +bool PythonQtWrapper_QFontInfo::underline(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->underline()); +} + +int PythonQtWrapper_QFontInfo::weight(QFontInfo* theWrappedObject) const +{ + return ( theWrappedObject->weight()); +} + + + +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& arg__1) +{ +return new QFontMetrics(arg__1); } + +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& font, QPaintDevice* pd) +{ +return new QFontMetrics(font, 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()); +} + +int PythonQtWrapper_QFontMetrics::averageCharWidth(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->averageCharWidth()); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->boundingRect(arg__1)); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->boundingRect(r, flags, text, tabstops, tabarray)); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->boundingRect(text)); +} + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->boundingRect(x, y, w, h, flags, text, tabstops, tabarray)); +} + +int PythonQtWrapper_QFontMetrics::capHeight(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->capHeight()); +} + +int PythonQtWrapper_QFontMetrics::charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const +{ + return ( theWrappedObject->charWidth(str, pos)); +} + +int PythonQtWrapper_QFontMetrics::descent(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QString PythonQtWrapper_QFontMetrics::elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags) const +{ + return ( theWrappedObject->elidedText(text, mode, width, flags)); +} + +qreal PythonQtWrapper_QFontMetrics::fontDpi(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->fontDpi()); +} + +int PythonQtWrapper_QFontMetrics::height(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +int PythonQtWrapper_QFontMetrics::horizontalAdvance(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->horizontalAdvance(arg__1)); +} + +int PythonQtWrapper_QFontMetrics::horizontalAdvance(QFontMetrics* theWrappedObject, const QString& arg__1, int len) const +{ + return ( theWrappedObject->horizontalAdvance(arg__1, len)); +} + +bool PythonQtWrapper_QFontMetrics::inFont(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->inFont(arg__1)); +} + +bool PythonQtWrapper_QFontMetrics::inFontUcs4(QFontMetrics* theWrappedObject, uint ucs4) const +{ + return ( theWrappedObject->inFontUcs4(ucs4)); +} + +int PythonQtWrapper_QFontMetrics::leading(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->leading()); +} + +int PythonQtWrapper_QFontMetrics::leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->leftBearing(arg__1)); +} + +int PythonQtWrapper_QFontMetrics::lineSpacing(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->lineSpacing()); +} + +int PythonQtWrapper_QFontMetrics::lineWidth(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +int PythonQtWrapper_QFontMetrics::maxWidth(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->maxWidth()); +} + +int PythonQtWrapper_QFontMetrics::minLeftBearing(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->minLeftBearing()); +} + +int PythonQtWrapper_QFontMetrics::minRightBearing(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->minRightBearing()); +} + +int PythonQtWrapper_QFontMetrics::overlinePos(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->overlinePos()); +} + +int PythonQtWrapper_QFontMetrics::rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->rightBearing(arg__1)); +} + +QSize PythonQtWrapper_QFontMetrics::size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->size(flags, str, tabstops, tabarray)); +} + +int PythonQtWrapper_QFontMetrics::strikeOutPos(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->strikeOutPos()); +} + +void PythonQtWrapper_QFontMetrics::swap(QFontMetrics* theWrappedObject, QFontMetrics& other) +{ + ( theWrappedObject->swap(other)); +} + +QRect PythonQtWrapper_QFontMetrics::tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->tightBoundingRect(text)); +} + +int PythonQtWrapper_QFontMetrics::underlinePos(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->underlinePos()); +} + +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->width(arg__1)); +} + +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, const QString& arg__1, int len) const +{ + return ( theWrappedObject->width(arg__1, len)); +} + +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, const QString& arg__1, int len, int flags) const +{ + return ( theWrappedObject->width(arg__1, len, flags)); +} + +int PythonQtWrapper_QFontMetrics::xHeight(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->xHeight()); +} + + + +QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& font) +{ +return new QFontMetricsF(font); } + +QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& font, QPaintDevice* pd) +{ +return new QFontMetricsF(font, pd); } + +qreal PythonQtWrapper_QFontMetricsF::ascent(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QFontMetricsF::averageCharWidth(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->averageCharWidth()); +} + +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->boundingRect(arg__1)); +} + +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->boundingRect(r, flags, string, tabstops, tabarray)); +} + +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const +{ + return ( theWrappedObject->boundingRect(string)); +} + +qreal PythonQtWrapper_QFontMetricsF::capHeight(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->capHeight()); +} + +qreal PythonQtWrapper_QFontMetricsF::descent(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QString PythonQtWrapper_QFontMetricsF::elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags) const +{ + return ( theWrappedObject->elidedText(text, mode, width, flags)); +} + +qreal PythonQtWrapper_QFontMetricsF::fontDpi(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->fontDpi()); +} + +qreal PythonQtWrapper_QFontMetricsF::height(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +qreal PythonQtWrapper_QFontMetricsF::horizontalAdvance(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->horizontalAdvance(arg__1)); +} + +qreal PythonQtWrapper_QFontMetricsF::horizontalAdvance(QFontMetricsF* theWrappedObject, const QString& string, int length) const +{ + return ( theWrappedObject->horizontalAdvance(string, length)); +} + +bool PythonQtWrapper_QFontMetricsF::inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->inFont(arg__1)); +} + +bool PythonQtWrapper_QFontMetricsF::inFontUcs4(QFontMetricsF* theWrappedObject, uint ucs4) const +{ + return ( theWrappedObject->inFontUcs4(ucs4)); +} + +qreal PythonQtWrapper_QFontMetricsF::leading(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->leading()); +} + +qreal PythonQtWrapper_QFontMetricsF::leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->leftBearing(arg__1)); +} + +qreal PythonQtWrapper_QFontMetricsF::lineSpacing(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->lineSpacing()); +} + +qreal PythonQtWrapper_QFontMetricsF::lineWidth(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +qreal PythonQtWrapper_QFontMetricsF::maxWidth(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->maxWidth()); +} + +qreal PythonQtWrapper_QFontMetricsF::minLeftBearing(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->minLeftBearing()); +} + +qreal PythonQtWrapper_QFontMetricsF::minRightBearing(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->minRightBearing()); +} + +qreal PythonQtWrapper_QFontMetricsF::overlinePos(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->overlinePos()); +} + +qreal PythonQtWrapper_QFontMetricsF::rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->rightBearing(arg__1)); +} + +QSizeF PythonQtWrapper_QFontMetricsF::size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->size(flags, str, tabstops, tabarray)); +} + +qreal PythonQtWrapper_QFontMetricsF::strikeOutPos(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->strikeOutPos()); +} + +void PythonQtWrapper_QFontMetricsF::swap(QFontMetricsF* theWrappedObject, QFontMetricsF& other) +{ + ( theWrappedObject->swap(other)); +} + +QRectF PythonQtWrapper_QFontMetricsF::tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->tightBoundingRect(text)); +} + +qreal PythonQtWrapper_QFontMetricsF::underlinePos(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->underlinePos()); +} + +qreal PythonQtWrapper_QFontMetricsF::width(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->width(arg__1)); +} + +qreal PythonQtWrapper_QFontMetricsF::width(QFontMetricsF* theWrappedObject, const QString& string) const +{ + return ( theWrappedObject->width(string)); +} + +qreal PythonQtWrapper_QFontMetricsF::xHeight(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->xHeight()); +} + + + +PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFormLayout::addItem(item0); +} +void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFormLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::controlTypes(); +} +int PythonQtShell_QFormLayout::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 QFormLayout::count(); +} +void PythonQtShell_QFormLayout::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(); + } + } +} + QFormLayout::customEvent(event0); +} +bool PythonQtShell_QFormLayout::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 QFormLayout::event(event0); +} +bool PythonQtShell_QFormLayout::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 QFormLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::expandingDirections(); +} +QRect PythonQtShell_QFormLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::geometry(); +} +bool PythonQtShell_QFormLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::hasHeightForWidth(); +} +int PythonQtShell_QFormLayout::heightForWidth(int width0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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*)&width0}; + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::heightForWidth(width0); +} +int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + 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("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::indexOf(arg__1); +} +void PythonQtShell_QFormLayout::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(); + } + } +} + QFormLayout::invalidate(); +} +bool PythonQtShell_QFormLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QFormLayout::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[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::itemAt(index0); +} +QLayout* PythonQtShell_QFormLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::layout(); +} +QSize PythonQtShell_QFormLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::minimumSize(); +} +void PythonQtShell_QFormLayout::setGeometry(const QRect& 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 QRect&"}; + 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(); + } + } +} + QFormLayout::setGeometry(rect0); +} +QSize PythonQtShell_QFormLayout::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFormLayout::takeAt(index0); +} +void PythonQtShell_QFormLayout::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(); + } + } +} + 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); } + +const QMetaObject* PythonQtShell_QFormLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFormLayout::staticMetaObject); + } else { + return &QFormLayout::staticMetaObject; + } +} +int PythonQtShell_QFormLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFormLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout) +{ + ( theWrappedObject->addRow(layout)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->addRow(label, field)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->addRow(label, field)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->addRow(widget)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->addRow(labelText, field)); +} + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->addRow(labelText, field)); +} + +QFormLayout::FieldGrowthPolicy PythonQtWrapper_QFormLayout::fieldGrowthPolicy(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->fieldGrowthPolicy()); +} + +Qt::Alignment PythonQtWrapper_QFormLayout::formAlignment(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->formAlignment()); +} + +void PythonQtWrapper_QFormLayout::getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +{ + ( theWrappedObject->getItemPosition(index, rowPtr, rolePtr)); +} + +void PythonQtWrapper_QFormLayout::getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +{ + ( theWrappedObject->getLayoutPosition(layout, rowPtr, rolePtr)); +} + +void PythonQtWrapper_QFormLayout::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +{ + ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); +} + +int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP layout) +{ + ( theWrappedObject->insertRow(row, layout)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->insertRow(row, label, field)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->insertRow(row, label, field)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->insertRow(row, widget)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->insertRow(row, labelText, field)); +} + +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->insertRow(row, labelText, field)); +} + +QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const +{ + return ( theWrappedObject->itemAt(row, role)); +} + +Qt::Alignment PythonQtWrapper_QFormLayout::labelAlignment(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->labelAlignment()); +} + +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QLayout* field) const +{ + return ( theWrappedObject->labelForField(field)); +} + +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QWidget* field) const +{ + return ( theWrappedObject->labelForField(field)); +} + +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, QLayout* layout) +{ + ( theWrappedObject->removeRow(layout)); +} + +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeRow(widget)); +} + +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, int row) +{ + ( theWrappedObject->removeRow(row)); +} + +int PythonQtWrapper_QFormLayout::rowCount(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +QFormLayout::RowWrapPolicy PythonQtWrapper_QFormLayout::rowWrapPolicy(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowWrapPolicy()); +} + +void PythonQtWrapper_QFormLayout::setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy) +{ + ( theWrappedObject->setFieldGrowthPolicy(policy)); +} + +void PythonQtWrapper_QFormLayout::setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setFormAlignment(alignment)); +} + +void PythonQtWrapper_QFormLayout::setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QFormLayout::setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItem(row, role, item)); +} + +void PythonQtWrapper_QFormLayout::setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setLabelAlignment(alignment)); +} + +void PythonQtWrapper_QFormLayout::setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP layout) +{ + ( theWrappedObject->setLayout(row, role, layout)); +} + +void PythonQtWrapper_QFormLayout::setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy) +{ + ( theWrappedObject->setRowWrapPolicy(policy)); +} + +void PythonQtWrapper_QFormLayout::setSpacing(QFormLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSpacing(arg__1)); +} + +void PythonQtWrapper_QFormLayout::setVerticalSpacing(QFormLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +void PythonQtWrapper_QFormLayout::setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setWidget(row, role, widget)); +} + +int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +QFormLayout::TakeRowResult PythonQtWrapper_QFormLayout::takeRow(QFormLayout* theWrappedObject, QLayout* layout) +{ + return ( theWrappedObject->takeRow(layout)); +} + +QFormLayout::TakeRowResult PythonQtWrapper_QFormLayout::takeRow(QFormLayout* theWrappedObject, QWidget* widget) +{ + return ( theWrappedObject->takeRow(widget)); +} + +QFormLayout::TakeRowResult PythonQtWrapper_QFormLayout::takeRow(QFormLayout* theWrappedObject, int row) +{ + return ( theWrappedObject->takeRow(row)); +} + +int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +PythonQtShell_QFormLayout__TakeRowResult::~PythonQtShell_QFormLayout__TakeRowResult() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QFormLayout::TakeRowResult* PythonQtWrapper_QFormLayout__TakeRowResult::new_QFormLayout__TakeRowResult() +{ +return new PythonQtShell_QFormLayout__TakeRowResult(); } + + + +PythonQtShell_QFrame::~PythonQtShell_QFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QFrame::actionEvent(event0); +} +void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFrame::changeEvent(arg__1); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::childEvent(event0); +} +void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QFrame::closeEvent(event0); +} +void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QFrame::contextMenuEvent(event0); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::customEvent(event0); +} +int PythonQtShell_QFrame::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 QFrame::devType(); +} +void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QFrame::dragEnterEvent(event0); +} +void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QFrame::dragLeaveEvent(event0); +} +void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QFrame::dragMoveEvent(event0); +} +void PythonQtShell_QFrame::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QFrame::dropEvent(event0); +} +void PythonQtShell_QFrame::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QFrame::enterEvent(event0); +} +bool PythonQtShell_QFrame::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 QFrame::event(e0); +} +bool PythonQtShell_QFrame::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 QFrame::eventFilter(watched0, event1); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::focusInEvent(event0); +} +bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::focusNextPrevChild(next0); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::focusOutEvent(event0); +} +bool PythonQtShell_QFrame::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::hasHeightForWidth(); +} +int PythonQtShell_QFrame::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::heightForWidth(arg__1); +} +void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFrame::hideEvent(event0); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::initPainter(painter0); +} +void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFrame::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::inputMethodQuery(arg__1); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::keyPressEvent(event0); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::keyReleaseEvent(event0); +} +void PythonQtShell_QFrame::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QFrame::leaveEvent(event0); +} +int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::metric(arg__1); +} +QSize PythonQtShell_QFrame::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::minimumSizeHint(); +} +void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFrame::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFrame::mouseMoveEvent(event0); +} +void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFrame::mousePressEvent(event0); +} +void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QFrame::mouseReleaseEvent(event0); +} +void PythonQtShell_QFrame::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QFrame::moveEvent(event0); +} +bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QFrame::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::paintEngine(); +} +void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFrame::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QFrame::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 QFrame::redirected(offset0); +} +void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QFrame::resizeEvent(event0); +} +void PythonQtShell_QFrame::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFrame::setVisible(visible0); +} +QPainter* PythonQtShell_QFrame::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 QFrame::sharedPainter(); +} +void PythonQtShell_QFrame::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QFrame::showEvent(event0); +} +QSize PythonQtShell_QFrame::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFrame::sizeHint(); +} +void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QFrame::tabletEvent(event0); +} +void PythonQtShell_QFrame::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(); + } + } +} + QFrame::timerEvent(event0); +} +void PythonQtShell_QFrame::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QFrame::wheelEvent(event0); +} +QFrame* PythonQtWrapper_QFrame::new_QFrame(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QFrame(parent, f); } + +const QMetaObject* PythonQtShell_QFrame::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFrame::staticMetaObject); + } else { + return &QFrame::staticMetaObject; + } +} +int PythonQtShell_QFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFrame::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QFrame::drawFrame(QFrame* theWrappedObject, QPainter* arg__1) +{ + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_drawFrame(arg__1)); +} + +QRect PythonQtWrapper_QFrame::frameRect(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameRect()); +} + +QFrame::Shadow PythonQtWrapper_QFrame::frameShadow(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameShadow()); +} + +QFrame::Shape PythonQtWrapper_QFrame::frameShape(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameShape()); +} + +int PythonQtWrapper_QFrame::frameStyle(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameStyle()); +} + +int PythonQtWrapper_QFrame::frameWidth(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameWidth()); +} + +void PythonQtWrapper_QFrame::initStyleOption(QFrame* theWrappedObject, QStyleOptionFrame* option) const +{ + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_initStyleOption(option)); +} + +int PythonQtWrapper_QFrame::lineWidth(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +int PythonQtWrapper_QFrame::midLineWidth(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->midLineWidth()); +} + +void PythonQtWrapper_QFrame::setFrameRect(QFrame* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->setFrameRect(arg__1)); +} + +void PythonQtWrapper_QFrame::setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1) +{ + ( theWrappedObject->setFrameShadow(arg__1)); +} + +void PythonQtWrapper_QFrame::setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1) +{ + ( theWrappedObject->setFrameShape(arg__1)); +} + +void PythonQtWrapper_QFrame::setFrameStyle(QFrame* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setFrameStyle(arg__1)); +} + +void PythonQtWrapper_QFrame::setLineWidth(QFrame* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setLineWidth(arg__1)); +} + +void PythonQtWrapper_QFrame::setMidLineWidth(QFrame* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMidLineWidth(arg__1)); +} + +QSize PythonQtWrapper_QFrame::sizeHint(QFrame* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +PythonQtShell_QGesture::~PythonQtShell_QGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGesture::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(); + } + } +} + QGesture::childEvent(event0); +} +void PythonQtShell_QGesture::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(); + } + } +} + QGesture::customEvent(event0); +} +bool PythonQtShell_QGesture::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 QGesture::event(event0); +} +bool PythonQtShell_QGesture::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 QGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QGesture::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(); + } + } +} + QGesture::timerEvent(event0); +} +QGesture* PythonQtWrapper_QGesture::new_QGesture(QObject* parent) +{ +return new PythonQtShell_QGesture(parent); } + +const QMetaObject* PythonQtShell_QGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGesture::staticMetaObject); + } else { + return &QGesture::staticMetaObject; + } +} +int PythonQtShell_QGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QGesture::GestureCancelPolicy PythonQtWrapper_QGesture::gestureCancelPolicy(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->gestureCancelPolicy()); +} + +Qt::GestureType PythonQtWrapper_QGesture::gestureType(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->gestureType()); +} + +bool PythonQtWrapper_QGesture::hasHotSpot(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->hasHotSpot()); +} + +QPointF PythonQtWrapper_QGesture::hotSpot(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->hotSpot()); +} + +void PythonQtWrapper_QGesture::setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy) +{ + ( theWrappedObject->setGestureCancelPolicy(policy)); +} + +void PythonQtWrapper_QGesture::setHotSpot(QGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setHotSpot(value)); +} + +Qt::GestureState PythonQtWrapper_QGesture::state(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QGesture::unsetHotSpot(QGesture* theWrappedObject) +{ + ( theWrappedObject->unsetHotSpot()); +} + +QString PythonQtWrapper_QGesture::py_toString(QGesture* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QGestureEvent* PythonQtWrapper_QGestureEvent::new_QGestureEvent(const QList& gestures) +{ +return new QGestureEvent(gestures); } + +void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, QGesture* arg__1) +{ + ( theWrappedObject->accept(arg__1)); +} + +void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) +{ + ( theWrappedObject->accept(arg__1)); +} + +QList PythonQtWrapper_QGestureEvent::activeGestures(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->activeGestures()); +} + +QList PythonQtWrapper_QGestureEvent::canceledGestures(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->canceledGestures()); +} + +QGesture* PythonQtWrapper_QGestureEvent::gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const +{ + return ( theWrappedObject->gesture(type)); +} + +QList PythonQtWrapper_QGestureEvent::gestures(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->gestures()); +} + +void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, QGesture* arg__1) +{ + ( theWrappedObject->ignore(arg__1)); +} + +void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) +{ + ( theWrappedObject->ignore(arg__1)); +} + +bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const +{ + return ( theWrappedObject->isAccepted(arg__1)); +} + +bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const +{ + return ( theWrappedObject->isAccepted(arg__1)); +} + +QPointF PythonQtWrapper_QGestureEvent::mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const +{ + return ( theWrappedObject->mapToGraphicsScene(gesturePoint)); +} + +void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2) +{ + ( theWrappedObject->setAccepted(arg__1, arg__2)); +} + +void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2) +{ + ( theWrappedObject->setAccepted(arg__1, arg__2)); +} + +void PythonQtWrapper_QGestureEvent::setWidget(QGestureEvent* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QWidget* PythonQtWrapper_QGestureEvent::widget(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +QString PythonQtWrapper_QGestureEvent::py_toString(QGestureEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QGesture*" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QGesture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGestureRecognizer::create(target0); +} +QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("recognize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("recognize", methodInfo, result); + } else { + returnValue = *((QGestureRecognizer::Result*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGestureRecognizer::Result(); +} +void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGesture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGestureRecognizer::reset(state0); +} +QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() +{ +return new PythonQtShell_QGestureRecognizer(); } + +QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) +{ + return ( theWrappedObject->create(target)); +} + +QGestureRecognizer::Result PythonQtWrapper_QGestureRecognizer::recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event) +{ + return ( theWrappedObject->recognize(state, watched, event)); +} + +Qt::GestureType PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer) +{ + return (QGestureRecognizer::registerRecognizer(recognizer)); +} + +void PythonQtWrapper_QGestureRecognizer::reset(QGestureRecognizer* theWrappedObject, QGesture* state) +{ + ( theWrappedObject->reset(state)); +} + +void PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type) +{ + (QGestureRecognizer::unregisterRecognizer(type)); +} + + + +QGlyphRun* PythonQtWrapper_QGlyphRun::new_QGlyphRun() +{ +return new QGlyphRun(); } + +QGlyphRun* PythonQtWrapper_QGlyphRun::new_QGlyphRun(const QGlyphRun& other) +{ +return new QGlyphRun(other); } + +QRectF PythonQtWrapper_QGlyphRun::boundingRect(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +void PythonQtWrapper_QGlyphRun::clear(QGlyphRun* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QGlyphRun::GlyphRunFlags PythonQtWrapper_QGlyphRun::flags(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QVector PythonQtWrapper_QGlyphRun::glyphIndexes(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->glyphIndexes()); +} + +bool PythonQtWrapper_QGlyphRun::isEmpty(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QGlyphRun::isRightToLeft(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->isRightToLeft()); +} + +bool PythonQtWrapper_QGlyphRun::__ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QGlyphRun* PythonQtWrapper_QGlyphRun::operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QGlyphRun::__eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QGlyphRun::overline(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->overline()); +} + +QVector PythonQtWrapper_QGlyphRun::positions(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->positions()); +} + +QRawFont PythonQtWrapper_QGlyphRun::rawFont(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->rawFont()); +} + +void PythonQtWrapper_QGlyphRun::setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect) +{ + ( theWrappedObject->setBoundingRect(boundingRect)); +} + +void PythonQtWrapper_QGlyphRun::setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled) +{ + ( theWrappedObject->setFlag(flag, enabled)); +} + +void PythonQtWrapper_QGlyphRun::setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QGlyphRun::setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes) +{ + ( theWrappedObject->setGlyphIndexes(glyphIndexes)); +} + +void PythonQtWrapper_QGlyphRun::setOverline(QGlyphRun* theWrappedObject, bool overline) +{ + ( theWrappedObject->setOverline(overline)); +} + +void PythonQtWrapper_QGlyphRun::setPositions(QGlyphRun* theWrappedObject, const QVector& positions) +{ + ( theWrappedObject->setPositions(positions)); +} + +void PythonQtWrapper_QGlyphRun::setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size) +{ + ( theWrappedObject->setRawData(glyphIndexArray, glyphPositionArray, size)); +} + +void PythonQtWrapper_QGlyphRun::setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont) +{ + ( theWrappedObject->setRawFont(rawFont)); +} + +void PythonQtWrapper_QGlyphRun::setRightToLeft(QGlyphRun* theWrappedObject, bool on) +{ + ( theWrappedObject->setRightToLeft(on)); +} + +void PythonQtWrapper_QGlyphRun::setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut) +{ + ( theWrappedObject->setStrikeOut(strikeOut)); +} + +void PythonQtWrapper_QGlyphRun::setUnderline(QGlyphRun* theWrappedObject, bool underline) +{ + ( theWrappedObject->setUnderline(underline)); +} + +bool PythonQtWrapper_QGlyphRun::strikeOut(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->strikeOut()); +} + +void PythonQtWrapper_QGlyphRun::swap(QGlyphRun* theWrappedObject, QGlyphRun& other) +{ + ( theWrappedObject->swap(other)); +} + +bool PythonQtWrapper_QGlyphRun::underline(QGlyphRun* theWrappedObject) const +{ + return ( theWrappedObject->underline()); +} + + + +QGradient* PythonQtWrapper_QGradient::new_QGradient() +{ +return new QGradient(); } + +QGradient* PythonQtWrapper_QGradient::new_QGradient(QGradient::Preset arg__1) +{ +return new QGradient(arg__1); } + +QGradient::CoordinateMode PythonQtWrapper_QGradient::coordinateMode(QGradient* theWrappedObject) const +{ + return ( theWrappedObject->coordinateMode()); +} + +bool PythonQtWrapper_QGradient::__ne__(QGradient* theWrappedObject, const QGradient& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QGradient::__eq__(QGradient* theWrappedObject, const QGradient& gradient) const +{ + return ( (*theWrappedObject)== gradient); +} + +void PythonQtWrapper_QGradient::setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color) +{ + ( theWrappedObject->setColorAt(pos, color)); +} + +void PythonQtWrapper_QGradient::setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode) +{ + ( theWrappedObject->setCoordinateMode(mode)); +} + +void PythonQtWrapper_QGradient::setSpread(QGradient* theWrappedObject, QGradient::Spread spread) +{ + ( theWrappedObject->setSpread(spread)); +} + +void PythonQtWrapper_QGradient::setStops(QGradient* theWrappedObject, const QVector >& stops) +{ + ( theWrappedObject->setStops(stops)); +} + +QGradient::Spread PythonQtWrapper_QGradient::spread(QGradient* theWrappedObject) const +{ + return ( theWrappedObject->spread()); +} + +QVector > PythonQtWrapper_QGradient::stops(QGradient* theWrappedObject) const +{ + return ( theWrappedObject->stops()); +} + +QGradient::Type PythonQtWrapper_QGradient::type(QGradient* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +void PythonQtWrapper_QGraphicsAnchor::setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy) +{ + ( theWrappedObject->setSizePolicy(policy)); +} + +void PythonQtWrapper_QGraphicsAnchor::setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +QSizePolicy::Policy PythonQtWrapper_QGraphicsAnchor::sizePolicy(QGraphicsAnchor* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + +qreal PythonQtWrapper_QGraphicsAnchor::spacing(QGraphicsAnchor* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +void PythonQtWrapper_QGraphicsAnchor::unsetSpacing(QGraphicsAnchor* theWrappedObject) +{ + ( theWrappedObject->unsetSpacing()); +} + + + +PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QGraphicsAnchorLayout::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 QGraphicsAnchorLayout::count(); +} +void PythonQtShell_QGraphicsAnchorLayout::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(); + } + } +} + QGraphicsAnchorLayout::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsAnchorLayout::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(); + } + } +} + QGraphicsAnchorLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::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 QGraphicsAnchorLayout::itemAt(index0); +} +void PythonQtShell_QGraphicsAnchorLayout::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(); + } + } +} + QGraphicsAnchorLayout::removeAt(index0); +} +void PythonQtShell_QGraphicsAnchorLayout::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(); + } + } +} + QGraphicsAnchorLayout::setGeometry(rect0); +} +QSizeF PythonQtShell_QGraphicsAnchorLayout::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 QGraphicsAnchorLayout::sizeHint(which0, constraint1); +} +void PythonQtShell_QGraphicsAnchorLayout::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(); + } + } +} + QGraphicsAnchorLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsAnchorLayout::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(); + } + } +} + QGraphicsAnchorLayout::widgetEvent(e0); +} +QGraphicsAnchorLayout* PythonQtWrapper_QGraphicsAnchorLayout::new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsAnchorLayout(parent); } + +QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) +{ + return ( theWrappedObject->addAnchor(firstItem, firstEdge, secondItem, secondEdge)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations) +{ + ( theWrappedObject->addAnchors(firstItem, secondItem, orientations)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner) +{ + ( theWrappedObject->addCornerAnchors(firstItem, firstCorner, secondItem, secondCorner)); +} + +QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::anchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) +{ + return ( theWrappedObject->anchor(firstItem, firstEdge, secondItem, secondEdge)); +} + +qreal PythonQtWrapper_QGraphicsAnchorLayout::horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRectFor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, 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 returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsBlurEffect::boundingRectFor(rect0); +} +void PythonQtShell_QGraphicsBlurEffect::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(); + } + } +} + QGraphicsBlurEffect::childEvent(event0); +} +void PythonQtShell_QGraphicsBlurEffect::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(); + } + } +} + QGraphicsBlurEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + 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(); + } + } +} + QGraphicsBlurEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsBlurEffect::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 QGraphicsBlurEffect::event(event0); +} +bool PythonQtShell_QGraphicsBlurEffect::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 QGraphicsBlurEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsBlurEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsBlurEffect::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(); + } + } +} + QGraphicsBlurEffect::timerEvent(event0); +} +QGraphicsBlurEffect* PythonQtWrapper_QGraphicsBlurEffect::new_QGraphicsBlurEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsBlurEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsBlurEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsBlurEffect::staticMetaObject); + } else { + return &QGraphicsBlurEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsBlurEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsBlurEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QGraphicsBlurEffect::BlurHints PythonQtWrapper_QGraphicsBlurEffect::blurHints(QGraphicsBlurEffect* theWrappedObject) const +{ + return ( theWrappedObject->blurHints()); +} + +qreal PythonQtWrapper_QGraphicsBlurEffect::blurRadius(QGraphicsBlurEffect* theWrappedObject) const +{ + return ( theWrappedObject->blurRadius()); +} + + + +PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRectFor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, 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 returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsColorizeEffect::boundingRectFor(sourceRect0); +} +void PythonQtShell_QGraphicsColorizeEffect::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(); + } + } +} + QGraphicsColorizeEffect::childEvent(event0); +} +void PythonQtShell_QGraphicsColorizeEffect::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(); + } + } +} + QGraphicsColorizeEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + 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(); + } + } +} + QGraphicsColorizeEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsColorizeEffect::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 QGraphicsColorizeEffect::event(event0); +} +bool PythonQtShell_QGraphicsColorizeEffect::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 QGraphicsColorizeEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsColorizeEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsColorizeEffect::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(); + } + } +} + QGraphicsColorizeEffect::timerEvent(event0); +} +QGraphicsColorizeEffect* PythonQtWrapper_QGraphicsColorizeEffect::new_QGraphicsColorizeEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsColorizeEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsColorizeEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsColorizeEffect::staticMetaObject); + } else { + return &QGraphicsColorizeEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsColorizeEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsColorizeEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QColor PythonQtWrapper_QGraphicsColorizeEffect::color(QGraphicsColorizeEffect* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +qreal PythonQtWrapper_QGraphicsColorizeEffect::strength(QGraphicsColorizeEffect* theWrappedObject) const +{ + return ( theWrappedObject->strength()); +} + + + +PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRectFor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, 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 returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsDropShadowEffect::boundingRectFor(rect0); +} +void PythonQtShell_QGraphicsDropShadowEffect::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(); + } + } +} + QGraphicsDropShadowEffect::childEvent(event0); +} +void PythonQtShell_QGraphicsDropShadowEffect::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(); + } + } +} + QGraphicsDropShadowEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + 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(); + } + } +} + QGraphicsDropShadowEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsDropShadowEffect::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 QGraphicsDropShadowEffect::event(event0); +} +bool PythonQtShell_QGraphicsDropShadowEffect::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 QGraphicsDropShadowEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsDropShadowEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsDropShadowEffect::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(); + } + } +} + QGraphicsDropShadowEffect::timerEvent(event0); +} +QGraphicsDropShadowEffect* PythonQtWrapper_QGraphicsDropShadowEffect::new_QGraphicsDropShadowEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsDropShadowEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsDropShadowEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsDropShadowEffect::staticMetaObject); + } else { + return &QGraphicsDropShadowEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsDropShadowEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsDropShadowEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QGraphicsDropShadowEffect::blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->blurRadius()); +} + +QColor PythonQtWrapper_QGraphicsDropShadowEffect::color(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +QPointF PythonQtWrapper_QGraphicsDropShadowEffect::offset(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +qreal PythonQtWrapper_QGraphicsDropShadowEffect::xOffset(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->xOffset()); +} + +qreal PythonQtWrapper_QGraphicsDropShadowEffect::yOffset(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->yOffset()); +} + + + +PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRectFor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, 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 returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsEffect::boundingRectFor(sourceRect0); +} +void PythonQtShell_QGraphicsEffect::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(); + } + } +} + QGraphicsEffect::childEvent(event0); +} +void PythonQtShell_QGraphicsEffect::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(); + } + } +} + QGraphicsEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + 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(); + } + } +} + +} +bool PythonQtShell_QGraphicsEffect::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 QGraphicsEffect::event(event0); +} +bool PythonQtShell_QGraphicsEffect::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 QGraphicsEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsEffect::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(); + } + } +} + QGraphicsEffect::timerEvent(event0); +} +QGraphicsEffect* PythonQtWrapper_QGraphicsEffect::new_QGraphicsEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsEffect::staticMetaObject); + } else { + return &QGraphicsEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QRectF PythonQtWrapper_QGraphicsEffect::boundingRect(QGraphicsEffect* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +QRectF PythonQtWrapper_QGraphicsEffect::boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const +{ + return ( theWrappedObject->boundingRectFor(sourceRect)); +} + +void PythonQtWrapper_QGraphicsEffect::draw(QGraphicsEffect* theWrappedObject, QPainter* painter) +{ + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_draw(painter)); +} + +void PythonQtWrapper_QGraphicsEffect::drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter) +{ + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_drawSource(painter)); +} + +bool PythonQtWrapper_QGraphicsEffect::isEnabled(QGraphicsEffect* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +QRectF PythonQtWrapper_QGraphicsEffect::sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceBoundingRect(system)); +} + +void PythonQtWrapper_QGraphicsEffect::sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags) +{ + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceChanged(flags)); +} + +bool PythonQtWrapper_QGraphicsEffect::sourceIsPixmap(QGraphicsEffect* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceIsPixmap()); +} + +QPixmap PythonQtWrapper_QGraphicsEffect::sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system, QPoint* offset, QGraphicsEffect::PixmapPadMode mode) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourcePixmap(system, offset, mode)); +} + +void PythonQtWrapper_QGraphicsEffect::updateBoundingRect(QGraphicsEffect* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_updateBoundingRect()); +} + + + +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) { + 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 QGraphicsEllipseItem::boundingRect(); +} +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("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 QGraphicsEllipseItem::collidesWithItem(other0, mode1); +} +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("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 QGraphicsEllipseItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsEllipseItem::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 QGraphicsEllipseItem::contains(point0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsEllipseItem::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 QGraphicsEllipseItem::extension(variant0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsEllipseItem::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 QGraphicsEllipseItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsEllipseItem::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 QGraphicsEllipseItem::isObscuredBy(item0); +} +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("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 QGraphicsEllipseItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::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(); + } + } +} + QGraphicsEllipseItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsEllipseItem::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 QGraphicsEllipseItem::opaqueArea(); +} +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); } + +void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment) +{ + ( theWrappedObject->addItem(item, row, column, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment) +{ + ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, alignment)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const +{ + return ( theWrappedObject->alignment(item)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnAlignment(column)); +} + +int PythonQtWrapper_QGraphicsGridLayout::columnCount(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnMaximumWidth(column)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnMinimumWidth(column)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnPreferredWidth(column)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnSpacing(column)); +} + +int PythonQtWrapper_QGraphicsGridLayout::columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnStretchFactor(column)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->itemAt(row, column)); +} + +void PythonQtWrapper_QGraphicsGridLayout::removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) +{ + ( theWrappedObject->removeItem(item)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowAlignment(row)); +} + +int PythonQtWrapper_QGraphicsGridLayout::rowCount(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowMaximumHeight(row)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowMinimumHeight(row)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowPreferredHeight(row)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowSpacing(row)); +} + +int PythonQtWrapper_QGraphicsGridLayout::rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowStretchFactor(row)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(item, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment) +{ + ( theWrappedObject->setColumnAlignment(column, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnFixedWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnMaximumWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnMinimumWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +{ + ( theWrappedObject->setColumnPreferredWidth(column, width)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing) +{ + ( theWrappedObject->setColumnSpacing(column, spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch) +{ + ( theWrappedObject->setColumnStretchFactor(column, stretch)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment) +{ + ( theWrappedObject->setRowAlignment(row, alignment)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowFixedHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowMaximumHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowMinimumHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +{ + ( theWrappedObject->setRowPreferredHeight(row, height)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing) +{ + ( theWrappedObject->setRowSpacing(row, spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch) +{ + ( theWrappedObject->setRowStretchFactor(row, stretch)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsGridLayout::setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +qreal PythonQtWrapper_QGraphicsGridLayout::verticalSpacing(QGraphicsGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsItem::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 QRectF(); +} +bool PythonQtShell_QGraphicsItem::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 QGraphicsItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsItem::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 QGraphicsItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsItem::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 QGraphicsItem::contains(point0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsItem::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 QGraphicsItem::extension(variant0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsItem::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 QGraphicsItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsItem::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 QGraphicsItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsItem::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 QGraphicsItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsItem::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 QGraphicsItem::opaqueArea(); +} +void PythonQtShell_QGraphicsItem::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_QGraphicsItem::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 QGraphicsItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsItem::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 QGraphicsItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsItem::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 QGraphicsItem::shape(); +} +bool PythonQtShell_QGraphicsItem::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 QGraphicsItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsItem::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 QGraphicsItem::type(); +} +void PythonQtShell_QGraphicsItem::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(); + } + } +} + QGraphicsItem::wheelEvent(event0); +} +QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsItem(parent); } + +bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptDrops()); +} + +bool PythonQtWrapper_QGraphicsItem::acceptHoverEvents(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptHoverEvents()); +} + +bool PythonQtWrapper_QGraphicsItem::acceptTouchEvents(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptTouchEvents()); +} + +Qt::MouseButtons PythonQtWrapper_QGraphicsItem::acceptedMouseButtons(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptedMouseButtons()); +} + +void PythonQtWrapper_QGraphicsItem::addToIndex(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_addToIndex()); +} + +void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) +{ + ( theWrappedObject->advance(phase)); +} + +QRectF PythonQtWrapper_QGraphicsItem::boundingRect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const +{ + return ( theWrappedObject->boundingRegion(itemToDeviceTransform)); +} + +qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRegionGranularity()); +} + +QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->cacheMode()); +} + +QList PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->childItems()); +} + +QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->childrenBoundingRect()); +} + +void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->clearFocus()); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::clipPath(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->clipPath()); +} + +bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->collidesWithItem(other, mode)); +} + +bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->collidesWithPath(path, mode)); +} + +QList PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->collidingItems(mode)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const +{ + return ( theWrappedObject->commonAncestorItem(other)); +} + +bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +void PythonQtWrapper_QGraphicsItem::contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contextMenuEvent(event)); +} + +QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} + +QVariant PythonQtWrapper_QGraphicsItem::data(QGraphicsItem* theWrappedObject, int key) const +{ + return ( theWrappedObject->data(key)); +} + +QTransform PythonQtWrapper_QGraphicsItem::deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const +{ + return ( theWrappedObject->deviceTransform(viewportTransform)); +} + +void PythonQtWrapper_QGraphicsItem::dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragEnterEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dropEvent(event)); +} + +qreal PythonQtWrapper_QGraphicsItem::effectiveOpacity(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->effectiveOpacity()); +} + +void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); +} + +void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); +} + +QVariant PythonQtWrapper_QGraphicsItem::extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_extension(variant)); +} + +bool PythonQtWrapper_QGraphicsItem::filtersChildEvents(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->filtersChildEvents()); +} + +QGraphicsItem::GraphicsItemFlags PythonQtWrapper_QGraphicsItem::flags(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +void PythonQtWrapper_QGraphicsItem::focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusInEvent(event)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->focusItem()); +} + +void PythonQtWrapper_QGraphicsItem::focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusProxy(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->focusProxy()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusScopeItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->focusScopeItem()); +} + +void PythonQtWrapper_QGraphicsItem::grabKeyboard(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->grabKeyboard()); +} + +void PythonQtWrapper_QGraphicsItem::grabMouse(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->grabMouse()); +} + +QGraphicsEffect* PythonQtWrapper_QGraphicsItem::graphicsEffect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->graphicsEffect()); +} + +QGraphicsItemGroup* PythonQtWrapper_QGraphicsItem::group(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +bool PythonQtWrapper_QGraphicsItem::handlesChildEvents(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->handlesChildEvents()); +} + +bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->hasCursor()); +} + +bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->hide()); +} + +void PythonQtWrapper_QGraphicsItem::hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodEvent(event)); +} + +Qt::InputMethodHints PythonQtWrapper_QGraphicsItem::inputMethodHints(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->inputMethodHints()); +} + +QVariant PythonQtWrapper_QGraphicsItem::inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodQuery(query)); +} + +void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +{ + ( theWrappedObject->installSceneEventFilter(filterItem)); +} + +bool PythonQtWrapper_QGraphicsItem::isActive(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const +{ + return ( theWrappedObject->isAncestorOf(child)); +} + +bool PythonQtWrapper_QGraphicsItem::isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel) const +{ + return ( theWrappedObject->isBlockedByModalPanel(blockingPanel)); +} + +bool PythonQtWrapper_QGraphicsItem::isClipped(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isClipped()); +} + +bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->isObscured(rect)); +} + +bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->isObscured(x, y, w, h)); +} + +bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( theWrappedObject->isObscuredBy(item)); +} + +bool PythonQtWrapper_QGraphicsItem::isPanel(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isPanel()); +} + +bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isUnderMouse()); +} + +bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const +{ + return ( theWrappedObject->isVisibleTo(parent)); +} + +bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isWidget()); +} + +bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isWindow()); +} + +QVariant PythonQtWrapper_QGraphicsItem::itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_itemChange(change, value)); +} + +QTransform PythonQtWrapper_QGraphicsItem::itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok) const +{ + return ( theWrappedObject->itemTransform(other, ok)); +} + +void PythonQtWrapper_QGraphicsItem::keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromItem(item, path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapFromItem(item, point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromItem(item, polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromItem(item, rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromItem(item, x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromItem(item, x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromParent(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromParent(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromParent(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromParent(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromParent(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromParent(x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromScene(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromScene(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromScene(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromScene(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromScene(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromScene(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromItem(item, rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectFromItem(item, x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromParent(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectFromParent(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromScene(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectFromScene(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToItem(item, rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectToItem(item, x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToParent(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectToParent(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToScene(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectToScene(x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToItem(item, path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapToItem(item, point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapToItem(item, polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapToItem(item, rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const +{ + return ( theWrappedObject->mapToItem(item, x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapToItem(item, x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToParent(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToParent(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapToParent(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapToParent(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapToParent(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapToParent(x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToScene(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToScene(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapToScene(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapToScene(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapToScene(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapToScene(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsItem::mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->moveBy(dx, dy)); +} + +qreal PythonQtWrapper_QGraphicsItem::opacity(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->opaqueArea()); +} + +void PythonQtWrapper_QGraphicsItem::paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paint(painter, option, widget)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::panel(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->panel()); +} + +QGraphicsItem::PanelModality PythonQtWrapper_QGraphicsItem::panelModality(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->panelModality()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->parentItem()); +} + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::parentObject(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->parentObject()); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +void PythonQtWrapper_QGraphicsItem::prepareGeometryChange(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_prepareGeometryChange()); +} + +void PythonQtWrapper_QGraphicsItem::removeFromIndex(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_removeFromIndex()); +} + +void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +{ + ( theWrappedObject->removeSceneEventFilter(filterItem)); +} + +void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} + +qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scale()); +} + +QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scene()); +} + +QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->sceneBoundingRect()); +} + +bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); +} + +bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); +} + +QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->sceneTransform()); +} + +void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) +{ + ( theWrappedObject->scroll(dx, dy, rect)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) +{ + ( theWrappedObject->setAcceptDrops(on)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptHoverEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptTouchEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setAcceptedMouseButtons(buttons)); +} + +void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) +{ + ( theWrappedObject->setActive(active)); +} + +void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) +{ + ( theWrappedObject->setBoundingRegionGranularity(granularity)); +} + +void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) +{ + ( theWrappedObject->setCacheMode(mode, cacheSize)); +} + +void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) +{ + ( theWrappedObject->setCursor(cursor)); +} + +void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value) +{ + ( theWrappedObject->setData(key, value)); +} + +void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setEnabled(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_setExtension(extension, variant)); +} + +void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setFiltersChildEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) +{ + ( theWrappedObject->setFlag(flag, enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) +{ + ( theWrappedObject->setFocus(focusReason)); +} + +void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->setFocusProxy(item)); +} + +void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) +{ + ( theWrappedObject->setGraphicsEffect(effect)); +} + +void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->setGroup(group)); +} + +void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setHandlesChildEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints) +{ + ( theWrappedObject->setInputMethodHints(hints)); +} + +void PythonQtWrapper_QGraphicsItem::setOpacity(QGraphicsItem* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +void PythonQtWrapper_QGraphicsItem::setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality) +{ + ( theWrappedObject->setPanelModality(panelModality)); +} + +void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, PythonQtNewOwnerOfThis parent) +{ + ( theWrappedObject->setParentItem(parent)); +} + +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setPos(x, y)); +} + +void PythonQtWrapper_QGraphicsItem::setRotation(QGraphicsItem* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setRotation(angle)); +} + +void PythonQtWrapper_QGraphicsItem::setScale(QGraphicsItem* theWrappedObject, qreal scale) +{ + ( theWrappedObject->setScale(scale)); +} + +void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) +{ + ( theWrappedObject->setSelected(selected)); +} + +void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setTransform(matrix, combine)); +} + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) +{ + ( theWrappedObject->setTransformOriginPoint(origin)); +} + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) +{ + ( theWrappedObject->setTransformOriginPoint(ax, ay)); +} + +void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) +{ + ( theWrappedObject->setTransformations(transformations)); +} + +void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) +{ + ( theWrappedObject->setZValue(z)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->show()); +} + +void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) +{ + ( theWrappedObject->stackBefore(sibling)); +} + +bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); +} + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::toGraphicsObject(QGraphicsItem* theWrappedObject) +{ + return ( theWrappedObject->toGraphicsObject()); +} + +QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->topLevelItem()); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->topLevelWidget()); +} + +QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transform()); +} + +QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOriginPoint()); +} + +QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transformations()); +} + +int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->ungrabKeyboard()); +} + +void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->ungrabMouse()); +} + +void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} + +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->update(rect)); +} + +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) +{ + ( theWrappedObject->update(x, y, width, height)); +} + +void PythonQtWrapper_QGraphicsItem::updateMicroFocus(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_updateMicroFocus()); +} + +void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_wheelEvent(event)); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::window(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->zValue()); +} + +QString PythonQtWrapper_QGraphicsItem::py_toString(QGraphicsItem* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("afterAnimationStep"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&step0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsItemAnimation::afterAnimationStep(step0); +} +void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("beforeAnimationStep"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&step0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsItemAnimation::beforeAnimationStep(step0); +} +void PythonQtShell_QGraphicsItemAnimation::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(); + } + } +} + QGraphicsItemAnimation::childEvent(event0); +} +void PythonQtShell_QGraphicsItemAnimation::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(); + } + } +} + QGraphicsItemAnimation::customEvent(event0); +} +bool PythonQtShell_QGraphicsItemAnimation::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 QGraphicsItemAnimation::event(event0); +} +bool PythonQtShell_QGraphicsItemAnimation::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 QGraphicsItemAnimation::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsItemAnimation::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(); + } + } +} + QGraphicsItemAnimation::timerEvent(event0); +} +QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) +{ +return new PythonQtShell_QGraphicsItemAnimation(parent); } + +const QMetaObject* PythonQtShell_QGraphicsItemAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsItemAnimation::staticMetaObject); + } else { + return &QGraphicsItemAnimation::staticMetaObject; + } +} +int PythonQtShell_QGraphicsItemAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsItemAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGraphicsItemAnimation::afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) +{ + ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_afterAnimationStep(step)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) +{ + ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->horizontalScaleAt(step)); +} + +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->horizontalShearAt(step)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const +{ + return ( theWrappedObject->item()); +} + +QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->matrixAt(step)); +} + +QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->posAt(step)); +} + +QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const +{ + return ( theWrappedObject->posList()); +} + +qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->rotationAt(step)); +} + +QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const +{ + return ( theWrappedObject->rotationList()); +} + +QList > PythonQtWrapper_QGraphicsItemAnimation::scaleList(QGraphicsItemAnimation* theWrappedObject) const +{ + return ( theWrappedObject->scaleList()); +} + +void PythonQtWrapper_QGraphicsItemAnimation::setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->setItem(item)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos) +{ + ( theWrappedObject->setPosAt(step, pos)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle) +{ + ( theWrappedObject->setRotationAt(step, angle)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy) +{ + ( theWrappedObject->setScaleAt(step, sx, sy)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv) +{ + ( theWrappedObject->setShearAt(step, sh, sv)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine) +{ + ( theWrappedObject->setTimeLine(timeLine)); +} + +void PythonQtWrapper_QGraphicsItemAnimation::setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy) +{ + ( theWrappedObject->setTranslationAt(step, dx, dy)); +} + +QList > PythonQtWrapper_QGraphicsItemAnimation::shearList(QGraphicsItemAnimation* theWrappedObject) const +{ + return ( theWrappedObject->shearList()); +} + +QTimeLine* PythonQtWrapper_QGraphicsItemAnimation::timeLine(QGraphicsItemAnimation* theWrappedObject) const +{ + return ( theWrappedObject->timeLine()); +} + +QTransform PythonQtWrapper_QGraphicsItemAnimation::transformAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->transformAt(step)); +} + +QList > PythonQtWrapper_QGraphicsItemAnimation::translationList(QGraphicsItemAnimation* theWrappedObject) const +{ + return ( theWrappedObject->translationList()); +} + +qreal PythonQtWrapper_QGraphicsItemAnimation::verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->verticalScaleAt(step)); +} + +qreal PythonQtWrapper_QGraphicsItemAnimation::verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->verticalShearAt(step)); +} + +qreal PythonQtWrapper_QGraphicsItemAnimation::xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->xTranslationAt(step)); +} + +qreal PythonQtWrapper_QGraphicsItemAnimation::yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +{ + return ( theWrappedObject->yTranslationAt(step)); +} + + + +PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::advance(phase0); +} +QRectF PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::boundingRect(); +} +bool PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::contains(point0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::extension(variant0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::focusInEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::opaqueArea(); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::shape(); +} +bool PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsItemGroup::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 QGraphicsItemGroup::type(); +} +void PythonQtShell_QGraphicsItemGroup::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(); + } + } +} + QGraphicsItemGroup::wheelEvent(event0); +} +QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsItemGroup(parent); } + +void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->addToGroup(item)); +} + +void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->removeFromGroup(item)); +} + + + +PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QGraphicsLayout::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 int(); +} +void PythonQtShell_QGraphicsLayout::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(); + } + } +} + QGraphicsLayout::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsLayout::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(); + } + } +} + QGraphicsLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) 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*)&i0}; + 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 nullptr; +} +void PythonQtShell_QGraphicsLayout::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(); + } + } +} + +} +void PythonQtShell_QGraphicsLayout::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(); + } + } +} + QGraphicsLayout::setGeometry(rect0); +} +QSizeF PythonQtShell_QGraphicsLayout::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 QSizeF(); +} +void PythonQtShell_QGraphicsLayout::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(); + } + } +} + QGraphicsLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsLayout::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(); + } + } +} + QGraphicsLayout::widgetEvent(e0); +} +QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsLayout(parent); } + +void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) +{ + ( theWrappedObject->activate()); +} + +void PythonQtWrapper_QGraphicsLayout::addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_addChildLayoutItem(layoutItem)); +} + +int PythonQtWrapper_QGraphicsLayout::count(QGraphicsLayout* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_instantInvalidatePropagation() +{ + return (QGraphicsLayout::instantInvalidatePropagation()); +} + +void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + +bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const +{ + return ( theWrappedObject->isActivated()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayout::itemAt(QGraphicsLayout* theWrappedObject, int i) const +{ + return ( theWrappedObject->itemAt(i)); +} + +void PythonQtWrapper_QGraphicsLayout::removeAt(QGraphicsLayout* theWrappedObject, int index) +{ + ( theWrappedObject->removeAt(index)); +} + +void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable) +{ + (QGraphicsLayout::setInstantInvalidatePropagation(enable)); +} + +void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) +{ + ( theWrappedObject->widgetEvent(e)); +} + + + +PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsLayoutItem::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(); + } + } +} + QGraphicsLayoutItem::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsLayoutItem::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(); + } + } +} + QGraphicsLayoutItem::setGeometry(rect0); +} +QSizeF PythonQtShell_QGraphicsLayoutItem::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 QSizeF(); +} +void PythonQtShell_QGraphicsLayoutItem::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(); + } + } +} + QGraphicsLayoutItem::updateGeometry(); +} +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent, bool isLayout) +{ +return new PythonQtShell_QGraphicsLayoutItem(parent, isLayout); } + +QRectF PythonQtWrapper_QGraphicsLayoutItem::contentsRect(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->contentsRect()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( theWrappedObject->effectiveSizeHint(which, constraint)); +} + +QRectF PythonQtWrapper_QGraphicsLayoutItem::geometry(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( theWrappedObject->getContentsMargins(left, top, right, bottom)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsLayoutItem::graphicsItem(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->graphicsItem()); +} + +bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->isLayout()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumHeight()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->minimumHeight()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->minimumSize()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); +} + +bool PythonQtWrapper_QGraphicsLayoutItem::ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->ownedByLayout()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->parentLayoutItem()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::preferredHeight(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->preferredHeight()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::preferredSize(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->preferredSize()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::preferredWidth(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->preferredWidth()); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setGeometry(rect)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setGraphicsItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsItem* item) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setGraphicsItem(item)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +{ + ( theWrappedObject->setMaximumHeight(height)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setMaximumSize(size)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->setMaximumSize(w, h)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +{ + ( theWrappedObject->setMaximumWidth(width)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +{ + ( theWrappedObject->setMinimumHeight(height)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setMinimumSize(size)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->setMinimumSize(w, h)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +{ + ( theWrappedObject->setMinimumWidth(width)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setOwnedByLayout(QGraphicsLayoutItem* theWrappedObject, bool ownedByLayout) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setOwnedByLayout(ownedByLayout)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent) +{ + ( theWrappedObject->setParentLayoutItem(parent)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +{ + ( theWrappedObject->setPreferredHeight(height)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setPreferredSize(size)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->setPreferredSize(w, h)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +{ + ( theWrappedObject->setPreferredWidth(width)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) +{ + ( theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy) +{ + ( theWrappedObject->setSizePolicy(policy)); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_sizeHint(which, constraint)); +} + +QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + +void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) +{ + ( theWrappedObject->updateGeometry()); +} + + + +PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::boundingRect(); +} +bool PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::contains(point0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::extension(variant0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + 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[] ={"" , "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::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + QGraphicsLineItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::opaqueArea(); +} +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("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(); + } + } +} + QGraphicsLineItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::sceneEventFilter(watched0, event1); +} +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("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(); + } + } +} + 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, 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 QGraphicsLineItem::shape(); +} +bool PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsLineItem::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 QGraphicsLineItem::type(); +} +void PythonQtShell_QGraphicsLineItem::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(); + } + } +} + 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()); +} + +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)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.h new file mode 100644 index 00000000..15c40f12 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui2.h @@ -0,0 +1,2245 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QFocusEvent : public QObject +{ Q_OBJECT +public: +public slots: +QFocusEvent* new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason); +void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } + bool gotFocus(QFocusEvent* theWrappedObject) const; + bool lostFocus(QFocusEvent* theWrappedObject) const; + Qt::FocusReason reason(QFocusEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFocusFrame : public QFocusFrame +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_initStyleOption(QStyleOption* option) const { this->initStyleOption(option); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QFocusFrame::event(e); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QFocusFrame::eventFilter(arg__1, arg__2); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QFocusFrame::paintEvent(arg__1); } +}; + +class PythonQtWrapper_QFocusFrame : public QObject +{ Q_OBJECT +public: +public slots: +QFocusFrame* new_QFocusFrame(QWidget* parent = nullptr); +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; + void py_q_paintEvent(QFocusFrame* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->py_q_paintEvent(arg__1));} + void setWidget(QFocusFrame* theWrappedObject, QWidget* widget); + QWidget* widget(QFocusFrame* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFontComboBox : public QFontComboBox +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool py_q_event(QEvent* e) { return QFontComboBox::event(e); } +inline QSize py_q_sizeHint() const { return QFontComboBox::sizeHint(); } +}; + +class PythonQtWrapper_QFontComboBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontFilter ) +Q_FLAGS(FontFilters ) +enum FontFilter{ + AllFonts = QFontComboBox::AllFonts, ScalableFonts = QFontComboBox::ScalableFonts, NonScalableFonts = QFontComboBox::NonScalableFonts, MonospacedFonts = QFontComboBox::MonospacedFonts, ProportionalFonts = QFontComboBox::ProportionalFonts}; +Q_DECLARE_FLAGS(FontFilters, FontFilter) +public slots: +QFontComboBox* new_QFontComboBox(QWidget* parent = nullptr); +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; + void setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters); + void setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1); + QSize py_q_sizeHint(QFontComboBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFontComboBox*)theWrappedObject)->py_q_sizeHint());} + QFontDatabase::WritingSystem writingSystem(QFontComboBox* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QFontDatabase : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SystemFont WritingSystem ) +enum SystemFont{ + GeneralFont = QFontDatabase::GeneralFont, FixedFont = QFontDatabase::FixedFont, TitleFont = QFontDatabase::TitleFont, SmallestReadableFont = QFontDatabase::SmallestReadableFont}; +enum WritingSystem{ + Any = QFontDatabase::Any, Latin = QFontDatabase::Latin, Greek = QFontDatabase::Greek, Cyrillic = QFontDatabase::Cyrillic, Armenian = QFontDatabase::Armenian, Hebrew = QFontDatabase::Hebrew, Arabic = QFontDatabase::Arabic, Syriac = QFontDatabase::Syriac, Thaana = QFontDatabase::Thaana, Devanagari = QFontDatabase::Devanagari, Bengali = QFontDatabase::Bengali, Gurmukhi = QFontDatabase::Gurmukhi, Gujarati = QFontDatabase::Gujarati, Oriya = QFontDatabase::Oriya, Tamil = QFontDatabase::Tamil, Telugu = QFontDatabase::Telugu, Kannada = QFontDatabase::Kannada, Malayalam = QFontDatabase::Malayalam, Sinhala = QFontDatabase::Sinhala, Thai = QFontDatabase::Thai, Lao = QFontDatabase::Lao, Tibetan = QFontDatabase::Tibetan, Myanmar = QFontDatabase::Myanmar, Georgian = QFontDatabase::Georgian, Khmer = QFontDatabase::Khmer, SimplifiedChinese = QFontDatabase::SimplifiedChinese, TraditionalChinese = QFontDatabase::TraditionalChinese, Japanese = QFontDatabase::Japanese, Korean = QFontDatabase::Korean, Vietnamese = QFontDatabase::Vietnamese, Symbol = QFontDatabase::Symbol, Other = QFontDatabase::Other, Ogham = QFontDatabase::Ogham, Runic = QFontDatabase::Runic, Nko = QFontDatabase::Nko, WritingSystemsCount = QFontDatabase::WritingSystemsCount}; +public slots: +QFontDatabase* new_QFontDatabase(); +QFontDatabase* new_QFontDatabase(const QFontDatabase& other) { +QFontDatabase* a = new QFontDatabase(); +*((QFontDatabase*)a) = other; +return a; } +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); + bool bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QStringList families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const; + QFont font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const; + bool hasFamily(QFontDatabase* theWrappedObject, const QString& family) const; + bool isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const; + bool isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QList pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()); + bool static_QFontDatabase_removeAllApplicationFonts(); + bool static_QFontDatabase_removeApplicationFont(int id); + QList smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style); + QList static_QFontDatabase_standardSizes(); + QString styleString(QFontDatabase* theWrappedObject, const QFont& font); + QString styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo); + QStringList styles(QFontDatabase* theWrappedObject, const QString& family) const; + bool static_QFontDatabase_supportsThreadedFontRendering(); + QFont static_QFontDatabase_systemFont(QFontDatabase::SystemFont type); + int weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QString static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem); + QString static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem); + QList writingSystems(QFontDatabase* theWrappedObject) const; + QList writingSystems(QFontDatabase* theWrappedObject, const QString& family) const; +}; + + + + + +class PythonQtShell_QFontDialog : public QFontDialog +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_done(int result) { this->done(result); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void py_q_changeEvent(QEvent* event) { QFontDialog::changeEvent(event); } +inline void py_q_done(int result) { QFontDialog::done(result); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QFontDialog::eventFilter(object, event); } +inline void py_q_setVisible(bool visible) { QFontDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QFontDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontDialogOption ) +Q_FLAGS(FontDialogOptions ) +enum FontDialogOption{ + NoButtons = QFontDialog::NoButtons, DontUseNativeDialog = QFontDialog::DontUseNativeDialog, ScalableFonts = QFontDialog::ScalableFonts, NonScalableFonts = QFontDialog::NonScalableFonts, MonospacedFonts = QFontDialog::MonospacedFonts, ProportionalFonts = QFontDialog::ProportionalFonts}; +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 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));} + bool py_q_eventFilter(QFontDialog* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_eventFilter(object, event));} + QFont static_QFontDialog_getFont(bool* ok, QWidget* parent = nullptr); + QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent = nullptr, const QString& title = QString(), QFontDialog::FontDialogOptions options = QFontDialog::FontDialogOptions()); + void open(QFontDialog* theWrappedObject, QObject* receiver, const char* member); + QFontDialog::FontDialogOptions options(QFontDialog* theWrappedObject) const; + QFont selectedFont(QFontDialog* theWrappedObject) const; + void setCurrentFont(QFontDialog* theWrappedObject, const QFont& font); + void setOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option, bool on = true); + void setOptions(QFontDialog* theWrappedObject, QFontDialog::FontDialogOptions options); + void py_q_setVisible(QFontDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_setVisible(visible));} + bool testOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option) const; +}; + + + + + +class PythonQtWrapper_QFontInfo : public QObject +{ Q_OBJECT +public: +public slots: +QFontInfo* new_QFontInfo(const QFont& arg__1); +QFontInfo* new_QFontInfo(const QFontInfo& arg__1); +void delete_QFontInfo(QFontInfo* obj) { delete obj; } + bool bold(QFontInfo* theWrappedObject) const; + bool exactMatch(QFontInfo* theWrappedObject) const; + QString family(QFontInfo* theWrappedObject) const; + bool fixedPitch(QFontInfo* theWrappedObject) const; + bool italic(QFontInfo* theWrappedObject) const; + bool overline(QFontInfo* theWrappedObject) const; + int pixelSize(QFontInfo* theWrappedObject) const; + int pointSize(QFontInfo* theWrappedObject) const; + qreal pointSizeF(QFontInfo* theWrappedObject) const; + bool rawMode(QFontInfo* theWrappedObject) const; + bool strikeOut(QFontInfo* theWrappedObject) const; + QFont::Style style(QFontInfo* theWrappedObject) const; + QFont::StyleHint styleHint(QFontInfo* theWrappedObject) const; + QString styleName(QFontInfo* theWrappedObject) const; + void swap(QFontInfo* theWrappedObject, QFontInfo& other); + bool underline(QFontInfo* theWrappedObject) const; + int weight(QFontInfo* theWrappedObject) const; + + QFontInfo* new_QFontInfo() { return new QFontInfo(QFont()); } + +}; + + + + + +class PythonQtWrapper_QFontMetrics : public QObject +{ Q_OBJECT +public: +public slots: +QFontMetrics* new_QFontMetrics(const QFont& arg__1); +QFontMetrics* new_QFontMetrics(const QFont& font, QPaintDevice* pd); +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; + QRect boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops = 0, int* tabarray = nullptr) const; + QRect boundingRect(QFontMetrics* theWrappedObject, const QString& text) const; + QRect boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops = 0, int* tabarray = nullptr) const; + int capHeight(QFontMetrics* theWrappedObject) const; + int charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const; + int descent(QFontMetrics* theWrappedObject) const; + QString elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags = 0) const; + qreal fontDpi(QFontMetrics* theWrappedObject) const; + int height(QFontMetrics* theWrappedObject) const; + int horizontalAdvance(QFontMetrics* theWrappedObject, QChar arg__1) const; + int horizontalAdvance(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const; + bool inFont(QFontMetrics* theWrappedObject, QChar arg__1) const; + bool inFontUcs4(QFontMetrics* theWrappedObject, uint ucs4) const; + int leading(QFontMetrics* theWrappedObject) const; + int leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; + int lineSpacing(QFontMetrics* theWrappedObject) const; + int lineWidth(QFontMetrics* theWrappedObject) const; + int maxWidth(QFontMetrics* theWrappedObject) const; + int minLeftBearing(QFontMetrics* theWrappedObject) const; + int minRightBearing(QFontMetrics* theWrappedObject) const; + int overlinePos(QFontMetrics* theWrappedObject) const; + int rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; + QSize size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = nullptr) const; + int strikeOutPos(QFontMetrics* theWrappedObject) const; + void swap(QFontMetrics* theWrappedObject, QFontMetrics& other); + QRect tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const; + int underlinePos(QFontMetrics* theWrappedObject) const; + int width(QFontMetrics* theWrappedObject, QChar arg__1) const; + 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()); } + +}; + + + + + +class PythonQtWrapper_QFontMetricsF : public QObject +{ Q_OBJECT +public: +public slots: +QFontMetricsF* new_QFontMetricsF(const QFont& font); +QFontMetricsF* new_QFontMetricsF(const QFont& font, QPaintDevice* pd); +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; + QRectF boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops = 0, int* tabarray = nullptr) const; + QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const; + qreal capHeight(QFontMetricsF* theWrappedObject) const; + qreal descent(QFontMetricsF* theWrappedObject) const; + QString elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags = 0) const; + qreal fontDpi(QFontMetricsF* theWrappedObject) const; + qreal height(QFontMetricsF* theWrappedObject) const; + qreal horizontalAdvance(QFontMetricsF* theWrappedObject, QChar arg__1) const; + qreal horizontalAdvance(QFontMetricsF* theWrappedObject, const QString& string, int length = -1) const; + bool inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const; + bool inFontUcs4(QFontMetricsF* theWrappedObject, uint ucs4) const; + qreal leading(QFontMetricsF* theWrappedObject) const; + qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; + qreal lineSpacing(QFontMetricsF* theWrappedObject) const; + qreal lineWidth(QFontMetricsF* theWrappedObject) const; + qreal maxWidth(QFontMetricsF* theWrappedObject) const; + qreal minLeftBearing(QFontMetricsF* theWrappedObject) const; + qreal minRightBearing(QFontMetricsF* theWrappedObject) const; + qreal overlinePos(QFontMetricsF* theWrappedObject) const; + qreal rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; + QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = nullptr) const; + qreal strikeOutPos(QFontMetricsF* theWrappedObject) const; + void swap(QFontMetricsF* theWrappedObject, QFontMetricsF& other); + QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const; + qreal underlinePos(QFontMetricsF* theWrappedObject) const; + qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const; + qreal width(QFontMetricsF* theWrappedObject, const QString& string) const; + qreal xHeight(QFontMetricsF* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QFormLayout : public QFormLayout +{ +public: + 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 +{ public: +inline void py_q_addItem(QLayoutItem* item) { QFormLayout::addItem(item); } +inline int py_q_count() const { return QFormLayout::count(); } +inline Qt::Orientations py_q_expandingDirections() const { return QFormLayout::expandingDirections(); } +inline bool py_q_hasHeightForWidth() const { return QFormLayout::hasHeightForWidth(); } +inline int py_q_heightForWidth(int width) const { return QFormLayout::heightForWidth(width); } +inline void py_q_invalidate() { QFormLayout::invalidate(); } +inline QLayoutItem* py_q_itemAt(int index) const { return QFormLayout::itemAt(index); } +inline QSize py_q_minimumSize() const { return QFormLayout::minimumSize(); } +inline void py_q_setGeometry(const QRect& rect) { QFormLayout::setGeometry(rect); } +inline QSize py_q_sizeHint() const { return QFormLayout::sizeHint(); } +inline QLayoutItem* py_q_takeAt(int index) { return QFormLayout::takeAt(index); } +}; + +class PythonQtWrapper_QFormLayout : public QObject +{ Q_OBJECT +public: +public slots: +QFormLayout* new_QFormLayout(QWidget* parent = nullptr); +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); + void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); + void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field); + void addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field); + int py_q_count(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_count());} + Qt::Orientations py_q_expandingDirections(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_expandingDirections());} + QFormLayout::FieldGrowthPolicy fieldGrowthPolicy(QFormLayout* theWrappedObject) const; + Qt::Alignment formAlignment(QFormLayout* theWrappedObject) const; + 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 py_q_hasHeightForWidth(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_hasHeightForWidth());} + 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); + void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); + void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); + void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget); + void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field); + void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field); + void py_q_invalidate(QFormLayout* theWrappedObject){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_invalidate());} + QLayoutItem* py_q_itemAt(QFormLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_itemAt(index));} + QLayoutItem* itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const; + Qt::Alignment labelAlignment(QFormLayout* theWrappedObject) const; + QWidget* labelForField(QFormLayout* theWrappedObject, QLayout* field) const; + QWidget* labelForField(QFormLayout* theWrappedObject, QWidget* field) const; + QSize py_q_minimumSize(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_minimumSize());} + void removeRow(QFormLayout* theWrappedObject, QLayout* layout); + void removeRow(QFormLayout* theWrappedObject, QWidget* widget); + void removeRow(QFormLayout* theWrappedObject, int row); + int rowCount(QFormLayout* theWrappedObject) const; + QFormLayout::RowWrapPolicy rowWrapPolicy(QFormLayout* theWrappedObject) const; + void setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy); + void setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); + void py_q_setGeometry(QFormLayout* theWrappedObject, const QRect& rect){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_setGeometry(rect));} + void setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing); + void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP item); + void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); + void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP layout); + void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy); + 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 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));} + QFormLayout::TakeRowResult takeRow(QFormLayout* theWrappedObject, QLayout* layout); + QFormLayout::TakeRowResult takeRow(QFormLayout* theWrappedObject, QWidget* widget); + QFormLayout::TakeRowResult takeRow(QFormLayout* theWrappedObject, int row); + int verticalSpacing(QFormLayout* theWrappedObject) const; + bool __nonzero__(QFormLayout* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QFormLayout__TakeRowResult : public QFormLayout::TakeRowResult +{ +public: + PythonQtShell_QFormLayout__TakeRowResult():QFormLayout::TakeRowResult(),_wrapper(nullptr) {}; + + ~PythonQtShell_QFormLayout__TakeRowResult(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QFormLayout__TakeRowResult : public QObject +{ Q_OBJECT +public: +public slots: +QFormLayout::TakeRowResult* new_QFormLayout__TakeRowResult(); +QFormLayout::TakeRowResult* new_QFormLayout__TakeRowResult(const QFormLayout::TakeRowResult& other) { +PythonQtShell_QFormLayout__TakeRowResult* a = new PythonQtShell_QFormLayout__TakeRowResult(); +*((QFormLayout::TakeRowResult*)a) = other; +return a; } +void delete_QFormLayout__TakeRowResult(QFormLayout::TakeRowResult* obj) { delete obj; } +void py_set_fieldItem(QFormLayout::TakeRowResult* theWrappedObject, QLayoutItem* fieldItem){ theWrappedObject->fieldItem = fieldItem; } +QLayoutItem* py_get_fieldItem(QFormLayout::TakeRowResult* theWrappedObject){ return theWrappedObject->fieldItem; } +void py_set_labelItem(QFormLayout::TakeRowResult* theWrappedObject, QLayoutItem* labelItem){ theWrappedObject->labelItem = labelItem; } +QLayoutItem* py_get_labelItem(QFormLayout::TakeRowResult* theWrappedObject){ return theWrappedObject->labelItem; } +}; + + + + + +class PythonQtShell_QFrame : public QFrame +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_drawFrame(QPainter* arg__1) { this->drawFrame(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initStyleOption(QStyleOptionFrame* option) const { this->initStyleOption(option); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QFrame::changeEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QFrame::event(e); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QFrame::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QFrame::sizeHint(); } +}; + +class PythonQtWrapper_QFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleMask ) +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 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));} + QRect frameRect(QFrame* theWrappedObject) const; + QFrame::Shadow frameShadow(QFrame* theWrappedObject) const; + QFrame::Shape frameShape(QFrame* theWrappedObject) const; + int frameStyle(QFrame* theWrappedObject) const; + int frameWidth(QFrame* theWrappedObject) const; + void initStyleOption(QFrame* theWrappedObject, QStyleOptionFrame* option) const; + int lineWidth(QFrame* theWrappedObject) const; + int midLineWidth(QFrame* theWrappedObject) const; + void py_q_paintEvent(QFrame* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_paintEvent(arg__1));} + void setFrameRect(QFrame* theWrappedObject, const QRect& arg__1); + void setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1); + void setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1); + void setFrameStyle(QFrame* theWrappedObject, int arg__1); + void setLineWidth(QFrame* theWrappedObject, int arg__1); + void setMidLineWidth(QFrame* theWrappedObject, int arg__1); + QSize sizeHint(QFrame* theWrappedObject) const; + QSize py_q_sizeHint(QFrame* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtShell_QGesture : public QGesture +{ +public: + PythonQtShell_QGesture(QObject* parent = nullptr):QGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGesture() 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_QGesture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(GestureCancelPolicy ) +enum GestureCancelPolicy{ + CancelNone = QGesture::CancelNone, CancelAllInContext = QGesture::CancelAllInContext}; +public slots: +QGesture* new_QGesture(QObject* parent = nullptr); +void delete_QGesture(QGesture* obj) { delete obj; } + QGesture::GestureCancelPolicy gestureCancelPolicy(QGesture* theWrappedObject) const; + Qt::GestureType gestureType(QGesture* theWrappedObject) const; + bool hasHotSpot(QGesture* theWrappedObject) const; + QPointF hotSpot(QGesture* theWrappedObject) const; + void setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy); + void setHotSpot(QGesture* theWrappedObject, const QPointF& value); + Qt::GestureState state(QGesture* theWrappedObject) const; + void unsetHotSpot(QGesture* theWrappedObject); + QString py_toString(QGesture*); +}; + + + + + +class PythonQtWrapper_QGestureEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGestureEvent* new_QGestureEvent(const QList& gestures); +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; + QList canceledGestures(QGestureEvent* theWrappedObject) const; + QGesture* gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const; + QList gestures(QGestureEvent* theWrappedObject) const; + void ignore(QGestureEvent* theWrappedObject, QGesture* arg__1); + void ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1); + bool isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const; + bool isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const; + QPointF mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const; + void setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2); + void setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2); + void setWidget(QGestureEvent* theWrappedObject, QWidget* widget); + QWidget* widget(QGestureEvent* theWrappedObject) const; + QString py_toString(QGestureEvent*); +}; + + + + + +class PythonQtShell_QGestureRecognizer : public QGestureRecognizer +{ +public: + PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(nullptr) {}; + + ~PythonQtShell_QGestureRecognizer() override; + +QGesture* create(QObject* target) override; +QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event) override; +void reset(QGesture* state) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGestureRecognizer : public QGestureRecognizer +{ public: +inline QGesture* py_q_create(QObject* target) { return QGestureRecognizer::create(target); } +inline QGestureRecognizer::Result py_q_recognize(QGesture* state, QObject* watched, QEvent* event) { return this->recognize(state, watched, event); } +inline void py_q_reset(QGesture* state) { QGestureRecognizer::reset(state); } +}; + +class PythonQtWrapper_QGestureRecognizer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ResultFlag ) +Q_FLAGS(Result ) +enum ResultFlag{ + Ignore = QGestureRecognizer::Ignore, MayBeGesture = QGestureRecognizer::MayBeGesture, TriggerGesture = QGestureRecognizer::TriggerGesture, FinishGesture = QGestureRecognizer::FinishGesture, CancelGesture = QGestureRecognizer::CancelGesture, ResultState_Mask = QGestureRecognizer::ResultState_Mask, ConsumeEventHint = QGestureRecognizer::ConsumeEventHint, ResultHint_Mask = QGestureRecognizer::ResultHint_Mask}; +Q_DECLARE_FLAGS(Result, ResultFlag) +public slots: +QGestureRecognizer* new_QGestureRecognizer(); +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); + QGestureRecognizer::Result py_q_recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->py_q_recognize(state, watched, event));} + Qt::GestureType static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer); + void reset(QGestureRecognizer* theWrappedObject, QGesture* state); + void py_q_reset(QGestureRecognizer* theWrappedObject, QGesture* state){ (((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->py_q_reset(state));} + void static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type); +}; + + + + + +class PythonQtWrapper_QGlyphRun : public QObject +{ Q_OBJECT +public: +Q_ENUMS(GlyphRunFlag ) +Q_FLAGS(GlyphRunFlags ) +enum GlyphRunFlag{ + Overline = QGlyphRun::Overline, Underline = QGlyphRun::Underline, StrikeOut = QGlyphRun::StrikeOut, RightToLeft = QGlyphRun::RightToLeft, SplitLigature = QGlyphRun::SplitLigature}; +Q_DECLARE_FLAGS(GlyphRunFlags, GlyphRunFlag) +public slots: +QGlyphRun* new_QGlyphRun(); +QGlyphRun* new_QGlyphRun(const QGlyphRun& other); +void delete_QGlyphRun(QGlyphRun* obj) { delete obj; } + QRectF boundingRect(QGlyphRun* theWrappedObject) const; + void clear(QGlyphRun* theWrappedObject); + QGlyphRun::GlyphRunFlags flags(QGlyphRun* theWrappedObject) const; + QVector glyphIndexes(QGlyphRun* theWrappedObject) const; + bool isEmpty(QGlyphRun* theWrappedObject) const; + bool isRightToLeft(QGlyphRun* theWrappedObject) const; + bool __ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const; + QGlyphRun* operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other); + bool __eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const; + bool overline(QGlyphRun* theWrappedObject) const; + QVector positions(QGlyphRun* theWrappedObject) const; + QRawFont rawFont(QGlyphRun* theWrappedObject) const; + void setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect); + void setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled = true); + void setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags); + void setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes); + void setOverline(QGlyphRun* theWrappedObject, bool overline); + void setPositions(QGlyphRun* theWrappedObject, const QVector& positions); + void setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size); + void setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont); + void setRightToLeft(QGlyphRun* theWrappedObject, bool on); + void setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut); + void setUnderline(QGlyphRun* theWrappedObject, bool underline); + bool strikeOut(QGlyphRun* theWrappedObject) const; + void swap(QGlyphRun* theWrappedObject, QGlyphRun& other); + bool underline(QGlyphRun* theWrappedObject) const; + bool __nonzero__(QGlyphRun* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QGradient : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CoordinateMode Preset Spread Type ) +enum CoordinateMode{ + LogicalMode = QGradient::LogicalMode, StretchToDeviceMode = QGradient::StretchToDeviceMode, ObjectBoundingMode = QGradient::ObjectBoundingMode, ObjectMode = QGradient::ObjectMode}; +enum Preset{ + WarmFlame = QGradient::WarmFlame, NightFade = QGradient::NightFade, SpringWarmth = QGradient::SpringWarmth, JuicyPeach = QGradient::JuicyPeach, YoungPassion = QGradient::YoungPassion, LadyLips = QGradient::LadyLips, SunnyMorning = QGradient::SunnyMorning, RainyAshville = QGradient::RainyAshville, FrozenDreams = QGradient::FrozenDreams, WinterNeva = QGradient::WinterNeva, DustyGrass = QGradient::DustyGrass, TemptingAzure = QGradient::TemptingAzure, HeavyRain = QGradient::HeavyRain, AmyCrisp = QGradient::AmyCrisp, MeanFruit = QGradient::MeanFruit, DeepBlue = QGradient::DeepBlue, RipeMalinka = QGradient::RipeMalinka, CloudyKnoxville = QGradient::CloudyKnoxville, MalibuBeach = QGradient::MalibuBeach, NewLife = QGradient::NewLife, TrueSunset = QGradient::TrueSunset, MorpheusDen = QGradient::MorpheusDen, RareWind = QGradient::RareWind, NearMoon = QGradient::NearMoon, WildApple = QGradient::WildApple, SaintPetersburg = QGradient::SaintPetersburg, PlumPlate = QGradient::PlumPlate, EverlastingSky = QGradient::EverlastingSky, HappyFisher = QGradient::HappyFisher, Blessing = QGradient::Blessing, SharpeyeEagle = QGradient::SharpeyeEagle, LadogaBottom = QGradient::LadogaBottom, LemonGate = QGradient::LemonGate, ItmeoBranding = QGradient::ItmeoBranding, ZeusMiracle = QGradient::ZeusMiracle, OldHat = QGradient::OldHat, StarWine = QGradient::StarWine, HappyAcid = QGradient::HappyAcid, AwesomePine = QGradient::AwesomePine, NewYork = QGradient::NewYork, ShyRainbow = QGradient::ShyRainbow, MixedHopes = QGradient::MixedHopes, FlyHigh = QGradient::FlyHigh, StrongBliss = QGradient::StrongBliss, FreshMilk = QGradient::FreshMilk, SnowAgain = QGradient::SnowAgain, FebruaryInk = QGradient::FebruaryInk, KindSteel = QGradient::KindSteel, SoftGrass = QGradient::SoftGrass, GrownEarly = QGradient::GrownEarly, SharpBlues = QGradient::SharpBlues, ShadyWater = QGradient::ShadyWater, DirtyBeauty = QGradient::DirtyBeauty, GreatWhale = QGradient::GreatWhale, TeenNotebook = QGradient::TeenNotebook, PoliteRumors = QGradient::PoliteRumors, SweetPeriod = QGradient::SweetPeriod, WideMatrix = QGradient::WideMatrix, SoftCherish = QGradient::SoftCherish, RedSalvation = QGradient::RedSalvation, BurningSpring = QGradient::BurningSpring, NightParty = QGradient::NightParty, SkyGlider = QGradient::SkyGlider, HeavenPeach = QGradient::HeavenPeach, PurpleDivision = QGradient::PurpleDivision, AquaSplash = QGradient::AquaSplash, SpikyNaga = QGradient::SpikyNaga, LoveKiss = QGradient::LoveKiss, CleanMirror = QGradient::CleanMirror, PremiumDark = QGradient::PremiumDark, ColdEvening = QGradient::ColdEvening, CochitiLake = QGradient::CochitiLake, SummerGames = QGradient::SummerGames, PassionateBed = QGradient::PassionateBed, MountainRock = QGradient::MountainRock, DesertHump = QGradient::DesertHump, JungleDay = QGradient::JungleDay, PhoenixStart = QGradient::PhoenixStart, OctoberSilence = QGradient::OctoberSilence, FarawayRiver = QGradient::FarawayRiver, AlchemistLab = QGradient::AlchemistLab, OverSun = QGradient::OverSun, PremiumWhite = QGradient::PremiumWhite, MarsParty = QGradient::MarsParty, EternalConstance = QGradient::EternalConstance, JapanBlush = QGradient::JapanBlush, SmilingRain = QGradient::SmilingRain, CloudyApple = QGradient::CloudyApple, BigMango = QGradient::BigMango, HealthyWater = QGradient::HealthyWater, AmourAmour = QGradient::AmourAmour, RiskyConcrete = QGradient::RiskyConcrete, StrongStick = QGradient::StrongStick, ViciousStance = QGradient::ViciousStance, PaloAlto = QGradient::PaloAlto, HappyMemories = QGradient::HappyMemories, MidnightBloom = QGradient::MidnightBloom, Crystalline = QGradient::Crystalline, PartyBliss = QGradient::PartyBliss, ConfidentCloud = QGradient::ConfidentCloud, LeCocktail = QGradient::LeCocktail, RiverCity = QGradient::RiverCity, FrozenBerry = QGradient::FrozenBerry, ChildCare = QGradient::ChildCare, FlyingLemon = QGradient::FlyingLemon, NewRetrowave = QGradient::NewRetrowave, HiddenJaguar = QGradient::HiddenJaguar, AboveTheSky = QGradient::AboveTheSky, Nega = QGradient::Nega, DenseWater = QGradient::DenseWater, Seashore = QGradient::Seashore, MarbleWall = QGradient::MarbleWall, CheerfulCaramel = QGradient::CheerfulCaramel, NightSky = QGradient::NightSky, MagicLake = QGradient::MagicLake, YoungGrass = QGradient::YoungGrass, ColorfulPeach = QGradient::ColorfulPeach, GentleCare = QGradient::GentleCare, PlumBath = QGradient::PlumBath, HappyUnicorn = QGradient::HappyUnicorn, AfricanField = QGradient::AfricanField, SolidStone = QGradient::SolidStone, OrangeJuice = QGradient::OrangeJuice, GlassWater = QGradient::GlassWater, NorthMiracle = QGradient::NorthMiracle, FruitBlend = QGradient::FruitBlend, MillenniumPine = QGradient::MillenniumPine, HighFlight = QGradient::HighFlight, MoleHall = QGradient::MoleHall, SpaceShift = QGradient::SpaceShift, ForestInei = QGradient::ForestInei, RoyalGarden = QGradient::RoyalGarden, RichMetal = QGradient::RichMetal, JuicyCake = QGradient::JuicyCake, SmartIndigo = QGradient::SmartIndigo, SandStrike = QGradient::SandStrike, NorseBeauty = QGradient::NorseBeauty, AquaGuidance = QGradient::AquaGuidance, SunVeggie = QGradient::SunVeggie, SeaLord = QGradient::SeaLord, BlackSea = QGradient::BlackSea, GrassShampoo = QGradient::GrassShampoo, LandingAircraft = QGradient::LandingAircraft, WitchDance = QGradient::WitchDance, SleeplessNight = QGradient::SleeplessNight, AngelCare = QGradient::AngelCare, CrystalRiver = QGradient::CrystalRiver, SoftLipstick = QGradient::SoftLipstick, SaltMountain = QGradient::SaltMountain, PerfectWhite = QGradient::PerfectWhite, FreshOasis = QGradient::FreshOasis, StrictNovember = QGradient::StrictNovember, MorningSalad = QGradient::MorningSalad, DeepRelief = QGradient::DeepRelief, SeaStrike = QGradient::SeaStrike, NightCall = QGradient::NightCall, SupremeSky = QGradient::SupremeSky, LightBlue = QGradient::LightBlue, MindCrawl = QGradient::MindCrawl, LilyMeadow = QGradient::LilyMeadow, SugarLollipop = QGradient::SugarLollipop, SweetDessert = QGradient::SweetDessert, MagicRay = QGradient::MagicRay, TeenParty = QGradient::TeenParty, FrozenHeat = QGradient::FrozenHeat, GagarinView = QGradient::GagarinView, FabledSunset = QGradient::FabledSunset, PerfectBlue = QGradient::PerfectBlue, NumPresets = QGradient::NumPresets}; +enum Spread{ + PadSpread = QGradient::PadSpread, ReflectSpread = QGradient::ReflectSpread, RepeatSpread = QGradient::RepeatSpread}; +enum Type{ + LinearGradient = QGradient::LinearGradient, RadialGradient = QGradient::RadialGradient, ConicalGradient = QGradient::ConicalGradient, NoGradient = QGradient::NoGradient}; +public slots: +QGradient* new_QGradient(); +QGradient* new_QGradient(QGradient::Preset arg__1); +QGradient* new_QGradient(const QGradient& other) { +QGradient* a = new QGradient(); +*((QGradient*)a) = other; +return a; } +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; + void setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color); + void setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode); + void setSpread(QGradient* theWrappedObject, QGradient::Spread spread); + void setStops(QGradient* theWrappedObject, const QVector >& stops); + QGradient::Spread spread(QGradient* theWrappedObject) const; + QVector > stops(QGradient* theWrappedObject) const; + QGradient::Type type(QGradient* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsAnchor : public QObject +{ Q_OBJECT +public: +public slots: +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; + qreal spacing(QGraphicsAnchor* theWrappedObject) const; + void unsetSpacing(QGraphicsAnchor* theWrappedObject); +}; + + + + + +class PythonQtShell_QGraphicsAnchorLayout : public QGraphicsAnchorLayout +{ +public: + PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsAnchorLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsAnchorLayout() override; + +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; +}; + +class PythonQtPublicPromoter_QGraphicsAnchorLayout : public QGraphicsAnchorLayout +{ public: +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } +inline int py_q_count() const { return QGraphicsAnchorLayout::count(); } +inline void py_q_invalidate() { QGraphicsAnchorLayout::invalidate(); } +inline QGraphicsLayoutItem* py_q_itemAt(int index) const { return QGraphicsAnchorLayout::itemAt(index); } +inline void py_q_removeAt(int index) { QGraphicsAnchorLayout::removeAt(index); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsAnchorLayout::setGeometry(rect); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsAnchorLayout::sizeHint(which, constraint); } +}; + +class PythonQtWrapper_QGraphicsAnchorLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsAnchorLayout* new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr); +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); + QGraphicsAnchor* anchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge); + int py_q_count(QGraphicsAnchorLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_count());} + qreal horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const; + 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 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 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; +}; + + + + + +class PythonQtShell_QGraphicsBlurEffect : public QGraphicsBlurEffect +{ +public: + PythonQtShell_QGraphicsBlurEffect(QObject* parent = nullptr):QGraphicsBlurEffect(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsBlurEffect() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsBlurEffect : public QGraphicsBlurEffect +{ public: +inline void promoted_draw(QPainter* painter) { this->draw(painter); } +inline QRectF py_q_boundingRectFor(const QRectF& rect) const { return QGraphicsBlurEffect::boundingRectFor(rect); } +inline void py_q_draw(QPainter* painter) { QGraphicsBlurEffect::draw(painter); } +}; + +class PythonQtWrapper_QGraphicsBlurEffect : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BlurHint ) +Q_FLAGS(BlurHints ) +enum BlurHint{ + PerformanceHint = QGraphicsBlurEffect::PerformanceHint, QualityHint = QGraphicsBlurEffect::QualityHint, AnimationHint = QGraphicsBlurEffect::AnimationHint}; +Q_DECLARE_FLAGS(BlurHints, BlurHint) +public slots: +QGraphicsBlurEffect* new_QGraphicsBlurEffect(QObject* parent = nullptr); +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));} + void py_q_draw(QGraphicsBlurEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsBlurEffect*)theWrappedObject)->py_q_draw(painter));} +}; + + + + + +class PythonQtShell_QGraphicsColorizeEffect : public QGraphicsColorizeEffect +{ +public: + PythonQtShell_QGraphicsColorizeEffect(QObject* parent = nullptr):QGraphicsColorizeEffect(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsColorizeEffect() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsColorizeEffect : public QGraphicsColorizeEffect +{ public: +inline void promoted_draw(QPainter* painter) { this->draw(painter); } +inline void py_q_draw(QPainter* painter) { QGraphicsColorizeEffect::draw(painter); } +}; + +class PythonQtWrapper_QGraphicsColorizeEffect : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsColorizeEffect* new_QGraphicsColorizeEffect(QObject* parent = nullptr); +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; +}; + + + + + +class PythonQtShell_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect +{ +public: + PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = nullptr):QGraphicsDropShadowEffect(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsDropShadowEffect() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect +{ public: +inline void promoted_draw(QPainter* painter) { this->draw(painter); } +inline QRectF py_q_boundingRectFor(const QRectF& rect) const { return QGraphicsDropShadowEffect::boundingRectFor(rect); } +inline void py_q_draw(QPainter* painter) { QGraphicsDropShadowEffect::draw(painter); } +}; + +class PythonQtWrapper_QGraphicsDropShadowEffect : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsDropShadowEffect* new_QGraphicsDropShadowEffect(QObject* parent = nullptr); +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; + void py_q_draw(QGraphicsDropShadowEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsDropShadowEffect*)theWrappedObject)->py_q_draw(painter));} + QPointF offset(QGraphicsDropShadowEffect* theWrappedObject) const; + qreal xOffset(QGraphicsDropShadowEffect* theWrappedObject) const; + qreal yOffset(QGraphicsDropShadowEffect* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsEffect : public QGraphicsEffect +{ +public: + PythonQtShell_QGraphicsEffect(QObject* parent = nullptr):QGraphicsEffect(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsEffect() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsEffect : public QGraphicsEffect +{ public: +inline void promoted_draw(QPainter* painter) { this->draw(painter); } +inline void promoted_drawSource(QPainter* painter) { this->drawSource(painter); } +inline QRectF promoted_sourceBoundingRect(Qt::CoordinateSystem system = Qt::LogicalCoordinates) const { return this->sourceBoundingRect(system); } +inline void promoted_sourceChanged(QGraphicsEffect::ChangeFlags flags) { this->sourceChanged(flags); } +inline bool promoted_sourceIsPixmap() const { return this->sourceIsPixmap(); } +inline QPixmap promoted_sourcePixmap(Qt::CoordinateSystem system = Qt::LogicalCoordinates, QPoint* offset = nullptr, QGraphicsEffect::PixmapPadMode mode = QGraphicsEffect::PadToEffectiveBoundingRect) const { return this->sourcePixmap(system, offset, mode); } +inline void promoted_updateBoundingRect() { this->updateBoundingRect(); } +inline QRectF py_q_boundingRectFor(const QRectF& sourceRect) const { return QGraphicsEffect::boundingRectFor(sourceRect); } +inline void py_q_draw(QPainter* painter) { this->draw(painter); } +inline void py_q_sourceChanged(QGraphicsEffect::ChangeFlags flags) { QGraphicsEffect::sourceChanged(flags); } +}; + +class PythonQtWrapper_QGraphicsEffect : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ChangeFlag PixmapPadMode ) +Q_FLAGS(ChangeFlags ) +enum ChangeFlag{ + SourceAttached = QGraphicsEffect::SourceAttached, SourceDetached = QGraphicsEffect::SourceDetached, SourceBoundingRectChanged = QGraphicsEffect::SourceBoundingRectChanged, SourceInvalidated = QGraphicsEffect::SourceInvalidated}; +enum PixmapPadMode{ + NoPad = QGraphicsEffect::NoPad, PadToTransparentBorder = QGraphicsEffect::PadToTransparentBorder, PadToEffectiveBoundingRect = QGraphicsEffect::PadToEffectiveBoundingRect}; +Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) +public slots: +QGraphicsEffect* new_QGraphicsEffect(QObject* parent = nullptr); +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));} + void draw(QGraphicsEffect* theWrappedObject, QPainter* painter); + void py_q_draw(QGraphicsEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->py_q_draw(painter));} + void drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter); + bool isEnabled(QGraphicsEffect* theWrappedObject) const; + QRectF sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system = Qt::LogicalCoordinates) const; + void sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags); + void py_q_sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags){ (((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->py_q_sourceChanged(flags));} + bool sourceIsPixmap(QGraphicsEffect* theWrappedObject) const; + QPixmap sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system = Qt::LogicalCoordinates, QPoint* offset = nullptr, QGraphicsEffect::PixmapPadMode mode = QGraphicsEffect::PadToEffectiveBoundingRect) const; + void updateBoundingRect(QGraphicsEffect* theWrappedObject); +}; + + + + + +class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem +{ +public: + 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 +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsEllipseItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsEllipseItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsEllipseItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsEllipseItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsEllipseItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsEllipseItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsEllipseItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsEllipseItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsEllipseItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsEllipseItem::type(); } +}; + +class PythonQtWrapper_QGraphicsEllipseItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsEllipseItem::Type}; +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 py_q_boundingRect(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_contains(point));} + 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 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 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 py_q_shape(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_shape());} + int spanAngle(QGraphicsEllipseItem* theWrappedObject) const; + int startAngle(QGraphicsEllipseItem* theWrappedObject) const; + bool py_q_supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout +{ +public: + PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsGridLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsGridLayout() override; + +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; +}; + +class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout +{ public: +inline int py_q_count() const { return QGraphicsGridLayout::count(); } +inline void py_q_invalidate() { QGraphicsGridLayout::invalidate(); } +inline QGraphicsLayoutItem* py_q_itemAt(int index) const { return QGraphicsGridLayout::itemAt(index); } +inline void py_q_removeAt(int index) { QGraphicsGridLayout::removeAt(index); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsGridLayout::setGeometry(rect); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsGridLayout::sizeHint(which, constraint); } +}; + +class PythonQtWrapper_QGraphicsGridLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr); +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; + Qt::Alignment columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const; + int columnCount(QGraphicsGridLayout* theWrappedObject) const; + qreal columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; + qreal columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; + qreal columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const; + qreal columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const; + int columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const; + int py_q_count(QGraphicsGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_count());} + qreal horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const; + void py_q_invalidate(QGraphicsGridLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_invalidate());} + QGraphicsLayoutItem* py_q_itemAt(QGraphicsGridLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_itemAt(index));} + QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const; + void py_q_removeAt(QGraphicsGridLayout* theWrappedObject, int index){ (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_removeAt(index));} + void removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item); + Qt::Alignment rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const; + int rowCount(QGraphicsGridLayout* theWrappedObject) const; + qreal rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; + qreal rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; + qreal rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const; + qreal rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const; + int rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const; + void setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); + void setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment); + void setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); + void setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); + void setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); + 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 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); + void setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); + void setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing); + void setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch); + void setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); + void setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); + 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; +}; + + + + + +class PythonQtShell_QGraphicsItem : public QGraphicsItem +{ +public: + 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 +{ public: +enum Extension{ + UserExtension = QGraphicsItem::UserExtension}; +inline void promoted_addToIndex() { this->addToIndex(); } +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { this->dragMoveEvent(event); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { this->dropEvent(event); } +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { this->hoverEnterEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { this->hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { this->hoverMoveEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return this->inputMethodQuery(query); } +inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return this->itemChange(change, value); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_prepareGeometryChange() { this->prepareGeometryChange(); } +inline void promoted_removeFromIndex() { this->removeFromIndex(); } +inline bool promoted_sceneEvent(QEvent* event) { return this->sceneEvent(event); } +inline bool promoted_sceneEventFilter(QGraphicsItem* watched, QEvent* event) { return this->sceneEventFilter(watched, event); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline void promoted_updateMicroFocus() { this->updateMicroFocus(); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_advance(int phase) { QGraphicsItem::advance(phase); } +inline QRectF py_q_boundingRect() const { return this->boundingRect(); } +inline bool py_q_collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithItem(other, mode); } +inline bool py_q_collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithPath(path, mode); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsItem::contains(point); } +inline void py_q_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsItem::contextMenuEvent(event); } +inline void py_q_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragMoveEvent(event); } +inline void py_q_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dropEvent(event); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsItem::extension(variant); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsItem::focusInEvent(event); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsItem::focusOutEvent(event); } +inline void py_q_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverEnterEvent(event); } +inline void py_q_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverLeaveEvent(event); } +inline void py_q_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverMoveEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QGraphicsItem::inputMethodEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsItem::inputMethodQuery(query); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsItem::isObscuredBy(item); } +inline QVariant py_q_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsItem::itemChange(change, value); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QGraphicsItem::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QGraphicsItem::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseReleaseEvent(event); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { this->paint(painter, option, widget); } +inline bool py_q_sceneEvent(QEvent* event) { return QGraphicsItem::sceneEvent(event); } +inline bool py_q_sceneEventFilter(QGraphicsItem* watched, QEvent* event) { return QGraphicsItem::sceneEventFilter(watched, event); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsItem::type(); } +inline void py_q_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsItem::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CacheMode Extension GraphicsItemChange GraphicsItemFlag PanelModality enum_1 ) +Q_FLAGS(GraphicsItemFlags ) +enum CacheMode{ + NoCache = QGraphicsItem::NoCache, ItemCoordinateCache = QGraphicsItem::ItemCoordinateCache, DeviceCoordinateCache = QGraphicsItem::DeviceCoordinateCache}; +enum Extension{ + UserExtension = PythonQtPublicPromoter_QGraphicsItem::UserExtension}; +enum GraphicsItemChange{ + ItemPositionChange = QGraphicsItem::ItemPositionChange, ItemMatrixChange = QGraphicsItem::ItemMatrixChange, ItemVisibleChange = QGraphicsItem::ItemVisibleChange, ItemEnabledChange = QGraphicsItem::ItemEnabledChange, ItemSelectedChange = QGraphicsItem::ItemSelectedChange, ItemParentChange = QGraphicsItem::ItemParentChange, ItemChildAddedChange = QGraphicsItem::ItemChildAddedChange, ItemChildRemovedChange = QGraphicsItem::ItemChildRemovedChange, ItemTransformChange = QGraphicsItem::ItemTransformChange, ItemPositionHasChanged = QGraphicsItem::ItemPositionHasChanged, ItemTransformHasChanged = QGraphicsItem::ItemTransformHasChanged, ItemSceneChange = QGraphicsItem::ItemSceneChange, ItemVisibleHasChanged = QGraphicsItem::ItemVisibleHasChanged, ItemEnabledHasChanged = QGraphicsItem::ItemEnabledHasChanged, ItemSelectedHasChanged = QGraphicsItem::ItemSelectedHasChanged, ItemParentHasChanged = QGraphicsItem::ItemParentHasChanged, ItemSceneHasChanged = QGraphicsItem::ItemSceneHasChanged, ItemCursorChange = QGraphicsItem::ItemCursorChange, ItemCursorHasChanged = QGraphicsItem::ItemCursorHasChanged, ItemToolTipChange = QGraphicsItem::ItemToolTipChange, ItemToolTipHasChanged = QGraphicsItem::ItemToolTipHasChanged, ItemFlagsChange = QGraphicsItem::ItemFlagsChange, ItemFlagsHaveChanged = QGraphicsItem::ItemFlagsHaveChanged, ItemZValueChange = QGraphicsItem::ItemZValueChange, ItemZValueHasChanged = QGraphicsItem::ItemZValueHasChanged, ItemOpacityChange = QGraphicsItem::ItemOpacityChange, ItemOpacityHasChanged = QGraphicsItem::ItemOpacityHasChanged, ItemScenePositionHasChanged = QGraphicsItem::ItemScenePositionHasChanged, ItemRotationChange = QGraphicsItem::ItemRotationChange, ItemRotationHasChanged = QGraphicsItem::ItemRotationHasChanged, ItemScaleChange = QGraphicsItem::ItemScaleChange, ItemScaleHasChanged = QGraphicsItem::ItemScaleHasChanged, ItemTransformOriginPointChange = QGraphicsItem::ItemTransformOriginPointChange, ItemTransformOriginPointHasChanged = QGraphicsItem::ItemTransformOriginPointHasChanged}; +enum GraphicsItemFlag{ + ItemIsMovable = QGraphicsItem::ItemIsMovable, ItemIsSelectable = QGraphicsItem::ItemIsSelectable, ItemIsFocusable = QGraphicsItem::ItemIsFocusable, ItemClipsToShape = QGraphicsItem::ItemClipsToShape, ItemClipsChildrenToShape = QGraphicsItem::ItemClipsChildrenToShape, ItemIgnoresTransformations = QGraphicsItem::ItemIgnoresTransformations, ItemIgnoresParentOpacity = QGraphicsItem::ItemIgnoresParentOpacity, ItemDoesntPropagateOpacityToChildren = QGraphicsItem::ItemDoesntPropagateOpacityToChildren, ItemStacksBehindParent = QGraphicsItem::ItemStacksBehindParent, ItemUsesExtendedStyleOption = QGraphicsItem::ItemUsesExtendedStyleOption, ItemHasNoContents = QGraphicsItem::ItemHasNoContents, ItemSendsGeometryChanges = QGraphicsItem::ItemSendsGeometryChanges, ItemAcceptsInputMethod = QGraphicsItem::ItemAcceptsInputMethod, ItemNegativeZStacksBehindParent = QGraphicsItem::ItemNegativeZStacksBehindParent, ItemIsPanel = QGraphicsItem::ItemIsPanel, ItemIsFocusScope = QGraphicsItem::ItemIsFocusScope, ItemSendsScenePositionChanges = QGraphicsItem::ItemSendsScenePositionChanges, ItemStopsClickFocusPropagation = QGraphicsItem::ItemStopsClickFocusPropagation, ItemStopsFocusHandling = QGraphicsItem::ItemStopsFocusHandling, ItemContainsChildrenInShape = QGraphicsItem::ItemContainsChildrenInShape}; +enum PanelModality{ + NonModal = QGraphicsItem::NonModal, PanelModal = QGraphicsItem::PanelModal, SceneModal = QGraphicsItem::SceneModal}; +enum enum_1{ + Type = QGraphicsItem::Type, UserType = QGraphicsItem::UserType}; +Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag) +public slots: +QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = nullptr); +void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } + bool acceptDrops(QGraphicsItem* theWrappedObject) const; + bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const; + bool acceptTouchEvents(QGraphicsItem* theWrappedObject) const; + Qt::MouseButtons acceptedMouseButtons(QGraphicsItem* theWrappedObject) const; + void addToIndex(QGraphicsItem* theWrappedObject); + void advance(QGraphicsItem* theWrappedObject, int phase); + void py_q_advance(QGraphicsItem* theWrappedObject, int phase){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_advance(phase));} + QRectF boundingRect(QGraphicsItem* theWrappedObject) const; + QRectF py_q_boundingRect(QGraphicsItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_boundingRect());} + QRegion boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const; + qreal boundingRegionGranularity(QGraphicsItem* theWrappedObject) const; + QGraphicsItem::CacheMode cacheMode(QGraphicsItem* theWrappedObject) const; + QList childItems(QGraphicsItem* theWrappedObject) const; + QRectF childrenBoundingRect(QGraphicsItem* theWrappedObject) const; + void clearFocus(QGraphicsItem* theWrappedObject); + QPainterPath clipPath(QGraphicsItem* theWrappedObject) const; + bool collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + bool py_q_collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_collidesWithItem(other, mode));} + bool collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + bool py_q_collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_collidesWithPath(path, mode));} + QList collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QGraphicsItem* commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const; + bool contains(QGraphicsItem* theWrappedObject, const QPointF& point) const; + bool py_q_contains(QGraphicsItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_contains(point));} + void contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); + void py_q_contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_contextMenuEvent(event));} + QCursor cursor(QGraphicsItem* theWrappedObject) const; + QVariant data(QGraphicsItem* theWrappedObject, int key) const; + QTransform deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const; + void dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_dragEnterEvent(event));} + void dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_dragLeaveEvent(event));} + void dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_dragMoveEvent(event));} + void dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_dropEvent(event));} + qreal effectiveOpacity(QGraphicsItem* theWrappedObject) const; + void ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF(), int xmargin = 50, int ymargin = 50); + void ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50); + QVariant extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const; + QVariant py_q_extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_extension(variant));} + bool filtersChildEvents(QGraphicsItem* theWrappedObject) const; + QGraphicsItem::GraphicsItemFlags flags(QGraphicsItem* theWrappedObject) const; + void focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event); + void py_q_focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_focusInEvent(event));} + QGraphicsItem* focusItem(QGraphicsItem* theWrappedObject) const; + void focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event); + void py_q_focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_focusOutEvent(event));} + QGraphicsItem* focusProxy(QGraphicsItem* theWrappedObject) const; + QGraphicsItem* focusScopeItem(QGraphicsItem* theWrappedObject) const; + void grabKeyboard(QGraphicsItem* theWrappedObject); + void grabMouse(QGraphicsItem* theWrappedObject); + QGraphicsEffect* graphicsEffect(QGraphicsItem* theWrappedObject) const; + QGraphicsItemGroup* group(QGraphicsItem* theWrappedObject) const; + bool handlesChildEvents(QGraphicsItem* theWrappedObject) const; + bool hasCursor(QGraphicsItem* theWrappedObject) const; + bool hasFocus(QGraphicsItem* theWrappedObject) const; + void hide(QGraphicsItem* theWrappedObject); + void hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); + void py_q_hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} + void hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); + void py_q_hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} + void hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event); + void py_q_hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} + void inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event); + void py_q_inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_inputMethodEvent(event));} + Qt::InputMethodHints inputMethodHints(QGraphicsItem* theWrappedObject) const; + QVariant inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const; + QVariant py_q_inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_inputMethodQuery(query));} + void installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem); + bool isActive(QGraphicsItem* theWrappedObject) const; + bool isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const; + bool isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel = nullptr) const; + bool isClipped(QGraphicsItem* theWrappedObject) const; + bool isEnabled(QGraphicsItem* theWrappedObject) const; + bool isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF()) const; + bool isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + bool isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const; + bool py_q_isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_isObscuredBy(item));} + bool isPanel(QGraphicsItem* theWrappedObject) const; + bool isSelected(QGraphicsItem* theWrappedObject) const; + bool isUnderMouse(QGraphicsItem* theWrappedObject) const; + bool isVisible(QGraphicsItem* theWrappedObject) const; + bool isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const; + bool isWidget(QGraphicsItem* theWrappedObject) const; + bool isWindow(QGraphicsItem* theWrappedObject) const; + QVariant itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); + QVariant py_q_itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_itemChange(change, value));} + QTransform itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok = nullptr) const; + void keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event); + void py_q_keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_keyPressEvent(event));} + void keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event); + void py_q_keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} + QPainterPath mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const; + QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const; + QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const; + QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const; + QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QRectF mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QRectF mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QRectF mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const; + QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const; + QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const; + QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const; + QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const; + QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const; + QPointF mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const; + QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const; + QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const; + QPointF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const; + QPolygonF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + void mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_mousePressEvent(event));} + void mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + void moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy); + qreal opacity(QGraphicsItem* theWrappedObject) const; + QPainterPath opaqueArea(QGraphicsItem* theWrappedObject) const; + QPainterPath py_q_opaqueArea(QGraphicsItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_opaqueArea());} + void paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); + void py_q_paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + QGraphicsItem* panel(QGraphicsItem* theWrappedObject) const; + QGraphicsItem::PanelModality panelModality(QGraphicsItem* theWrappedObject) const; + QGraphicsItem* parentItem(QGraphicsItem* theWrappedObject) const; + QGraphicsObject* parentObject(QGraphicsItem* theWrappedObject) const; + QGraphicsWidget* parentWidget(QGraphicsItem* theWrappedObject) const; + QPointF pos(QGraphicsItem* theWrappedObject) const; + void prepareGeometryChange(QGraphicsItem* theWrappedObject); + void removeFromIndex(QGraphicsItem* theWrappedObject); + void removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem); + void resetTransform(QGraphicsItem* theWrappedObject); + qreal rotation(QGraphicsItem* theWrappedObject) const; + qreal scale(QGraphicsItem* theWrappedObject) const; + QGraphicsScene* scene(QGraphicsItem* theWrappedObject) const; + QRectF sceneBoundingRect(QGraphicsItem* theWrappedObject) const; + bool sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event); + bool py_q_sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_sceneEvent(event));} + bool sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event); + bool py_q_sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_sceneEventFilter(watched, event));} + QPointF scenePos(QGraphicsItem* theWrappedObject) const; + QTransform sceneTransform(QGraphicsItem* theWrappedObject) const; + void scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect = QRectF()); + void setAcceptDrops(QGraphicsItem* theWrappedObject, bool on); + void setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons); + void setActive(QGraphicsItem* theWrappedObject, bool active); + void setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity); + void setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize = QSize()); + void setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor); + void setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value); + void setEnabled(QGraphicsItem* theWrappedObject, bool enabled); + void setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant); + void py_q_setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_setExtension(extension, variant));} + void setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled = true); + void setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags); + void setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason = Qt::OtherFocusReason); + void setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item); + void setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect); + void setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group); + void setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled); + void setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints); + void setOpacity(QGraphicsItem* theWrappedObject, qreal opacity); + void setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality); + void setParentItem(QGraphicsItem* theWrappedObject, PythonQtNewOwnerOfThis parent); + void setPos(QGraphicsItem* theWrappedObject, const QPointF& pos); + void setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y); + void setRotation(QGraphicsItem* theWrappedObject, qreal angle); + void setScale(QGraphicsItem* theWrappedObject, qreal scale); + void setSelected(QGraphicsItem* theWrappedObject, bool selected); + void setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip); + void setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine = false); + void setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin); + void setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay); + void setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations); + void setVisible(QGraphicsItem* theWrappedObject, bool visible); + void setX(QGraphicsItem* theWrappedObject, qreal x); + void setY(QGraphicsItem* theWrappedObject, qreal y); + void setZValue(QGraphicsItem* theWrappedObject, qreal z); + QPainterPath shape(QGraphicsItem* theWrappedObject) const; + QPainterPath py_q_shape(QGraphicsItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_shape());} + void show(QGraphicsItem* theWrappedObject); + void stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling); + bool supportsExtension(QGraphicsItem* theWrappedObject, int extension) const; + bool py_q_supportsExtension(QGraphicsItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_supportsExtension(extension));} + QGraphicsObject* toGraphicsObject(QGraphicsItem* theWrappedObject); + QString toolTip(QGraphicsItem* theWrappedObject) const; + QGraphicsItem* topLevelItem(QGraphicsItem* theWrappedObject) const; + QGraphicsWidget* topLevelWidget(QGraphicsItem* theWrappedObject) const; + QTransform transform(QGraphicsItem* theWrappedObject) const; + QPointF transformOriginPoint(QGraphicsItem* theWrappedObject) const; + QList transformations(QGraphicsItem* theWrappedObject) const; + int type(QGraphicsItem* theWrappedObject) const; + int py_q_type(QGraphicsItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_type());} + void ungrabKeyboard(QGraphicsItem* theWrappedObject); + void ungrabMouse(QGraphicsItem* theWrappedObject); + void unsetCursor(QGraphicsItem* theWrappedObject); + void update(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF()); + void update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height); + void updateMicroFocus(QGraphicsItem* theWrappedObject); + void wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event); + void py_q_wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_wheelEvent(event));} + QGraphicsWidget* window(QGraphicsItem* theWrappedObject) const; + qreal x(QGraphicsItem* theWrappedObject) const; + qreal y(QGraphicsItem* theWrappedObject) const; + qreal zValue(QGraphicsItem* theWrappedObject) const; + QString py_toString(QGraphicsItem*); +}; + + + + + +class PythonQtShell_QGraphicsItemAnimation : public QGraphicsItemAnimation +{ +public: + PythonQtShell_QGraphicsItemAnimation(QObject* parent = nullptr):QGraphicsItemAnimation(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsItemAnimation() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation +{ public: +inline void promoted_afterAnimationStep(qreal step) { this->afterAnimationStep(step); } +inline void promoted_beforeAnimationStep(qreal step) { this->beforeAnimationStep(step); } +inline void py_q_afterAnimationStep(qreal step) { QGraphicsItemAnimation::afterAnimationStep(step); } +inline void py_q_beforeAnimationStep(qreal step) { QGraphicsItemAnimation::beforeAnimationStep(step); } +}; + +class PythonQtWrapper_QGraphicsItemAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = nullptr); +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); + void py_q_beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step){ (((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->py_q_beforeAnimationStep(step));} + void clear(QGraphicsItemAnimation* theWrappedObject); + qreal horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QGraphicsItem* item(QGraphicsItemAnimation* theWrappedObject) const; + QMatrix matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QPointF posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QList > posList(QGraphicsItemAnimation* theWrappedObject) const; + qreal rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QList > rotationList(QGraphicsItemAnimation* theWrappedObject) const; + QList > scaleList(QGraphicsItemAnimation* theWrappedObject) const; + void setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item); + void setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos); + void setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle); + void setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy); + void setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv); + void setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine); + void setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy); + QList > shearList(QGraphicsItemAnimation* theWrappedObject) const; + QTimeLine* timeLine(QGraphicsItemAnimation* theWrappedObject) const; + QTransform transformAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + QList > translationList(QGraphicsItemAnimation* theWrappedObject) const; + qreal verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; + qreal yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; +}; + + + + + +class PythonQtShell_QGraphicsItemGroup : public QGraphicsItemGroup +{ +public: + 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 +{ public: +inline QRectF py_q_boundingRect() const { return QGraphicsItemGroup::boundingRect(); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsItemGroup::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsItemGroup::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsItemGroup::paint(painter, option, widget); } +inline int py_q_type() const { return QGraphicsItemGroup::type(); } +}; + +class PythonQtWrapper_QGraphicsItemGroup : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsItemGroup::Type}; +public slots: +QGraphicsItemGroup* new_QGraphicsItemGroup(QGraphicsItem* parent = nullptr); +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));} + QPainterPath py_q_opaqueArea(QGraphicsItemGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_opaqueArea());} + void py_q_paint(QGraphicsItemGroup* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_paint(painter, option, widget));} + void removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); + int py_q_type(QGraphicsItemGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsLayout : public QGraphicsLayout +{ +public: + PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsLayout() override; + +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; +}; + +class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout +{ public: +inline void promoted_addChildLayoutItem(QGraphicsLayoutItem* layoutItem) { this->addChildLayoutItem(layoutItem); } +inline int py_q_count() const { return this->count(); } +inline void py_q_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsLayout::getContentsMargins(left, top, right, bottom); } +inline void py_q_invalidate() { QGraphicsLayout::invalidate(); } +inline QGraphicsLayoutItem* py_q_itemAt(int i) const { return this->itemAt(i); } +inline void py_q_removeAt(int index) { this->removeAt(index); } +inline void py_q_updateGeometry() { QGraphicsLayout::updateGeometry(); } +inline void py_q_widgetEvent(QEvent* e) { QGraphicsLayout::widgetEvent(e); } +}; + +class PythonQtWrapper_QGraphicsLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsLayout* new_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr); +void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } + void activate(QGraphicsLayout* theWrappedObject); + void addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem); + int count(QGraphicsLayout* theWrappedObject) const; + int py_q_count(QGraphicsLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->py_q_count());} + void py_q_getContentsMargins(QGraphicsLayout* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const{ (((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->py_q_getContentsMargins(left, top, right, bottom));} + bool static_QGraphicsLayout_instantInvalidatePropagation(); + void invalidate(QGraphicsLayout* theWrappedObject); + void py_q_invalidate(QGraphicsLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->py_q_invalidate());} + bool isActivated(QGraphicsLayout* theWrappedObject) const; + QGraphicsLayoutItem* itemAt(QGraphicsLayout* theWrappedObject, int i) const; + QGraphicsLayoutItem* py_q_itemAt(QGraphicsLayout* theWrappedObject, int i) const{ return (((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->py_q_itemAt(i));} + void removeAt(QGraphicsLayout* theWrappedObject, int index); + void py_q_removeAt(QGraphicsLayout* theWrappedObject, int index){ (((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->py_q_removeAt(index));} + void setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); + void static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable); + void py_q_updateGeometry(QGraphicsLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->py_q_updateGeometry());} + void widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e); + void py_q_widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->py_q_widgetEvent(e));} +}; + + + + + +class PythonQtShell_QGraphicsLayoutItem : public QGraphicsLayoutItem +{ +public: + PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsLayoutItem() override; + +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; +}; + +class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem +{ public: +inline void promoted_setGraphicsItem(QGraphicsItem* item) { this->setGraphicsItem(item); } +inline void promoted_setOwnedByLayout(bool ownedByLayout) { this->setOwnedByLayout(ownedByLayout); } +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } +inline void py_q_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsLayoutItem::getContentsMargins(left, top, right, bottom); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsLayoutItem::setGeometry(rect); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } +inline void py_q_updateGeometry() { QGraphicsLayoutItem::updateGeometry(); } +}; + +class PythonQtWrapper_QGraphicsLayoutItem : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsLayoutItem* new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false); +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; + void getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; + void py_q_getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const{ (((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->py_q_getContentsMargins(left, top, right, bottom));} + QGraphicsItem* graphicsItem(QGraphicsLayoutItem* theWrappedObject) const; + bool isLayout(QGraphicsLayoutItem* theWrappedObject) const; + qreal maximumHeight(QGraphicsLayoutItem* theWrappedObject) const; + QSizeF maximumSize(QGraphicsLayoutItem* theWrappedObject) const; + qreal maximumWidth(QGraphicsLayoutItem* theWrappedObject) const; + qreal minimumHeight(QGraphicsLayoutItem* theWrappedObject) const; + QSizeF minimumSize(QGraphicsLayoutItem* theWrappedObject) const; + qreal minimumWidth(QGraphicsLayoutItem* theWrappedObject) const; + bool ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const; + QGraphicsLayoutItem* parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const; + qreal preferredHeight(QGraphicsLayoutItem* theWrappedObject) const; + QSizeF preferredSize(QGraphicsLayoutItem* theWrappedObject) const; + qreal preferredWidth(QGraphicsLayoutItem* theWrappedObject) const; + void setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect); + void py_q_setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->py_q_setGeometry(rect));} + void setGraphicsItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsItem* item); + void setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); + void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); + void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); + void setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); + void setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); + void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); + void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); + void setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); + void setOwnedByLayout(QGraphicsLayoutItem* theWrappedObject, bool ownedByLayout); + void setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent); + void setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); + void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); + void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); + void setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); + void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType); + void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy); + QSizeF sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; + QSizeF py_q_sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->py_q_sizeHint(which, constraint));} + QSizePolicy sizePolicy(QGraphicsLayoutItem* theWrappedObject) const; + void updateGeometry(QGraphicsLayoutItem* theWrappedObject); + void py_q_updateGeometry(QGraphicsLayoutItem* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->py_q_updateGeometry());} +}; + + + + + +class PythonQtShell_QGraphicsLineItem : public QGraphicsLineItem +{ +public: + 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 +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsLineItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsLineItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsLineItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsLineItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsLineItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsLineItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsLineItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsLineItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsLineItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsLineItem::type(); } +}; + +class PythonQtWrapper_QGraphicsLineItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsLineItem::Type}; +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; } + 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));} + bool py_q_isObscuredBy(QGraphicsLineItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_isObscuredBy(item));} + QLineF line(QGraphicsLineItem* theWrappedObject) const; + QPainterPath py_q_opaqueArea(QGraphicsLineItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_opaqueArea());} + void py_q_paint(QGraphicsLineItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + QPen pen(QGraphicsLineItem* theWrappedObject) const; + void py_q_setExtension(QGraphicsLineItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_setExtension(extension, variant));} + void setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line); + void setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); + void setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen); + QPainterPath py_q_shape(QGraphicsLineItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsLineItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsLineItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_type());} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp new file mode 100644 index 00000000..cee1ed3d --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -0,0 +1,21075 @@ +#include "com_trolltech_qt_gui3.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +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("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 QGraphicsLinearLayout::count(); +} +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("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(); + } + } +} + QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsLinearLayout::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(); + } + } +} + QGraphicsLinearLayout::invalidate(); +} +QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::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 QGraphicsLinearLayout::itemAt(index0); +} +void PythonQtShell_QGraphicsLinearLayout::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(); + } + } +} + QGraphicsLinearLayout::removeAt(index0); +} +void PythonQtShell_QGraphicsLinearLayout::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(); + } + } +} + QGraphicsLinearLayout::setGeometry(rect0); +} +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("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 QGraphicsLinearLayout::sizeHint(which0, constraint1); +} +void PythonQtShell_QGraphicsLinearLayout::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(); + } + } +} + QGraphicsLinearLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsLinearLayout::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(); + } + } +} + 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::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("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(); + } + } +} + QGraphicsObject::advance(phase0); +} +QRectF PythonQtShell_QGraphicsObject::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 QRectF(); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::childEvent(event0); +} +bool PythonQtShell_QGraphicsObject::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 QGraphicsObject::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsObject::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 QGraphicsObject::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsObject::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 QGraphicsObject::contains(point0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::customEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + 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, 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 QGraphicsObject::event(ev0); +} +bool PythonQtShell_QGraphicsObject::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 QGraphicsObject::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsObject::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 QGraphicsObject::extension(variant0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::focusInEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsObject::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 QGraphicsObject::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsObject::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 QGraphicsObject::isObscuredBy(item0); +} +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("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 QGraphicsObject::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + 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); + bool returnValue{}; + void* args[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 QGraphicsObject::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsObject::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 QGraphicsObject::sceneEventFilter(watched0, 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("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(); + } + } +} + 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, 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 QGraphicsObject::shape(); +} +bool PythonQtShell_QGraphicsObject::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 QGraphicsObject::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + QGraphicsObject::timerEvent(event0); +} +int PythonQtShell_QGraphicsObject::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 QGraphicsObject::type(); +} +void PythonQtShell_QGraphicsObject::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(); + } + } +} + 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); } +} +QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRectFor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, 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 returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); +} +void PythonQtShell_QGraphicsOpacityEffect::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(); + } + } +} + QGraphicsOpacityEffect::childEvent(event0); +} +void PythonQtShell_QGraphicsOpacityEffect::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(); + } + } +} + QGraphicsOpacityEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + 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(); + } + } +} + QGraphicsOpacityEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsOpacityEffect::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 QGraphicsOpacityEffect::event(event0); +} +bool PythonQtShell_QGraphicsOpacityEffect::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 QGraphicsOpacityEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsOpacityEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsOpacityEffect::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(); + } + } +} + 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_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::boundingRect(); +} +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("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 QGraphicsPathItem::collidesWithItem(other0, mode1); +} +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("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 QGraphicsPathItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::contains(point0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::extension(variant0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::isObscuredBy(item0); +} +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("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 QGraphicsPathItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + QGraphicsPathItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::opaqueArea(); +} +void PythonQtShell_QGraphicsPathItem::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(); + } + } +} + 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) { + 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(); + } + } +} + QGraphicsPathItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::shape(); +} +bool PythonQtShell_QGraphicsPathItem::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 QGraphicsPathItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsPathItem::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 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); } + +QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPathItem(path, parent); } + +QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->setPath(path)); +} + + + +PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::boundingRect(); +} +bool PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::contains(point0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::extension(variant0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::opaqueArea(); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::shape(); +} +bool PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsPixmapItem::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 QGraphicsPixmapItem::type(); +} +void PythonQtShell_QGraphicsPixmapItem::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(); + } + } +} + QGraphicsPixmapItem::wheelEvent(event0); +} +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPixmapItem(parent); } + +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPixmapItem(pixmap, parent); } + +QPointF PythonQtWrapper_QGraphicsPixmapItem::offset(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +QPixmap PythonQtWrapper_QGraphicsPixmapItem::pixmap(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->setOffset(offset)); +} + +void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setOffset(x, y)); +} + +void PythonQtWrapper_QGraphicsPixmapItem::setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(pixmap)); +} + +void PythonQtWrapper_QGraphicsPixmapItem::setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode) +{ + ( theWrappedObject->setShapeMode(mode)); +} + +void PythonQtWrapper_QGraphicsPixmapItem::setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode) +{ + ( theWrappedObject->setTransformationMode(mode)); +} + +QGraphicsPixmapItem::ShapeMode PythonQtWrapper_QGraphicsPixmapItem::shapeMode(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->shapeMode()); +} + +Qt::TransformationMode PythonQtWrapper_QGraphicsPixmapItem::transformationMode(QGraphicsPixmapItem* theWrappedObject) const +{ + return ( theWrappedObject->transformationMode()); +} + + + +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) { + 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 QGraphicsPolygonItem::boundingRect(); +} +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("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 QGraphicsPolygonItem::collidesWithItem(other0, mode1); +} +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("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 QGraphicsPolygonItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::contains(point0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::extension(variant0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::inputMethodEvent(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("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 QGraphicsPolygonItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::isObscuredBy(item0); +} +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("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 QGraphicsPolygonItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::opaqueArea(); +} +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("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(); + } + } +} + QGraphicsPolygonItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::sceneEvent(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("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 QGraphicsPolygonItem::sceneEventFilter(watched0, event1); +} +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("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(); + } + } +} + QGraphicsPolygonItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::shape(); +} +bool PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsPolygonItem::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 QGraphicsPolygonItem::type(); +} +void PythonQtShell_QGraphicsPolygonItem::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(); + } + } +} + QGraphicsPolygonItem::wheelEvent(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("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(); + } + } +} + QGraphicsProxyWidget::advance(phase0); +} +QRectF PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::boundingRect(); +} +void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QGraphicsProxyWidget::changeEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::childEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QGraphicsProxyWidget::closeEvent(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("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 QGraphicsProxyWidget::collidesWithItem(other0, mode1); +} +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("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 QGraphicsProxyWidget::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::contains(point0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::customEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + 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] = {nullptr, (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] = {nullptr, (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"); + 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 QGraphicsProxyWidget::event(event0); +} +bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, 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*)&object0, (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 QGraphicsProxyWidget::eventFilter(object0, event1); +} +QVariant PythonQtShell_QGraphicsProxyWidget::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 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsProxyWidget::focusInEvent(event0); +} +bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsProxyWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::focusOutEvent(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("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(); + } + } +} + QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsProxyWidget::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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsProxyWidget::grabKeyboardEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("grabMouseEvent"); + 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(); + } + } +} + QGraphicsProxyWidget::grabMouseEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsProxyWidget::hideEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initStyleOption"); + 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] = {nullptr, (void*)&option0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsProxyWidget::initStyleOption(option0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::isObscuredBy(item0); +} +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("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 QGraphicsProxyWidget::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsProxyWidget::moveEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::opaqueArea(); +} +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("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(); + } + } +} + QGraphicsProxyWidget::paint(painter0, option1, widget2); +} +void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +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(); + } + } +} + QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); +} +void PythonQtShell_QGraphicsProxyWidget::polishEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polishEvent"); + 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(); + } + } +} + QGraphicsProxyWidget::polishEvent(); +} +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("propertyChange"); + 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] = {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, 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 returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsProxyWidget::propertyChange(propertyName0, value1); +} +void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + 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::resizeEvent(event0); +} +bool PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::sceneEventFilter(watched0, event1); +} +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("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(); + } + } +} + QGraphicsProxyWidget::setExtension(extension0, variant1); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::setGeometry(rect0); +} +QPainterPath PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::shape(); +} +void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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::showEvent(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("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 QGraphicsProxyWidget::sizeHint(which0, constraint1); +} +bool PythonQtShell_QGraphicsProxyWidget::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 QGraphicsProxyWidget::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::timerEvent(event0); +} +int PythonQtShell_QGraphicsProxyWidget::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 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsProxyWidget::ungrabKeyboardEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ungrabMouseEvent"); + 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(); + } + } +} + QGraphicsProxyWidget::ungrabMouseEvent(event0); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::updateGeometry(); +} +void PythonQtShell_QGraphicsProxyWidget::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(); + } + } +} + QGraphicsProxyWidget::wheelEvent(event0); +} +bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + 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{}; + 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("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsProxyWidget::windowFrameEvent(e0); +} +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("windowFrameSectionAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } 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; +} +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("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(); + } + } +} + QGraphicsRectItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::boundingRect(); +} +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("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 QGraphicsRectItem::collidesWithItem(other0, mode1); +} +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("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 QGraphicsRectItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::contains(point0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::dropEvent(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("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 QGraphicsRectItem::extension(variant0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::focusOutEvent(event0); +} +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(); + } + } +} + QGraphicsRectItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::opaqueArea(); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::shape(); +} +bool PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsRectItem::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 QGraphicsRectItem::type(); +} +void PythonQtShell_QGraphicsRectItem::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(); + } + } +} + QGraphicsRectItem::wheelEvent(event0); +} +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::rect(QGraphicsRectItem* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +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)); +} + + + +PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const +{ +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(); + } + } +} + QGraphicsRotation::applyTo(matrix0); +} +void PythonQtShell_QGraphicsRotation::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(); + } + } +} + QGraphicsRotation::childEvent(event0); +} +void PythonQtShell_QGraphicsRotation::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(); + } + } +} + QGraphicsRotation::customEvent(event0); +} +bool PythonQtShell_QGraphicsRotation::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 QGraphicsRotation::event(event0); +} +bool PythonQtShell_QGraphicsRotation::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 QGraphicsRotation::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsRotation::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(); + } + } +} + QGraphicsRotation::timerEvent(event0); +} +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) +{ + ( theWrappedObject->setOrigin(point)); +} + + + +PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const +{ +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(); + } + } +} + QGraphicsScale::applyTo(matrix0); +} +void PythonQtShell_QGraphicsScale::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(); + } + } +} + QGraphicsScale::childEvent(event0); +} +void PythonQtShell_QGraphicsScale::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(); + } + } +} + QGraphicsScale::customEvent(event0); +} +bool PythonQtShell_QGraphicsScale::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 QGraphicsScale::event(event0); +} +bool PythonQtShell_QGraphicsScale::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 QGraphicsScale::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsScale::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(); + } + } +} + 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); } +} +void PythonQtShell_QGraphicsScene::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(); + } + } +} + QGraphicsScene::childEvent(event0); +} +void PythonQtShell_QGraphicsScene::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(); + } + } +} + QGraphicsScene::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsScene::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(); + } + } +} + QGraphicsScene::customEvent(event0); +} +void PythonQtShell_QGraphicsScene::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(); + } + } +} + QGraphicsScene::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsScene::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(); + } + } +} + QGraphicsScene::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsScene::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(); + } + } +} + 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()); +} + +bool PythonQtWrapper_QGraphicsScene::focusOnTouch(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->focusOnTouch()); +} + +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::setFocusOnTouch(QGraphicsScene* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setFocusOnTouch(enabled)); +} + +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)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +{ + ( theWrappedObject->setProposedAction(action)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + +QWidget* PythonQtWrapper_QGraphicsSceneDragDropEvent::source(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + + + +QGraphicsSceneEvent* PythonQtWrapper_QGraphicsSceneEvent::new_QGraphicsSceneEvent(QEvent::Type type) +{ +return new QGraphicsSceneEvent(type); } + +QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +QString PythonQtWrapper_QGraphicsSceneEvent::py_toString(QGraphicsSceneEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QGraphicsSceneHelpEvent* PythonQtWrapper_QGraphicsSceneHelpEvent::new_QGraphicsSceneHelpEvent(QEvent::Type type) +{ +return new QGraphicsSceneHelpEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneHelpEvent::screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + + + +QGraphicsSceneHoverEvent* PythonQtWrapper_QGraphicsSceneHoverEvent::new_QGraphicsSceneHoverEvent(QEvent::Type type) +{ +return new QGraphicsSceneHoverEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneHoverEvent::modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::pos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setLastScreenPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); +} + + + +QGraphicsSceneMouseEvent* PythonQtWrapper_QGraphicsSceneMouseEvent::new_QGraphicsSceneMouseEvent(QEvent::Type type) +{ +return new QGraphicsSceneMouseEvent(type); } + +Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownPos(button)); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownScenePos(button)); +} + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownScreenPos(button)); +} + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +Qt::MouseEventFlags PythonQtWrapper_QGraphicsSceneMouseEvent::flags(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) +{ + ( theWrappedObject->setButton(button)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) +{ + ( theWrappedObject->setButtonDownPos(button, pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) +{ + ( theWrappedObject->setButtonDownScenePos(button, pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos) +{ + ( theWrappedObject->setButtonDownScreenPos(button, pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setButtons(buttons)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setFlags(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventFlags arg__1) +{ + ( theWrappedObject->setFlags(arg__1)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastPos(pos)); +} + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastScenePos(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); +} +bool PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::contains(point0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::extension(variant0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::isObscuredBy(item0); +} +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("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 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; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::opaqueArea(); +} +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("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(); + } + } +} + QGraphicsSimpleTextItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsSimpleTextItem::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(); + } + } +} + QGraphicsSimpleTextItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::shape(); +} +bool PythonQtShell_QGraphicsSimpleTextItem::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 QGraphicsSimpleTextItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsSimpleTextItem::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 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); } + +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsSimpleTextItem(text, parent); } + +QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +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) { + 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 QGraphicsTextItem::boundingRect(); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + 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) { + 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 QGraphicsTextItem::contains(point0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::customEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::dropEvent(event0); +} +bool PythonQtShell_QGraphicsTextItem::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 QGraphicsTextItem::event(ev0); +} +bool PythonQtShell_QGraphicsTextItem::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 QGraphicsTextItem::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsTextItem::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 QGraphicsTextItem::extension(variant0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsTextItem::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 QGraphicsTextItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsTextItem::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 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) { + 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(); + } + } +} + QGraphicsTextItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsTextItem::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 QGraphicsTextItem::opaqueArea(); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::paint(painter0, option1, widget2); +} +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("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 QGraphicsTextItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsTextItem::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 QGraphicsTextItem::shape(); +} +bool PythonQtShell_QGraphicsTextItem::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 QGraphicsTextItem::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsTextItem::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(); + } + } +} + QGraphicsTextItem::timerEvent(event0); +} +int PythonQtShell_QGraphicsTextItem::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 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); } + +QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsTextItem(text, parent); } + +const QMetaObject* PythonQtShell_QGraphicsTextItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsTextItem::staticMetaObject); + } else { + return &QGraphicsTextItem::staticMetaObject; + } +} +int PythonQtShell_QGraphicsTextItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsTextItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGraphicsTextItem::adjustSize(QGraphicsTextItem* theWrappedObject) +{ + ( theWrappedObject->adjustSize()); +} + +QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->defaultTextColor()); +} + +QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->openExternalLinks()); +} + +void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) +{ + ( theWrappedObject->setDefaultTextColor(c)); +} + +void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) +{ + ( theWrappedObject->setDocument(document)); +} + +void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QGraphicsTextItem::setHtml(QGraphicsTextItem* theWrappedObject, const QString& html) +{ + ( theWrappedObject->setHtml(html)); +} + +void PythonQtWrapper_QGraphicsTextItem::setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open) +{ + ( theWrappedObject->setOpenExternalLinks(open)); +} + +void PythonQtWrapper_QGraphicsTextItem::setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setPlainText(text)); +} + +void PythonQtWrapper_QGraphicsTextItem::setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} + +void PythonQtWrapper_QGraphicsTextItem::setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->setTextCursor(cursor)); +} + +void PythonQtWrapper_QGraphicsTextItem::setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width) +{ + ( theWrappedObject->setTextWidth(width)); +} + +bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); +} + +QTextCursor PythonQtWrapper_QGraphicsTextItem::textCursor(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->textCursor()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QGraphicsTextItem::textInteractionFlags(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +qreal PythonQtWrapper_QGraphicsTextItem::textWidth(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->textWidth()); +} + +QString PythonQtWrapper_QGraphicsTextItem::toHtml(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->toHtml()); +} + +QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + + + +PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const +{ +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 PythonQtShell_QGraphicsTransform::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(); + } + } +} + QGraphicsTransform::childEvent(event0); +} +void PythonQtShell_QGraphicsTransform::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(); + } + } +} + QGraphicsTransform::customEvent(event0); +} +bool PythonQtShell_QGraphicsTransform::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 QGraphicsTransform::event(event0); +} +bool PythonQtShell_QGraphicsTransform::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 QGraphicsTransform::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsTransform::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(); + } + } +} + QGraphicsTransform::timerEvent(event0); +} +QGraphicsTransform* PythonQtWrapper_QGraphicsTransform::new_QGraphicsTransform(QObject* parent) +{ +return new PythonQtShell_QGraphicsTransform(parent); } + +const QMetaObject* PythonQtShell_QGraphicsTransform::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsTransform::staticMetaObject); + } else { + return &QGraphicsTransform::staticMetaObject; + } +} +int PythonQtShell_QGraphicsTransform::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsTransform::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGraphicsTransform::applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const +{ + ( theWrappedObject->applyTo(matrix)); +} + + + +PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QGraphicsView::actionEvent(event0); +} +void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsView::changeEvent(arg__1); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::childEvent(event0); +} +void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QGraphicsView::closeEvent(event0); +} +void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QGraphicsView::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::customEvent(event0); +} +int PythonQtShell_QGraphicsView::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 QGraphicsView::devType(); +} +void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QGraphicsView::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QGraphicsView::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QGraphicsView::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::drawBackground(painter0, rect1); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::drawForeground(painter0, rect1); +} +void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) +{ +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*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsView::drawItems(painter0, numItems1, items2, options3); +} +void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QGraphicsView::dropEvent(event0); +} +void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QGraphicsView::enterEvent(event0); +} +bool PythonQtShell_QGraphicsView::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 QGraphicsView::event(event0); +} +bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QGraphicsView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::focusInEvent(event0); +} +bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::focusNextPrevChild(next0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::focusOutEvent(event0); +} +bool PythonQtShell_QGraphicsView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::hasHeightForWidth(); +} +int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::heightForWidth(arg__1); +} +void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsView::hideEvent(event0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::initPainter(painter0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsView::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 QGraphicsView::inputMethodQuery(query0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QGraphicsView::leaveEvent(event0); +} +int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::metric(arg__1); +} +QSize PythonQtShell_QGraphicsView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::minimumSizeHint(); +} +void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGraphicsView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGraphicsView::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGraphicsView::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGraphicsView::mouseReleaseEvent(event0); +} +void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QGraphicsView::moveEvent(event0); +} +bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::paintEngine(); +} +void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QGraphicsView::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QGraphicsView::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 QGraphicsView::redirected(offset0); +} +void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QGraphicsView::resizeEvent(event0); +} +void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QGraphicsView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsView::setVisible(visible0); +} +void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsView::setupViewport(widget0); +} +QPainter* PythonQtShell_QGraphicsView::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 QGraphicsView::sharedPainter(); +} +void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QGraphicsView::showEvent(event0); +} +QSize PythonQtShell_QGraphicsView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::sizeHint(); +} +void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QGraphicsView::tabletEvent(event0); +} +void PythonQtShell_QGraphicsView::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(); + } + } +} + QGraphicsView::timerEvent(event0); +} +bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::viewportEvent(event0); +} +QSize PythonQtShell_QGraphicsView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsView::viewportSizeHint(); +} +void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QGraphicsView::wheelEvent(event0); +} +QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QGraphicsScene* scene, QWidget* parent) +{ +return new PythonQtShell_QGraphicsView(scene, parent); } + +QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QWidget* parent) +{ +return new PythonQtShell_QGraphicsView(parent); } + +const QMetaObject* PythonQtShell_QGraphicsView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsView::staticMetaObject); + } else { + return &QGraphicsView::staticMetaObject; + } +} +int PythonQtShell_QGraphicsView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); +} + +QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->cacheMode()); +} + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) +{ + ( theWrappedObject->centerOn(item)); +} + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->centerOn(pos)); +} + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->centerOn(x, y)); +} + +QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->dragMode()); +} + +void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); +} + +void PythonQtWrapper_QGraphicsView::drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options)); +} + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); +} + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); +} + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); +} + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) +{ + ( theWrappedObject->fitInView(item, aspectRadioMode)); +} + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) +{ + ( theWrappedObject->fitInView(rect, aspectRadioMode)); +} + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) +{ + ( theWrappedObject->fitInView(x, y, w, h, aspectRadioMode)); +} + +QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->foregroundBrush()); +} + +bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->isInteractive()); +} + +bool PythonQtWrapper_QGraphicsView::isTransformed(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->isTransformed()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->itemAt(pos)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->items()); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(path, mode)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->items(pos)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(polygon, mode)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(rect, mode)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->items(x, y)); +} + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(x, y, w, h, mode)); +} + +QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromScene(path)); +} + +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromScene(point)); +} + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromScene(polygon)); +} + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromScene(rect)); +} + +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromScene(x, y)); +} + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromScene(x, y, w, h)); +} + +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) +{ + ( theWrappedObject->setOptimizationFlags(flags)); +} + +void PythonQtWrapper_QGraphicsView::setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled) +{ + ( theWrappedObject->setRenderHint(hint, enabled)); +} + +void PythonQtWrapper_QGraphicsView::setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints) +{ + ( theWrappedObject->setRenderHints(hints)); +} + +void PythonQtWrapper_QGraphicsView::setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) +{ + ( theWrappedObject->setResizeAnchor(anchor)); +} + +void PythonQtWrapper_QGraphicsView::setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode) +{ + ( theWrappedObject->setRubberBandSelectionMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene) +{ + ( theWrappedObject->setScene(scene)); +} + +void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setSceneRect(rect)); +} + +void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setSceneRect(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsView::setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setTransform(matrix, combine)); +} + +void PythonQtWrapper_QGraphicsView::setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) +{ + ( theWrappedObject->setTransformationAnchor(anchor)); +} + +void PythonQtWrapper_QGraphicsView::setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode) +{ + ( theWrappedObject->setViewportUpdateMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv) +{ + ( theWrappedObject->shear(sh, sv)); +} + +QTransform PythonQtWrapper_QGraphicsView::transform(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->transform()); +} + +QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::transformationAnchor(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->transformationAnchor()); +} + +void PythonQtWrapper_QGraphicsView::translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->viewportTransform()); +} + +QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->viewportUpdateMode()); +} + + + +PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::advance(phase0); +} +QRectF PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::boundingRect(); +} +void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QGraphicsWidget::changeEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::childEvent(event0); +} +void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QGraphicsWidget::closeEvent(event0); +} +bool PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::contains(point0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::customEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::dropEvent(event0); +} +bool PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::event(event0); +} +bool PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::extension(variant0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::focusInEvent(event0); +} +bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::grabKeyboardEvent(event0); +} +void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("grabMouseEvent"); + 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(); + } + } +} + QGraphicsWidget::grabMouseEvent(event0); +} +void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::hideEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initStyleOption"); + 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] = {nullptr, (void*)&option0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::initStyleOption(option0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + 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); + 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 QGraphicsWidget::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::isObscuredBy(item0); +} +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("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 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::mouseReleaseEvent(event0); +} +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] = {nullptr, (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); +} +QPainterPath PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::opaqueArea(); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + QGraphicsWidget::paint(painter0, option1, widget2); +} +void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +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(); + } + } +} + QGraphicsWidget::paintWindowFrame(painter0, option1, widget2); +} +void PythonQtShell_QGraphicsWidget::polishEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polishEvent"); + 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(); + } + } +} + QGraphicsWidget::polishEvent(); +} +QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("propertyChange"); + 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] = {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, 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 returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::propertyChange(propertyName0, value1); +} +void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + 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::resizeEvent(event0); +} +bool PythonQtShell_QGraphicsWidget::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 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) { + 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(); + } + } +} + QGraphicsWidget::setGeometry(rect0); +} +QPainterPath PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::shape(); +} +void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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::showEvent(event0); +} +QSizeF PythonQtShell_QGraphicsWidget::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 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) { + 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(); + } + } +} + QGraphicsWidget::timerEvent(event0); +} +int PythonQtShell_QGraphicsWidget::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 QGraphicsWidget::type(); +} +void PythonQtShell_QGraphicsWidget::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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::ungrabKeyboardEvent(event0); +} +void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ungrabMouseEvent"); + 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(); + } + } +} + QGraphicsWidget::ungrabMouseEvent(event0); +} +void PythonQtShell_QGraphicsWidget::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(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + 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{}; + 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("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::windowFrameEvent(e0); +} +Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowFrameSectionAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::windowFrameSectionAt(pos0); +} +QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::new_QGraphicsWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) +{ +return new PythonQtShell_QGraphicsWidget(parent, wFlags); } + +const QMetaObject* PythonQtShell_QGraphicsWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsWidget::staticMetaObject); + } else { + return &QGraphicsWidget::staticMetaObject; + } +} +int PythonQtShell_QGraphicsWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QGraphicsWidget::actions(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->actions()); +} + +void PythonQtWrapper_QGraphicsWidget::addAction(QGraphicsWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->addAction(action)); +} + +void PythonQtWrapper_QGraphicsWidget::addActions(QGraphicsWidget* theWrappedObject, QList actions) +{ + ( theWrappedObject->addActions(actions)); +} + +void PythonQtWrapper_QGraphicsWidget::adjustSize(QGraphicsWidget* theWrappedObject) +{ + ( theWrappedObject->adjustSize()); +} + +bool PythonQtWrapper_QGraphicsWidget::autoFillBackground(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->autoFillBackground()); +} + +void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); +} + +bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusPolicy()); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::focusWidget(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusWidget()); +} + +QFont PythonQtWrapper_QGraphicsWidget::font(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +void PythonQtWrapper_QGraphicsWidget::getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( theWrappedObject->getWindowFrameMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsWidget::grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabKeyboardEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); +} + +int PythonQtWrapper_QGraphicsWidget::grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context) +{ + return ( theWrappedObject->grabShortcut(sequence, context)); +} + +void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QGraphicsWidget::insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action) +{ + ( theWrappedObject->insertAction(before, action)); +} + +void PythonQtWrapper_QGraphicsWidget::insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions) +{ + ( theWrappedObject->insertActions(before, actions)); +} + +bool PythonQtWrapper_QGraphicsWidget::isActiveWindow(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->isActiveWindow()); +} + +QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->layout()); +} + +Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paintWindowFrame(painter, option, widget)); +} + +QPalette PythonQtWrapper_QGraphicsWidget::palette(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->palette()); +} + +void PythonQtWrapper_QGraphicsWidget::polishEvent(QGraphicsWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_polishEvent()); +} + +QVariant PythonQtWrapper_QGraphicsWidget::propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_propertyChange(propertyName, value)); +} + +QRectF PythonQtWrapper_QGraphicsWidget::rect(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QGraphicsWidget::releaseShortcut(QGraphicsWidget* theWrappedObject, int id) +{ + ( theWrappedObject->releaseShortcut(id)); +} + +void PythonQtWrapper_QGraphicsWidget::removeAction(QGraphicsWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->removeAction(action)); +} + +void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QGraphicsWidget::resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_resizeEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) +{ + ( theWrappedObject->setAttribute(attribute, on)); +} + +void PythonQtWrapper_QGraphicsWidget::setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoFillBackground(enabled)); +} + +void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) +{ + ( theWrappedObject->setContentsMargins(margins)); +} + +void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsWidget::setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy) +{ + ( theWrappedObject->setFocusPolicy(policy)); +} + +void PythonQtWrapper_QGraphicsWidget::setFont(QGraphicsWidget* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setGeometry(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsWidget::setLayout(QGraphicsWidget* theWrappedObject, PythonQtPassOwnershipToCPP layout) +{ + ( theWrappedObject->setLayout(layout)); +} + +void PythonQtWrapper_QGraphicsWidget::setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QGraphicsWidget::setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette) +{ + ( theWrappedObject->setPalette(palette)); +} + +void PythonQtWrapper_QGraphicsWidget::setShortcutAutoRepeat(QGraphicsWidget* theWrappedObject, int id, bool enabled) +{ + ( theWrappedObject->setShortcutAutoRepeat(id, enabled)); +} + +void PythonQtWrapper_QGraphicsWidget::setShortcutEnabled(QGraphicsWidget* theWrappedObject, int id, bool enabled) +{ + ( theWrappedObject->setShortcutEnabled(id, enabled)); +} + +void PythonQtWrapper_QGraphicsWidget::setStyle(QGraphicsWidget* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setStyle(style)); +} + +void PythonQtWrapper_QGraphicsWidget::static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second) +{ + (QGraphicsWidget::setTabOrder(first, second)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags) +{ + ( theWrappedObject->setWindowFlags(wFlags)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) +{ + ( theWrappedObject->setWindowFrameMargins(margins)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setWindowFrameMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setWindowTitle(title)); +} + +void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); +} + +QSizeF PythonQtWrapper_QGraphicsWidget::size(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QStyle* PythonQtWrapper_QGraphicsWidget::style(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const +{ + return ( theWrappedObject->testAttribute(attribute)); +} + +void PythonQtWrapper_QGraphicsWidget::ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabKeyboardEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabMouseEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::unsetLayoutDirection(QGraphicsWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLayoutDirection()); +} + +void PythonQtWrapper_QGraphicsWidget::unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject) +{ + ( theWrappedObject->unsetWindowFrameMargins()); +} + +Qt::WindowFlags PythonQtWrapper_QGraphicsWidget::windowFlags(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFlags()); +} + +bool PythonQtWrapper_QGraphicsWidget::windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameEvent(e)); +} + +QRectF PythonQtWrapper_QGraphicsWidget::windowFrameGeometry(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFrameGeometry()); +} + +QRectF PythonQtWrapper_QGraphicsWidget::windowFrameRect(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFrameRect()); +} + +Qt::WindowFrameSection PythonQtWrapper_QGraphicsWidget::windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameSectionAt(pos)); +} + +QString PythonQtWrapper_QGraphicsWidget::windowTitle(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowTitle()); +} + +Qt::WindowType PythonQtWrapper_QGraphicsWidget::windowType(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowType()); +} + + + +PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::addItem(arg__1); +} +void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::controlTypes(); +} +int PythonQtShell_QGridLayout::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 QGridLayout::count(); +} +void PythonQtShell_QGridLayout::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(); + } + } +} + QGridLayout::customEvent(event0); +} +bool PythonQtShell_QGridLayout::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 QGridLayout::event(event0); +} +bool PythonQtShell_QGridLayout::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 QGridLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::expandingDirections(); +} +QRect PythonQtShell_QGridLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::geometry(); +} +bool PythonQtShell_QGridLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::hasHeightForWidth(); +} +int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::heightForWidth(arg__1); +} +int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + 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("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::indexOf(arg__1); +} +void PythonQtShell_QGridLayout::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(); + } + } +} + QGridLayout::invalidate(); +} +bool PythonQtShell_QGridLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QGridLayout::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[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::itemAt(index0); +} +QLayout* PythonQtShell_QGridLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::layout(); +} +QSize PythonQtShell_QGridLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::maximumSize(); +} +int PythonQtShell_QGridLayout::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 QGridLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QGridLayout::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::minimumSize(); +} +void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QGridLayout::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::takeAt(index0); +} +void PythonQtShell_QGridLayout::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(); + } + } +} + 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(); } + +QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout(QWidget* parent) +{ +return new PythonQtShell_QGridLayout(parent); } + +const QMetaObject* PythonQtShell_QGridLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGridLayout::staticMetaObject); + } else { + return &QGridLayout::staticMetaObject; + } +} +int PythonQtShell_QGridLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGridLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6)); +} + +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) +{ + ( theWrappedObject->addLayout(arg__1, row, column, arg__4)); +} + +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addLayout(arg__1, row, column, rowSpan, columnSpan, arg__6)); +} + +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) +{ + ( theWrappedObject->addWidget(arg__1, row, column, arg__4)); +} + +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6)); +} + +QRect PythonQtWrapper_QGridLayout::cellRect(QGridLayout* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->cellRect(row, column)); +} + +int PythonQtWrapper_QGridLayout::columnCount(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QGridLayout::columnMinimumWidth(QGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnMinimumWidth(column)); +} + +int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnStretch(column)); +} + +int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->itemAtPosition(row, column)); +} + +Qt::Corner PythonQtWrapper_QGridLayout::originCorner(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->originCorner()); +} + +int PythonQtWrapper_QGridLayout::rowCount(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +int PythonQtWrapper_QGridLayout::rowMinimumHeight(QGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowMinimumHeight(row)); +} + +int PythonQtWrapper_QGridLayout::rowStretch(QGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowStretch(row)); +} + +void PythonQtWrapper_QGridLayout::setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize) +{ + ( theWrappedObject->setColumnMinimumWidth(column, minSize)); +} + +void PythonQtWrapper_QGridLayout::setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch) +{ + ( theWrappedObject->setColumnStretch(column, stretch)); +} + +void PythonQtWrapper_QGridLayout::setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient) +{ + ( theWrappedObject->setDefaultPositioning(n, orient)); +} + +void PythonQtWrapper_QGridLayout::setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QGridLayout::setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1) +{ + ( theWrappedObject->setOriginCorner(arg__1)); +} + +void PythonQtWrapper_QGridLayout::setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize) +{ + ( theWrappedObject->setRowMinimumHeight(row, minSize)); +} + +void PythonQtWrapper_QGridLayout::setRowStretch(QGridLayout* theWrappedObject, int row, int stretch) +{ + ( theWrappedObject->setRowStretch(row, stretch)); +} + +void PythonQtWrapper_QGridLayout::setSpacing(QGridLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QGroupBox::actionEvent(event0); +} +void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QGroupBox::changeEvent(event0); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::childEvent(event0); +} +void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QGroupBox::closeEvent(event0); +} +void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QGroupBox::contextMenuEvent(event0); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::customEvent(event0); +} +int PythonQtShell_QGroupBox::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 QGroupBox::devType(); +} +void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QGroupBox::dragEnterEvent(event0); +} +void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QGroupBox::dragLeaveEvent(event0); +} +void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QGroupBox::dragMoveEvent(event0); +} +void PythonQtShell_QGroupBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QGroupBox::dropEvent(event0); +} +void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QGroupBox::enterEvent(event0); +} +bool PythonQtShell_QGroupBox::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 QGroupBox::event(event0); +} +bool PythonQtShell_QGroupBox::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 QGroupBox::eventFilter(watched0, event1); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::focusInEvent(event0); +} +bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::focusNextPrevChild(next0); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::focusOutEvent(event0); +} +bool PythonQtShell_QGroupBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::hasHeightForWidth(); +} +int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::heightForWidth(arg__1); +} +void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::hideEvent(event0); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::initPainter(painter0); +} +void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::keyPressEvent(event0); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::keyReleaseEvent(event0); +} +void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QGroupBox::leaveEvent(event0); +} +int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::metric(arg__1); +} +QSize PythonQtShell_QGroupBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::minimumSizeHint(); +} +void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGroupBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGroupBox::mouseMoveEvent(event0); +} +void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGroupBox::mousePressEvent(event0); +} +void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGroupBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QGroupBox::moveEvent(event0); +} +bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::paintEngine(); +} +void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QGroupBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QGroupBox::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 QGroupBox::redirected(offset0); +} +void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QGroupBox::resizeEvent(event0); +} +void PythonQtShell_QGroupBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::setVisible(visible0); +} +QPainter* PythonQtShell_QGroupBox::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 QGroupBox::sharedPainter(); +} +void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QGroupBox::showEvent(event0); +} +QSize PythonQtShell_QGroupBox::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::sizeHint(); +} +void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QGroupBox::tabletEvent(event0); +} +void PythonQtShell_QGroupBox::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(); + } + } +} + QGroupBox::timerEvent(event0); +} +void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QGroupBox::wheelEvent(event0); +} +QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(QWidget* parent) +{ +return new PythonQtShell_QGroupBox(parent); } + +QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QGroupBox(title, parent); } + +const QMetaObject* PythonQtShell_QGroupBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGroupBox::staticMetaObject); + } else { + return &QGroupBox::staticMetaObject; + } +} +int PythonQtShell_QGroupBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGroupBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QGroupBox::alignment(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +void PythonQtWrapper_QGroupBox::initStyleOption(QGroupBox* theWrappedObject, QStyleOptionGroupBox* option) const +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QGroupBox::isCheckable(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QGroupBox::isChecked(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->isChecked()); +} + +bool PythonQtWrapper_QGroupBox::isFlat(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->isFlat()); +} + +QSize PythonQtWrapper_QGroupBox::minimumSizeHint(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QGroupBox::setAlignment(QGroupBox* theWrappedObject, int alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QGroupBox::setCheckable(QGroupBox* theWrappedObject, bool checkable) +{ + ( theWrappedObject->setCheckable(checkable)); +} + +void PythonQtWrapper_QGroupBox::setFlat(QGroupBox* theWrappedObject, bool flat) +{ + ( theWrappedObject->setFlat(flat)); +} + +void PythonQtWrapper_QGroupBox::setTitle(QGroupBox* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +QString PythonQtWrapper_QGroupBox::title(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + + + +QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_allWindows() +{ + return (QGuiApplication::allWindows()); +} + +QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationDisplayName() +{ + return (QGuiApplication::applicationDisplayName()); +} + +Qt::ApplicationState PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationState() +{ + return (QGuiApplication::applicationState()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1) +{ + (QGuiApplication::changeOverrideCursor(arg__1)); +} + +QClipboard* PythonQtWrapper_QGuiApplication::static_QGuiApplication_clipboard() +{ + return (QGuiApplication::clipboard()); +} + +QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopFileName() +{ + return (QGuiApplication::desktopFileName()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopSettingsAware() +{ + return (QGuiApplication::desktopSettingsAware()); +} + +qreal PythonQtWrapper_QGuiApplication::devicePixelRatio(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +int PythonQtWrapper_QGuiApplication::static_QGuiApplication_exec() +{ + return (QGuiApplication::exec()); +} + +QObject* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusObject() +{ + return (QGuiApplication::focusObject()); +} + +QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusWindow() +{ + return (QGuiApplication::focusWindow()); +} + +QFont PythonQtWrapper_QGuiApplication::static_QGuiApplication_font() +{ + return (QGuiApplication::font()); +} + +Qt::HighDpiScaleFactorRoundingPolicy PythonQtWrapper_QGuiApplication::static_QGuiApplication_highDpiScaleFactorRoundingPolicy() +{ + return (QGuiApplication::highDpiScaleFactorRoundingPolicy()); +} + +QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMethod() +{ + return (QGuiApplication::inputMethod()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() +{ + return (QGuiApplication::isLeftToRight()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() +{ + return (QGuiApplication::isRightToLeft()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_keyboardModifiers() +{ + return (QGuiApplication::keyboardModifiers()); +} + +Qt::LayoutDirection PythonQtWrapper_QGuiApplication::static_QGuiApplication_layoutDirection() +{ + return (QGuiApplication::layoutDirection()); +} + +QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_modalWindow() +{ + return (QGuiApplication::modalWindow()); +} + +Qt::MouseButtons PythonQtWrapper_QGuiApplication::static_QGuiApplication_mouseButtons() +{ + return (QGuiApplication::mouseButtons()); +} + +QCursor* PythonQtWrapper_QGuiApplication::static_QGuiApplication_overrideCursor() +{ + return (QGuiApplication::overrideCursor()); +} + +QPalette PythonQtWrapper_QGuiApplication::static_QGuiApplication_palette() +{ + return (QGuiApplication::palette()); +} + +QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_platformName() +{ + return (QGuiApplication::platformName()); +} + +QScreen* PythonQtWrapper_QGuiApplication::static_QGuiApplication_primaryScreen() +{ + return (QGuiApplication::primaryScreen()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_queryKeyboardModifiers() +{ + return (QGuiApplication::queryKeyboardModifiers()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_quitOnLastWindowClosed() +{ + return (QGuiApplication::quitOnLastWindowClosed()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_restoreOverrideCursor() +{ + (QGuiApplication::restoreOverrideCursor()); +} + +QScreen* PythonQtWrapper_QGuiApplication::static_QGuiApplication_screenAt(const QPoint& point) +{ + return (QGuiApplication::screenAt(point)); +} + +QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_screens() +{ + return (QGuiApplication::screens()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setApplicationDisplayName(const QString& name) +{ + (QGuiApplication::setApplicationDisplayName(name)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopFileName(const QString& name) +{ + (QGuiApplication::setDesktopFileName(name)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopSettingsAware(bool on) +{ + (QGuiApplication::setDesktopSettingsAware(on)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) +{ + (QGuiApplication::setFont(arg__1)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy policy) +{ + (QGuiApplication::setHighDpiScaleFactorRoundingPolicy(policy)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction) +{ + (QGuiApplication::setLayoutDirection(direction)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setOverrideCursor(const QCursor& arg__1) +{ + (QGuiApplication::setOverrideCursor(arg__1)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setPalette(const QPalette& pal) +{ + (QGuiApplication::setPalette(pal)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setQuitOnLastWindowClosed(bool quit) +{ + (QGuiApplication::setQuitOnLastWindowClosed(quit)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setWindowIcon(const QIcon& icon) +{ + (QGuiApplication::setWindowIcon(icon)); +} + +QStyleHints* PythonQtWrapper_QGuiApplication::static_QGuiApplication_styleHints() +{ + return (QGuiApplication::styleHints()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_sync() +{ + (QGuiApplication::sync()); +} + +QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelAt(const QPoint& pos) +{ + return (QGuiApplication::topLevelAt(pos)); +} + +QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelWindows() +{ + return (QGuiApplication::topLevelWindows()); +} + +QIcon PythonQtWrapper_QGuiApplication::static_QGuiApplication_windowIcon() +{ + return (QGuiApplication::windowIcon()); +} + + + +PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::addItem(arg__1); +} +void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::controlTypes(); +} +int PythonQtShell_QHBoxLayout::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 QHBoxLayout::count(); +} +void PythonQtShell_QHBoxLayout::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(); + } + } +} + QHBoxLayout::customEvent(event0); +} +bool PythonQtShell_QHBoxLayout::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 QHBoxLayout::event(event0); +} +bool PythonQtShell_QHBoxLayout::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 QHBoxLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QHBoxLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::geometry(); +} +bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::hasHeightForWidth(); +} +int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::heightForWidth(arg__1); +} +int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + 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("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QHBoxLayout::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(); + } + } +} + QHBoxLayout::invalidate(); +} +bool PythonQtShell_QHBoxLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) 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[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QHBoxLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::layout(); +} +QSize PythonQtShell_QHBoxLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::maximumSize(); +} +int PythonQtShell_QHBoxLayout::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 QHBoxLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QHBoxLayout::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::minimumSize(); +} +void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QHBoxLayout::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::takeAt(arg__1); +} +void PythonQtShell_QHBoxLayout::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(); + } + } +} + 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(); } + +QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout(QWidget* parent) +{ +return new PythonQtShell_QHBoxLayout(parent); } + +const QMetaObject* PythonQtShell_QHBoxLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHBoxLayout::staticMetaObject); + } else { + return &QHBoxLayout::staticMetaObject; + } +} +int PythonQtShell_QHBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHBoxLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QHeaderView::~PythonQtShell_QHeaderView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHeaderView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QHeaderView::actionEvent(event0); +} +void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::changeEvent(arg__1); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::childEvent(event0); +} +void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::closeEditor(editor0, hint1); +} +void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QHeaderView::closeEvent(event0); +} +void PythonQtShell_QHeaderView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::commitData(editor0); +} +void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::contextMenuEvent(arg__1); +} +void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&old1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::currentChanged(current0, old1); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::customEvent(event0); +} +void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QHeaderView::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 QHeaderView::devType(); +} +void PythonQtShell_QHeaderView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QHeaderView::doItemsLayout(); +} +void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QHeaderView::dragEnterEvent(event0); +} +void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QHeaderView::dragLeaveEvent(event0); +} +void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QHeaderView::dragMoveEvent(event0); +} +void PythonQtShell_QHeaderView::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QHeaderView::dropEvent(event0); +} +bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::edit(index0, trigger1, event2); +} +void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::editorDestroyed(editor0); +} +void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QHeaderView::enterEvent(event0); +} +bool PythonQtShell_QHeaderView::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 QHeaderView::event(e0); +} +bool PythonQtShell_QHeaderView::eventFilter(QObject* object0, 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*)&object0, (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 QHeaderView::eventFilter(object0, event1); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::focusInEvent(event0); +} +bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::focusNextPrevChild(next0); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::focusOutEvent(event0); +} +bool PythonQtShell_QHeaderView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::hasHeightForWidth(); +} +int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::heightForWidth(arg__1); +} +void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::hideEvent(event0); +} +int PythonQtShell_QHeaderView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::horizontalOffset(); +} +void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::indexAt(p0); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::initPainter(painter0); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QHeaderView::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 QHeaderView::inputMethodQuery(query0); +} +bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::isIndexHidden(index0); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::keyPressEvent(event0); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::keyReleaseEvent(event0); +} +void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::keyboardSearch(search0); +} +void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QHeaderView::leaveEvent(event0); +} +int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::metric(arg__1); +} +QSize PythonQtShell_QHeaderView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::minimumSizeHint(); +} +void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QHeaderView::mouseDoubleClickEvent(e0); +} +void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QHeaderView::mouseMoveEvent(e0); +} +void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QHeaderView::mousePressEvent(e0); +} +void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QHeaderView::mouseReleaseEvent(e0); +} +QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::moveCursor(arg__1, arg__2); +} +void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QHeaderView::moveEvent(event0); +} +bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::paintEngine(); +} +void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QHeaderView::paintEvent(e0); +} +void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintSection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&logicalIndex2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::paintSection(painter0, rect1, logicalIndex2); +} +QPaintDevice* PythonQtShell_QHeaderView::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 QHeaderView::redirected(offset0); +} +void PythonQtShell_QHeaderView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QHeaderView::reset(); +} +void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QHeaderView::resizeEvent(event0); +} +void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::scrollTo(index0, hint1); +} +QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sectionSizeFromContents"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sectionSizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::sectionSizeFromContents(logicalIndex0); +} +void PythonQtShell_QHeaderView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QHeaderView::selectAll(); +} +QList PythonQtShell_QHeaderView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::selectedIndexes(); +} +void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::selectionCommand(index0, event1); +} +void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::setModel(model0); +} +void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QHeaderView::setRootIndex(index0); +} +void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&flags1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::setSelection(rect0, flags1); +} +void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QHeaderView::setVisible(bool v0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&v0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::setVisible(v0); +} +void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QHeaderView::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 QHeaderView::sharedPainter(); +} +void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QHeaderView::showEvent(event0); +} +QSize PythonQtShell_QHeaderView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::sizeHint(); +} +int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::sizeHintForColumn(column0); +} +int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::sizeHintForRow(row0); +} +void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::startDrag(supportedActions0); +} +void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QHeaderView::tabletEvent(event0); +} +void PythonQtShell_QHeaderView::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(); + } + } +} + QHeaderView::timerEvent(event0); +} +void PythonQtShell_QHeaderView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QHeaderView::updateEditorData(); +} +void PythonQtShell_QHeaderView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QHeaderView::updateEditorGeometries(); +} +void PythonQtShell_QHeaderView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QHeaderView::updateGeometries(); +} +int PythonQtShell_QHeaderView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::verticalOffset(); +} +void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::verticalScrollbarAction(action0); +} +void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::viewOptions(); +} +bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::viewportEvent(e0); +} +QSize PythonQtShell_QHeaderView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::viewportSizeHint(); +} +QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::visualRect(index0); +} +QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::visualRegionForSelection(selection0); +} +void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::wheelEvent(arg__1); +} +QHeaderView* PythonQtWrapper_QHeaderView::new_QHeaderView(Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QHeaderView(orientation, parent); } + +const QMetaObject* PythonQtShell_QHeaderView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHeaderView::staticMetaObject); + } else { + return &QHeaderView::staticMetaObject; + } +} +int PythonQtShell_QHeaderView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHeaderView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QHeaderView::cascadingSectionResizes(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->cascadingSectionResizes()); +} + +int PythonQtWrapper_QHeaderView::count(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +Qt::Alignment PythonQtWrapper_QHeaderView::defaultAlignment(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->defaultAlignment()); +} + +int PythonQtWrapper_QHeaderView::defaultSectionSize(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->defaultSectionSize()); +} + +int PythonQtWrapper_QHeaderView::hiddenSectionCount(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->hiddenSectionCount()); +} + +void PythonQtWrapper_QHeaderView::hideSection(QHeaderView* theWrappedObject, int logicalIndex) +{ + ( theWrappedObject->hideSection(logicalIndex)); +} + +bool PythonQtWrapper_QHeaderView::highlightSections(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->highlightSections()); +} + +void PythonQtWrapper_QHeaderView::initStyleOption(QHeaderView* theWrappedObject, QStyleOptionHeader* option) const +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QHeaderView::initialize(QHeaderView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initialize()); +} + +void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections()); +} + +void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject, int start, int end) +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections(start, end)); +} + +bool PythonQtWrapper_QHeaderView::isFirstSectionMovable(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->isFirstSectionMovable()); +} + +bool PythonQtWrapper_QHeaderView::isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->isSectionHidden(logicalIndex)); +} + +bool PythonQtWrapper_QHeaderView::isSortIndicatorShown(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->isSortIndicatorShown()); +} + +int PythonQtWrapper_QHeaderView::length(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +int PythonQtWrapper_QHeaderView::logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const +{ + return ( theWrappedObject->logicalIndex(visualIndex)); +} + +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->logicalIndexAt(pos)); +} + +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int position) const +{ + return ( theWrappedObject->logicalIndexAt(position)); +} + +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->logicalIndexAt(x, y)); +} + +int PythonQtWrapper_QHeaderView::maximumSectionSize(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->maximumSectionSize()); +} + +int PythonQtWrapper_QHeaderView::minimumSectionSize(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->minimumSectionSize()); +} + +void PythonQtWrapper_QHeaderView::moveSection(QHeaderView* theWrappedObject, int from, int to) +{ + ( theWrappedObject->moveSection(from, to)); +} + +int PythonQtWrapper_QHeaderView::offset(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +Qt::Orientation PythonQtWrapper_QHeaderView::orientation(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QHeaderView::paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const +{ + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintSection(painter, rect, logicalIndex)); +} + +void PythonQtWrapper_QHeaderView::resetDefaultSectionSize(QHeaderView* theWrappedObject) +{ + ( theWrappedObject->resetDefaultSectionSize()); +} + +int PythonQtWrapper_QHeaderView::resizeContentsPrecision(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->resizeContentsPrecision()); +} + +void PythonQtWrapper_QHeaderView::resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size) +{ + ( theWrappedObject->resizeSection(logicalIndex, size)); +} + +void PythonQtWrapper_QHeaderView::resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) +{ + ( theWrappedObject->resizeSections(mode)); +} + +bool PythonQtWrapper_QHeaderView::restoreState(QHeaderView* theWrappedObject, const QByteArray& state) +{ + return ( theWrappedObject->restoreState(state)); +} + +QByteArray PythonQtWrapper_QHeaderView::saveState(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->saveState()); +} + +int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionPosition(logicalIndex)); +} + +QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionResizeMode(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionSize(logicalIndex)); +} + +QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionSizeHint(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionViewportPosition(logicalIndex)); +} + +bool PythonQtWrapper_QHeaderView::sectionsClickable(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsClickable()); +} + +bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsHidden()); +} + +bool PythonQtWrapper_QHeaderView::sectionsMovable(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsMovable()); +} + +bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsMoved()); +} + +void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCascadingSectionResizes(enable)); +} + +void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setDefaultAlignment(alignment)); +} + +void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) +{ + ( theWrappedObject->setDefaultSectionSize(size)); +} + +void PythonQtWrapper_QHeaderView::setFirstSectionMovable(QHeaderView* theWrappedObject, bool movable) +{ + ( theWrappedObject->setFirstSectionMovable(movable)); +} + +void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) +{ + ( theWrappedObject->setHighlightSections(highlight)); +} + +void PythonQtWrapper_QHeaderView::setMaximumSectionSize(QHeaderView* theWrappedObject, int size) +{ + ( theWrappedObject->setMaximumSectionSize(size)); +} + +void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) +{ + ( theWrappedObject->setMinimumSectionSize(size)); +} + +void PythonQtWrapper_QHeaderView::setResizeContentsPrecision(QHeaderView* theWrappedObject, int precision) +{ + ( theWrappedObject->setResizeContentsPrecision(precision)); +} + +void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) +{ + ( theWrappedObject->setSectionHidden(logicalIndex, hide)); +} + +void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) +{ + ( theWrappedObject->setSectionResizeMode(mode)); +} + +void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) +{ + ( theWrappedObject->setSectionResizeMode(logicalIndex, mode)); +} + +void PythonQtWrapper_QHeaderView::setSectionsClickable(QHeaderView* theWrappedObject, bool clickable) +{ + ( theWrappedObject->setSectionsClickable(clickable)); +} + +void PythonQtWrapper_QHeaderView::setSectionsMovable(QHeaderView* theWrappedObject, bool movable) +{ + ( theWrappedObject->setSectionsMovable(movable)); +} + +void PythonQtWrapper_QHeaderView::setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order) +{ + ( theWrappedObject->setSortIndicator(logicalIndex, order)); +} + +void PythonQtWrapper_QHeaderView::setSortIndicatorShown(QHeaderView* theWrappedObject, bool show) +{ + ( theWrappedObject->setSortIndicatorShown(show)); +} + +void PythonQtWrapper_QHeaderView::setStretchLastSection(QHeaderView* theWrappedObject, bool stretch) +{ + ( theWrappedObject->setStretchLastSection(stretch)); +} + +void PythonQtWrapper_QHeaderView::showSection(QHeaderView* theWrappedObject, int logicalIndex) +{ + ( theWrappedObject->showSection(logicalIndex)); +} + +Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sortIndicatorOrder()); +} + +int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sortIndicatorSection()); +} + +bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->stretchLastSection()); +} + +int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->stretchSectionCount()); +} + +void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) +{ + ( theWrappedObject->swapSections(first, second)); +} + +int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->visualIndex(logicalIndex)); +} + +int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const +{ + return ( theWrappedObject->visualIndexAt(position)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.h new file mode 100644 index 00000000..14a9d29b --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui3.h @@ -0,0 +1,2782 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QGraphicsLinearLayout : public QGraphicsLinearLayout +{ +public: + PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsLinearLayout() override; + +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; +}; + +class PythonQtPublicPromoter_QGraphicsLinearLayout : public QGraphicsLinearLayout +{ public: +inline int py_q_count() const { return QGraphicsLinearLayout::count(); } +inline void py_q_invalidate() { QGraphicsLinearLayout::invalidate(); } +inline QGraphicsLayoutItem* py_q_itemAt(int index) const { return QGraphicsLinearLayout::itemAt(index); } +inline void py_q_removeAt(int index) { QGraphicsLinearLayout::removeAt(index); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsLinearLayout::setGeometry(rect); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsLinearLayout::sizeHint(which, constraint); } +}; + +class PythonQtWrapper_QGraphicsLinearLayout : public QObject +{ Q_OBJECT +public: +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 addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item); + void addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch = 1); + Qt::Alignment alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; + int py_q_count(QGraphicsLinearLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_count());} + void dump(QGraphicsLinearLayout* theWrappedObject, int indent = 0) const; + void insertItem(QGraphicsLinearLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP item); + void insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch = 1); + void py_q_invalidate(QGraphicsLinearLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_invalidate());} + QGraphicsLayoutItem* py_q_itemAt(QGraphicsLinearLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_itemAt(index));} + qreal itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const; + Qt::Orientation orientation(QGraphicsLinearLayout* theWrappedObject) const; + 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 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 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; +}; + + + + + +class PythonQtShell_QGraphicsObject : public QGraphicsObject +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* ev) { return this->event(ev); } +inline void promoted_updateMicroFocus() { this->updateMicroFocus(); } +inline bool py_q_event(QEvent* ev) { return QGraphicsObject::event(ev); } +}; + +class PythonQtWrapper_QGraphicsObject : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsObject* new_QGraphicsObject(QGraphicsItem* parent = nullptr); +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); + QString py_toString(QGraphicsObject*); +}; + + + + + +class PythonQtShell_QGraphicsOpacityEffect : public QGraphicsOpacityEffect +{ +public: + PythonQtShell_QGraphicsOpacityEffect(QObject* parent = nullptr):QGraphicsOpacityEffect(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsOpacityEffect() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsOpacityEffect : public QGraphicsOpacityEffect +{ public: +inline void promoted_draw(QPainter* painter) { this->draw(painter); } +inline void py_q_draw(QPainter* painter) { QGraphicsOpacityEffect::draw(painter); } +}; + +class PythonQtWrapper_QGraphicsOpacityEffect : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsOpacityEffect* new_QGraphicsOpacityEffect(QObject* parent = nullptr); +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; +}; + + + + + +class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem +{ +public: + 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 +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsPathItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsPathItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPathItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPathItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsPathItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsPathItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPathItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsPathItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsPathItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsPathItem::type(); } +}; + +class PythonQtWrapper_QGraphicsPathItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsPathItem::Type}; +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 py_q_boundingRect(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_contains(point));} + 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 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 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 py_q_shape(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsPixmapItem : public QGraphicsPixmapItem +{ +public: + 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 +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsPixmapItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsPixmapItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPixmapItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPixmapItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsPixmapItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsPixmapItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPixmapItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsPixmapItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsPixmapItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsPixmapItem::type(); } +}; + +class PythonQtWrapper_QGraphicsPixmapItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ShapeMode enum_1 ) +enum ShapeMode{ + MaskShape = QGraphicsPixmapItem::MaskShape, BoundingRectShape = QGraphicsPixmapItem::BoundingRectShape, HeuristicMaskShape = QGraphicsPixmapItem::HeuristicMaskShape}; +enum enum_1{ + Type = QGraphicsPixmapItem::Type}; +public slots: +QGraphicsPixmapItem* new_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr); +QGraphicsPixmapItem* new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr); +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));} + bool py_q_isObscuredBy(QGraphicsPixmapItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_isObscuredBy(item));} + QPointF offset(QGraphicsPixmapItem* theWrappedObject) const; + QPainterPath py_q_opaqueArea(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_opaqueArea());} + void py_q_paint(QGraphicsPixmapItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + QPixmap pixmap(QGraphicsPixmapItem* theWrappedObject) const; + void py_q_setExtension(QGraphicsPixmapItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_setExtension(extension, variant));} + void setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset); + void setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y); + void setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap); + void setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode); + void setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode); + QPainterPath py_q_shape(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_shape());} + QGraphicsPixmapItem::ShapeMode shapeMode(QGraphicsPixmapItem* theWrappedObject) const; + bool py_q_supportsExtension(QGraphicsPixmapItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_supportsExtension(extension));} + Qt::TransformationMode transformationMode(QGraphicsPixmapItem* theWrappedObject) const; + int py_q_type(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsPolygonItem : public QGraphicsPolygonItem +{ +public: + 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 +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsPolygonItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsPolygonItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPolygonItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPolygonItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsPolygonItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsPolygonItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPolygonItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsPolygonItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsPolygonItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsPolygonItem::type(); } +}; + +class PythonQtWrapper_QGraphicsPolygonItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsPolygonItem::Type}; +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 py_q_boundingRect(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_contains(point));} + 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 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 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 py_q_shape(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsProxyWidget : public QGraphicsProxyWidget +{ +public: + 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 +{ public: +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { this->dragMoveEvent(event); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { this->dropEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_grabMouseEvent(QEvent* event) { this->grabMouseEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } +inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { this->hoverEnterEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { this->hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { this->hoverMoveEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return this->inputMethodQuery(query); } +inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return this->itemChange(change, value); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { this->mouseReleaseEvent(event); } +inline QGraphicsProxyWidget* promoted_newProxyWidget(const QWidget* arg__1) { return this->newProxyWidget(arg__1); } +inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } +inline void promoted_ungrabMouseEvent(QEvent* event) { this->ungrabMouseEvent(event); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsProxyWidget::contextMenuEvent(event); } +inline void py_q_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragMoveEvent(event); } +inline void py_q_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dropEvent(event); } +inline bool py_q_event(QEvent* event) { return QGraphicsProxyWidget::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QGraphicsProxyWidget::eventFilter(object, event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QGraphicsProxyWidget::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusOutEvent(event); } +inline void py_q_grabMouseEvent(QEvent* event) { QGraphicsProxyWidget::grabMouseEvent(event); } +inline void py_q_hideEvent(QHideEvent* event) { QGraphicsProxyWidget::hideEvent(event); } +inline void py_q_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverEnterEvent(event); } +inline void py_q_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverLeaveEvent(event); } +inline void py_q_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverMoveEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QGraphicsProxyWidget::inputMethodEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsProxyWidget::inputMethodQuery(query); } +inline QVariant py_q_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsProxyWidget::itemChange(change, value); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseReleaseEvent(event); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsProxyWidget::paint(painter, option, widget); } +inline void py_q_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsProxyWidget::resizeEvent(event); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsProxyWidget::setGeometry(rect); } +inline void py_q_showEvent(QShowEvent* event) { QGraphicsProxyWidget::showEvent(event); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsProxyWidget::sizeHint(which, constraint); } +inline int py_q_type() const { return QGraphicsProxyWidget::type(); } +inline void py_q_ungrabMouseEvent(QEvent* event) { QGraphicsProxyWidget::ungrabMouseEvent(event); } +inline void py_q_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsProxyWidget::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsProxyWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +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 py_q_contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_contextMenuEvent(event));} + QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); + void py_q_dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} + void py_q_dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragLeaveEvent(event));} + void py_q_dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragMoveEvent(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));} + void py_q_focusInEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusInEvent(event));} + bool py_q_focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} + 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 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 py_q_inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodEvent(event));} + 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 py_q_keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyPressEvent(event));} + void py_q_keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} + void py_q_mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void py_q_mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mousePressEvent(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));} + void py_q_setGeometry(QGraphicsProxyWidget* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_setGeometry(rect));} + void setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void py_q_showEvent(QGraphicsProxyWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_showEvent(event));} + QSizeF py_q_sizeHint(QGraphicsProxyWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_sizeHint(which, constraint));} + 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 py_q_wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_wheelEvent(event));} + QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem +{ +public: + 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 +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsRectItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsRectItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsRectItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsRectItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsRectItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsRectItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsRectItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsRectItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsRectItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsRectItem::type(); } +}; + +class PythonQtWrapper_QGraphicsRectItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsRectItem::Type}; +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 py_q_boundingRect(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_contains(point));} + 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 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 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 py_q_shape(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsRotation : public QGraphicsRotation +{ +public: + PythonQtShell_QGraphicsRotation(QObject* parent = nullptr):QGraphicsRotation(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsRotation() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsRotation : public QGraphicsRotation +{ public: +inline void py_q_applyTo(QMatrix4x4* matrix) const { QGraphicsRotation::applyTo(matrix); } +}; + +class PythonQtWrapper_QGraphicsRotation : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsRotation* new_QGraphicsRotation(QObject* parent = nullptr); +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; + QVector3D origin(QGraphicsRotation* theWrappedObject) const; + void setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1); + void setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis); + void setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis); + void setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point); +}; + + + + + +class PythonQtShell_QGraphicsScale : public QGraphicsScale +{ +public: + PythonQtShell_QGraphicsScale(QObject* parent = nullptr):QGraphicsScale(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsScale() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsScale : public QGraphicsScale +{ public: +inline void py_q_applyTo(QMatrix4x4* matrix) const { QGraphicsScale::applyTo(matrix); } +}; + +class PythonQtWrapper_QGraphicsScale : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsScale* new_QGraphicsScale(QObject* parent = nullptr); +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); + void setXScale(QGraphicsScale* theWrappedObject, qreal arg__1); + void setYScale(QGraphicsScale* theWrappedObject, qreal arg__1); + void setZScale(QGraphicsScale* theWrappedObject, qreal arg__1); + qreal xScale(QGraphicsScale* theWrappedObject) const; + qreal yScale(QGraphicsScale* theWrappedObject) const; + qreal zScale(QGraphicsScale* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsScene : public QGraphicsScene +{ +public: + 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 +{ public: +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { this->dragMoveEvent(event); } +inline void promoted_drawBackground(QPainter* painter, const QRectF& rect) { this->drawBackground(painter, rect); } +inline void promoted_drawForeground(QPainter* painter, const QRectF& rect) { this->drawForeground(painter, rect); } +inline void promoted_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr) { this->drawItems(painter, numItems, items, options, widget); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { this->dropEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* watched, QEvent* event) { return this->eventFilter(watched, event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_helpEvent(QGraphicsSceneHelpEvent* event) { this->helpEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsScene::contextMenuEvent(event); } +inline void py_q_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dragMoveEvent(event); } +inline void py_q_drawBackground(QPainter* painter, const QRectF& rect) { QGraphicsScene::drawBackground(painter, rect); } +inline void py_q_drawForeground(QPainter* painter, const QRectF& rect) { QGraphicsScene::drawForeground(painter, rect); } +inline void py_q_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr) { QGraphicsScene::drawItems(painter, numItems, items, options, widget); } +inline void py_q_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsScene::dropEvent(event); } +inline bool py_q_event(QEvent* event) { return QGraphicsScene::event(event); } +inline bool py_q_eventFilter(QObject* watched, QEvent* event) { return QGraphicsScene::eventFilter(watched, event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsScene::focusInEvent(event); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsScene::focusOutEvent(event); } +inline void py_q_helpEvent(QGraphicsSceneHelpEvent* event) { QGraphicsScene::helpEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QGraphicsScene::inputMethodEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsScene::inputMethodQuery(query); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QGraphicsScene::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QGraphicsScene::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsScene::mouseReleaseEvent(event); } +inline void py_q_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsScene::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsScene : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SceneLayer ) +Q_FLAGS(SceneLayers ) +enum SceneLayer{ + ItemLayer = QGraphicsScene::ItemLayer, BackgroundLayer = QGraphicsScene::BackgroundLayer, ForegroundLayer = QGraphicsScene::ForegroundLayer, AllLayers = QGraphicsScene::AllLayers}; +Q_DECLARE_FLAGS(SceneLayers, SceneLayer) +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; } + 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()); + QGraphicsEllipseItem* addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + void addItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP item); + QGraphicsLineItem* addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen = QPen()); + QGraphicsLineItem* addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen = QPen()); + QGraphicsPathItem* addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsPixmapItem* addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap); + QGraphicsPolygonItem* addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsRectItem* addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsRectItem* addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen = QPen(), const QBrush& brush = QBrush()); + QGraphicsSimpleTextItem* addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font = QFont()); + QGraphicsTextItem* addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font = QFont()); + QGraphicsProxyWidget* addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags = Qt::WindowFlags()); + QBrush backgroundBrush(QGraphicsScene* theWrappedObject) const; + int bspTreeDepth(QGraphicsScene* theWrappedObject) const; + void clearFocus(QGraphicsScene* theWrappedObject); + QList collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + void contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event); + void py_q_contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_contextMenuEvent(event));} + QGraphicsItemGroup* createItemGroup(QGraphicsScene* theWrappedObject, const QList& items); + void destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group); + void dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_dragEnterEvent(event));} + void dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_dragLeaveEvent(event));} + void dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_dragMoveEvent(event));} + void drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect); + void py_q_drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_drawBackground(painter, rect));} + void drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect); + void py_q_drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_drawForeground(painter, rect));} + void drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr); + void py_q_drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_drawItems(painter, numItems, items, options, widget));} + void dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); + void py_q_dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_dropEvent(event));} + bool py_q_event(QGraphicsScene* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_eventFilter(watched, event));} + void focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event); + void py_q_focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_focusInEvent(event));} + QGraphicsItem* focusItem(QGraphicsScene* theWrappedObject) const; + bool focusOnTouch(QGraphicsScene* theWrappedObject) const; + void focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event); + void py_q_focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_focusOutEvent(event));} + QFont font(QGraphicsScene* theWrappedObject) const; + QBrush foregroundBrush(QGraphicsScene* theWrappedObject) const; + bool hasFocus(QGraphicsScene* theWrappedObject) const; + qreal height(QGraphicsScene* theWrappedObject) const; + void helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event); + void py_q_helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_helpEvent(event));} + void inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event); + void py_q_inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_inputMethodEvent(event));} + QVariant inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const; + QVariant py_q_inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_inputMethodQuery(query));} + void invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers); + bool isActive(QGraphicsScene* theWrappedObject) const; + bool isSortCacheEnabled(QGraphicsScene* theWrappedObject) const; + QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const; + QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const; + QGraphicsScene::ItemIndexMethod itemIndexMethod(QGraphicsScene* theWrappedObject) const; + QList items(QGraphicsScene* theWrappedObject, Qt::SortOrder order = Qt::DescendingOrder) const; + QList items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) const; + QList items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform = QTransform()) const; + QRectF itemsBoundingRect(QGraphicsScene* theWrappedObject) const; + void keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event); + void py_q_keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_keyPressEvent(event));} + void keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event); + void py_q_keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_keyReleaseEvent(event));} + qreal minimumRenderSize(QGraphicsScene* theWrappedObject) const; + void mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + QGraphicsItem* mouseGrabberItem(QGraphicsScene* theWrappedObject) const; + void mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_mousePressEvent(event));} + void mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event); + void py_q_mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + QPalette palette(QGraphicsScene* theWrappedObject) const; + void removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item); + void render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target = QRectF(), const QRectF& source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio); + QRectF sceneRect(QGraphicsScene* theWrappedObject) const; + QList selectedItems(QGraphicsScene* theWrappedObject) const; + QPainterPath selectionArea(QGraphicsScene* theWrappedObject) const; + bool sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event); + void setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item); + void setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget); + void setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush); + void setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth); + void setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason = Qt::OtherFocusReason); + void setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason = Qt::OtherFocusReason); + void setFocusOnTouch(QGraphicsScene* theWrappedObject, bool enabled); + void setFont(QGraphicsScene* theWrappedObject, const QFont& font); + void setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush); + void setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method); + void setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize); + void setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette); + void setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect); + void setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, const QTransform& deviceTransform = QTransform()); + void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, const QTransform& deviceTransform = QTransform()); + void setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform); + void setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled); + void setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled); + void setStyle(QGraphicsScene* theWrappedObject, QStyle* style); + bool stickyFocus(QGraphicsScene* theWrappedObject) const; + QStyle* style(QGraphicsScene* theWrappedObject) const; + void update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + QList views(QGraphicsScene* theWrappedObject) const; + void wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event); + void py_q_wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_wheelEvent(event));} + qreal width(QGraphicsScene* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsSceneContextMenuEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Reason ) +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; } + Qt::KeyboardModifiers modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QGraphicsSceneContextMenuEvent::Reason reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; + void setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); + void setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason); + void setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneDragDropEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneDragDropEvent* new_QGraphicsSceneDragDropEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneDragDropEvent(QGraphicsSceneDragDropEvent* obj) { delete obj; } + void acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject); + Qt::MouseButtons buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const; + Qt::DropAction dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const; + const QMimeData* mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneDragDropEvent* theWrappedObject) const; + Qt::DropActions possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const; + Qt::DropAction proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const; + void setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons); + void setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action); + void setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos); + void setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions); + void setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action); + void setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos); + QWidget* source(QGraphicsSceneDragDropEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsSceneEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneEvent* new_QGraphicsSceneEvent(QEvent::Type type); +void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } + QWidget* widget(QGraphicsSceneEvent* theWrappedObject) const; + QString py_toString(QGraphicsSceneEvent*); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneHelpEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneHelpEvent* new_QGraphicsSceneHelpEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneHelpEvent(QGraphicsSceneHelpEvent* obj) { delete obj; } + QPointF scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const; + void setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneHoverEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneHoverEvent* new_QGraphicsSceneHoverEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } + QPointF lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPointF lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPoint lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; + void setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos); + void setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneMouseEvent* new_QGraphicsSceneMouseEvent(QEvent::Type type = QEvent::None); +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; + QPoint buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; + Qt::MouseButtons buttons(QGraphicsSceneMouseEvent* theWrappedObject) const; + Qt::MouseEventFlags flags(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPoint lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const; + void setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button); + void setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); + void setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos); + void setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos); + void setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons); + void setFlags(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventFlags arg__1); + void setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); + void setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos); + void setSource(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventSource source); + Qt::MouseEventSource source(QGraphicsSceneMouseEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGraphicsSceneMoveEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneMoveEvent* new_QGraphicsSceneMoveEvent(); +void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } + QPointF newPos(QGraphicsSceneMoveEvent* theWrappedObject) const; + QPointF oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const; + void setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); + void setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneResizeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneResizeEvent* new_QGraphicsSceneResizeEvent(); +void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } + QSizeF newSize(QGraphicsSceneResizeEvent* theWrappedObject) const; + QSizeF oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const; + void setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); + void setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); +}; + + + + + +class PythonQtWrapper_QGraphicsSceneWheelEvent : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsSceneWheelEvent* new_QGraphicsSceneWheelEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } + Qt::MouseButtons buttons(QGraphicsSceneWheelEvent* theWrappedObject) const; + int delta(QGraphicsSceneWheelEvent* theWrappedObject) const; + Qt::KeyboardModifiers modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const; + Qt::Orientation orientation(QGraphicsSceneWheelEvent* theWrappedObject) const; + QPointF pos(QGraphicsSceneWheelEvent* theWrappedObject) const; + QPointF scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const; + QPoint screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const; + void setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons); + void setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta); + void setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers); + void setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation); + void setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); + void setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos); + void setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos); +}; + + + + + +class PythonQtShell_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem +{ +public: + 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 +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsSimpleTextItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsSimpleTextItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsSimpleTextItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsSimpleTextItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsSimpleTextItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsSimpleTextItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsSimpleTextItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsSimpleTextItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsSimpleTextItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsSimpleTextItem::type(); } +}; + +class PythonQtWrapper_QGraphicsSimpleTextItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsSimpleTextItem::Type}; +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 py_q_boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_contains(point));} + 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 py_q_paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + 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 py_q_shape(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} + QString text(QGraphicsSimpleTextItem* theWrappedObject) const; + int py_q_type(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem +{ +public: + 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 +{ public: +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { this->dragMoveEvent(event); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { this->dropEvent(event); } +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { this->hoverEnterEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { this->hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { this->hoverMoveEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return this->inputMethodQuery(query); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { this->mouseReleaseEvent(event); } +inline bool promoted_sceneEvent(QEvent* event) { return this->sceneEvent(event); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsTextItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsTextItem::contains(point); } +inline void py_q_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsTextItem::contextMenuEvent(event); } +inline void py_q_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragMoveEvent(event); } +inline void py_q_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dropEvent(event); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsTextItem::extension(variant); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsTextItem::focusInEvent(event); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsTextItem::focusOutEvent(event); } +inline void py_q_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverEnterEvent(event); } +inline void py_q_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverLeaveEvent(event); } +inline void py_q_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverMoveEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QGraphicsTextItem::inputMethodEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsTextItem::inputMethodQuery(query); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsTextItem::isObscuredBy(item); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QGraphicsTextItem::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QGraphicsTextItem::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseReleaseEvent(event); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsTextItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsTextItem::paint(painter, option, widget); } +inline bool py_q_sceneEvent(QEvent* event) { return QGraphicsTextItem::sceneEvent(event); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsTextItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsTextItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsTextItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsTextItem::type(); } +}; + +class PythonQtWrapper_QGraphicsTextItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsTextItem::Type}; +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 adjustSize(QGraphicsTextItem* theWrappedObject); + QRectF py_q_boundingRect(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contains(point));} + 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 py_q_dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragEnterEvent(event));} + void py_q_dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragLeaveEvent(event));} + void py_q_dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragMoveEvent(event));} + void py_q_dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dropEvent(event));} + QVariant py_q_extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_extension(variant));} + void py_q_focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusInEvent(event));} + void py_q_focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusOutEvent(event));} + QFont font(QGraphicsTextItem* theWrappedObject) const; + void py_q_hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} + void py_q_hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} + void py_q_hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} + void py_q_inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodEvent(event));} + QVariant py_q_inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodQuery(query));} + bool py_q_isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} + void py_q_keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyPressEvent(event));} + void py_q_keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} + void py_q_mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void py_q_mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + QPainterPath py_q_opaqueArea(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_opaqueArea());} + bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; + void py_q_paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + 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 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); + void setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open); + void setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text); + void setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b); + void setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor); + void setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags); + void setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width); + QPainterPath py_q_shape(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_shape());} + 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; + Qt::TextInteractionFlags textInteractionFlags(QGraphicsTextItem* theWrappedObject) const; + qreal textWidth(QGraphicsTextItem* theWrappedObject) const; + QString toHtml(QGraphicsTextItem* theWrappedObject) const; + QString toPlainText(QGraphicsTextItem* theWrappedObject) const; + int py_q_type(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsTransform : public QGraphicsTransform +{ +public: + PythonQtShell_QGraphicsTransform(QObject* parent = nullptr):QGraphicsTransform(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsTransform() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsTransform : public QGraphicsTransform +{ public: +inline void promoted_update() { this->update(); } +inline void py_q_applyTo(QMatrix4x4* matrix) const { this->applyTo(matrix); } +}; + +class PythonQtWrapper_QGraphicsTransform : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsTransform* new_QGraphicsTransform(QObject* parent = nullptr); +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));} +}; + + + + + +class PythonQtShell_QGraphicsView : public QGraphicsView +{ +public: + 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 +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QDragEnterEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { this->dragMoveEvent(event); } +inline void promoted_drawBackground(QPainter* painter, const QRectF& rect) { this->drawBackground(painter, rect); } +inline void promoted_drawForeground(QPainter* painter, const QRectF& rect) { this->drawForeground(painter, rect); } +inline void promoted_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) { this->drawItems(painter, numItems, items, options); } +inline void promoted_dropEvent(QDropEvent* event) { this->dropEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_setupViewport(QWidget* widget) { this->setupViewport(widget); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } +inline void promoted_wheelEvent(QWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QGraphicsView::contextMenuEvent(event); } +inline void py_q_dragEnterEvent(QDragEnterEvent* event) { QGraphicsView::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* event) { QGraphicsView::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QDragMoveEvent* event) { QGraphicsView::dragMoveEvent(event); } +inline void py_q_drawBackground(QPainter* painter, const QRectF& rect) { QGraphicsView::drawBackground(painter, rect); } +inline void py_q_drawForeground(QPainter* painter, const QRectF& rect) { QGraphicsView::drawForeground(painter, rect); } +inline void py_q_drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) { QGraphicsView::drawItems(painter, numItems, items, options); } +inline void py_q_dropEvent(QDropEvent* event) { QGraphicsView::dropEvent(event); } +inline bool py_q_event(QEvent* event) { return QGraphicsView::event(event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsView::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QGraphicsView::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsView::focusOutEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QGraphicsView::inputMethodEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsView::inputMethodQuery(query); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QGraphicsView::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QGraphicsView::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QGraphicsView::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QGraphicsView::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QGraphicsView::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QGraphicsView::mouseReleaseEvent(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QGraphicsView::paintEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QGraphicsView::resizeEvent(event); } +inline void py_q_scrollContentsBy(int dx, int dy) { QGraphicsView::scrollContentsBy(dx, dy); } +inline void py_q_setupViewport(QWidget* widget) { QGraphicsView::setupViewport(widget); } +inline void py_q_showEvent(QShowEvent* event) { QGraphicsView::showEvent(event); } +inline QSize py_q_sizeHint() const { return QGraphicsView::sizeHint(); } +inline bool py_q_viewportEvent(QEvent* event) { return QGraphicsView::viewportEvent(event); } +inline void py_q_wheelEvent(QWheelEvent* event) { QGraphicsView::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsView : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CacheModeFlag OptimizationFlag ) +Q_FLAGS(CacheMode OptimizationFlags ) +enum CacheModeFlag{ + CacheNone = QGraphicsView::CacheNone, CacheBackground = QGraphicsView::CacheBackground}; +enum OptimizationFlag{ + DontClipPainter = QGraphicsView::DontClipPainter, DontSavePainterState = QGraphicsView::DontSavePainterState, DontAdjustForAntialiasing = QGraphicsView::DontAdjustForAntialiasing, IndirectPainting = QGraphicsView::IndirectPainting}; +Q_DECLARE_FLAGS(CacheMode, CacheModeFlag) +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; } + Qt::Alignment alignment(QGraphicsView* theWrappedObject) const; + QBrush backgroundBrush(QGraphicsView* theWrappedObject) const; + QGraphicsView::CacheMode cacheMode(QGraphicsView* theWrappedObject) const; + void centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item); + void centerOn(QGraphicsView* theWrappedObject, const QPointF& pos); + void centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y); + void py_q_contextMenuEvent(QGraphicsView* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_contextMenuEvent(event));} + void py_q_dragEnterEvent(QGraphicsView* theWrappedObject, QDragEnterEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_dragEnterEvent(event));} + void py_q_dragLeaveEvent(QGraphicsView* theWrappedObject, QDragLeaveEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_dragLeaveEvent(event));} + QGraphicsView::DragMode dragMode(QGraphicsView* theWrappedObject) const; + void py_q_dragMoveEvent(QGraphicsView* theWrappedObject, QDragMoveEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_dragMoveEvent(event));} + void drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect); + void py_q_drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_drawBackground(painter, rect));} + void drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect); + void py_q_drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_drawForeground(painter, rect));} + void drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options); + void py_q_drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_drawItems(painter, numItems, items, options));} + void py_q_dropEvent(QGraphicsView* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_dropEvent(event));} + void ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin = 50, int ymargin = 50); + void ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin = 50, int ymargin = 50); + void ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50); + bool py_q_event(QGraphicsView* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_event(event));} + void fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); + void fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); + void fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); + void py_q_focusInEvent(QGraphicsView* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_focusInEvent(event));} + bool py_q_focusNextPrevChild(QGraphicsView* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QGraphicsView* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_focusOutEvent(event));} + QBrush foregroundBrush(QGraphicsView* theWrappedObject) const; + void py_q_inputMethodEvent(QGraphicsView* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_inputMethodEvent(event));} + QVariant py_q_inputMethodQuery(QGraphicsView* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_inputMethodQuery(query));} + bool isInteractive(QGraphicsView* theWrappedObject) const; + bool isTransformed(QGraphicsView* theWrappedObject) const; + QGraphicsItem* itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const; + QGraphicsItem* itemAt(QGraphicsView* theWrappedObject, int x, int y) const; + QList items(QGraphicsView* theWrappedObject) const; + QList items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsView* theWrappedObject, const QPoint& pos) const; + QList items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(QGraphicsView* theWrappedObject, int x, int y) const; + QList items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + void py_q_keyPressEvent(QGraphicsView* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_keyPressEvent(event));} + void py_q_keyReleaseEvent(QGraphicsView* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_keyReleaseEvent(event));} + QPainterPath mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const; + QPoint mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const; + QPolygon mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const; + QPolygon mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const; + QPoint mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const; + QPolygon mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const; + QPainterPath mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const; + QPointF mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const; + QPolygonF mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const; + QPolygonF mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const; + QPointF mapToScene(QGraphicsView* theWrappedObject, int x, int y) const; + QPolygonF mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const; + QMatrix matrix(QGraphicsView* theWrappedObject) const; + void py_q_mouseDoubleClickEvent(QGraphicsView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void py_q_mouseMoveEvent(QGraphicsView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QGraphicsView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QGraphicsView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + QGraphicsView::OptimizationFlags optimizationFlags(QGraphicsView* theWrappedObject) const; + void py_q_paintEvent(QGraphicsView* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_paintEvent(event));} + void render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target = QRectF(), const QRect& source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio); + QPainter::RenderHints renderHints(QGraphicsView* theWrappedObject) const; + void resetCachedContent(QGraphicsView* theWrappedObject); + void resetMatrix(QGraphicsView* theWrappedObject); + void resetTransform(QGraphicsView* theWrappedObject); + QGraphicsView::ViewportAnchor resizeAnchor(QGraphicsView* theWrappedObject) const; + void py_q_resizeEvent(QGraphicsView* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_resizeEvent(event));} + void rotate(QGraphicsView* theWrappedObject, qreal angle); + QRect rubberBandRect(QGraphicsView* theWrappedObject) const; + Qt::ItemSelectionMode rubberBandSelectionMode(QGraphicsView* theWrappedObject) const; + void scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy); + QGraphicsScene* scene(QGraphicsView* theWrappedObject) const; + QRectF sceneRect(QGraphicsView* theWrappedObject) const; + void py_q_scrollContentsBy(QGraphicsView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment); + void setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush); + void setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode); + void setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode); + void setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush); + void setInteractive(QGraphicsView* theWrappedObject, bool allowed); + void setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine = false); + void setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled = true); + void setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags); + void setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled = true); + void setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints); + void setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor); + void setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode); + void setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene); + void setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect); + void setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine = false); + void setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor); + void setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode); + void py_q_setupViewport(QGraphicsView* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_setupViewport(widget));} + void shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv); + void py_q_showEvent(QGraphicsView* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_showEvent(event));} + QSize py_q_sizeHint(QGraphicsView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_sizeHint());} + QTransform transform(QGraphicsView* theWrappedObject) const; + QGraphicsView::ViewportAnchor transformationAnchor(QGraphicsView* theWrappedObject) const; + void translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy); + bool py_q_viewportEvent(QGraphicsView* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_viewportEvent(event));} + QTransform viewportTransform(QGraphicsView* theWrappedObject) const; + QGraphicsView::ViewportUpdateMode viewportUpdateMode(QGraphicsView* theWrappedObject) const; + void py_q_wheelEvent(QGraphicsView* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->py_q_wheelEvent(event));} +}; + + + + + +class PythonQtShell_QGraphicsWidget : public QGraphicsWidget +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_grabKeyboardEvent(QEvent* event) { this->grabKeyboardEvent(event); } +inline void promoted_grabMouseEvent(QEvent* event) { this->grabMouseEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { this->hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { this->hoverMoveEvent(event); } +inline void promoted_initStyleOption(QStyleOption* option) const { this->initStyleOption(option); } +inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return this->itemChange(change, value); } +inline void promoted_moveEvent(QGraphicsSceneMoveEvent* event) { this->moveEvent(event); } +inline void promoted_polishEvent() { this->polishEvent(); } +inline QVariant promoted_propertyChange(const QString& propertyName, const QVariant& value) { return this->propertyChange(propertyName, value); } +inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { this->resizeEvent(event); } +inline bool promoted_sceneEvent(QEvent* event) { return this->sceneEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } +inline void promoted_ungrabKeyboardEvent(QEvent* event) { this->ungrabKeyboardEvent(event); } +inline void promoted_ungrabMouseEvent(QEvent* event) { this->ungrabMouseEvent(event); } +inline void promoted_updateGeometry() { this->updateGeometry(); } +inline bool promoted_windowFrameEvent(QEvent* e) { return this->windowFrameEvent(e); } +inline Qt::WindowFrameSection promoted_windowFrameSectionAt(const QPointF& pos) const { return this->windowFrameSectionAt(pos); } +inline QRectF py_q_boundingRect() const { return QGraphicsWidget::boundingRect(); } +inline void py_q_changeEvent(QEvent* event) { QGraphicsWidget::changeEvent(event); } +inline void py_q_closeEvent(QCloseEvent* event) { QGraphicsWidget::closeEvent(event); } +inline bool py_q_event(QEvent* event) { return QGraphicsWidget::event(event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsWidget::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QGraphicsWidget::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsWidget::focusOutEvent(event); } +inline void py_q_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsWidget::getContentsMargins(left, top, right, bottom); } +inline void py_q_grabKeyboardEvent(QEvent* event) { QGraphicsWidget::grabKeyboardEvent(event); } +inline void py_q_grabMouseEvent(QEvent* event) { QGraphicsWidget::grabMouseEvent(event); } +inline void py_q_hideEvent(QHideEvent* event) { QGraphicsWidget::hideEvent(event); } +inline void py_q_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverLeaveEvent(event); } +inline void py_q_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverMoveEvent(event); } +inline void py_q_initStyleOption(QStyleOption* option) const { QGraphicsWidget::initStyleOption(option); } +inline QVariant py_q_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsWidget::itemChange(change, value); } +inline void py_q_moveEvent(QGraphicsSceneMoveEvent* event) { QGraphicsWidget::moveEvent(event); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsWidget::paint(painter, option, widget); } +inline void py_q_paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsWidget::paintWindowFrame(painter, option, widget); } +inline void py_q_polishEvent() { QGraphicsWidget::polishEvent(); } +inline QVariant py_q_propertyChange(const QString& propertyName, const QVariant& value) { return QGraphicsWidget::propertyChange(propertyName, value); } +inline void py_q_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsWidget::resizeEvent(event); } +inline bool py_q_sceneEvent(QEvent* event) { return QGraphicsWidget::sceneEvent(event); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsWidget::setGeometry(rect); } +inline QPainterPath py_q_shape() const { return QGraphicsWidget::shape(); } +inline void py_q_showEvent(QShowEvent* event) { QGraphicsWidget::showEvent(event); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsWidget::sizeHint(which, constraint); } +inline int py_q_type() const { return QGraphicsWidget::type(); } +inline void py_q_ungrabKeyboardEvent(QEvent* event) { QGraphicsWidget::ungrabKeyboardEvent(event); } +inline void py_q_ungrabMouseEvent(QEvent* event) { QGraphicsWidget::ungrabMouseEvent(event); } +inline void py_q_updateGeometry() { QGraphicsWidget::updateGeometry(); } +inline bool py_q_windowFrameEvent(QEvent* e) { return QGraphicsWidget::windowFrameEvent(e); } +inline Qt::WindowFrameSection py_q_windowFrameSectionAt(const QPointF& pos) const { return QGraphicsWidget::windowFrameSectionAt(pos); } +}; + +class PythonQtWrapper_QGraphicsWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +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; } + 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 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 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 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; + QFont font(QGraphicsWidget* theWrappedObject) const; + void py_q_getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const{ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_getContentsMargins(left, top, right, bottom));} + void getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; + void grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + void py_q_grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_grabKeyboardEvent(event));} + void grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + void py_q_grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_grabMouseEvent(event));} + 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 py_q_hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverLeaveEvent(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 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 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));} + QPalette palette(QGraphicsWidget* theWrappedObject) const; + void polishEvent(QGraphicsWidget* theWrappedObject); + void py_q_polishEvent(QGraphicsWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_polishEvent());} + QVariant propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value); + QVariant py_q_propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_propertyChange(propertyName, value));} + QRectF rect(QGraphicsWidget* theWrappedObject) const; + void releaseShortcut(QGraphicsWidget* theWrappedObject, int id); + void removeAction(QGraphicsWidget* theWrappedObject, QAction* action); + void resize(QGraphicsWidget* theWrappedObject, const QSizeF& size); + 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 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); + void setContentsMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins); + void setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); + void setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy); + void setFont(QGraphicsWidget* theWrappedObject, const QFont& font); + void py_q_setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_setGeometry(rect));} + void setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setLayout(QGraphicsWidget* theWrappedObject, PythonQtPassOwnershipToCPP layout); + void setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction); + void setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette); + void setShortcutAutoRepeat(QGraphicsWidget* theWrappedObject, int id, bool enabled = true); + void setShortcutEnabled(QGraphicsWidget* theWrappedObject, int id, bool enabled = true); + void setStyle(QGraphicsWidget* theWrappedObject, QStyle* style); + void static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second); + void setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags); + void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins); + void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); + void setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title); + 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));} + QSizeF size(QGraphicsWidget* theWrappedObject) const; + 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 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));} + void ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event); + void py_q_ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} + void unsetLayoutDirection(QGraphicsWidget* theWrappedObject); + void unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject); + void py_q_updateGeometry(QGraphicsWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_updateGeometry());} + Qt::WindowFlags windowFlags(QGraphicsWidget* theWrappedObject) const; + bool windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e); + bool py_q_windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_windowFrameEvent(e));} + QRectF windowFrameGeometry(QGraphicsWidget* theWrappedObject) const; + QRectF windowFrameRect(QGraphicsWidget* theWrappedObject) const; + Qt::WindowFrameSection windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const; + Qt::WindowFrameSection py_q_windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_windowFrameSectionAt(pos));} + QString windowTitle(QGraphicsWidget* theWrappedObject) const; + Qt::WindowType windowType(QGraphicsWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGridLayout : public QGridLayout +{ +public: + 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 +{ public: +inline void promoted_addItem(QLayoutItem* arg__1) { this->addItem(arg__1); } +inline void py_q_addItem(QLayoutItem* arg__1) { QGridLayout::addItem(arg__1); } +inline int py_q_count() const { return QGridLayout::count(); } +inline Qt::Orientations py_q_expandingDirections() const { return QGridLayout::expandingDirections(); } +inline bool py_q_hasHeightForWidth() const { return QGridLayout::hasHeightForWidth(); } +inline int py_q_heightForWidth(int arg__1) const { return QGridLayout::heightForWidth(arg__1); } +inline void py_q_invalidate() { QGridLayout::invalidate(); } +inline QLayoutItem* py_q_itemAt(int index) const { return QGridLayout::itemAt(index); } +inline QSize py_q_maximumSize() const { return QGridLayout::maximumSize(); } +inline int py_q_minimumHeightForWidth(int arg__1) const { return QGridLayout::minimumHeightForWidth(arg__1); } +inline QSize py_q_minimumSize() const { return QGridLayout::minimumSize(); } +inline void py_q_setGeometry(const QRect& arg__1) { QGridLayout::setGeometry(arg__1); } +inline QSize py_q_sizeHint() const { return QGridLayout::sizeHint(); } +inline QLayoutItem* py_q_takeAt(int index) { return QGridLayout::takeAt(index); } +}; + +class PythonQtWrapper_QGridLayout : public QObject +{ Q_OBJECT +public: +public slots: +QGridLayout* new_QGridLayout(); +QGridLayout* new_QGridLayout(QWidget* parent); +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()); + void addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = Qt::Alignment()); + void addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4 = Qt::Alignment()); + void addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = Qt::Alignment()); + QRect cellRect(QGridLayout* theWrappedObject, int row, int column) const; + int columnCount(QGridLayout* theWrappedObject) const; + int columnMinimumWidth(QGridLayout* theWrappedObject, int column) const; + 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 py_q_hasHeightForWidth(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_hasHeightForWidth());} + 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 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; + int rowCount(QGridLayout* theWrappedObject) const; + int rowMinimumHeight(QGridLayout* theWrappedObject, int row) const; + int rowStretch(QGridLayout* theWrappedObject, int row) const; + void setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize); + void setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch); + void setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient); + void py_q_setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_setGeometry(arg__1));} + void setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing); + void setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1); + void setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize); + void setRowStretch(QGridLayout* theWrappedObject, int row, int stretch); + void setSpacing(QGridLayout* theWrappedObject, int spacing); + void setVerticalSpacing(QGridLayout* theWrappedObject, int spacing); + 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));} + int verticalSpacing(QGridLayout* theWrappedObject) const; + bool __nonzero__(QGridLayout* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QGroupBox : public QGroupBox +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_childEvent(QChildEvent* event) { this->childEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline void promoted_initStyleOption(QStyleOptionGroupBox* option) const { this->initStyleOption(option); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QGroupBox::changeEvent(event); } +inline void py_q_childEvent(QChildEvent* event) { QGroupBox::childEvent(event); } +inline bool py_q_event(QEvent* event) { return QGroupBox::event(event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGroupBox::focusInEvent(event); } +inline QSize py_q_minimumSizeHint() const { return QGroupBox::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QGroupBox::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QGroupBox::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QGroupBox::mouseReleaseEvent(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QGroupBox::paintEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QGroupBox::resizeEvent(event); } +}; + +class PythonQtWrapper_QGroupBox : public QObject +{ Q_OBJECT +public: +public slots: +QGroupBox* new_QGroupBox(QWidget* parent = nullptr); +QGroupBox* new_QGroupBox(const QString& title, QWidget* parent = nullptr); +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));} + bool py_q_event(QGroupBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_event(event));} + void py_q_focusInEvent(QGroupBox* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_focusInEvent(event));} + void initStyleOption(QGroupBox* theWrappedObject, QStyleOptionGroupBox* option) const; + bool isCheckable(QGroupBox* theWrappedObject) const; + bool isChecked(QGroupBox* theWrappedObject) const; + bool isFlat(QGroupBox* theWrappedObject) const; + QSize minimumSizeHint(QGroupBox* theWrappedObject) const; + QSize py_q_minimumSizeHint(QGroupBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QGroupBox* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QGroupBox* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QGroupBox* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + void py_q_paintEvent(QGroupBox* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_paintEvent(event));} + void py_q_resizeEvent(QGroupBox* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_resizeEvent(event));} + void setAlignment(QGroupBox* theWrappedObject, int alignment); + void setCheckable(QGroupBox* theWrappedObject, bool checkable); + void setFlat(QGroupBox* theWrappedObject, bool flat); + void setTitle(QGroupBox* theWrappedObject, const QString& title); + QString title(QGroupBox* theWrappedObject) const; +}; + + + + + +class PythonQtPublicPromoter_QGuiApplication : public QGuiApplication +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QGuiApplication::event(arg__1); } +inline bool py_q_notify(QObject* arg__1, QEvent* arg__2) { return QGuiApplication::notify(arg__1, arg__2); } +}; + +class PythonQtWrapper_QGuiApplication : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } + QList static_QGuiApplication_allWindows(); + QString static_QGuiApplication_applicationDisplayName(); + Qt::ApplicationState static_QGuiApplication_applicationState(); + void static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1); + QClipboard* static_QGuiApplication_clipboard(); + QString static_QGuiApplication_desktopFileName(); + bool static_QGuiApplication_desktopSettingsAware(); + qreal devicePixelRatio(QGuiApplication* theWrappedObject) const; + bool py_q_event(QGuiApplication* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QGuiApplication*)theWrappedObject)->py_q_event(arg__1));} + int static_QGuiApplication_exec(); + QObject* static_QGuiApplication_focusObject(); + QWindow* static_QGuiApplication_focusWindow(); + QFont static_QGuiApplication_font(); + Qt::HighDpiScaleFactorRoundingPolicy static_QGuiApplication_highDpiScaleFactorRoundingPolicy(); + QInputMethod* static_QGuiApplication_inputMethod(); + bool static_QGuiApplication_isLeftToRight(); + bool static_QGuiApplication_isRightToLeft(); + Qt::KeyboardModifiers static_QGuiApplication_keyboardModifiers(); + Qt::LayoutDirection static_QGuiApplication_layoutDirection(); + QWindow* static_QGuiApplication_modalWindow(); + Qt::MouseButtons static_QGuiApplication_mouseButtons(); + bool py_q_notify(QGuiApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QGuiApplication*)theWrappedObject)->py_q_notify(arg__1, arg__2));} + QCursor* static_QGuiApplication_overrideCursor(); + QPalette static_QGuiApplication_palette(); + QString static_QGuiApplication_platformName(); + QScreen* static_QGuiApplication_primaryScreen(); + Qt::KeyboardModifiers static_QGuiApplication_queryKeyboardModifiers(); + bool static_QGuiApplication_quitOnLastWindowClosed(); + void static_QGuiApplication_restoreOverrideCursor(); + QScreen* static_QGuiApplication_screenAt(const QPoint& point); + QList static_QGuiApplication_screens(); + void static_QGuiApplication_setApplicationDisplayName(const QString& name); + void static_QGuiApplication_setDesktopFileName(const QString& name); + void static_QGuiApplication_setDesktopSettingsAware(bool on); + void static_QGuiApplication_setFont(const QFont& arg__1); + void static_QGuiApplication_setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy policy); + void static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction); + void static_QGuiApplication_setOverrideCursor(const QCursor& arg__1); + void static_QGuiApplication_setPalette(const QPalette& pal); + void static_QGuiApplication_setQuitOnLastWindowClosed(bool quit); + void static_QGuiApplication_setWindowIcon(const QIcon& icon); + QStyleHints* static_QGuiApplication_styleHints(); + void static_QGuiApplication_sync(); + QWindow* static_QGuiApplication_topLevelAt(const QPoint& pos); + QList static_QGuiApplication_topLevelWindows(); + QIcon static_QGuiApplication_windowIcon(); +}; + + + + + +class PythonQtShell_QHBoxLayout : public QHBoxLayout +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QHBoxLayout* new_QHBoxLayout(); +QHBoxLayout* new_QHBoxLayout(QWidget* parent); +void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } + bool __nonzero__(QHBoxLayout* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QHeaderView : public QHeaderView +{ +public: + 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 +{ public: +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& old) { this->currentChanged(current, old); } +inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { this->dataChanged(topLeft, bottomRight, roles); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } +inline QModelIndex promoted_indexAt(const QPoint& p) const { return this->indexAt(p); } +inline void promoted_initStyleOption(QStyleOptionHeader* option) const { this->initStyleOption(option); } +inline void promoted_initialize() { this->initialize(); } +inline void promoted_initializeSections() { this->initializeSections(); } +inline void promoted_initializeSections(int start, int end) { this->initializeSections(start, end); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline QModelIndex promoted_moveCursor(int arg__1, Qt::KeyboardModifiers arg__2) { return this->moveCursor((QAbstractItemView::CursorAction)arg__1, arg__2); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const { this->paintSection(painter, rect, logicalIndex); } +inline void promoted_resizeSections() { this->resizeSections(); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { this->rowsInserted(parent, start, end); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) { this->scrollTo(index, hint); } +inline QSize promoted_sectionSizeFromContents(int logicalIndex) const { return this->sectionSizeFromContents(logicalIndex); } +inline void promoted_sectionsAboutToBeRemoved(const QModelIndex& parent, int logicalFirst, int logicalLast) { this->sectionsAboutToBeRemoved(parent, logicalFirst, logicalLast); } +inline void promoted_sectionsInserted(const QModelIndex& parent, int logicalFirst, int logicalLast) { this->sectionsInserted(parent, logicalFirst, logicalLast); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) { this->setSelection(rect, flags); } +inline void promoted_updateGeometries() { this->updateGeometries(); } +inline void promoted_updateSection(int logicalIndex) { this->updateSection(logicalIndex); } +inline int promoted_verticalOffset() const { return this->verticalOffset(); } +inline bool promoted_viewportEvent(QEvent* e) { return this->viewportEvent(e); } +inline QRect promoted_visualRect(const QModelIndex& index) const { return this->visualRect(index); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& old) { QHeaderView::currentChanged(current, old); } +inline void py_q_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QHeaderView::dataChanged(topLeft, bottomRight, roles); } +inline void py_q_doItemsLayout() { QHeaderView::doItemsLayout(); } +inline bool py_q_event(QEvent* e) { return QHeaderView::event(e); } +inline int py_q_horizontalOffset() const { return QHeaderView::horizontalOffset(); } +inline QModelIndex py_q_indexAt(const QPoint& p) const { return QHeaderView::indexAt(p); } +inline bool py_q_isIndexHidden(const QModelIndex& index) const { return QHeaderView::isIndexHidden(index); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QHeaderView::mouseDoubleClickEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QHeaderView::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QHeaderView::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QHeaderView::mouseReleaseEvent(e); } +inline QModelIndex py_q_moveCursor(int arg__1, Qt::KeyboardModifiers arg__2) { return QHeaderView::moveCursor((QAbstractItemView::CursorAction)arg__1, arg__2); } +inline void py_q_paintEvent(QPaintEvent* e) { QHeaderView::paintEvent(e); } +inline void py_q_paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const { QHeaderView::paintSection(painter, rect, logicalIndex); } +inline void py_q_reset() { QHeaderView::reset(); } +inline void py_q_rowsInserted(const QModelIndex& parent, int start, int end) { QHeaderView::rowsInserted(parent, start, end); } +inline void py_q_scrollContentsBy(int dx, int dy) { QHeaderView::scrollContentsBy(dx, dy); } +inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) { QHeaderView::scrollTo(index, hint); } +inline QSize py_q_sectionSizeFromContents(int logicalIndex) const { return QHeaderView::sectionSizeFromContents(logicalIndex); } +inline void py_q_setModel(QAbstractItemModel* model) { QHeaderView::setModel(model); } +inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) { QHeaderView::setSelection(rect, flags); } +inline void py_q_setVisible(bool v) { QHeaderView::setVisible(v); } +inline QSize py_q_sizeHint() const { return QHeaderView::sizeHint(); } +inline void py_q_updateGeometries() { QHeaderView::updateGeometries(); } +inline int py_q_verticalOffset() const { return QHeaderView::verticalOffset(); } +inline bool py_q_viewportEvent(QEvent* e) { return QHeaderView::viewportEvent(e); } +inline QRect py_q_visualRect(const QModelIndex& index) const { return QHeaderView::visualRect(index); } +inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return QHeaderView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QHeaderView : public QObject +{ Q_OBJECT +public: +public slots: +QHeaderView* new_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr); +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));} + void py_q_dataChanged(QHeaderView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_dataChanged(topLeft, bottomRight, roles));} + Qt::Alignment defaultAlignment(QHeaderView* theWrappedObject) const; + int defaultSectionSize(QHeaderView* theWrappedObject) const; + void py_q_doItemsLayout(QHeaderView* theWrappedObject){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_doItemsLayout());} + bool py_q_event(QHeaderView* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_event(e));} + int hiddenSectionCount(QHeaderView* theWrappedObject) const; + void hideSection(QHeaderView* theWrappedObject, int logicalIndex); + bool highlightSections(QHeaderView* theWrappedObject) const; + int py_q_horizontalOffset(QHeaderView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_horizontalOffset());} + QModelIndex py_q_indexAt(QHeaderView* theWrappedObject, const QPoint& p) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_indexAt(p));} + void initStyleOption(QHeaderView* theWrappedObject, QStyleOptionHeader* option) const; + void initialize(QHeaderView* theWrappedObject); + void initializeSections(QHeaderView* theWrappedObject); + void initializeSections(QHeaderView* theWrappedObject, int start, int end); + bool isFirstSectionMovable(QHeaderView* theWrappedObject) const; + bool py_q_isIndexHidden(QHeaderView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_isIndexHidden(index));} + bool isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const; + bool isSortIndicatorShown(QHeaderView* theWrappedObject) const; + int length(QHeaderView* theWrappedObject) const; + int logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const; + int logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const; + int logicalIndexAt(QHeaderView* theWrappedObject, int position) const; + int logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const; + int maximumSectionSize(QHeaderView* theWrappedObject) const; + int minimumSectionSize(QHeaderView* theWrappedObject) const; + void py_q_mouseDoubleClickEvent(QHeaderView* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} + void py_q_mouseMoveEvent(QHeaderView* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QHeaderView* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QHeaderView* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + QModelIndex py_q_moveCursor(QHeaderView* theWrappedObject, int arg__1, Qt::KeyboardModifiers arg__2){ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_moveCursor(arg__1, arg__2));} + void moveSection(QHeaderView* theWrappedObject, int from, int to); + int offset(QHeaderView* theWrappedObject) const; + Qt::Orientation orientation(QHeaderView* theWrappedObject) const; + void py_q_paintEvent(QHeaderView* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_paintEvent(e));} + void paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const; + void py_q_paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const{ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_paintSection(painter, rect, logicalIndex));} + void py_q_reset(QHeaderView* theWrappedObject){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_reset());} + void resetDefaultSectionSize(QHeaderView* theWrappedObject); + int resizeContentsPrecision(QHeaderView* theWrappedObject) const; + void resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size); + void resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode); + bool restoreState(QHeaderView* theWrappedObject, const QByteArray& state); + void py_q_rowsInserted(QHeaderView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_rowsInserted(parent, start, end));} + QByteArray saveState(QHeaderView* theWrappedObject) const; + void py_q_scrollContentsBy(QHeaderView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void py_q_scrollTo(QHeaderView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_scrollTo(index, hint));} + int sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const; + QHeaderView::ResizeMode sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) const; + int sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const; + QSize sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const; + QSize py_q_sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_sectionSizeFromContents(logicalIndex));} + int sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const; + int sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const; + bool sectionsClickable(QHeaderView* theWrappedObject) const; + bool sectionsHidden(QHeaderView* theWrappedObject) const; + bool sectionsMovable(QHeaderView* theWrappedObject) const; + bool sectionsMoved(QHeaderView* theWrappedObject) const; + void setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable); + void setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment); + void setDefaultSectionSize(QHeaderView* theWrappedObject, int size); + void setFirstSectionMovable(QHeaderView* theWrappedObject, bool movable); + void setHighlightSections(QHeaderView* theWrappedObject, bool highlight); + void setMaximumSectionSize(QHeaderView* theWrappedObject, int size); + void setMinimumSectionSize(QHeaderView* theWrappedObject, int size); + void py_q_setModel(QHeaderView* theWrappedObject, QAbstractItemModel* model){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_setModel(model));} + void setResizeContentsPrecision(QHeaderView* theWrappedObject, int precision); + void setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide); + void setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode); + void setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode); + void setSectionsClickable(QHeaderView* theWrappedObject, bool clickable); + void setSectionsMovable(QHeaderView* theWrappedObject, bool movable); + void py_q_setSelection(QHeaderView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags flags){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_setSelection(rect, flags));} + void setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order); + void setSortIndicatorShown(QHeaderView* theWrappedObject, bool show); + void setStretchLastSection(QHeaderView* theWrappedObject, bool stretch); + void py_q_setVisible(QHeaderView* theWrappedObject, bool v){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_setVisible(v));} + void showSection(QHeaderView* theWrappedObject, int logicalIndex); + QSize py_q_sizeHint(QHeaderView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_sizeHint());} + Qt::SortOrder sortIndicatorOrder(QHeaderView* theWrappedObject) const; + int sortIndicatorSection(QHeaderView* theWrappedObject) const; + bool stretchLastSection(QHeaderView* theWrappedObject) const; + int stretchSectionCount(QHeaderView* theWrappedObject) const; + void swapSections(QHeaderView* theWrappedObject, int first, int second); + void py_q_updateGeometries(QHeaderView* theWrappedObject){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_updateGeometries());} + int py_q_verticalOffset(QHeaderView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_verticalOffset());} + bool py_q_viewportEvent(QHeaderView* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_viewportEvent(e));} + int visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const; + int visualIndexAt(QHeaderView* theWrappedObject, int position) const; + QRect py_q_visualRect(QHeaderView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_visualRect(index));} + QRegion py_q_visualRegionForSelection(QHeaderView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp new file mode 100644 index 00000000..9700a266 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -0,0 +1,12258 @@ +#include "com_trolltech_qt_gui4.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QHelpEvent* PythonQtWrapper_QHelpEvent::new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos) +{ +return new QHelpEvent(type, pos, globalPos); } + +const QPoint* PythonQtWrapper_QHelpEvent::globalPos(QHelpEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + +int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +QHideEvent* PythonQtWrapper_QHideEvent::new_QHideEvent() +{ +return new QHideEvent(); } + + + +PythonQtShell_QHoverEvent::~PythonQtShell_QHoverEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QHoverEvent* PythonQtWrapper_QHoverEvent::new_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QHoverEvent(type, pos, oldPos, modifiers); } + +QPoint PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->oldPos()); +} + +const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const +{ + return &( theWrappedObject->oldPosF()); +} + +QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const +{ + return &( theWrappedObject->posF()); +} + + + +QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() +{ +return new QIconDragEvent(); } + + + +PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actualSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("actualSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIconEngine::actualSize(size0, mode1, state2); +} +void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addFile"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {nullptr, (void*)&fileName0, (void*)&size1, (void*)&mode2, (void*)&state3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIconEngine::addFile(fileName0, size1, mode2, state3); +} +void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPixmap&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&pixmap0, (void*)&mode1, (void*)&state2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIconEngine::addPixmap(pixmap0, mode1, state2); +} +QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availableSizes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIconEngine::availableSizes(mode0, state1); +} +QIconEngine* PythonQtShell_QIconEngine::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIconEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QIconEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QString PythonQtShell_QIconEngine::iconName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("iconName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIconEngine::iconName(); +} +QString PythonQtShell_QIconEngine::key() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("key"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIconEngine::key(); +} +void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) +{ +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 QRect&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIconEngine::pixmap(size0, mode1, state2); +} +bool PythonQtShell_QIconEngine::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIconEngine::read(in0); +} +bool PythonQtShell_QIconEngine::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIconEngine::write(out0); +} +QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine() +{ +return new PythonQtShell_QIconEngine(); } + +QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine(const QIconEngine& other) +{ +return new PythonQtShell_QIconEngine(other); } + +QSize PythonQtWrapper_QIconEngine::actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + return ( theWrappedObject->actualSize(size, mode, state)); +} + +void PythonQtWrapper_QIconEngine::addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addFile(fileName, size, mode, state)); +} + +void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addPixmap(pixmap, mode, state)); +} + +QList PythonQtWrapper_QIconEngine::availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->availableSizes(mode, state)); +} + +QIconEngine* PythonQtWrapper_QIconEngine::clone(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +QString PythonQtWrapper_QIconEngine::iconName(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->iconName()); +} + +bool PythonQtWrapper_QIconEngine::isNull(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QIconEngine::key(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +void PythonQtWrapper_QIconEngine::paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->paint(painter, rect, mode, state)); +} + +QPixmap PythonQtWrapper_QIconEngine::pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + return ( theWrappedObject->pixmap(size, mode, state)); +} + +bool PythonQtWrapper_QIconEngine::read(QIconEngine* theWrappedObject, QDataStream& in) +{ + return ( theWrappedObject->read(in)); +} + +QPixmap PythonQtWrapper_QIconEngine::scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale) +{ + return ( theWrappedObject->scaledPixmap(size, mode, state, scale)); +} + +bool PythonQtWrapper_QIconEngine::write(QIconEngine* theWrappedObject, QDataStream& out) const +{ + return ( theWrappedObject->write(out)); +} + + + +PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QImageIOHandler::canRead() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +int PythonQtShell_QImageIOHandler::currentImageNumber() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentImageNumber"); + 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("currentImageNumber", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::currentImageNumber(); +} +QRect PythonQtShell_QImageIOHandler::currentImageRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentImageRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::currentImageRect(); +} +int PythonQtShell_QImageIOHandler::imageCount() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("imageCount"); + 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("imageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::imageCount(); +} +bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("jumpToImage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::jumpToImage(imageNumber0); +} +bool PythonQtShell_QImageIOHandler::jumpToNextImage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("jumpToNextImage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::jumpToNextImage(); +} +int PythonQtShell_QImageIOHandler::loopCount() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loopCount"); + 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("loopCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::loopCount(); +} +int PythonQtShell_QImageIOHandler::nextImageDelay() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextImageDelay"); + 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("nextImageDelay", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::nextImageDelay(); +} +QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("option"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::option(option0); +} +bool PythonQtShell_QImageIOHandler::read(QImage* image0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QImage*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QImageIOHandler::ImageOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QImageIOHandler::setOption(option0, value1); +} +bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsOption", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::supportsOption(option0); +} +bool PythonQtShell_QImageIOHandler::write(const QImage& image0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QImage&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOHandler::write(image0); +} +QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() +{ +return new PythonQtShell_QImageIOHandler(); } + +bool PythonQtWrapper_QImageIOHandler::canRead(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->canRead()); +} + +int PythonQtWrapper_QImageIOHandler::currentImageNumber(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->currentImageNumber()); +} + +QRect PythonQtWrapper_QImageIOHandler::currentImageRect(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->currentImageRect()); +} + +QIODevice* PythonQtWrapper_QImageIOHandler::device(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QByteArray PythonQtWrapper_QImageIOHandler::format(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QImageIOHandler::imageCount(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->imageCount()); +} + +bool PythonQtWrapper_QImageIOHandler::jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber) +{ + return ( theWrappedObject->jumpToImage(imageNumber)); +} + +bool PythonQtWrapper_QImageIOHandler::jumpToNextImage(QImageIOHandler* theWrappedObject) +{ + return ( theWrappedObject->jumpToNextImage()); +} + +int PythonQtWrapper_QImageIOHandler::loopCount(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +int PythonQtWrapper_QImageIOHandler::nextImageDelay(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->nextImageDelay()); +} + +QVariant PythonQtWrapper_QImageIOHandler::option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->option(option)); +} + +bool PythonQtWrapper_QImageIOHandler::read(QImageIOHandler* theWrappedObject, QImage* image) +{ + return ( theWrappedObject->read(image)); +} + +void PythonQtWrapper_QImageIOHandler::setDevice(QImageIOHandler* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QImageIOHandler::setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QImageIOHandler::setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value) +{ + ( theWrappedObject->setOption(option, value)); +} + +bool PythonQtWrapper_QImageIOHandler::supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); +} + +bool PythonQtWrapper_QImageIOHandler::write(QImageIOHandler* theWrappedObject, const QImage& image) +{ + return ( theWrappedObject->write(image)); +} + + + +PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("capabilities"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("capabilities", methodInfo, result); + } else { + returnValue = *((QImageIOPlugin::Capabilities*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageIOPlugin::Capabilities(); +} +void PythonQtShell_QImageIOPlugin::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(); + } + } +} + QImageIOPlugin::childEvent(event0); +} +QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QImageIOHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QImageIOPlugin::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(); + } + } +} + QImageIOPlugin::customEvent(event0); +} +bool PythonQtShell_QImageIOPlugin::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 QImageIOPlugin::event(event0); +} +bool PythonQtShell_QImageIOPlugin::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 QImageIOPlugin::eventFilter(watched0, event1); +} +void PythonQtShell_QImageIOPlugin::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(); + } + } +} + QImageIOPlugin::timerEvent(event0); +} +QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) +{ +return new PythonQtShell_QImageIOPlugin(parent); } + +const QMetaObject* PythonQtShell_QImageIOPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QImageIOPlugin::staticMetaObject); + } else { + return &QImageIOPlugin::staticMetaObject; + } +} +int PythonQtShell_QImageIOPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QImageIOPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QImageIOPlugin::Capabilities PythonQtWrapper_QImageIOPlugin::capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const +{ + return ( theWrappedObject->capabilities(device, format)); +} + +QImageIOHandler* PythonQtWrapper_QImageIOPlugin::create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const +{ + return ( theWrappedObject->create(device, format)); +} + + + +QImageReader* PythonQtWrapper_QImageReader::new_QImageReader() +{ +return new QImageReader(); } + +QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(QIODevice* device, const QByteArray& format) +{ +return new QImageReader(device, format); } + +QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(const QString& fileName, const QByteArray& format) +{ +return new QImageReader(fileName, format); } + +bool PythonQtWrapper_QImageReader::autoDetectImageFormat(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->autoDetectImageFormat()); +} + +bool PythonQtWrapper_QImageReader::autoTransform(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->autoTransform()); +} + +QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->backgroundColor()); +} + +bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->canRead()); +} + +QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->clipRect()); +} + +int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->currentImageNumber()); +} + +QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->currentImageRect()); +} + +bool PythonQtWrapper_QImageReader::decideFormatFromContent(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->decideFormatFromContent()); +} + +QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +float PythonQtWrapper_QImageReader::gamma(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); +} + +int PythonQtWrapper_QImageReader::imageCount(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->imageCount()); +} + +QImage::Format PythonQtWrapper_QImageReader::imageFormat(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->imageFormat()); +} + +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(QIODevice* device) +{ + return (QImageReader::imageFormat(device)); +} + +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(const QString& fileName) +{ + return (QImageReader::imageFormat(fileName)); +} + +QList PythonQtWrapper_QImageReader::static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType) +{ + return (QImageReader::imageFormatsForMimeType(mimeType)); +} + +bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) +{ + return ( theWrappedObject->jumpToImage(imageNumber)); +} + +bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) +{ + return ( theWrappedObject->jumpToNextImage()); +} + +int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->nextImageDelay()); +} + +int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) +{ + return ( theWrappedObject->read()); +} + +QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->scaledClipRect()); +} + +QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->scaledSize()); +} + +void PythonQtWrapper_QImageReader::setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoDetectImageFormat(enabled)); +} + +void PythonQtWrapper_QImageReader::setAutoTransform(QImageReader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoTransform(enabled)); +} + +void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setBackgroundColor(color)); +} + +void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setClipRect(rect)); +} + +void PythonQtWrapper_QImageReader::setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored) +{ + ( theWrappedObject->setDecideFormatFromContent(ignored)); +} + +void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QImageReader::setGamma(QImageReader* theWrappedObject, float gamma) +{ + ( theWrappedObject->setGamma(gamma)); +} + +void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setScaledClipRect(rect)); +} + +void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setScaledSize(size)); +} + +QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QByteArray PythonQtWrapper_QImageReader::subType(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->subType()); +} + +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() +{ + return (QImageReader::supportedImageFormats()); +} + +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedMimeTypes() +{ + return (QImageReader::supportedMimeTypes()); +} + +QList PythonQtWrapper_QImageReader::supportedSubTypes(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->supportedSubTypes()); +} + +bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->supportsAnimation()); +} + +bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); +} + +QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->text(key)); +} + +QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->textKeys()); +} + +QString PythonQtWrapper_QImageReader::static_QImageReader_tr(const char* sourceText, const char* disambiguation, int n) +{ + return (QImageReader::tr(sourceText, disambiguation, n)); +} + +QString PythonQtWrapper_QImageReader::static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation, int n) +{ + return (QImageReader::trUtf8(sourceText, disambiguation, n)); +} + + + +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter() +{ +return new QImageWriter(); } + +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(QIODevice* device, const QByteArray& format) +{ +return new QImageWriter(device, format); } + +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(const QString& fileName, const QByteArray& format) +{ +return new QImageWriter(fileName, format); } + +bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->canWrite()); +} + +int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->compression()); +} + +QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); +} + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType) +{ + return (QImageWriter::imageFormatsForMimeType(mimeType)); +} + +bool PythonQtWrapper_QImageWriter::optimizedWrite(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->optimizedWrite()); +} + +bool PythonQtWrapper_QImageWriter::progressiveScanWrite(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->progressiveScanWrite()); +} + +int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) +{ + ( theWrappedObject->setCompression(compression)); +} + +void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) +{ + ( theWrappedObject->setGamma(gamma)); +} + +void PythonQtWrapper_QImageWriter::setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize) +{ + ( theWrappedObject->setOptimizedWrite(optimize)); +} + +void PythonQtWrapper_QImageWriter::setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive) +{ + ( theWrappedObject->setProgressiveScanWrite(progressive)); +} + +void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QImageWriter::setSubType(QImageWriter* theWrappedObject, const QByteArray& type) +{ + ( theWrappedObject->setSubType(type)); +} + +void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) +{ + ( theWrappedObject->setText(key, text)); +} + +QByteArray PythonQtWrapper_QImageWriter::subType(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->subType()); +} + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() +{ + return (QImageWriter::supportedImageFormats()); +} + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedMimeTypes() +{ + return (QImageWriter::supportedMimeTypes()); +} + +QList PythonQtWrapper_QImageWriter::supportedSubTypes(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->supportedSubTypes()); +} + +bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); +} + +QString PythonQtWrapper_QImageWriter::static_QImageWriter_tr(const char* sourceText, const char* disambiguation, int n) +{ + return (QImageWriter::tr(sourceText, disambiguation, n)); +} + +QString PythonQtWrapper_QImageWriter::static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation, int n) +{ + return (QImageWriter::trUtf8(sourceText, disambiguation, n)); +} + +bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) +{ + return ( theWrappedObject->write(image)); +} + + + +PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QInputDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QInputDialog::accept(); +} +void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QInputDialog::actionEvent(event0); +} +void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::changeEvent(arg__1); +} +void PythonQtShell_QInputDialog::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(); + } + } +} + QInputDialog::childEvent(event0); +} +void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::closeEvent(arg__1); +} +void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QInputDialog::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(); + } + } +} + QInputDialog::customEvent(event0); +} +int PythonQtShell_QInputDialog::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 QInputDialog::devType(); +} +void PythonQtShell_QInputDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::done(result0); +} +void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QInputDialog::dragEnterEvent(event0); +} +void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QInputDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QInputDialog::dragMoveEvent(event0); +} +void PythonQtShell_QInputDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QInputDialog::dropEvent(event0); +} +void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QInputDialog::enterEvent(event0); +} +bool PythonQtShell_QInputDialog::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 QInputDialog::event(event0); +} +bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QInputDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QInputDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::exec(); +} +void PythonQtShell_QInputDialog::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(); + } + } +} + QInputDialog::focusInEvent(event0); +} +bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QInputDialog::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(); + } + } +} + QInputDialog::focusOutEvent(event0); +} +bool PythonQtShell_QInputDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::hasHeightForWidth(); +} +int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::heightForWidth(arg__1); +} +void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::hideEvent(event0); +} +void PythonQtShell_QInputDialog::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(); + } + } +} + QInputDialog::initPainter(painter0); +} +void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QInputDialog::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(); + } + } +} + QInputDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QInputDialog::leaveEvent(event0); +} +int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::metric(arg__1); +} +QSize PythonQtShell_QInputDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::minimumSizeHint(); +} +void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QInputDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QInputDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QInputDialog::mousePressEvent(event0); +} +void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QInputDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QInputDialog::moveEvent(event0); +} +bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::paintEngine(); +} +void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QInputDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QInputDialog::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 QInputDialog::redirected(offset0); +} +void PythonQtShell_QInputDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QInputDialog::reject(); +} +void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::resizeEvent(arg__1); +} +void PythonQtShell_QInputDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QInputDialog::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 QInputDialog::sharedPainter(); +} +void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::showEvent(arg__1); +} +QSize PythonQtShell_QInputDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::sizeHint(); +} +void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QInputDialog::tabletEvent(event0); +} +void PythonQtShell_QInputDialog::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(); + } + } +} + QInputDialog::timerEvent(event0); +} +void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QInputDialog::wheelEvent(event0); +} +QInputDialog* PythonQtWrapper_QInputDialog::new_QInputDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QInputDialog(parent, flags); } + +const QMetaObject* PythonQtShell_QInputDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QInputDialog::staticMetaObject); + } else { + return &QInputDialog::staticMetaObject; + } +} +int PythonQtShell_QInputDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QInputDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QInputDialog::cancelButtonText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->cancelButtonText()); +} + +QStringList PythonQtWrapper_QInputDialog::comboBoxItems(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->comboBoxItems()); +} + +int PythonQtWrapper_QInputDialog::doubleDecimals(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleDecimals()); +} + +double PythonQtWrapper_QInputDialog::doubleMaximum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleMaximum()); +} + +double PythonQtWrapper_QInputDialog::doubleMinimum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleMinimum()); +} + +double PythonQtWrapper_QInputDialog::doubleStep(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleStep()); +} + +double PythonQtWrapper_QInputDialog::doubleValue(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleValue()); +} + +double PythonQtWrapper_QInputDialog::static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value, double minValue, double maxValue, int decimals, bool* ok, Qt::WindowFlags flags) +{ + return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags)); +} + +double PythonQtWrapper_QInputDialog::static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value, double minValue, double maxValue, int decimals, bool* ok, Qt::WindowFlags flags, double step) +{ + return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags, step)); +} + +int PythonQtWrapper_QInputDialog::static_QInputDialog_getInt(QWidget* parent, const QString& title, const QString& label, int value, int minValue, int maxValue, int step, bool* ok, Qt::WindowFlags flags) +{ + return (QInputDialog::getInt(parent, title, label, value, minValue, maxValue, step, ok, flags)); +} + +QString PythonQtWrapper_QInputDialog::static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& items, int current, bool editable, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) +{ + return (QInputDialog::getItem(parent, title, label, items, current, editable, ok, flags, inputMethodHints)); +} + +QString PythonQtWrapper_QInputDialog::static_QInputDialog_getMultiLineText(QWidget* parent, const QString& title, const QString& label, const QString& text, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) +{ + return (QInputDialog::getMultiLineText(parent, title, label, text, ok, flags, inputMethodHints)); +} + +QString PythonQtWrapper_QInputDialog::static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo, const QString& text, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) +{ + return (QInputDialog::getText(parent, title, label, echo, text, ok, flags, inputMethodHints)); +} + +QInputDialog::InputMode PythonQtWrapper_QInputDialog::inputMode(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->inputMode()); +} + +int PythonQtWrapper_QInputDialog::intMaximum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intMaximum()); +} + +int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intMinimum()); +} + +int PythonQtWrapper_QInputDialog::intStep(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intStep()); +} + +int PythonQtWrapper_QInputDialog::intValue(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intValue()); +} + +bool PythonQtWrapper_QInputDialog::isComboBoxEditable(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->isComboBoxEditable()); +} + +QString PythonQtWrapper_QInputDialog::labelText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->labelText()); +} + +QString PythonQtWrapper_QInputDialog::okButtonText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->okButtonText()); +} + +void PythonQtWrapper_QInputDialog::open(QInputDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QInputDialog::InputDialogOptions PythonQtWrapper_QInputDialog::options(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +void PythonQtWrapper_QInputDialog::setCancelButtonText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setCancelButtonText(text)); +} + +void PythonQtWrapper_QInputDialog::setComboBoxEditable(QInputDialog* theWrappedObject, bool editable) +{ + ( theWrappedObject->setComboBoxEditable(editable)); +} + +void PythonQtWrapper_QInputDialog::setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items) +{ + ( theWrappedObject->setComboBoxItems(items)); +} + +void PythonQtWrapper_QInputDialog::setDoubleDecimals(QInputDialog* theWrappedObject, int decimals) +{ + ( theWrappedObject->setDoubleDecimals(decimals)); +} + +void PythonQtWrapper_QInputDialog::setDoubleMaximum(QInputDialog* theWrappedObject, double max) +{ + ( theWrappedObject->setDoubleMaximum(max)); +} + +void PythonQtWrapper_QInputDialog::setDoubleMinimum(QInputDialog* theWrappedObject, double min) +{ + ( theWrappedObject->setDoubleMinimum(min)); +} + +void PythonQtWrapper_QInputDialog::setDoubleRange(QInputDialog* theWrappedObject, double min, double max) +{ + ( theWrappedObject->setDoubleRange(min, max)); +} + +void PythonQtWrapper_QInputDialog::setDoubleStep(QInputDialog* theWrappedObject, double step) +{ + ( theWrappedObject->setDoubleStep(step)); +} + +void PythonQtWrapper_QInputDialog::setDoubleValue(QInputDialog* theWrappedObject, double value) +{ + ( theWrappedObject->setDoubleValue(value)); +} + +void PythonQtWrapper_QInputDialog::setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode) +{ + ( theWrappedObject->setInputMode(mode)); +} + +void PythonQtWrapper_QInputDialog::setIntMaximum(QInputDialog* theWrappedObject, int max) +{ + ( theWrappedObject->setIntMaximum(max)); +} + +void PythonQtWrapper_QInputDialog::setIntMinimum(QInputDialog* theWrappedObject, int min) +{ + ( theWrappedObject->setIntMinimum(min)); +} + +void PythonQtWrapper_QInputDialog::setIntRange(QInputDialog* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setIntRange(min, max)); +} + +void PythonQtWrapper_QInputDialog::setIntStep(QInputDialog* theWrappedObject, int step) +{ + ( theWrappedObject->setIntStep(step)); +} + +void PythonQtWrapper_QInputDialog::setIntValue(QInputDialog* theWrappedObject, int value) +{ + ( theWrappedObject->setIntValue(value)); +} + +void PythonQtWrapper_QInputDialog::setLabelText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setLabelText(text)); +} + +void PythonQtWrapper_QInputDialog::setOkButtonText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setOkButtonText(text)); +} + +void PythonQtWrapper_QInputDialog::setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QInputDialog::setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QInputDialog::setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode) +{ + ( theWrappedObject->setTextEchoMode(mode)); +} + +void PythonQtWrapper_QInputDialog::setTextValue(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setTextValue(text)); +} + +bool PythonQtWrapper_QInputDialog::testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + +QLineEdit::EchoMode PythonQtWrapper_QInputDialog::textEchoMode(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->textEchoMode()); +} + +QString PythonQtWrapper_QInputDialog::textValue(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->textValue()); +} + + + +PythonQtShell_QInputEvent::~PythonQtShell_QInputEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QInputEvent* PythonQtWrapper_QInputEvent::new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QInputEvent(type, modifiers); } + +Qt::KeyboardModifiers PythonQtWrapper_QInputEvent::modifiers(QInputEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) +{ + ( theWrappedObject->setModifiers(amodifiers)); +} + +void PythonQtWrapper_QInputEvent::setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp) +{ + ( theWrappedObject->setTimestamp(atimestamp)); +} + +ulong PythonQtWrapper_QInputEvent::timestamp(QInputEvent* theWrappedObject) const +{ + return ( theWrappedObject->timestamp()); +} + + + +QRectF PythonQtWrapper_QInputMethod::anchorRectangle(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->anchorRectangle()); +} + +QRectF PythonQtWrapper_QInputMethod::cursorRectangle(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->cursorRectangle()); +} + +Qt::LayoutDirection PythonQtWrapper_QInputMethod::inputDirection(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->inputDirection()); +} + +QRectF PythonQtWrapper_QInputMethod::inputItemClipRectangle(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->inputItemClipRectangle()); +} + +QRectF PythonQtWrapper_QInputMethod::inputItemRectangle(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->inputItemRectangle()); +} + +QTransform PythonQtWrapper_QInputMethod::inputItemTransform(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->inputItemTransform()); +} + +bool PythonQtWrapper_QInputMethod::isAnimating(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->isAnimating()); +} + +bool PythonQtWrapper_QInputMethod::isVisible(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +QRectF PythonQtWrapper_QInputMethod::keyboardRectangle(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->keyboardRectangle()); +} + +QLocale PythonQtWrapper_QInputMethod::locale(QInputMethod* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +QVariant PythonQtWrapper_QInputMethod::static_QInputMethod_queryFocusObject(Qt::InputMethodQuery query, QVariant argument) +{ + return (QInputMethod::queryFocusObject(query, argument)); +} + +void PythonQtWrapper_QInputMethod::setInputItemRectangle(QInputMethod* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setInputItemRectangle(rect)); +} + +void PythonQtWrapper_QInputMethod::setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform) +{ + ( theWrappedObject->setInputItemTransform(transform)); +} + +void PythonQtWrapper_QInputMethod::setVisible(QInputMethod* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + + + +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent() +{ +return new QInputMethodEvent(); } + +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QInputMethodEvent& other) +{ +return new QInputMethodEvent(other); } + +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QString& preeditText, const QList& attributes) +{ +return new QInputMethodEvent(preeditText, attributes); } + +const QList* PythonQtWrapper_QInputMethodEvent::attributes(QInputMethodEvent* theWrappedObject) const +{ + return &( theWrappedObject->attributes()); +} + +const QString* PythonQtWrapper_QInputMethodEvent::commitString(QInputMethodEvent* theWrappedObject) const +{ + return &( theWrappedObject->commitString()); +} + +const QString* PythonQtWrapper_QInputMethodEvent::preeditString(QInputMethodEvent* theWrappedObject) const +{ + return &( theWrappedObject->preeditString()); +} + +int PythonQtWrapper_QInputMethodEvent::replacementLength(QInputMethodEvent* theWrappedObject) const +{ + return ( theWrappedObject->replacementLength()); +} + +int PythonQtWrapper_QInputMethodEvent::replacementStart(QInputMethodEvent* theWrappedObject) const +{ + return ( theWrappedObject->replacementStart()); +} + +void PythonQtWrapper_QInputMethodEvent::setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom, int replaceLength) +{ + ( theWrappedObject->setCommitString(commitString, replaceFrom, replaceLength)); +} + + + +PythonQtShell_QInputMethodEvent__Attribute::~PythonQtShell_QInputMethodEvent__Attribute() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l) +{ +return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l); } + +QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val) +{ +return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l, val); } + + + +QInputMethodQueryEvent* PythonQtWrapper_QInputMethodQueryEvent::new_QInputMethodQueryEvent(Qt::InputMethodQueries queries) +{ +return new QInputMethodQueryEvent(queries); } + +Qt::InputMethodQueries PythonQtWrapper_QInputMethodQueryEvent::queries(QInputMethodQueryEvent* theWrappedObject) const +{ + return ( theWrappedObject->queries()); +} + +void PythonQtWrapper_QInputMethodQueryEvent::setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value) +{ + ( theWrappedObject->setValue(query, value)); +} + +QVariant PythonQtWrapper_QInputMethodQueryEvent::value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( theWrappedObject->value(query)); +} + + + +PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QIntValidator::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(); + } + } +} + QIntValidator::childEvent(event0); +} +void PythonQtShell_QIntValidator::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(); + } + } +} + QIntValidator::customEvent(event0); +} +bool PythonQtShell_QIntValidator::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 QIntValidator::event(event0); +} +bool PythonQtShell_QIntValidator::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 QIntValidator::eventFilter(watched0, event1); +} +void PythonQtShell_QIntValidator::fixup(QString& input0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIntValidator::fixup(input0); +} +void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&bottom0, (void*)&top1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIntValidator::setRange(bottom0, top1); +} +void PythonQtShell_QIntValidator::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(); + } + } +} + QIntValidator::timerEvent(event0); +} +QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIntValidator::validate(arg__1, arg__2); +} +QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(QObject* parent) +{ +return new PythonQtShell_QIntValidator(parent); } + +QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(int bottom, int top, QObject* parent) +{ +return new PythonQtShell_QIntValidator(bottom, top, parent); } + +const QMetaObject* PythonQtShell_QIntValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIntValidator::staticMetaObject); + } else { + return &QIntValidator::staticMetaObject; + } +} +int PythonQtShell_QIntValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QIntValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QIntValidator::bottom(QIntValidator* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setBottom(arg__1)); +} + +void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top) +{ + ( theWrappedObject->setRange(bottom, top)); +} + +void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setTop(arg__1)); +} + +int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + + + +PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QItemDelegate::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(); + } + } +} + QItemDelegate::childEvent(event0); +} +QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemDelegate::createEditor(parent0, option1, index2); +} +void PythonQtShell_QItemDelegate::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(); + } + } +} + QItemDelegate::customEvent(event0); +} +void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("destroyEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::destroyEditor(editor0, index1); +} +void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawCheck"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "Qt::CheckState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::drawCheck(painter0, option1, rect2, state3); +} +void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawDecoration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); +} +void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawDisplay"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::drawDisplay(painter0, option1, rect2, text3); +} +void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawFocus"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::drawFocus(painter0, option1, rect2); +} +bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemDelegate::editorEvent(event0, model1, option2, index3); +} +bool PythonQtShell_QItemDelegate::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 QItemDelegate::event(event0); +} +bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, 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*)&object0, (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 QItemDelegate::eventFilter(object0, event1); +} +bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +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[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemDelegate::helpEvent(event0, view1, option2, index3); +} +void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +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 QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::paint(painter0, option1, index2); +} +QVector PythonQtShell_QItemDelegate::paintingRoles() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintingRoles"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemDelegate::paintingRoles(); +} +void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::setEditorData(editor0, index1); +} +void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModelData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::setModelData(editor0, model1, index2); +} +QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) 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[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemDelegate::sizeHint(option0, index1); +} +void PythonQtShell_QItemDelegate::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(); + } + } +} + QItemDelegate::timerEvent(event0); +} +void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemDelegate::updateEditorGeometry(editor0, option1, index2); +} +QItemDelegate* PythonQtWrapper_QItemDelegate::new_QItemDelegate(QObject* parent) +{ +return new PythonQtShell_QItemDelegate(parent); } + +const QMetaObject* PythonQtShell_QItemDelegate::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemDelegate::staticMetaObject); + } else { + return &QItemDelegate::staticMetaObject; + } +} +int PythonQtShell_QItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QItemDelegate::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPixmap PythonQtWrapper_QItemDelegate::decoration(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_decoration(option, variant)); +} + +QRect PythonQtWrapper_QItemDelegate::doCheck(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_doCheck(option, bounding, variant)); +} + +void PythonQtWrapper_QItemDelegate::drawBackground(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawBackground(painter, option, index)); +} + +void PythonQtWrapper_QItemDelegate::drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawCheck(painter, option, rect, state)); +} + +void PythonQtWrapper_QItemDelegate::drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawDecoration(painter, option, rect, pixmap)); +} + +void PythonQtWrapper_QItemDelegate::drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawDisplay(painter, option, rect, text)); +} + +void PythonQtWrapper_QItemDelegate::drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawFocus(painter, option, rect)); +} + +bool PythonQtWrapper_QItemDelegate::hasClipping(QItemDelegate* theWrappedObject) const +{ + return ( theWrappedObject->hasClipping()); +} + +QItemEditorFactory* PythonQtWrapper_QItemDelegate::itemEditorFactory(QItemDelegate* theWrappedObject) const +{ + return ( theWrappedObject->itemEditorFactory()); +} + +QRect PythonQtWrapper_QItemDelegate::rect(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index, int role) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_rect(option, index, role)); +} + +QPixmap PythonQtWrapper_QItemDelegate::static_QItemDelegate_selectedPixmap(const QPixmap& pixmap, const QPalette& palette, bool enabled) +{ + return (PythonQtPublicPromoter_QItemDelegate::promoted_selectedPixmap(pixmap, palette, enabled)); +} + +void PythonQtWrapper_QItemDelegate::setClipping(QItemDelegate* theWrappedObject, bool clip) +{ + ( theWrappedObject->setClipping(clip)); +} + +void PythonQtWrapper_QItemDelegate::setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory) +{ + ( theWrappedObject->setItemEditorFactory(factory)); +} + +QStyleOptionViewItem PythonQtWrapper_QItemDelegate::setOptions(QItemDelegate* theWrappedObject, const QModelIndex& index, const QStyleOptionViewItem& option) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setOptions(index, option)); +} + +QRect PythonQtWrapper_QItemDelegate::textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_textRectangle(painter, rect, font, text)); +} + + + +PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createWidget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("valuePropertyName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QByteArray"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QByteArray(); +} +QItemEditorCreatorBase* PythonQtWrapper_QItemEditorCreatorBase::new_QItemEditorCreatorBase() +{ +return new PythonQtShell_QItemEditorCreatorBase(); } + +QWidget* PythonQtWrapper_QItemEditorCreatorBase::createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const +{ + return ( theWrappedObject->createWidget(parent)); +} + +QByteArray PythonQtWrapper_QItemEditorCreatorBase::valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const +{ + return ( theWrappedObject->valuePropertyName()); +} + + + +PythonQtShell_QItemEditorFactory::~PythonQtShell_QItemEditorFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*" , "int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemEditorFactory::createEditor(userType0, parent1); +} +QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("valuePropertyName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QByteArray" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemEditorFactory::valuePropertyName(userType0); +} +QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::new_QItemEditorFactory() +{ +return new PythonQtShell_QItemEditorFactory(); } + +QWidget* PythonQtWrapper_QItemEditorFactory::createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const +{ + return ( theWrappedObject->createEditor(userType, parent)); +} + +const QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_defaultFactory() +{ + return (QItemEditorFactory::defaultFactory()); +} + +void PythonQtWrapper_QItemEditorFactory::registerEditor(QItemEditorFactory* theWrappedObject, int userType, QItemEditorCreatorBase* creator) +{ + ( theWrappedObject->registerEditor(userType, creator)); +} + +void PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory) +{ + (QItemEditorFactory::setDefaultFactory(factory)); +} + +QByteArray PythonQtWrapper_QItemEditorFactory::valuePropertyName(QItemEditorFactory* theWrappedObject, int userType) const +{ + return ( theWrappedObject->valuePropertyName(userType)); +} + + + +QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection() +{ +return new QItemSelection(); } + +QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +return new QItemSelection(topLeft, bottomRight); } + +void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->append(t)); +} + +void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QList& t) +{ + ( theWrappedObject->append(t)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::at(QItemSelection* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::back(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->back()); +} + +void PythonQtWrapper_QItemSelection::clear(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::constFirst(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::constLast(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->contains(index)); +} + +int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->count(t)); +} + +void PythonQtWrapper_QItemSelection::detachShared(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->detachShared()); +} + +bool PythonQtWrapper_QItemSelection::empty(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QItemSelection::endsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::first(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QList PythonQtWrapper_QItemSelection::static_QItemSelection_fromVector(const QVector& vector) +{ + return (QItemSelection::fromVector(vector)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::front(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->front()); +} + +int PythonQtWrapper_QItemSelection::indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +QList PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->indexes()); +} + +bool PythonQtWrapper_QItemSelection::isEmpty(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QItemSelection::isSharedWith(QItemSelection* theWrappedObject, const QList& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::last(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QItemSelection::lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QItemSelection::length(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->merge(other, command)); +} + +QList PythonQtWrapper_QItemSelection::mid(QItemSelection* theWrappedObject, int pos, int length) const +{ + return ( theWrappedObject->mid(pos, length)); +} + +void PythonQtWrapper_QItemSelection::move(QItemSelection* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QItemSelection::__ne__(QItemSelection* theWrappedObject, const QList& l) const +{ + return ( (*theWrappedObject)!= l); +} + +bool PythonQtWrapper_QItemSelection::__eq__(QItemSelection* theWrappedObject, const QList& l) const +{ + return ( (*theWrappedObject)== l); +} + +void PythonQtWrapper_QItemSelection::pop_back(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QItemSelection::pop_front(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->prepend(t)); +} + +void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->push_front(t)); +} + +int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QItemSelection::reserve(QItemSelection* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ + ( theWrappedObject->select(topLeft, bottomRight)); +} + +void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) +{ + (QItemSelection::split(range, other, result)); +} + +bool PythonQtWrapper_QItemSelection::startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, QList& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swap(i, j)); +} + +void PythonQtWrapper_QItemSelection::swapItemsAt(QItemSelection* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swapItemsAt(i, j)); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QVector PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->toVector()); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const +{ + return ( theWrappedObject->value(i, defaultValue)); +} + + + +PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QItemSelectionModel::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(); + } + } +} + QItemSelectionModel::childEvent(event0); +} +void PythonQtShell_QItemSelectionModel::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QItemSelectionModel::clear(); +} +void PythonQtShell_QItemSelectionModel::clearCurrentIndex() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clearCurrentIndex"); + 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(); + } + } +} + QItemSelectionModel::clearCurrentIndex(); +} +void PythonQtShell_QItemSelectionModel::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(); + } + } +} + QItemSelectionModel::customEvent(event0); +} +bool PythonQtShell_QItemSelectionModel::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 QItemSelectionModel::event(event0); +} +bool PythonQtShell_QItemSelectionModel::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 QItemSelectionModel::eventFilter(watched0, event1); +} +void PythonQtShell_QItemSelectionModel::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QItemSelectionModel::reset(); +} +void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("select"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selection0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemSelectionModel::select(selection0, command1); +} +void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("select"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemSelectionModel::select(index0, command1); +} +void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCurrentIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QItemSelectionModel::setCurrentIndex(index0, command1); +} +void PythonQtShell_QItemSelectionModel::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(); + } + } +} + QItemSelectionModel::timerEvent(event0); +} +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model) +{ +return new PythonQtShell_QItemSelectionModel(model); } + +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent) +{ +return new PythonQtShell_QItemSelectionModel(model, parent); } + +const QMetaObject* PythonQtShell_QItemSelectionModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemSelectionModel::staticMetaObject); + } else { + return &QItemSelectionModel::staticMetaObject; + } +} +int PythonQtShell_QItemSelectionModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QItemSelectionModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const +{ + return ( theWrappedObject->columnIntersectsSelection(column, parent)); +} + +QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +void PythonQtWrapper_QItemSelectionModel::emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection) +{ + ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_emitSelectionChanged(newSelection, oldSelection)); +} + +bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const +{ + return ( theWrappedObject->hasSelection()); +} + +bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const +{ + return ( theWrappedObject->isColumnSelected(column, parent)); +} + +bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->isRowSelected(row, parent)); +} + +bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isSelected(index)); +} + +QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) +{ + return ( theWrappedObject->model()); +} + +const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->rowIntersectsSelection(row, parent)); +} + +QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const +{ + return ( theWrappedObject->selectedColumns(row)); +} + +QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const +{ + return ( theWrappedObject->selectedIndexes()); +} + +QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const +{ + return ( theWrappedObject->selectedRows(column)); +} + +const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const +{ + return ( theWrappedObject->selection()); +} + +void PythonQtWrapper_QItemSelectionModel::setModel(QItemSelectionModel* theWrappedObject, QAbstractItemModel* model) +{ + ( theWrappedObject->setModel(model)); +} + + + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange() +{ +return new QItemSelectionRange(); } + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other) +{ +return new QItemSelectionRange(other); } + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index) +{ +return new QItemSelectionRange(index); } + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topL, const QModelIndex& bottomR) +{ +return new QItemSelectionRange(topL, bottomR); } + +int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const +{ + return &( theWrappedObject->bottomRight()); +} + +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->contains(index)); +} + +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const +{ + return ( theWrappedObject->contains(row, column, parentIndex)); +} + +int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +QList PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->indexes()); +} + +QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( theWrappedObject->intersected(other)); +} + +bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( theWrappedObject->intersects(other)); +} + +bool PythonQtWrapper_QItemSelectionRange::isEmpty(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QItemSelectionRange::__ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QItemSelectionRange::__lt__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( (*theWrappedObject)< other); +} + +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::operator_assign(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QItemSelectionRange::__eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +{ + return ( (*theWrappedObject)== other); +} + +QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QItemSelectionRange::swap(QItemSelectionRange* theWrappedObject, QItemSelectionRange& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const +{ + return &( theWrappedObject->topLeft()); +} + +int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QItemSelectionRange::py_toString(QItemSelectionRange* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QKeyEvent::~PythonQtShell_QKeyEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text, bool autorep, ushort count) +{ +return new PythonQtShell_QKeyEvent(type, key, modifiers, text, autorep, count); } + +QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text, bool autorep, ushort count) +{ +return new PythonQtShell_QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count); } + +int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->isAutoRepeat()); +} + +int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const +{ + return ( theWrappedObject->matches(key)); +} + +Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); +} + +unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->nativeModifiers()); +} + +unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->nativeScanCode()); +} + +unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->nativeVirtualKey()); +} + +QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QKeyEventTransition::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(); + } + } +} + QKeyEventTransition::childEvent(event0); +} +void PythonQtShell_QKeyEventTransition::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(); + } + } +} + QKeyEventTransition::customEvent(event0); +} +bool PythonQtShell_QKeyEventTransition::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 QKeyEventTransition::event(e0); +} +bool PythonQtShell_QKeyEventTransition::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 QKeyEventTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + 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("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeyEventTransition::eventTest(event0); +} +void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + 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(); + } + } +} + QKeyEventTransition::onTransition(event0); +} +void PythonQtShell_QKeyEventTransition::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(); + } + } +} + QKeyEventTransition::timerEvent(event0); +} +QKeyEventTransition* PythonQtWrapper_QKeyEventTransition::new_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState) +{ +return new PythonQtShell_QKeyEventTransition(object, type, key, sourceState); } + +QKeyEventTransition* PythonQtWrapper_QKeyEventTransition::new_QKeyEventTransition(QState* sourceState) +{ +return new PythonQtShell_QKeyEventTransition(sourceState); } + +const QMetaObject* PythonQtShell_QKeyEventTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QKeyEventTransition::staticMetaObject); + } else { + return &QKeyEventTransition::staticMetaObject; + } +} +int PythonQtShell_QKeyEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QKeyEventTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QKeyEventTransition::key(QKeyEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QKeyEventTransition::modifierMask(QKeyEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->modifierMask()); +} + +void PythonQtWrapper_QKeyEventTransition::setKey(QKeyEventTransition* theWrappedObject, int key) +{ + ( theWrappedObject->setKey(key)); +} + +void PythonQtWrapper_QKeyEventTransition::setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifierMask(modifiers)); +} + + + +PythonQtShell_QKeySequenceEdit::~PythonQtShell_QKeySequenceEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::actionEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::changeEvent(arg__1); +} +void PythonQtShell_QKeySequenceEdit::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(); + } + } +} + QKeySequenceEdit::childEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QKeySequenceEdit::closeEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::contextMenuEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::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(); + } + } +} + QKeySequenceEdit::customEvent(event0); +} +int PythonQtShell_QKeySequenceEdit::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 QKeySequenceEdit::devType(); +} +void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::dragEnterEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::dragLeaveEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::dragMoveEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::dropEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QKeySequenceEdit::enterEvent(event0); +} +bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::event(arg__1); +} +bool PythonQtShell_QKeySequenceEdit::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 QKeySequenceEdit::eventFilter(watched0, event1); +} +void PythonQtShell_QKeySequenceEdit::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(); + } + } +} + QKeySequenceEdit::focusInEvent(event0); +} +bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QKeySequenceEdit::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(); + } + } +} + QKeySequenceEdit::focusOutEvent(event0); +} +bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::hasHeightForWidth(); +} +int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::heightForWidth(arg__1); +} +void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::hideEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::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(); + } + } +} + QKeySequenceEdit::initPainter(painter0); +} +void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::keyPressEvent(arg__1); +} +void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::keyReleaseEvent(arg__1); +} +void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QKeySequenceEdit::leaveEvent(event0); +} +int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::metric(arg__1); +} +QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::minimumSizeHint(); +} +void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::mouseMoveEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::mousePressEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::mouseReleaseEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::moveEvent(event0); +} +bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::paintEngine(); +} +void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QKeySequenceEdit::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 QKeySequenceEdit::redirected(offset0); +} +void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::resizeEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::setVisible(visible0); +} +QPainter* PythonQtShell_QKeySequenceEdit::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 QKeySequenceEdit::sharedPainter(); +} +void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::showEvent(event0); +} +QSize PythonQtShell_QKeySequenceEdit::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeySequenceEdit::sizeHint(); +} +void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::tabletEvent(event0); +} +void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::timerEvent(arg__1); +} +void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QKeySequenceEdit::wheelEvent(event0); +} +QKeySequenceEdit* PythonQtWrapper_QKeySequenceEdit::new_QKeySequenceEdit(QWidget* parent) +{ +return new PythonQtShell_QKeySequenceEdit(parent); } + +QKeySequenceEdit* PythonQtWrapper_QKeySequenceEdit::new_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent) +{ +return new PythonQtShell_QKeySequenceEdit(keySequence, parent); } + +const QMetaObject* PythonQtShell_QKeySequenceEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QKeySequenceEdit::staticMetaObject); + } else { + return &QKeySequenceEdit::staticMetaObject; + } +} +int PythonQtShell_QKeySequenceEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QKeySequenceEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QKeySequence PythonQtWrapper_QKeySequenceEdit::keySequence(QKeySequenceEdit* theWrappedObject) const +{ + return ( theWrappedObject->keySequence()); +} + + + +PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QLCDNumber::actionEvent(event0); +} +void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLCDNumber::changeEvent(arg__1); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::childEvent(event0); +} +void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QLCDNumber::closeEvent(event0); +} +void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QLCDNumber::contextMenuEvent(event0); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::customEvent(event0); +} +int PythonQtShell_QLCDNumber::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 QLCDNumber::devType(); +} +void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QLCDNumber::dragEnterEvent(event0); +} +void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QLCDNumber::dragLeaveEvent(event0); +} +void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QLCDNumber::dragMoveEvent(event0); +} +void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QLCDNumber::dropEvent(event0); +} +void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QLCDNumber::enterEvent(event0); +} +bool PythonQtShell_QLCDNumber::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 QLCDNumber::event(e0); +} +bool PythonQtShell_QLCDNumber::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 QLCDNumber::eventFilter(watched0, event1); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::focusInEvent(event0); +} +bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::focusNextPrevChild(next0); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::focusOutEvent(event0); +} +bool PythonQtShell_QLCDNumber::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::hasHeightForWidth(); +} +int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::heightForWidth(arg__1); +} +void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLCDNumber::hideEvent(event0); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::initPainter(painter0); +} +void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLCDNumber::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::inputMethodQuery(arg__1); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::keyPressEvent(event0); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::keyReleaseEvent(event0); +} +void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QLCDNumber::leaveEvent(event0); +} +int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::metric(arg__1); +} +QSize PythonQtShell_QLCDNumber::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::minimumSizeHint(); +} +void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QLCDNumber::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QLCDNumber::mouseMoveEvent(event0); +} +void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QLCDNumber::mousePressEvent(event0); +} +void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QLCDNumber::mouseReleaseEvent(event0); +} +void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QLCDNumber::moveEvent(event0); +} +bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::paintEngine(); +} +void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLCDNumber::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QLCDNumber::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 QLCDNumber::redirected(offset0); +} +void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QLCDNumber::resizeEvent(event0); +} +void PythonQtShell_QLCDNumber::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLCDNumber::setVisible(visible0); +} +QPainter* PythonQtShell_QLCDNumber::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 QLCDNumber::sharedPainter(); +} +void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QLCDNumber::showEvent(event0); +} +QSize PythonQtShell_QLCDNumber::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLCDNumber::sizeHint(); +} +void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QLCDNumber::tabletEvent(event0); +} +void PythonQtShell_QLCDNumber::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(); + } + } +} + QLCDNumber::timerEvent(event0); +} +void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QLCDNumber::wheelEvent(event0); +} +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(QWidget* parent) +{ +return new PythonQtShell_QLCDNumber(parent); } + +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(uint numDigits, QWidget* parent) +{ +return new PythonQtShell_QLCDNumber(numDigits, parent); } + +const QMetaObject* PythonQtShell_QLCDNumber::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLCDNumber::staticMetaObject); + } else { + return &QLCDNumber::staticMetaObject; + } +} +int PythonQtShell_QLCDNumber::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLCDNumber::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, double num) const +{ + return ( theWrappedObject->checkOverflow(num)); +} + +bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, int num) const +{ + return ( theWrappedObject->checkOverflow(num)); +} + +int PythonQtWrapper_QLCDNumber::digitCount(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->digitCount()); +} + +int PythonQtWrapper_QLCDNumber::intValue(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->intValue()); +} + +QLCDNumber::Mode PythonQtWrapper_QLCDNumber::mode(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->mode()); +} + +QLCDNumber::SegmentStyle PythonQtWrapper_QLCDNumber::segmentStyle(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->segmentStyle()); +} + +void PythonQtWrapper_QLCDNumber::setDigitCount(QLCDNumber* theWrappedObject, int nDigits) +{ + ( theWrappedObject->setDigitCount(nDigits)); +} + +void PythonQtWrapper_QLCDNumber::setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1) +{ + ( theWrappedObject->setMode(arg__1)); +} + +void PythonQtWrapper_QLCDNumber::setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1) +{ + ( theWrappedObject->setSegmentStyle(arg__1)); +} + +bool PythonQtWrapper_QLCDNumber::smallDecimalPoint(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->smallDecimalPoint()); +} + +double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QLabel::~PythonQtShell_QLabel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QLabel::actionEvent(event0); +} +void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::changeEvent(arg__1); +} +void PythonQtShell_QLabel::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(); + } + } +} + QLabel::childEvent(event0); +} +void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QLabel::closeEvent(event0); +} +void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::contextMenuEvent(ev0); +} +void PythonQtShell_QLabel::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(); + } + } +} + QLabel::customEvent(event0); +} +int PythonQtShell_QLabel::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 QLabel::devType(); +} +void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QLabel::dragEnterEvent(event0); +} +void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QLabel::dragLeaveEvent(event0); +} +void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QLabel::dragMoveEvent(event0); +} +void PythonQtShell_QLabel::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QLabel::dropEvent(event0); +} +void PythonQtShell_QLabel::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QLabel::enterEvent(event0); +} +bool PythonQtShell_QLabel::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 QLabel::event(e0); +} +bool PythonQtShell_QLabel::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 QLabel::eventFilter(watched0, event1); +} +void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::focusInEvent(ev0); +} +bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::focusNextPrevChild(next0); +} +void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::focusOutEvent(ev0); +} +bool PythonQtShell_QLabel::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::hasHeightForWidth(); +} +int PythonQtShell_QLabel::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::heightForWidth(arg__1); +} +void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::hideEvent(event0); +} +void PythonQtShell_QLabel::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(); + } + } +} + QLabel::initPainter(painter0); +} +void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::inputMethodQuery(arg__1); +} +void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::keyPressEvent(ev0); +} +void PythonQtShell_QLabel::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(); + } + } +} + QLabel::keyReleaseEvent(event0); +} +void PythonQtShell_QLabel::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QLabel::leaveEvent(event0); +} +int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::metric(arg__1); +} +QSize PythonQtShell_QLabel::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::minimumSizeHint(); +} +void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QLabel::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::mouseMoveEvent(ev0); +} +void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::mousePressEvent(ev0); +} +void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::mouseReleaseEvent(ev0); +} +void PythonQtShell_QLabel::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QLabel::moveEvent(event0); +} +bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QLabel::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::paintEngine(); +} +void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QLabel::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 QLabel::redirected(offset0); +} +void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QLabel::resizeEvent(event0); +} +void PythonQtShell_QLabel::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLabel::setVisible(visible0); +} +QPainter* PythonQtShell_QLabel::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 QLabel::sharedPainter(); +} +void PythonQtShell_QLabel::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QLabel::showEvent(event0); +} +QSize PythonQtShell_QLabel::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLabel::sizeHint(); +} +void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QLabel::tabletEvent(event0); +} +void PythonQtShell_QLabel::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(); + } + } +} + QLabel::timerEvent(event0); +} +void PythonQtShell_QLabel::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QLabel::wheelEvent(event0); +} +QLabel* PythonQtWrapper_QLabel::new_QLabel(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QLabel(parent, f); } + +QLabel* PythonQtWrapper_QLabel::new_QLabel(const QString& text, QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QLabel(text, parent, f); } + +const QMetaObject* PythonQtShell_QLabel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLabel::staticMetaObject); + } else { + return &QLabel::staticMetaObject; + } +} +int PythonQtShell_QLabel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLabel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QLabel::alignment(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QWidget* PythonQtWrapper_QLabel::buddy(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->buddy()); +} + +bool PythonQtWrapper_QLabel::hasScaledContents(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->hasScaledContents()); +} + +bool PythonQtWrapper_QLabel::hasSelectedText(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->hasSelectedText()); +} + +int PythonQtWrapper_QLabel::indent(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +int PythonQtWrapper_QLabel::margin(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->margin()); +} + +QSize PythonQtWrapper_QLabel::minimumSizeHint(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QMovie* PythonQtWrapper_QLabel::movie(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->movie()); +} + +bool PythonQtWrapper_QLabel::openExternalLinks(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->openExternalLinks()); +} + +const QPicture* PythonQtWrapper_QLabel::picture(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->picture()); +} + +const QPixmap* PythonQtWrapper_QLabel::pixmap(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +QString PythonQtWrapper_QLabel::selectedText(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +int PythonQtWrapper_QLabel::selectionStart(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->selectionStart()); +} + +void PythonQtWrapper_QLabel::setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1) +{ + ( theWrappedObject->setAlignment(arg__1)); +} + +void PythonQtWrapper_QLabel::setBuddy(QLabel* theWrappedObject, QWidget* arg__1) +{ + ( theWrappedObject->setBuddy(arg__1)); +} + +void PythonQtWrapper_QLabel::setIndent(QLabel* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setIndent(arg__1)); +} + +void PythonQtWrapper_QLabel::setMargin(QLabel* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMargin(arg__1)); +} + +void PythonQtWrapper_QLabel::setOpenExternalLinks(QLabel* theWrappedObject, bool open) +{ + ( theWrappedObject->setOpenExternalLinks(open)); +} + +void PythonQtWrapper_QLabel::setScaledContents(QLabel* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setScaledContents(arg__1)); +} + +void PythonQtWrapper_QLabel::setSelection(QLabel* theWrappedObject, int arg__1, int arg__2) +{ + ( theWrappedObject->setSelection(arg__1, arg__2)); +} + +void PythonQtWrapper_QLabel::setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1) +{ + ( theWrappedObject->setTextFormat(arg__1)); +} + +void PythonQtWrapper_QLabel::setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +void PythonQtWrapper_QLabel::setWordWrap(QLabel* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +QString PythonQtWrapper_QLabel::text(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::TextFormat PythonQtWrapper_QLabel::textFormat(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->textFormat()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QLabel::textInteractionFlags(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +bool PythonQtWrapper_QLabel::wordWrap(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +PythonQtShell_QLayout::~PythonQtShell_QLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QLayout::childEvent(QChildEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::controlTypes(); +} +int PythonQtShell_QLayout::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 int(); +} +void PythonQtShell_QLayout::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(); + } + } +} + QLayout::customEvent(event0); +} +bool PythonQtShell_QLayout::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 QLayout::event(event0); +} +bool PythonQtShell_QLayout::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 QLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::expandingDirections(); +} +QRect PythonQtShell_QLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::geometry(); +} +bool PythonQtShell_QLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::hasHeightForWidth(); +} +int PythonQtShell_QLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::heightForWidth(arg__1); +} +int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + 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("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::indexOf(arg__1); +} +void PythonQtShell_QLayout::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(); + } + } +} + QLayout::invalidate(); +} +bool PythonQtShell_QLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QLayout::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[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QLayout* PythonQtShell_QLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::layout(); +} +QSize PythonQtShell_QLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::maximumSize(); +} +int PythonQtShell_QLayout::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 QLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QLayout::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::minimumSize(); +} +void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QLayout::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +QSpacerItem* PythonQtShell_QLayout::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 QLayout::spacerItem(); +} +QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QLayout::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(); + } + } +} + QLayout::timerEvent(event0); +} +QWidget* PythonQtShell_QLayout::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 QLayout::widget(); +} +QLayout* PythonQtWrapper_QLayout::new_QLayout() +{ +return new PythonQtShell_QLayout(); } + +QLayout* PythonQtWrapper_QLayout::new_QLayout(QWidget* parent) +{ +return new PythonQtShell_QLayout(parent); } + +const QMetaObject* PythonQtShell_QLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLayout::staticMetaObject); + } else { + return &QLayout::staticMetaObject; + } +} +int PythonQtShell_QLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QLayout::activate(QLayout* theWrappedObject) +{ + return ( theWrappedObject->activate()); +} + +void PythonQtWrapper_QLayout::addChildLayout(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP l) +{ + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_addChildLayout(l)); +} + +void PythonQtWrapper_QLayout::addChildWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w) +{ + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_addChildWidget(w)); +} + +void PythonQtWrapper_QLayout::addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) +{ + ( theWrappedObject->addItem(arg__1)); +} + +void PythonQtWrapper_QLayout::addWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w) +{ + ( theWrappedObject->addWidget(w)); +} + +bool PythonQtWrapper_QLayout::adoptLayout(QLayout* theWrappedObject, QLayout* layout) +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_adoptLayout(layout)); +} + +QRect PythonQtWrapper_QLayout::alignmentRect(QLayout* theWrappedObject, const QRect& arg__1) const +{ + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_alignmentRect(arg__1)); +} + +QSize PythonQtWrapper_QLayout::static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s) +{ + return (QLayout::closestAcceptableSize(w, s)); +} + +QMargins PythonQtWrapper_QLayout::contentsMargins(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->contentsMargins()); +} + +QRect PythonQtWrapper_QLayout::contentsRect(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->contentsRect()); +} + +int PythonQtWrapper_QLayout::count(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QLayout::indexOf(QLayout* theWrappedObject, QLayoutItem* arg__1) const +{ + return ( theWrappedObject->indexOf(arg__1)); +} + +int PythonQtWrapper_QLayout::indexOf(QLayout* theWrappedObject, QWidget* arg__1) const +{ + return ( theWrappedObject->indexOf(arg__1)); +} + +bool PythonQtWrapper_QLayout::isEnabled(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +QLayoutItem* PythonQtWrapper_QLayout::itemAt(QLayout* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemAt(index)); +} + +QWidget* PythonQtWrapper_QLayout::menuBar(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->menuBar()); +} + +QWidget* PythonQtWrapper_QLayout::parentWidget(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +void PythonQtWrapper_QLayout::removeItem(QLayout* theWrappedObject, PythonQtPassOwnershipToPython arg__1) +{ + ( theWrappedObject->removeItem(arg__1)); +} + +void PythonQtWrapper_QLayout::removeWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToPython w) +{ + ( theWrappedObject->removeWidget(w)); +} + +QLayoutItem* PythonQtWrapper_QLayout::replaceWidget(QLayout* theWrappedObject, QWidget* from, QWidget* to, Qt::FindChildOptions options) +{ + return ( theWrappedObject->replaceWidget(from, to, options)); +} + +bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment) +{ + return ( theWrappedObject->setAlignment(l, alignment)); +} + +bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment) +{ + return ( theWrappedObject->setAlignment(w, alignment)); +} + +void PythonQtWrapper_QLayout::setContentsMargins(QLayout* theWrappedObject, const QMargins& margins) +{ + ( theWrappedObject->setContentsMargins(margins)); +} + +void PythonQtWrapper_QLayout::setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QLayout::setEnabled(QLayout* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setEnabled(arg__1)); +} + +void PythonQtWrapper_QLayout::setMargin(QLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMargin(arg__1)); +} + +void PythonQtWrapper_QLayout::setMenuBar(QLayout* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->setMenuBar(w)); +} + +void PythonQtWrapper_QLayout::setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1) +{ + ( theWrappedObject->setSizeConstraint(arg__1)); +} + +void PythonQtWrapper_QLayout::setSpacing(QLayout* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setSpacing(arg__1)); +} + +QLayout::SizeConstraint PythonQtWrapper_QLayout::sizeConstraint(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->sizeConstraint()); +} + +int PythonQtWrapper_QLayout::spacing(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QLayout::takeAt(QLayout* theWrappedObject, int index) +{ + return ( theWrappedObject->takeAt(index)); +} + +int PythonQtWrapper_QLayout::totalHeightForWidth(QLayout* theWrappedObject, int w) const +{ + return ( theWrappedObject->totalHeightForWidth(w)); +} + +QSize PythonQtWrapper_QLayout::totalMaximumSize(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->totalMaximumSize()); +} + +QSize PythonQtWrapper_QLayout::totalMinimumSize(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->totalMinimumSize()); +} + +QSize PythonQtWrapper_QLayout::totalSizeHint(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->totalSizeHint()); +} + +void PythonQtWrapper_QLayout::update(QLayout* theWrappedObject) +{ + ( theWrappedObject->update()); +} + +void PythonQtWrapper_QLayout::widgetEvent(QLayout* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_widgetEvent(arg__1)); +} + + + +PythonQtShell_QLayoutItem::~PythonQtShell_QLayoutItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayoutItem::controlTypes(); +} +Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return Qt::Orientations(); +} +QRect PythonQtShell_QLayoutItem::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRect(); +} +bool PythonQtShell_QLayoutItem::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayoutItem::hasHeightForWidth(); +} +int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayoutItem::heightForWidth(arg__1); +} +void PythonQtShell_QLayoutItem::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(); + } + } +} + QLayoutItem::invalidate(); +} +bool PythonQtShell_QLayoutItem::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QLayout* PythonQtShell_QLayoutItem::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayoutItem::layout(); +} +QSize PythonQtShell_QLayoutItem::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +int PythonQtShell_QLayoutItem::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 QLayoutItem::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QLayoutItem::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QSize PythonQtShell_QLayoutItem::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +QSpacerItem* PythonQtShell_QLayoutItem::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 QLayoutItem::spacerItem(); +} +QWidget* PythonQtShell_QLayoutItem::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 QLayoutItem::widget(); +} +QLayoutItem* PythonQtWrapper_QLayoutItem::new_QLayoutItem(Qt::Alignment alignment) +{ +return new PythonQtShell_QLayoutItem(alignment); } + +Qt::Alignment PythonQtWrapper_QLayoutItem::alignment(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->controlTypes()); +} + +Qt::Orientations PythonQtWrapper_QLayoutItem::expandingDirections(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->expandingDirections()); +} + +QRect PythonQtWrapper_QLayoutItem::geometry(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +int PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->heightForWidth(arg__1)); +} + +void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + +bool PythonQtWrapper_QLayoutItem::isEmpty(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QLayout* PythonQtWrapper_QLayoutItem::layout(QLayoutItem* theWrappedObject) +{ + return ( theWrappedObject->layout()); +} + +QSize PythonQtWrapper_QLayoutItem::maximumSize(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); +} + +int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->minimumHeightForWidth(arg__1)); +} + +QSize PythonQtWrapper_QLayoutItem::minimumSize(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->minimumSize()); +} + +void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) +{ + ( theWrappedObject->setAlignment(a)); +} + +void PythonQtWrapper_QLayoutItem::setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->setGeometry(arg__1)); +} + +QSize PythonQtWrapper_QLayoutItem::sizeHint(QLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) +{ + return ( theWrappedObject->spacerItem()); +} + +QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) +{ + return ( theWrappedObject->widget()); +} + + + +PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QLineEdit::actionEvent(event0); +} +void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::changeEvent(arg__1); +} +void PythonQtShell_QLineEdit::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(); + } + } +} + QLineEdit::childEvent(event0); +} +void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QLineEdit::closeEvent(event0); +} +void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::contextMenuEvent(arg__1); +} +void PythonQtShell_QLineEdit::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(); + } + } +} + QLineEdit::customEvent(event0); +} +int PythonQtShell_QLineEdit::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 QLineEdit::devType(); +} +void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::dragEnterEvent(arg__1); +} +void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) +{ +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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QLineEdit::dragLeaveEvent(e0); +} +void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) +{ +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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QLineEdit::dragMoveEvent(e0); +} +void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::dropEvent(arg__1); +} +void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QLineEdit::enterEvent(event0); +} +bool PythonQtShell_QLineEdit::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::event(arg__1); +} +bool PythonQtShell_QLineEdit::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 QLineEdit::eventFilter(watched0, event1); +} +void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::focusInEvent(arg__1); +} +bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::focusOutEvent(arg__1); +} +bool PythonQtShell_QLineEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::hasHeightForWidth(); +} +int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::heightForWidth(arg__1); +} +void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::hideEvent(event0); +} +void PythonQtShell_QLineEdit::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(); + } + } +} + QLineEdit::initPainter(painter0); +} +void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::inputMethodQuery(arg__1); +} +void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::keyPressEvent(arg__1); +} +void PythonQtShell_QLineEdit::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(); + } + } +} + QLineEdit::keyReleaseEvent(event0); +} +void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QLineEdit::leaveEvent(event0); +} +int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::metric(arg__1); +} +QSize PythonQtShell_QLineEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::minimumSizeHint(); +} +void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::mouseMoveEvent(arg__1); +} +void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::mousePressEvent(arg__1); +} +void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QLineEdit::moveEvent(event0); +} +bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::paintEngine(); +} +void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QLineEdit::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 QLineEdit::redirected(offset0); +} +void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QLineEdit::resizeEvent(event0); +} +void PythonQtShell_QLineEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::setVisible(visible0); +} +QPainter* PythonQtShell_QLineEdit::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 QLineEdit::sharedPainter(); +} +void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QLineEdit::showEvent(event0); +} +QSize PythonQtShell_QLineEdit::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::sizeHint(); +} +void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QLineEdit::tabletEvent(event0); +} +void PythonQtShell_QLineEdit::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(); + } + } +} + QLineEdit::timerEvent(event0); +} +void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QLineEdit::wheelEvent(event0); +} +QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(QWidget* parent) +{ +return new PythonQtShell_QLineEdit(parent); } + +QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(const QString& arg__1, QWidget* parent) +{ +return new PythonQtShell_QLineEdit(arg__1, parent); } + +const QMetaObject* PythonQtShell_QLineEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLineEdit::staticMetaObject); + } else { + return &QLineEdit::staticMetaObject; + } +} +int PythonQtShell_QLineEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLineEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position) +{ + ( theWrappedObject->addAction(action, position)); +} + +QAction* PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position) +{ + return ( theWrappedObject->addAction(icon, position)); +} + +Qt::Alignment PythonQtWrapper_QLineEdit::alignment(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +void PythonQtWrapper_QLineEdit::backspace(QLineEdit* theWrappedObject) +{ + ( theWrappedObject->backspace()); +} + +QCompleter* PythonQtWrapper_QLineEdit::completer(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->completer()); +} + +QMenu* PythonQtWrapper_QLineEdit::createStandardContextMenu(QLineEdit* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +void PythonQtWrapper_QLineEdit::cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps) +{ + ( theWrappedObject->cursorBackward(mark, steps)); +} + +void PythonQtWrapper_QLineEdit::cursorForward(QLineEdit* theWrappedObject, bool mark, int steps) +{ + ( theWrappedObject->cursorForward(mark, steps)); +} + +Qt::CursorMoveStyle PythonQtWrapper_QLineEdit::cursorMoveStyle(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorMoveStyle()); +} + +int PythonQtWrapper_QLineEdit::cursorPosition(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorPosition()); +} + +int PythonQtWrapper_QLineEdit::cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos) +{ + return ( theWrappedObject->cursorPositionAt(pos)); +} + +QRect PythonQtWrapper_QLineEdit::cursorRect(QLineEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_cursorRect()); +} + +void PythonQtWrapper_QLineEdit::cursorWordBackward(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->cursorWordBackward(mark)); +} + +void PythonQtWrapper_QLineEdit::cursorWordForward(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->cursorWordForward(mark)); +} + +void PythonQtWrapper_QLineEdit::del(QLineEdit* theWrappedObject) +{ + ( theWrappedObject->del()); +} + +void PythonQtWrapper_QLineEdit::deselect(QLineEdit* theWrappedObject) +{ + ( theWrappedObject->deselect()); +} + +QString PythonQtWrapper_QLineEdit::displayText(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->displayText()); +} + +bool PythonQtWrapper_QLineEdit::dragEnabled(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->dragEnabled()); +} + +QLineEdit::EchoMode PythonQtWrapper_QLineEdit::echoMode(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->echoMode()); +} + +void PythonQtWrapper_QLineEdit::end(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->end(mark)); +} + +void PythonQtWrapper_QLineEdit::getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const +{ + ( theWrappedObject->getTextMargins(left, top, right, bottom)); +} + +bool PythonQtWrapper_QLineEdit::hasAcceptableInput(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->hasAcceptableInput()); +} + +bool PythonQtWrapper_QLineEdit::hasFrame(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->hasFrame()); +} + +bool PythonQtWrapper_QLineEdit::hasSelectedText(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->hasSelectedText()); +} + +void PythonQtWrapper_QLineEdit::home(QLineEdit* theWrappedObject, bool mark) +{ + ( theWrappedObject->home(mark)); +} + +void PythonQtWrapper_QLineEdit::initStyleOption(QLineEdit* theWrappedObject, QStyleOptionFrame* option) const +{ + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QString PythonQtWrapper_QLineEdit::inputMask(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->inputMask()); +} + +QVariant PythonQtWrapper_QLineEdit::inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery property, QVariant argument) const +{ + return ( theWrappedObject->inputMethodQuery(property, argument)); +} + +void PythonQtWrapper_QLineEdit::insert(QLineEdit* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->insert(arg__1)); +} + +bool PythonQtWrapper_QLineEdit::isClearButtonEnabled(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isClearButtonEnabled()); +} + +bool PythonQtWrapper_QLineEdit::isModified(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +bool PythonQtWrapper_QLineEdit::isReadOnly(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QLineEdit::isRedoAvailable(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isRedoAvailable()); +} + +bool PythonQtWrapper_QLineEdit::isUndoAvailable(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->isUndoAvailable()); +} + +int PythonQtWrapper_QLineEdit::maxLength(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->maxLength()); +} + +QSize PythonQtWrapper_QLineEdit::minimumSizeHint(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QString PythonQtWrapper_QLineEdit::placeholderText(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->placeholderText()); +} + +QString PythonQtWrapper_QLineEdit::selectedText(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +int PythonQtWrapper_QLineEdit::selectionEnd(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->selectionEnd()); +} + +int PythonQtWrapper_QLineEdit::selectionLength(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->selectionLength()); +} + +int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->selectionStart()); +} + +void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) +{ + ( theWrappedObject->setAlignment(flag)); +} + +void PythonQtWrapper_QLineEdit::setClearButtonEnabled(QLineEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setClearButtonEnabled(enable)); +} + +void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) +{ + ( theWrappedObject->setCompleter(completer)); +} + +void PythonQtWrapper_QLineEdit::setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style) +{ + ( theWrappedObject->setCursorMoveStyle(style)); +} + +void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setCursorPosition(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setDragEnabled(b)); +} + +void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) +{ + ( theWrappedObject->setEchoMode(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFrame(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) +{ + ( theWrappedObject->setInputMask(inputMask)); +} + +void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMaxLength(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setModified(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setPlaceholderText(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setReadOnly(arg__1)); +} + +void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) +{ + ( theWrappedObject->setSelection(arg__1, arg__2)); +} + +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins) +{ + ( theWrappedObject->setTextMargins(margins)); +} + +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom) +{ + ( theWrappedObject->setTextMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) +{ + ( theWrappedObject->setValidator(arg__1)); +} + +QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QMargins PythonQtWrapper_QLineEdit::textMargins(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->textMargins()); +} + +const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->validator()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.h new file mode 100644 index 00000000..600d133b --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui4.h @@ -0,0 +1,1967 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QHelpEvent : public QObject +{ Q_OBJECT +public: +public slots: +QHelpEvent* new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos); +void delete_QHelpEvent(QHelpEvent* obj) { delete obj; } + const QPoint* globalPos(QHelpEvent* theWrappedObject) const; + int globalX(QHelpEvent* theWrappedObject) const; + int globalY(QHelpEvent* theWrappedObject) const; + const QPoint* pos(QHelpEvent* theWrappedObject) const; + int x(QHelpEvent* theWrappedObject) const; + int y(QHelpEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QHideEvent : public QObject +{ Q_OBJECT +public: +public slots: +QHideEvent* new_QHideEvent(); +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(nullptr) {}; + + ~PythonQtShell_QHoverEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QHoverEvent : public QObject +{ Q_OBJECT +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; } + QPoint oldPos(QHoverEvent* theWrappedObject) const; + const QPointF* oldPosF(QHoverEvent* theWrappedObject) const; + QPoint pos(QHoverEvent* theWrappedObject) const; + const QPointF* posF(QHoverEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QIconDragEvent : public QObject +{ Q_OBJECT +public: +public slots: +QIconDragEvent* new_QIconDragEvent(); +void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QIconEngine : public QIconEngine +{ +public: + PythonQtShell_QIconEngine():QIconEngine(),_wrapper(nullptr) {}; + PythonQtShell_QIconEngine(const QIconEngine& other):QIconEngine(other),_wrapper(nullptr) {}; + + ~PythonQtShell_QIconEngine() override; + +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; +bool write(QDataStream& out) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIconEngine : public QIconEngine +{ public: +inline QSize py_q_actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::actualSize(size, mode, state); } +inline void py_q_addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) { QIconEngine::addFile(fileName, size, mode, state); } +inline void py_q_addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) { QIconEngine::addPixmap(pixmap, mode, state); } +inline QList py_q_availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const { return QIconEngine::availableSizes(mode, state); } +inline QIconEngine* py_q_clone() const { return this->clone(); } +inline QString py_q_iconName() const { return QIconEngine::iconName(); } +inline QString py_q_key() const { return QIconEngine::key(); } +inline void py_q_paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) { this->paint(painter, rect, mode, state); } +inline QPixmap py_q_pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::pixmap(size, mode, state); } +inline bool py_q_read(QDataStream& in) { return QIconEngine::read(in); } +inline bool py_q_write(QDataStream& out) const { return QIconEngine::write(out); } +}; + +class PythonQtWrapper_QIconEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IconEngineHook ) +enum IconEngineHook{ + AvailableSizesHook = QIconEngine::AvailableSizesHook, IconNameHook = QIconEngine::IconNameHook, IsNullHook = QIconEngine::IsNullHook, ScaledPixmapHook = QIconEngine::ScaledPixmapHook}; +public slots: +QIconEngine* new_QIconEngine(); +QIconEngine* new_QIconEngine(const QIconEngine& other); +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); + void py_q_addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_addFile(fileName, size, mode, state));} + void addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); + void py_q_addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_addPixmap(pixmap, mode, state));} + QList availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QList py_q_availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_availableSizes(mode, state));} + QIconEngine* clone(QIconEngine* theWrappedObject) const; + QIconEngine* py_q_clone(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_clone());} + QString iconName(QIconEngine* theWrappedObject) const; + QString py_q_iconName(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_iconName());} + bool isNull(QIconEngine* theWrappedObject) const; + QString key(QIconEngine* theWrappedObject) const; + QString py_q_key(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_key());} + void paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); + void py_q_paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_paint(painter, rect, mode, state));} + QPixmap pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); + QPixmap py_q_pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_pixmap(size, mode, state));} + bool read(QIconEngine* theWrappedObject, QDataStream& in); + bool py_q_read(QIconEngine* theWrappedObject, QDataStream& in){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_read(in));} + QPixmap scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale); + bool write(QIconEngine* theWrappedObject, QDataStream& out) const; + bool py_q_write(QIconEngine* theWrappedObject, QDataStream& out) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_write(out));} + bool __nonzero__(QIconEngine* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QImageIOHandler : public QImageIOHandler +{ +public: + PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QImageIOHandler() override; + +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; +}; + +class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler +{ public: +inline bool py_q_canRead() const { return this->canRead(); } +inline int py_q_currentImageNumber() const { return QImageIOHandler::currentImageNumber(); } +inline QRect py_q_currentImageRect() const { return QImageIOHandler::currentImageRect(); } +inline int py_q_imageCount() const { return QImageIOHandler::imageCount(); } +inline bool py_q_jumpToImage(int imageNumber) { return QImageIOHandler::jumpToImage(imageNumber); } +inline bool py_q_jumpToNextImage() { return QImageIOHandler::jumpToNextImage(); } +inline int py_q_loopCount() const { return QImageIOHandler::loopCount(); } +inline int py_q_nextImageDelay() const { return QImageIOHandler::nextImageDelay(); } +inline QVariant py_q_option(QImageIOHandler::ImageOption option) const { return QImageIOHandler::option(option); } +inline bool py_q_read(QImage* image) { return this->read(image); } +inline void py_q_setOption(QImageIOHandler::ImageOption option, const QVariant& value) { QImageIOHandler::setOption(option, value); } +inline bool py_q_supportsOption(QImageIOHandler::ImageOption option) const { return QImageIOHandler::supportsOption(option); } +inline bool py_q_write(const QImage& image) { return QImageIOHandler::write(image); } +}; + +class PythonQtWrapper_QImageIOHandler : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ImageOption Transformation ) +enum ImageOption{ + Size = QImageIOHandler::Size, ClipRect = QImageIOHandler::ClipRect, Description = QImageIOHandler::Description, ScaledClipRect = QImageIOHandler::ScaledClipRect, ScaledSize = QImageIOHandler::ScaledSize, CompressionRatio = QImageIOHandler::CompressionRatio, Gamma = QImageIOHandler::Gamma, Quality = QImageIOHandler::Quality, Name = QImageIOHandler::Name, SubType = QImageIOHandler::SubType, IncrementalReading = QImageIOHandler::IncrementalReading, Endianness = QImageIOHandler::Endianness, Animation = QImageIOHandler::Animation, BackgroundColor = QImageIOHandler::BackgroundColor, ImageFormat = QImageIOHandler::ImageFormat, SupportedSubTypes = QImageIOHandler::SupportedSubTypes, OptimizedWrite = QImageIOHandler::OptimizedWrite, ProgressiveScanWrite = QImageIOHandler::ProgressiveScanWrite, ImageTransformation = QImageIOHandler::ImageTransformation, TransformedByDefault = QImageIOHandler::TransformedByDefault}; +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; } + bool canRead(QImageIOHandler* theWrappedObject) const; + bool py_q_canRead(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_canRead());} + int currentImageNumber(QImageIOHandler* theWrappedObject) const; + int py_q_currentImageNumber(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_currentImageNumber());} + QRect currentImageRect(QImageIOHandler* theWrappedObject) const; + QRect py_q_currentImageRect(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_currentImageRect());} + QIODevice* device(QImageIOHandler* theWrappedObject) const; + QByteArray format(QImageIOHandler* theWrappedObject) const; + int imageCount(QImageIOHandler* theWrappedObject) const; + int py_q_imageCount(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_imageCount());} + bool jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber); + bool py_q_jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_jumpToImage(imageNumber));} + bool jumpToNextImage(QImageIOHandler* theWrappedObject); + bool py_q_jumpToNextImage(QImageIOHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_jumpToNextImage());} + int loopCount(QImageIOHandler* theWrappedObject) const; + int py_q_loopCount(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_loopCount());} + int nextImageDelay(QImageIOHandler* theWrappedObject) const; + int py_q_nextImageDelay(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_nextImageDelay());} + QVariant option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; + QVariant py_q_option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_option(option));} + bool read(QImageIOHandler* theWrappedObject, QImage* image); + bool py_q_read(QImageIOHandler* theWrappedObject, QImage* image){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_read(image));} + void setDevice(QImageIOHandler* theWrappedObject, QIODevice* device); + void setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format); + void setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value); + void py_q_setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value){ (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_setOption(option, value));} + bool supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; + bool py_q_supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_supportsOption(option));} + bool write(QImageIOHandler* theWrappedObject, const QImage& image); + bool py_q_write(QImageIOHandler* theWrappedObject, const QImage& image){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_write(image));} +}; + + + + + +class PythonQtShell_QImageIOPlugin : public QImageIOPlugin +{ +public: + PythonQtShell_QImageIOPlugin(QObject* parent = nullptr):QImageIOPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QImageIOPlugin() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QImageIOPlugin : public QImageIOPlugin +{ public: +inline QImageIOPlugin::Capabilities py_q_capabilities(QIODevice* device, const QByteArray& format) const { return this->capabilities(device, format); } +inline QImageIOHandler* py_q_create(QIODevice* device, const QByteArray& format = QByteArray()) const { return this->create(device, format); } +}; + +class PythonQtWrapper_QImageIOPlugin : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Capability ) +Q_FLAGS(Capabilities ) +enum Capability{ + CanRead = QImageIOPlugin::CanRead, CanWrite = QImageIOPlugin::CanWrite, CanReadIncremental = QImageIOPlugin::CanReadIncremental}; +Q_DECLARE_FLAGS(Capabilities, Capability) +public slots: +QImageIOPlugin* new_QImageIOPlugin(QObject* parent = nullptr); +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; + QImageIOHandler* py_q_create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const{ return (((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->py_q_create(device, format));} +}; + + + + + +class PythonQtWrapper_QImageReader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ImageReaderError ) +enum ImageReaderError{ + UnknownError = QImageReader::UnknownError, FileNotFoundError = QImageReader::FileNotFoundError, DeviceError = QImageReader::DeviceError, UnsupportedFormatError = QImageReader::UnsupportedFormatError, InvalidDataError = QImageReader::InvalidDataError}; +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; } + bool autoDetectImageFormat(QImageReader* theWrappedObject) const; + bool autoTransform(QImageReader* theWrappedObject) const; + QColor backgroundColor(QImageReader* theWrappedObject) const; + bool canRead(QImageReader* theWrappedObject) const; + QRect clipRect(QImageReader* theWrappedObject) const; + int currentImageNumber(QImageReader* theWrappedObject) const; + QRect currentImageRect(QImageReader* theWrappedObject) const; + bool decideFormatFromContent(QImageReader* theWrappedObject) const; + QIODevice* device(QImageReader* theWrappedObject) const; + QImageReader::ImageReaderError error(QImageReader* theWrappedObject) const; + QString errorString(QImageReader* theWrappedObject) const; + QString fileName(QImageReader* theWrappedObject) const; + QByteArray format(QImageReader* theWrappedObject) const; + float gamma(QImageReader* theWrappedObject) const; + int imageCount(QImageReader* theWrappedObject) const; + QImage::Format imageFormat(QImageReader* theWrappedObject) const; + QByteArray static_QImageReader_imageFormat(QIODevice* device); + QByteArray static_QImageReader_imageFormat(const QString& fileName); + QList static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType); + bool jumpToImage(QImageReader* theWrappedObject, int imageNumber); + bool jumpToNextImage(QImageReader* theWrappedObject); + int loopCount(QImageReader* theWrappedObject) const; + int nextImageDelay(QImageReader* theWrappedObject) const; + int quality(QImageReader* theWrappedObject) const; + QImage read(QImageReader* theWrappedObject); + QRect scaledClipRect(QImageReader* theWrappedObject) const; + QSize scaledSize(QImageReader* theWrappedObject) const; + void setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled); + void setAutoTransform(QImageReader* theWrappedObject, bool enabled); + void setBackgroundColor(QImageReader* theWrappedObject, const QColor& color); + void setClipRect(QImageReader* theWrappedObject, const QRect& rect); + void setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored); + void setDevice(QImageReader* theWrappedObject, QIODevice* device); + void setFileName(QImageReader* theWrappedObject, const QString& fileName); + void setFormat(QImageReader* theWrappedObject, const QByteArray& format); + void setGamma(QImageReader* theWrappedObject, float gamma); + void setQuality(QImageReader* theWrappedObject, int quality); + void setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect); + void setScaledSize(QImageReader* theWrappedObject, const QSize& size); + QSize size(QImageReader* theWrappedObject) const; + QByteArray subType(QImageReader* theWrappedObject) const; + QList static_QImageReader_supportedImageFormats(); + QList static_QImageReader_supportedMimeTypes(); + QList supportedSubTypes(QImageReader* theWrappedObject) const; + bool supportsAnimation(QImageReader* theWrappedObject) const; + bool supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const; + QString text(QImageReader* theWrappedObject, const QString& key) const; + QStringList textKeys(QImageReader* theWrappedObject) const; + QString static_QImageReader_tr(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + QString static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation = nullptr, int n = -1); +}; + + + + + +class PythonQtWrapper_QImageWriter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ImageWriterError ) +enum ImageWriterError{ + UnknownError = QImageWriter::UnknownError, DeviceError = QImageWriter::DeviceError, UnsupportedFormatError = QImageWriter::UnsupportedFormatError, InvalidImageError = QImageWriter::InvalidImageError}; +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; } + bool canWrite(QImageWriter* theWrappedObject) const; + int compression(QImageWriter* theWrappedObject) const; + QIODevice* device(QImageWriter* theWrappedObject) const; + QImageWriter::ImageWriterError error(QImageWriter* theWrappedObject) const; + QString errorString(QImageWriter* theWrappedObject) const; + QString fileName(QImageWriter* theWrappedObject) const; + QByteArray format(QImageWriter* theWrappedObject) const; + float gamma(QImageWriter* theWrappedObject) const; + QList static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType); + bool optimizedWrite(QImageWriter* theWrappedObject) const; + bool progressiveScanWrite(QImageWriter* theWrappedObject) const; + int quality(QImageWriter* theWrappedObject) const; + void setCompression(QImageWriter* theWrappedObject, int compression); + void setDevice(QImageWriter* theWrappedObject, QIODevice* device); + void setFileName(QImageWriter* theWrappedObject, const QString& fileName); + void setFormat(QImageWriter* theWrappedObject, const QByteArray& format); + void setGamma(QImageWriter* theWrappedObject, float gamma); + void setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize); + void setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive); + void setQuality(QImageWriter* theWrappedObject, int quality); + void setSubType(QImageWriter* theWrappedObject, const QByteArray& type); + void setText(QImageWriter* theWrappedObject, const QString& key, const QString& text); + QByteArray subType(QImageWriter* theWrappedObject) const; + QList static_QImageWriter_supportedImageFormats(); + QList static_QImageWriter_supportedMimeTypes(); + QList supportedSubTypes(QImageWriter* theWrappedObject) const; + bool supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const; + QString static_QImageWriter_tr(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + QString static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + bool write(QImageWriter* theWrappedObject, const QImage& image); +}; + + + + + +class PythonQtShell_QInputDialog : public QInputDialog +{ +public: + 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 +{ public: +inline void py_q_done(int result) { QInputDialog::done(result); } +inline QSize py_q_minimumSizeHint() const { return QInputDialog::minimumSizeHint(); } +inline void py_q_setVisible(bool visible) { QInputDialog::setVisible(visible); } +inline QSize py_q_sizeHint() const { return QInputDialog::sizeHint(); } +}; + +class PythonQtWrapper_QInputDialog : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InputDialogOption InputMode ) +Q_FLAGS(InputDialogOptions ) +enum InputDialogOption{ + NoButtons = QInputDialog::NoButtons, UseListViewForComboBoxItems = QInputDialog::UseListViewForComboBoxItems, UsePlainTextEditForTextInput = QInputDialog::UsePlainTextEditForTextInput}; +enum InputMode{ + TextInput = QInputDialog::TextInput, IntInput = QInputDialog::IntInput, DoubleInput = QInputDialog::DoubleInput}; +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; } + 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));} + int doubleDecimals(QInputDialog* theWrappedObject) const; + double doubleMaximum(QInputDialog* theWrappedObject) const; + double doubleMinimum(QInputDialog* theWrappedObject) const; + double doubleStep(QInputDialog* theWrappedObject) const; + double doubleValue(QInputDialog* theWrappedObject) const; + double static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool* ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); + double static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value, double minValue, double maxValue, int decimals, bool* ok, Qt::WindowFlags flags, double step); + int static_QInputDialog_getInt(QWidget* parent, const QString& title, const QString& label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); + QString static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& items, int current = 0, bool editable = true, bool* ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags(), Qt::InputMethodHints inputMethodHints = Qt::ImhNone); + QString static_QInputDialog_getMultiLineText(QWidget* parent, const QString& title, const QString& label, const QString& text = QString(), bool* ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags(), Qt::InputMethodHints inputMethodHints = Qt::ImhNone); + QString static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString& text = QString(), bool* ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags(), Qt::InputMethodHints inputMethodHints = Qt::ImhNone); + QInputDialog::InputMode inputMode(QInputDialog* theWrappedObject) const; + int intMaximum(QInputDialog* theWrappedObject) const; + int intMinimum(QInputDialog* theWrappedObject) const; + int intStep(QInputDialog* theWrappedObject) const; + int intValue(QInputDialog* theWrappedObject) const; + bool isComboBoxEditable(QInputDialog* theWrappedObject) const; + QString labelText(QInputDialog* theWrappedObject) const; + QSize py_q_minimumSizeHint(QInputDialog* theWrappedObject) const{ return (((PythonQtPublicPromoter_QInputDialog*)theWrappedObject)->py_q_minimumSizeHint());} + QString okButtonText(QInputDialog* theWrappedObject) const; + void open(QInputDialog* theWrappedObject, QObject* receiver, const char* member); + QInputDialog::InputDialogOptions options(QInputDialog* theWrappedObject) const; + void setCancelButtonText(QInputDialog* theWrappedObject, const QString& text); + void setComboBoxEditable(QInputDialog* theWrappedObject, bool editable); + void setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items); + void setDoubleDecimals(QInputDialog* theWrappedObject, int decimals); + void setDoubleMaximum(QInputDialog* theWrappedObject, double max); + void setDoubleMinimum(QInputDialog* theWrappedObject, double min); + void setDoubleRange(QInputDialog* theWrappedObject, double min, double max); + void setDoubleStep(QInputDialog* theWrappedObject, double step); + void setDoubleValue(QInputDialog* theWrappedObject, double value); + void setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode); + void setIntMaximum(QInputDialog* theWrappedObject, int max); + void setIntMinimum(QInputDialog* theWrappedObject, int min); + void setIntRange(QInputDialog* theWrappedObject, int min, int max); + void setIntStep(QInputDialog* theWrappedObject, int step); + void setIntValue(QInputDialog* theWrappedObject, int value); + void setLabelText(QInputDialog* theWrappedObject, const QString& text); + void setOkButtonText(QInputDialog* theWrappedObject, const QString& text); + void setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on = true); + void setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options); + void setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode); + void setTextValue(QInputDialog* theWrappedObject, const QString& text); + void py_q_setVisible(QInputDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QInputDialog*)theWrappedObject)->py_q_setVisible(visible));} + QSize py_q_sizeHint(QInputDialog* theWrappedObject) const{ return (((PythonQtPublicPromoter_QInputDialog*)theWrappedObject)->py_q_sizeHint());} + bool testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const; + QLineEdit::EchoMode textEchoMode(QInputDialog* theWrappedObject) const; + QString textValue(QInputDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QInputEvent : public QInputEvent +{ +public: + PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(nullptr) {}; + + ~PythonQtShell_QInputEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QInputEvent : public QObject +{ Q_OBJECT +public: +public slots: +QInputEvent* new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); +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); + ulong timestamp(QInputEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QInputMethod : public QObject +{ Q_OBJECT +public: +public slots: + QRectF anchorRectangle(QInputMethod* theWrappedObject) const; + QRectF cursorRectangle(QInputMethod* theWrappedObject) const; + Qt::LayoutDirection inputDirection(QInputMethod* theWrappedObject) const; + QRectF inputItemClipRectangle(QInputMethod* theWrappedObject) const; + QRectF inputItemRectangle(QInputMethod* theWrappedObject) const; + QTransform inputItemTransform(QInputMethod* theWrappedObject) const; + bool isAnimating(QInputMethod* theWrappedObject) const; + bool isVisible(QInputMethod* theWrappedObject) const; + QRectF keyboardRectangle(QInputMethod* theWrappedObject) const; + QLocale locale(QInputMethod* theWrappedObject) const; + QVariant static_QInputMethod_queryFocusObject(Qt::InputMethodQuery query, QVariant argument); + void setInputItemRectangle(QInputMethod* theWrappedObject, const QRectF& rect); + void setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform); + void setVisible(QInputMethod* theWrappedObject, bool visible); +}; + + + + + +class PythonQtWrapper_QInputMethodEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AttributeType ) +enum AttributeType{ + TextFormat = QInputMethodEvent::TextFormat, Cursor = QInputMethodEvent::Cursor, Language = QInputMethodEvent::Language, Ruby = QInputMethodEvent::Ruby, Selection = QInputMethodEvent::Selection}; +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; } + const QList* attributes(QInputMethodEvent* theWrappedObject) const; + const QString* commitString(QInputMethodEvent* theWrappedObject) const; + const QString* preeditString(QInputMethodEvent* theWrappedObject) const; + int replacementLength(QInputMethodEvent* theWrappedObject) const; + int replacementStart(QInputMethodEvent* theWrappedObject) const; + void setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom = 0, int replaceLength = 0); +}; + + + + + +class PythonQtShell_QInputMethodEvent__Attribute : public QInputMethodEvent::Attribute +{ +public: + 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; +}; + +class PythonQtWrapper_QInputMethodEvent__Attribute : public QObject +{ Q_OBJECT +public: +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 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; } +int py_get_start(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->start; } +void py_set_type(QInputMethodEvent::Attribute* theWrappedObject, QInputMethodEvent::AttributeType type){ theWrappedObject->type = type; } +QInputMethodEvent::AttributeType py_get_type(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->type; } +void py_set_value(QInputMethodEvent::Attribute* theWrappedObject, QVariant value){ theWrappedObject->value = value; } +QVariant py_get_value(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->value; } +}; + + + + + +class PythonQtWrapper_QInputMethodQueryEvent : public QObject +{ Q_OBJECT +public: +public slots: +QInputMethodQueryEvent* new_QInputMethodQueryEvent(Qt::InputMethodQueries queries); +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; +}; + + + + + +class PythonQtShell_QIntValidator : public QIntValidator +{ +public: + 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() 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& 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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIntValidator : public QIntValidator +{ public: +inline void py_q_fixup(QString& input) const { QIntValidator::fixup(input); } +inline void py_q_setRange(int bottom, int top) { QIntValidator::setRange(bottom, top); } +inline QValidator::State py_q_validate(QString& arg__1, int& arg__2) const { return QIntValidator::validate(arg__1, arg__2); } +}; + +class PythonQtWrapper_QIntValidator : public QObject +{ Q_OBJECT +public: +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; } + 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); + void setRange(QIntValidator* theWrappedObject, int bottom, int top); + void py_q_setRange(QIntValidator* theWrappedObject, int bottom, int top){ (((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->py_q_setRange(bottom, top));} + void setTop(QIntValidator* theWrappedObject, int arg__1); + int top(QIntValidator* theWrappedObject) const; + QValidator::State py_q_validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const{ return (((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->py_q_validate(arg__1, arg__2));} +}; + + + + + +class PythonQtShell_QItemDelegate : public QItemDelegate +{ +public: + 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 +{ public: +inline QPixmap promoted_decoration(const QStyleOptionViewItem& option, const QVariant& variant) const { return this->decoration(option, variant); } +inline QRect promoted_doCheck(const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const { return this->doCheck(option, bounding, variant); } +inline void promoted_drawBackground(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { this->drawBackground(painter, option, index); } +inline void promoted_drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const { this->drawCheck(painter, option, rect, state); } +inline void promoted_drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const { this->drawDecoration(painter, option, rect, pixmap); } +inline void promoted_drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const { this->drawDisplay(painter, option, rect, text); } +inline void promoted_drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const { this->drawFocus(painter, option, rect); } +inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return this->editorEvent(event, model, option, index); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline QRect promoted_rect(const QStyleOptionViewItem& option, const QModelIndex& index, int role) const { return this->rect(option, index, role); } +static inline QPixmap promoted_selectedPixmap(const QPixmap& pixmap, const QPalette& palette, bool enabled) { return selectedPixmap(pixmap, palette, enabled); } +inline QStyleOptionViewItem promoted_setOptions(const QModelIndex& index, const QStyleOptionViewItem& option) const { return this->setOptions(index, option); } +inline QRect promoted_textRectangle(QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const { return this->textRectangle(painter, rect, font, text); } +inline QWidget* py_q_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::createEditor(parent, option, index); } +inline void py_q_drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const { QItemDelegate::drawCheck(painter, option, rect, state); } +inline void py_q_drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const { QItemDelegate::drawDecoration(painter, option, rect, pixmap); } +inline void py_q_drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const { QItemDelegate::drawDisplay(painter, option, rect, text); } +inline void py_q_drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const { QItemDelegate::drawFocus(painter, option, rect); } +inline bool py_q_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QItemDelegate::editorEvent(event, model, option, index); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QItemDelegate::eventFilter(object, event); } +inline void py_q_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::paint(painter, option, index); } +inline void py_q_setEditorData(QWidget* editor, const QModelIndex& index) const { QItemDelegate::setEditorData(editor, index); } +inline void py_q_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QItemDelegate::setModelData(editor, model, index); } +inline QSize py_q_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::sizeHint(option, index); } +inline void py_q_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QItemDelegate : public QObject +{ Q_OBJECT +public: +public slots: +QItemDelegate* new_QItemDelegate(QObject* parent = nullptr); +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; + void drawBackground(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; + void py_q_drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_drawCheck(painter, option, rect, state));} + void drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; + void py_q_drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_drawDecoration(painter, option, rect, pixmap));} + void drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; + void py_q_drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_drawDisplay(painter, option, rect, text));} + void drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; + void py_q_drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_drawFocus(painter, option, rect));} + bool py_q_editorEvent(QItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} + bool py_q_eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_eventFilter(object, event));} + bool hasClipping(QItemDelegate* theWrappedObject) const; + QItemEditorFactory* itemEditorFactory(QItemDelegate* theWrappedObject) const; + void py_q_paint(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_paint(painter, option, index));} + QRect rect(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index, int role) const; + QPixmap static_QItemDelegate_selectedPixmap(const QPixmap& pixmap, const QPalette& palette, bool enabled); + void setClipping(QItemDelegate* theWrappedObject, bool clip); + void py_q_setEditorData(QItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_setEditorData(editor, index));} + void setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory); + void py_q_setModelData(QItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_setModelData(editor, model, index));} + QStyleOptionViewItem setOptions(QItemDelegate* theWrappedObject, const QModelIndex& index, const QStyleOptionViewItem& option) const; + QSize py_q_sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_sizeHint(option, index));} + QRect textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const; + void py_q_updateEditorGeometry(QItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_updateEditorGeometry(editor, option, index));} +}; + + + + + +class PythonQtShell_QItemEditorCreatorBase : public QItemEditorCreatorBase +{ +public: + PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(nullptr) {}; + + ~PythonQtShell_QItemEditorCreatorBase() override; + +QWidget* createWidget(QWidget* parent) const override; +QByteArray valuePropertyName() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QItemEditorCreatorBase : public QItemEditorCreatorBase +{ public: +inline QWidget* py_q_createWidget(QWidget* parent) const { return this->createWidget(parent); } +inline QByteArray py_q_valuePropertyName() const { return this->valuePropertyName(); } +}; + +class PythonQtWrapper_QItemEditorCreatorBase : public QObject +{ Q_OBJECT +public: +public slots: +QItemEditorCreatorBase* new_QItemEditorCreatorBase(); +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; + QByteArray py_q_valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const{ return (((PythonQtPublicPromoter_QItemEditorCreatorBase*)theWrappedObject)->py_q_valuePropertyName());} +}; + + + + + +class PythonQtShell_QItemEditorFactory : public QItemEditorFactory +{ +public: + PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(nullptr) {}; + + ~PythonQtShell_QItemEditorFactory() override; + +QWidget* createEditor(int userType, QWidget* parent) const override; +QByteArray valuePropertyName(int userType) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory +{ public: +inline QWidget* py_q_createEditor(int userType, QWidget* parent) const { return QItemEditorFactory::createEditor(userType, parent); } +inline QByteArray py_q_valuePropertyName(int userType) const { return QItemEditorFactory::valuePropertyName(userType); } +}; + +class PythonQtWrapper_QItemEditorFactory : public QObject +{ Q_OBJECT +public: +public slots: +QItemEditorFactory* new_QItemEditorFactory(); +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(); + void registerEditor(QItemEditorFactory* theWrappedObject, int userType, QItemEditorCreatorBase* creator); + void static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory); + QByteArray valuePropertyName(QItemEditorFactory* theWrappedObject, int userType) const; + QByteArray py_q_valuePropertyName(QItemEditorFactory* theWrappedObject, int userType) const{ return (((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->py_q_valuePropertyName(userType));} +}; + + + + + +class PythonQtWrapper_QItemSelection : public QObject +{ Q_OBJECT +public: +public slots: +QItemSelection* new_QItemSelection(); +QItemSelection* new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight); +QItemSelection* new_QItemSelection(const QItemSelection& other) { +QItemSelection* a = new QItemSelection(); +*((QItemSelection*)a) = other; +return a; } +void delete_QItemSelection(QItemSelection* obj) { delete obj; } + void append(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void append(QItemSelection* theWrappedObject, const QList& t); + const QItemSelectionRange* at(QItemSelection* theWrappedObject, int i) const; + const QItemSelectionRange* back(QItemSelection* theWrappedObject) const; + void clear(QItemSelection* theWrappedObject); + const QItemSelectionRange* constFirst(QItemSelection* theWrappedObject) const; + const QItemSelectionRange* constLast(QItemSelection* theWrappedObject) const; + bool contains(QItemSelection* theWrappedObject, const QModelIndex& index) const; + int count(QItemSelection* theWrappedObject) const; + int count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; + void detachShared(QItemSelection* theWrappedObject); + bool empty(QItemSelection* theWrappedObject) const; + bool endsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; + const QItemSelectionRange* first(QItemSelection* theWrappedObject) const; + QList static_QItemSelection_fromVector(const QVector& vector); + const QItemSelectionRange* front(QItemSelection* theWrappedObject) const; + int indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from = 0) const; + QList indexes(QItemSelection* theWrappedObject) const; + bool isEmpty(QItemSelection* theWrappedObject) const; + bool isSharedWith(QItemSelection* theWrappedObject, const QList& other) const; + const QItemSelectionRange* last(QItemSelection* theWrappedObject) const; + int lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from = -1) const; + int length(QItemSelection* theWrappedObject) const; + void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); + QList mid(QItemSelection* theWrappedObject, int pos, int length = -1) const; + void move(QItemSelection* theWrappedObject, int from, int to); + bool __ne__(QItemSelection* theWrappedObject, const QList& l) const; + bool __eq__(QItemSelection* theWrappedObject, const QList& l) const; + void pop_back(QItemSelection* theWrappedObject); + void pop_front(QItemSelection* theWrappedObject); + void prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + int removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void removeAt(QItemSelection* theWrappedObject, int i); + void removeFirst(QItemSelection* theWrappedObject); + void removeLast(QItemSelection* theWrappedObject); + bool removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t); + void reserve(QItemSelection* theWrappedObject, int size); + void select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); + void setSharable(QItemSelection* theWrappedObject, bool sharable); + int size(QItemSelection* theWrappedObject) const; + void static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result); + bool startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; + void swap(QItemSelection* theWrappedObject, QList& other); + void swap(QItemSelection* theWrappedObject, int i, int j); + void swapItemsAt(QItemSelection* theWrappedObject, int i, int j); + QItemSelectionRange takeAt(QItemSelection* theWrappedObject, int i); + QItemSelectionRange takeFirst(QItemSelection* theWrappedObject); + QItemSelectionRange takeLast(QItemSelection* theWrappedObject); + QVector toVector(QItemSelection* theWrappedObject) const; + QItemSelectionRange value(QItemSelection* theWrappedObject, int i) const; + QItemSelectionRange value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const; + bool __nonzero__(QItemSelection* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QItemSelectionModel : public QItemSelectionModel +{ +public: + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model = nullptr):QItemSelectionModel(model),_wrapper(nullptr) {}; + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QItemSelectionModel() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QItemSelectionModel : public QItemSelectionModel +{ public: +inline void promoted_emitSelectionChanged(const QItemSelection& newSelection, const QItemSelection& oldSelection) { this->emitSelectionChanged(newSelection, oldSelection); } +inline void py_q_clear() { QItemSelectionModel::clear(); } +inline void py_q_clearCurrentIndex() { QItemSelectionModel::clearCurrentIndex(); } +inline void py_q_reset() { QItemSelectionModel::reset(); } +inline void py_q_select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(selection, command); } +inline void py_q_select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(index, command); } +inline void py_q_setCurrentIndex(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::setCurrentIndex(index, command); } +}; + +class PythonQtWrapper_QItemSelectionModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SelectionFlag ) +Q_FLAGS(SelectionFlags ) +enum SelectionFlag{ + NoUpdate = QItemSelectionModel::NoUpdate, Clear = QItemSelectionModel::Clear, Select = QItemSelectionModel::Select, Deselect = QItemSelectionModel::Deselect, Toggle = QItemSelectionModel::Toggle, Current = QItemSelectionModel::Current, Rows = QItemSelectionModel::Rows, Columns = QItemSelectionModel::Columns, SelectCurrent = QItemSelectionModel::SelectCurrent, ToggleCurrent = QItemSelectionModel::ToggleCurrent, ClearAndSelect = QItemSelectionModel::ClearAndSelect}; +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 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 = QModelIndex()) const; + QModelIndex currentIndex(QItemSelectionModel* theWrappedObject) const; + void emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection); + bool hasSelection(QItemSelectionModel* theWrappedObject) const; + bool isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()) const; + bool isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()) const; + bool isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const; + QAbstractItemModel* model(QItemSelectionModel* theWrappedObject); + const QAbstractItemModel* model(QItemSelectionModel* theWrappedObject) const; + void py_q_reset(QItemSelectionModel* theWrappedObject){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_reset());} + bool rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex()) const; + void py_q_select(QItemSelectionModel* theWrappedObject, const QItemSelection& selection, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_select(selection, command));} + void py_q_select(QItemSelectionModel* theWrappedObject, const QModelIndex& index, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_select(index, command));} + QList selectedColumns(QItemSelectionModel* theWrappedObject, int row = 0) const; + QList selectedIndexes(QItemSelectionModel* theWrappedObject) const; + QList selectedRows(QItemSelectionModel* theWrappedObject, int column = 0) const; + const QItemSelection selection(QItemSelectionModel* theWrappedObject) const; + void py_q_setCurrentIndex(QItemSelectionModel* theWrappedObject, const QModelIndex& index, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_setCurrentIndex(index, command));} + void setModel(QItemSelectionModel* theWrappedObject, QAbstractItemModel* model); +}; + + + + + +class PythonQtWrapper_QItemSelectionRange : public QObject +{ Q_OBJECT +public: +public slots: +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; } + int bottom(QItemSelectionRange* theWrappedObject) const; + const QPersistentModelIndex* bottomRight(QItemSelectionRange* theWrappedObject) const; + bool contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const; + bool contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const; + int height(QItemSelectionRange* theWrappedObject) const; + QList indexes(QItemSelectionRange* theWrappedObject) const; + QItemSelectionRange intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + bool intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + bool isEmpty(QItemSelectionRange* theWrappedObject) const; + bool isValid(QItemSelectionRange* theWrappedObject) const; + int left(QItemSelectionRange* theWrappedObject) const; + const QAbstractItemModel* model(QItemSelectionRange* theWrappedObject) const; + bool __ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + bool __lt__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + QItemSelectionRange* operator_assign(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other); + bool __eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + QModelIndex parent(QItemSelectionRange* theWrappedObject) const; + int right(QItemSelectionRange* theWrappedObject) const; + void swap(QItemSelectionRange* theWrappedObject, QItemSelectionRange& other); + int top(QItemSelectionRange* theWrappedObject) const; + const QPersistentModelIndex* topLeft(QItemSelectionRange* theWrappedObject) const; + int width(QItemSelectionRange* theWrappedObject) const; + QString py_toString(QItemSelectionRange*); + bool __nonzero__(QItemSelectionRange* obj) { return !obj->isEmpty(); } +}; + + + + + +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(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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QKeyEvent : public QObject +{ Q_OBJECT +public: +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; } + int count(QKeyEvent* theWrappedObject) const; + bool isAutoRepeat(QKeyEvent* theWrappedObject) const; + int key(QKeyEvent* theWrappedObject) const; + bool matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const; + Qt::KeyboardModifiers modifiers(QKeyEvent* theWrappedObject) const; + unsigned int nativeModifiers(QKeyEvent* theWrappedObject) const; + unsigned int nativeScanCode(QKeyEvent* theWrappedObject) const; + unsigned int nativeVirtualKey(QKeyEvent* theWrappedObject) const; + QString text(QKeyEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QKeyEventTransition : public QKeyEventTransition +{ +public: + 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() 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_QKeyEventTransition : public QKeyEventTransition +{ public: +inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } +inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } +inline bool py_q_eventTest(QEvent* event) { return QKeyEventTransition::eventTest(event); } +inline void py_q_onTransition(QEvent* event) { QKeyEventTransition::onTransition(event); } +}; + +class PythonQtWrapper_QKeyEventTransition : public QObject +{ Q_OBJECT +public: +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; } + 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; + void py_q_onTransition(QKeyEventTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QKeyEventTransition*)theWrappedObject)->py_q_onTransition(event));} + void setKey(QKeyEventTransition* theWrappedObject, int key); + void setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers); +}; + + + + + +class PythonQtShell_QKeySequenceEdit : public QKeySequenceEdit +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QKeySequenceEdit::event(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QKeySequenceEdit::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QKeySequenceEdit::keyReleaseEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QKeySequenceEdit::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QKeySequenceEdit : public QObject +{ Q_OBJECT +public: +public slots: +QKeySequenceEdit* new_QKeySequenceEdit(QWidget* parent = nullptr); +QKeySequenceEdit* new_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr); +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));} + QKeySequence keySequence(QKeySequenceEdit* theWrappedObject) const; + void py_q_timerEvent(QKeySequenceEdit* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_timerEvent(arg__1));} +}; + + + + + +class PythonQtShell_QLCDNumber : public QLCDNumber +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QLCDNumber::event(e); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QLCDNumber::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QLCDNumber::sizeHint(); } +}; + +class PythonQtWrapper_QLCDNumber : public QObject +{ Q_OBJECT +public: +public slots: +QLCDNumber* new_QLCDNumber(QWidget* parent = nullptr); +QLCDNumber* new_QLCDNumber(uint numDigits, QWidget* parent = nullptr); +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; + bool py_q_event(QLCDNumber* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QLCDNumber*)theWrappedObject)->py_q_event(e));} + int intValue(QLCDNumber* theWrappedObject) const; + QLCDNumber::Mode mode(QLCDNumber* theWrappedObject) const; + void py_q_paintEvent(QLCDNumber* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QLCDNumber*)theWrappedObject)->py_q_paintEvent(arg__1));} + QLCDNumber::SegmentStyle segmentStyle(QLCDNumber* theWrappedObject) const; + void setDigitCount(QLCDNumber* theWrappedObject, int nDigits); + void setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1); + void setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1); + QSize py_q_sizeHint(QLCDNumber* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLCDNumber*)theWrappedObject)->py_q_sizeHint());} + bool smallDecimalPoint(QLCDNumber* theWrappedObject) const; + double value(QLCDNumber* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QLabel : public QLabel +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* ev) { this->contextMenuEvent(ev); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_focusInEvent(QFocusEvent* ev) { this->focusInEvent(ev); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* ev) { this->focusOutEvent(ev); } +inline void promoted_keyPressEvent(QKeyEvent* ev) { this->keyPressEvent(ev); } +inline void promoted_mouseMoveEvent(QMouseEvent* ev) { this->mouseMoveEvent(ev); } +inline void promoted_mousePressEvent(QMouseEvent* ev) { this->mousePressEvent(ev); } +inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { this->mouseReleaseEvent(ev); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QLabel::changeEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* ev) { QLabel::contextMenuEvent(ev); } +inline bool py_q_event(QEvent* e) { return QLabel::event(e); } +inline void py_q_focusInEvent(QFocusEvent* ev) { QLabel::focusInEvent(ev); } +inline bool py_q_focusNextPrevChild(bool next) { return QLabel::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* ev) { QLabel::focusOutEvent(ev); } +inline int py_q_heightForWidth(int arg__1) const { return QLabel::heightForWidth(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* ev) { QLabel::keyPressEvent(ev); } +inline QSize py_q_minimumSizeHint() const { return QLabel::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* ev) { QLabel::mouseMoveEvent(ev); } +inline void py_q_mousePressEvent(QMouseEvent* ev) { QLabel::mousePressEvent(ev); } +inline void py_q_mouseReleaseEvent(QMouseEvent* ev) { QLabel::mouseReleaseEvent(ev); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QLabel::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QLabel::sizeHint(); } +}; + +class PythonQtWrapper_QLabel : public QObject +{ Q_OBJECT +public: +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; } + 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));} + void py_q_contextMenuEvent(QLabel* theWrappedObject, QContextMenuEvent* ev){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_contextMenuEvent(ev));} + bool py_q_event(QLabel* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_event(e));} + void py_q_focusInEvent(QLabel* theWrappedObject, QFocusEvent* ev){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_focusInEvent(ev));} + bool py_q_focusNextPrevChild(QLabel* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QLabel* theWrappedObject, QFocusEvent* ev){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_focusOutEvent(ev));} + bool hasScaledContents(QLabel* theWrappedObject) const; + bool hasSelectedText(QLabel* theWrappedObject) const; + int py_q_heightForWidth(QLabel* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_heightForWidth(arg__1));} + int indent(QLabel* theWrappedObject) const; + void py_q_keyPressEvent(QLabel* theWrappedObject, QKeyEvent* ev){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_keyPressEvent(ev));} + int margin(QLabel* theWrappedObject) const; + QSize minimumSizeHint(QLabel* theWrappedObject) const; + QSize py_q_minimumSizeHint(QLabel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QLabel* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_mouseMoveEvent(ev));} + void py_q_mousePressEvent(QLabel* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_mousePressEvent(ev));} + void py_q_mouseReleaseEvent(QLabel* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_mouseReleaseEvent(ev));} + QMovie* movie(QLabel* theWrappedObject) const; + bool openExternalLinks(QLabel* theWrappedObject) const; + void py_q_paintEvent(QLabel* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_paintEvent(arg__1));} + const QPicture* picture(QLabel* theWrappedObject) const; + const QPixmap* pixmap(QLabel* theWrappedObject) const; + QString selectedText(QLabel* theWrappedObject) const; + int selectionStart(QLabel* theWrappedObject) const; + void setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1); + void setBuddy(QLabel* theWrappedObject, QWidget* arg__1); + void setIndent(QLabel* theWrappedObject, int arg__1); + void setMargin(QLabel* theWrappedObject, int arg__1); + void setOpenExternalLinks(QLabel* theWrappedObject, bool open); + void setScaledContents(QLabel* theWrappedObject, bool arg__1); + void setSelection(QLabel* theWrappedObject, int arg__1, int arg__2); + void setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1); + void setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags); + void setWordWrap(QLabel* theWrappedObject, bool on); + QSize py_q_sizeHint(QLabel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_sizeHint());} + QString text(QLabel* theWrappedObject) const; + Qt::TextFormat textFormat(QLabel* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QLabel* theWrappedObject) const; + bool wordWrap(QLabel* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QLayout : public QLayout +{ +public: + 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 +{ public: +inline void promoted_addChildLayout(QLayout* l) { this->addChildLayout(l); } +inline void promoted_addChildWidget(QWidget* w) { this->addChildWidget(w); } +inline bool promoted_adoptLayout(QLayout* layout) { return this->adoptLayout(layout); } +inline QRect promoted_alignmentRect(const QRect& arg__1) const { return this->alignmentRect(arg__1); } +inline void promoted_childEvent(QChildEvent* e) { this->childEvent(e); } +inline void promoted_widgetEvent(QEvent* arg__1) { this->widgetEvent(arg__1); } +inline void py_q_addItem(QLayoutItem* arg__1) { this->addItem(arg__1); } +inline void py_q_childEvent(QChildEvent* e) { QLayout::childEvent(e); } +inline QSizePolicy::ControlTypes py_q_controlTypes() const { return QLayout::controlTypes(); } +inline int py_q_count() const { return this->count(); } +inline Qt::Orientations py_q_expandingDirections() const { return QLayout::expandingDirections(); } +inline QRect py_q_geometry() const { return QLayout::geometry(); } +inline int py_q_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); } +inline void py_q_invalidate() { QLayout::invalidate(); } +inline bool py_q_isEmpty() const { return QLayout::isEmpty(); } +inline QLayoutItem* py_q_itemAt(int index) const { return this->itemAt(index); } +inline QLayout* py_q_layout() { return QLayout::layout(); } +inline QSize py_q_maximumSize() const { return QLayout::maximumSize(); } +inline QSize py_q_minimumSize() const { return QLayout::minimumSize(); } +inline void py_q_setGeometry(const QRect& arg__1) { QLayout::setGeometry(arg__1); } +inline QLayoutItem* py_q_takeAt(int index) { return this->takeAt(index); } +}; + +class PythonQtWrapper_QLayout : public QObject +{ Q_OBJECT +public: +public slots: +QLayout* new_QLayout(); +QLayout* new_QLayout(QWidget* parent); +void delete_QLayout(QLayout* obj) { delete obj; } + bool activate(QLayout* theWrappedObject); + void addChildLayout(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP l); + void addChildWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w); + void addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1); + void py_q_addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_addItem(arg__1));} + void addWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w); + bool adoptLayout(QLayout* theWrappedObject, QLayout* layout); + QRect alignmentRect(QLayout* theWrappedObject, const QRect& arg__1) const; + void py_q_childEvent(QLayout* theWrappedObject, QChildEvent* e){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_childEvent(e));} + QSize static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s); + QMargins contentsMargins(QLayout* theWrappedObject) const; + QRect contentsRect(QLayout* theWrappedObject) const; + QSizePolicy::ControlTypes py_q_controlTypes(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_controlTypes());} + int count(QLayout* theWrappedObject) const; + int py_q_count(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_count());} + Qt::Orientations py_q_expandingDirections(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_expandingDirections());} + QRect py_q_geometry(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_geometry());} + int indexOf(QLayout* theWrappedObject, QLayoutItem* arg__1) const; + int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; + int py_q_indexOf(QLayout* theWrappedObject, QWidget* arg__1) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_indexOf(arg__1));} + void py_q_invalidate(QLayout* theWrappedObject){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_invalidate());} + bool py_q_isEmpty(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_isEmpty());} + bool isEnabled(QLayout* theWrappedObject) const; + QLayoutItem* itemAt(QLayout* theWrappedObject, int index) const; + QLayoutItem* py_q_itemAt(QLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_itemAt(index));} + QLayout* py_q_layout(QLayout* theWrappedObject){ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_layout());} + QSize py_q_maximumSize(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_maximumSize());} + QWidget* menuBar(QLayout* theWrappedObject) const; + QSize py_q_minimumSize(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_minimumSize());} + QWidget* parentWidget(QLayout* theWrappedObject) const; + void removeItem(QLayout* theWrappedObject, PythonQtPassOwnershipToPython arg__1); + void removeWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToPython w); + QLayoutItem* replaceWidget(QLayout* theWrappedObject, QWidget* from, QWidget* to, Qt::FindChildOptions options = Qt::FindChildrenRecursively); + bool setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment); + bool setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment); + void setContentsMargins(QLayout* theWrappedObject, const QMargins& margins); + void setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom); + void setEnabled(QLayout* theWrappedObject, bool arg__1); + void py_q_setGeometry(QLayout* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_setGeometry(arg__1));} + void setMargin(QLayout* theWrappedObject, int arg__1); + void setMenuBar(QLayout* theWrappedObject, QWidget* w); + void setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1); + void setSpacing(QLayout* theWrappedObject, int arg__1); + QLayout::SizeConstraint sizeConstraint(QLayout* theWrappedObject) const; + int spacing(QLayout* theWrappedObject) const; + PythonQtPassOwnershipToPython takeAt(QLayout* theWrappedObject, int index); + PythonQtPassOwnershipToPython py_q_takeAt(QLayout* theWrappedObject, int index){ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_takeAt(index));} + int totalHeightForWidth(QLayout* theWrappedObject, int w) const; + QSize totalMaximumSize(QLayout* theWrappedObject) const; + QSize totalMinimumSize(QLayout* theWrappedObject) const; + QSize totalSizeHint(QLayout* theWrappedObject) const; + void update(QLayout* theWrappedObject); + void widgetEvent(QLayout* theWrappedObject, QEvent* arg__1); + bool __nonzero__(QLayout* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QLayoutItem : public QLayoutItem +{ +public: + PythonQtShell_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()):QLayoutItem(alignment),_wrapper(nullptr) {}; + + ~PythonQtShell_QLayoutItem() 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_QLayoutItem : public QLayoutItem +{ public: +inline QSizePolicy::ControlTypes py_q_controlTypes() const { return QLayoutItem::controlTypes(); } +inline Qt::Orientations py_q_expandingDirections() const { return this->expandingDirections(); } +inline QRect py_q_geometry() const { return this->geometry(); } +inline bool py_q_hasHeightForWidth() const { return QLayoutItem::hasHeightForWidth(); } +inline int py_q_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); } +inline void py_q_invalidate() { QLayoutItem::invalidate(); } +inline bool py_q_isEmpty() const { return this->isEmpty(); } +inline QLayout* py_q_layout() { return QLayoutItem::layout(); } +inline QSize py_q_maximumSize() const { return this->maximumSize(); } +inline int py_q_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); } +inline QSize py_q_minimumSize() const { return this->minimumSize(); } +inline void py_q_setGeometry(const QRect& arg__1) { this->setGeometry(arg__1); } +inline QSize py_q_sizeHint() const { return this->sizeHint(); } +inline QSpacerItem* py_q_spacerItem() { return QLayoutItem::spacerItem(); } +inline QWidget* py_q_widget() { return QLayoutItem::widget(); } +}; + +class PythonQtWrapper_QLayoutItem : public QObject +{ Q_OBJECT +public: +public slots: +QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()); +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());} + Qt::Orientations expandingDirections(QLayoutItem* theWrappedObject) const; + Qt::Orientations py_q_expandingDirections(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_expandingDirections());} + QRect geometry(QLayoutItem* theWrappedObject) const; + QRect py_q_geometry(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_geometry());} + bool hasHeightForWidth(QLayoutItem* theWrappedObject) const; + bool py_q_hasHeightForWidth(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_hasHeightForWidth());} + int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; + int py_q_heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_heightForWidth(arg__1));} + void invalidate(QLayoutItem* theWrappedObject); + void py_q_invalidate(QLayoutItem* theWrappedObject){ (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_invalidate());} + bool isEmpty(QLayoutItem* theWrappedObject) const; + bool py_q_isEmpty(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_isEmpty());} + QLayout* layout(QLayoutItem* theWrappedObject); + QLayout* py_q_layout(QLayoutItem* theWrappedObject){ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_layout());} + QSize maximumSize(QLayoutItem* theWrappedObject) const; + QSize py_q_maximumSize(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_maximumSize());} + int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; + int py_q_minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} + QSize minimumSize(QLayoutItem* theWrappedObject) const; + QSize py_q_minimumSize(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_minimumSize());} + void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a); + void setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1); + void py_q_setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_setGeometry(arg__1));} + QSize sizeHint(QLayoutItem* theWrappedObject) const; + QSize py_q_sizeHint(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_sizeHint());} + QSpacerItem* spacerItem(QLayoutItem* theWrappedObject); + QSpacerItem* py_q_spacerItem(QLayoutItem* theWrappedObject){ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_spacerItem());} + QWidget* widget(QLayoutItem* theWrappedObject); + QWidget* py_q_widget(QLayoutItem* theWrappedObject){ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_widget());} + bool __nonzero__(QLayoutItem* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QLineEdit : public QLineEdit +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline QRect promoted_cursorRect() const { return this->cursorRect(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* arg__1) { this->dropEvent(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionFrame* option) const { this->initStyleOption(option); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QLineEdit::changeEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QLineEdit::contextMenuEvent(arg__1); } +inline void py_q_dragEnterEvent(QDragEnterEvent* arg__1) { QLineEdit::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QLineEdit::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QLineEdit::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* arg__1) { QLineEdit::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QLineEdit::event(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QLineEdit::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QLineEdit::focusOutEvent(arg__1); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QLineEdit::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QLineEdit::inputMethodQuery(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QLineEdit::keyPressEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QLineEdit::minimumSizeHint(); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QLineEdit::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QLineEdit::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QLineEdit::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QLineEdit::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QLineEdit::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QLineEdit::sizeHint(); } +}; + +class PythonQtWrapper_QLineEdit : public QObject +{ Q_OBJECT +public: +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 addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position); + QAction* addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position); + Qt::Alignment alignment(QLineEdit* theWrappedObject) const; + void backspace(QLineEdit* theWrappedObject); + void py_q_changeEvent(QLineEdit* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_changeEvent(arg__1));} + QCompleter* completer(QLineEdit* theWrappedObject) const; + void py_q_contextMenuEvent(QLineEdit* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} + QMenu* createStandardContextMenu(QLineEdit* theWrappedObject); + void cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps = 1); + void cursorForward(QLineEdit* theWrappedObject, bool mark, int steps = 1); + Qt::CursorMoveStyle cursorMoveStyle(QLineEdit* theWrappedObject) const; + int cursorPosition(QLineEdit* theWrappedObject) const; + int cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos); + QRect cursorRect(QLineEdit* theWrappedObject) const; + void cursorWordBackward(QLineEdit* theWrappedObject, bool mark); + void cursorWordForward(QLineEdit* theWrappedObject, bool mark); + void del(QLineEdit* theWrappedObject); + void deselect(QLineEdit* theWrappedObject); + QString displayText(QLineEdit* theWrappedObject) const; + bool dragEnabled(QLineEdit* theWrappedObject) const; + void py_q_dragEnterEvent(QLineEdit* theWrappedObject, QDragEnterEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} + void py_q_dragLeaveEvent(QLineEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QLineEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QLineEdit* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_dropEvent(arg__1));} + QLineEdit::EchoMode echoMode(QLineEdit* theWrappedObject) const; + void end(QLineEdit* theWrappedObject, bool mark); + bool py_q_event(QLineEdit* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_event(arg__1));} + void py_q_focusInEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_focusInEvent(arg__1));} + void py_q_focusOutEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + void getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const; + bool hasAcceptableInput(QLineEdit* theWrappedObject) const; + bool hasFrame(QLineEdit* theWrappedObject) const; + bool hasSelectedText(QLineEdit* theWrappedObject) const; + void home(QLineEdit* theWrappedObject, bool mark); + void initStyleOption(QLineEdit* theWrappedObject, QStyleOptionFrame* option) const; + QString inputMask(QLineEdit* theWrappedObject) const; + void py_q_inputMethodEvent(QLineEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery arg__1) const{ return (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_inputMethodQuery(arg__1));} + QVariant inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery property, QVariant argument) const; + void insert(QLineEdit* theWrappedObject, const QString& arg__1); + bool isClearButtonEnabled(QLineEdit* theWrappedObject) const; + bool isModified(QLineEdit* theWrappedObject) const; + bool isReadOnly(QLineEdit* theWrappedObject) const; + bool isRedoAvailable(QLineEdit* theWrappedObject) const; + bool isUndoAvailable(QLineEdit* theWrappedObject) const; + void py_q_keyPressEvent(QLineEdit* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + int maxLength(QLineEdit* theWrappedObject) const; + QSize minimumSizeHint(QLineEdit* theWrappedObject) const; + QSize py_q_minimumSizeHint(QLineEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseDoubleClickEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + void py_q_mouseMoveEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QLineEdit* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_paintEvent(arg__1));} + QString placeholderText(QLineEdit* theWrappedObject) const; + QString selectedText(QLineEdit* theWrappedObject) const; + int selectionEnd(QLineEdit* theWrappedObject) const; + int selectionLength(QLineEdit* theWrappedObject) const; + int selectionStart(QLineEdit* theWrappedObject) const; + void setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag); + void setClearButtonEnabled(QLineEdit* theWrappedObject, bool enable); + void setCompleter(QLineEdit* theWrappedObject, QCompleter* completer); + void setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style); + void setCursorPosition(QLineEdit* theWrappedObject, int arg__1); + void setDragEnabled(QLineEdit* theWrappedObject, bool b); + void setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1); + void setFrame(QLineEdit* theWrappedObject, bool arg__1); + void setInputMask(QLineEdit* theWrappedObject, const QString& inputMask); + void setMaxLength(QLineEdit* theWrappedObject, int arg__1); + void setModified(QLineEdit* theWrappedObject, bool arg__1); + void setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1); + void setReadOnly(QLineEdit* theWrappedObject, bool arg__1); + void setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2); + void setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins); + void setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom); + void setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1); + QSize sizeHint(QLineEdit* theWrappedObject) const; + QSize py_q_sizeHint(QLineEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->py_q_sizeHint());} + QString text(QLineEdit* theWrappedObject) const; + QMargins textMargins(QLineEdit* theWrappedObject) const; + const QValidator* validator(QLineEdit* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp new file mode 100644 index 00000000..af869bad --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -0,0 +1,17768 @@ +#include "com_trolltech_qt_gui5.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient() +{ +return new QLinearGradient(); } + +QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(const QPointF& start, const QPointF& finalStop) +{ +return new QLinearGradient(start, finalStop); } + +QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop) +{ +return new QLinearGradient(xStart, yStart, xFinalStop, yFinalStop); } + +QPointF PythonQtWrapper_QLinearGradient::finalStop(QLinearGradient* theWrappedObject) const +{ + return ( theWrappedObject->finalStop()); +} + +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop) +{ + ( theWrappedObject->setFinalStop(stop)); +} + +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setFinalStop(x, y)); +} + +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, const QPointF& start) +{ + ( theWrappedObject->setStart(start)); +} + +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setStart(x, y)); +} + +QPointF PythonQtWrapper_QLinearGradient::start(QLinearGradient* theWrappedObject) const +{ + return ( theWrappedObject->start()); +} + + + +PythonQtShell_QListView::~PythonQtShell_QListView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QListView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QListView::actionEvent(event0); +} +void PythonQtShell_QListView::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::changeEvent(arg__1); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::childEvent(event0); +} +void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::closeEditor(editor0, hint1); +} +void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QListView::closeEvent(event0); +} +void PythonQtShell_QListView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::commitData(editor0); +} +void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::contextMenuEvent(arg__1); +} +void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::currentChanged(current0, previous1); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::customEvent(event0); +} +void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QListView::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 QListView::devType(); +} +void PythonQtShell_QListView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QListView::doItemsLayout(); +} +void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QListView::dragEnterEvent(event0); +} +void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) +{ +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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QListView::dragLeaveEvent(e0); +} +void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) +{ +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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QListView::dragMoveEvent(e0); +} +void PythonQtShell_QListView::dropEvent(QDropEvent* e0) +{ +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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QListView::dropEvent(e0); +} +bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::edit(index0, trigger1, event2); +} +void PythonQtShell_QListView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::editorDestroyed(editor0); +} +void PythonQtShell_QListView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QListView::enterEvent(event0); +} +bool PythonQtShell_QListView::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 QListView::event(e0); +} +bool PythonQtShell_QListView::eventFilter(QObject* object0, 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*)&object0, (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 QListView::eventFilter(object0, event1); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::focusInEvent(event0); +} +bool PythonQtShell_QListView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::focusNextPrevChild(next0); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::focusOutEvent(event0); +} +bool PythonQtShell_QListView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::hasHeightForWidth(); +} +int PythonQtShell_QListView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::heightForWidth(arg__1); +} +void PythonQtShell_QListView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::hideEvent(event0); +} +int PythonQtShell_QListView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::horizontalOffset(); +} +void PythonQtShell_QListView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::indexAt(p0); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::initPainter(painter0); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QListView::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 QListView::inputMethodQuery(query0); +} +bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::isIndexHidden(index0); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::keyPressEvent(event0); +} +void PythonQtShell_QListView::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(); + } + } +} + QListView::keyReleaseEvent(event0); +} +void PythonQtShell_QListView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::keyboardSearch(search0); +} +void PythonQtShell_QListView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QListView::leaveEvent(event0); +} +int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::metric(arg__1); +} +QSize PythonQtShell_QListView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::minimumSizeHint(); +} +void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListView::mouseMoveEvent(e0); +} +void PythonQtShell_QListView::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListView::mousePressEvent(event0); +} +void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListView::mouseReleaseEvent(e0); +} +QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QListView::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QListView::moveEvent(event0); +} +bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QListView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::paintEngine(); +} +void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QListView::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QListView::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 QListView::redirected(offset0); +} +void PythonQtShell_QListView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QListView::reset(); +} +void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QListView::resizeEvent(e0); +} +void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::scrollTo(index0, hint1); +} +void PythonQtShell_QListView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QListView::selectAll(); +} +QList PythonQtShell_QListView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::selectedIndexes(); +} +void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::selectionCommand(index0, event1); +} +void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::setModel(model0); +} +void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QListView::setRootIndex(index0); +} +void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::setSelection(rect0, command1); +} +void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QListView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::setVisible(visible0); +} +void PythonQtShell_QListView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QListView::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 QListView::sharedPainter(); +} +void PythonQtShell_QListView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QListView::showEvent(event0); +} +QSize PythonQtShell_QListView::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::sizeHint(); +} +int PythonQtShell_QListView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::sizeHintForColumn(column0); +} +int PythonQtShell_QListView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::sizeHintForRow(row0); +} +void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::startDrag(supportedActions0); +} +void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QListView::tabletEvent(event0); +} +void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::timerEvent(e0); +} +void PythonQtShell_QListView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QListView::updateEditorData(); +} +void PythonQtShell_QListView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QListView::updateEditorGeometries(); +} +void PythonQtShell_QListView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QListView::updateGeometries(); +} +int PythonQtShell_QListView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::verticalOffset(); +} +void PythonQtShell_QListView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::verticalScrollbarAction(action0); +} +void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::viewOptions(); +} +bool PythonQtShell_QListView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::viewportEvent(event0); +} +QSize PythonQtShell_QListView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::viewportSizeHint(); +} +QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::visualRect(index0); +} +QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::visualRegionForSelection(selection0); +} +void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QListView::wheelEvent(e0); +} +QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) +{ +return new PythonQtShell_QListView(parent); } + +const QMetaObject* PythonQtShell_QListView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListView::staticMetaObject); + } else { + return &QListView::staticMetaObject; + } +} +int PythonQtShell_QListView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QListView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const +{ + return ( theWrappedObject->batchSize()); +} + +void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) +{ + ( theWrappedObject->clearPropertyFlags()); +} + +QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); +} + +QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const +{ + return ( theWrappedObject->flow()); +} + +QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const +{ + return ( theWrappedObject->gridSize()); +} + +bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const +{ + return ( theWrappedObject->isRowHidden(row)); +} + +bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const +{ + return ( theWrappedObject->isSelectionRectVisible()); +} + +bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const +{ + return ( theWrappedObject->isWrapping()); +} + +Qt::Alignment PythonQtWrapper_QListView::itemAlignment(QListView* theWrappedObject) const +{ + return ( theWrappedObject->itemAlignment()); +} + +QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->layoutMode()); +} + +int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const +{ + return ( theWrappedObject->modelColumn()); +} + +QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const +{ + return ( theWrappedObject->movement()); +} + +QRect PythonQtWrapper_QListView::rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rectForIndex(index)); +} + +void PythonQtWrapper_QListView::resizeContents(QListView* theWrappedObject, int width, int height) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeContents(width, height)); +} + +QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->resizeMode()); +} + +void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) +{ + ( theWrappedObject->setBatchSize(batchSize)); +} + +void PythonQtWrapper_QListView::setFlow(QListView* theWrappedObject, QListView::Flow flow) +{ + ( theWrappedObject->setFlow(flow)); +} + +void PythonQtWrapper_QListView::setGridSize(QListView* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setGridSize(size)); +} + +void PythonQtWrapper_QListView::setItemAlignment(QListView* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setItemAlignment(alignment)); +} + +void PythonQtWrapper_QListView::setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode) +{ + ( theWrappedObject->setLayoutMode(mode)); +} + +void PythonQtWrapper_QListView::setModelColumn(QListView* theWrappedObject, int column) +{ + ( theWrappedObject->setModelColumn(column)); +} + +void PythonQtWrapper_QListView::setMovement(QListView* theWrappedObject, QListView::Movement movement) +{ + ( theWrappedObject->setMovement(movement)); +} + +void PythonQtWrapper_QListView::setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setPositionForIndex(position, index)); +} + +void PythonQtWrapper_QListView::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) +{ + ( theWrappedObject->setResizeMode(mode)); +} + +void PythonQtWrapper_QListView::setRowHidden(QListView* theWrappedObject, int row, bool hide) +{ + ( theWrappedObject->setRowHidden(row, hide)); +} + +void PythonQtWrapper_QListView::setSelectionRectVisible(QListView* theWrappedObject, bool show) +{ + ( theWrappedObject->setSelectionRectVisible(show)); +} + +void PythonQtWrapper_QListView::setSpacing(QListView* theWrappedObject, int space) +{ + ( theWrappedObject->setSpacing(space)); +} + +void PythonQtWrapper_QListView::setUniformItemSizes(QListView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUniformItemSizes(enable)); +} + +void PythonQtWrapper_QListView::setViewMode(QListView* theWrappedObject, QListView::ViewMode mode) +{ + ( theWrappedObject->setViewMode(mode)); +} + +void PythonQtWrapper_QListView::setWordWrap(QListView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +void PythonQtWrapper_QListView::setWrapping(QListView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setWrapping(enable)); +} + +int PythonQtWrapper_QListView::spacing(QListView* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const +{ + return ( theWrappedObject->uniformItemSizes()); +} + +QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + +bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QListWidget::actionEvent(event0); +} +void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::changeEvent(arg__1); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::childEvent(event0); +} +void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::closeEditor(editor0, hint1); +} +void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QListWidget::closeEvent(event0); +} +void PythonQtShell_QListWidget::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::commitData(editor0); +} +void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::currentChanged(current0, previous1); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::customEvent(event0); +} +void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QListWidget::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 QListWidget::devType(); +} +void PythonQtShell_QListWidget::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + 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(); + } + } +} + QListWidget::doItemsLayout(); +} +void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QListWidget::dragEnterEvent(event0); +} +void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) +{ +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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QListWidget::dragLeaveEvent(e0); +} +void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) +{ +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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QListWidget::dragMoveEvent(e0); +} +void PythonQtShell_QListWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QListWidget::dropEvent(event0); +} +bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* data1, Qt::DropAction action2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::dropMimeData(index0, data1, action2); +} +bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::edit(index0, trigger1, event2); +} +void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::editorDestroyed(editor0); +} +void PythonQtShell_QListWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QListWidget::enterEvent(event0); +} +bool PythonQtShell_QListWidget::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 QListWidget::event(e0); +} +bool PythonQtShell_QListWidget::eventFilter(QObject* object0, 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*)&object0, (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 QListWidget::eventFilter(object0, event1); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::focusInEvent(event0); +} +bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::focusOutEvent(event0); +} +bool PythonQtShell_QListWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::hasHeightForWidth(); +} +int PythonQtShell_QListWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::heightForWidth(arg__1); +} +void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::hideEvent(event0); +} +int PythonQtShell_QListWidget::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + 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("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::horizontalOffset(); +} +void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::horizontalScrollbarAction(action0); +} +void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::indexAt(p0); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::initPainter(painter0); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::inputMethodEvent(event0); +} +QVariant PythonQtShell_QListWidget::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 QListWidget::inputMethodQuery(query0); +} +bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::isIndexHidden(index0); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::keyPressEvent(event0); +} +void PythonQtShell_QListWidget::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(); + } + } +} + QListWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::keyboardSearch(search0); +} +void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QListWidget::leaveEvent(event0); +} +int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::mimeData(items0); +} +QStringList PythonQtShell_QListWidget::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::mimeTypes(); +} +QSize PythonQtShell_QListWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::minimumSizeHint(); +} +void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListWidget::mouseMoveEvent(e0); +} +void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListWidget::mousePressEvent(event0); +} +void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QListWidget::mouseReleaseEvent(e0); +} +QModelIndex PythonQtShell_QListWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QListWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QListWidget::moveEvent(event0); +} +bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QListWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::paintEngine(); +} +void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QListWidget::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QListWidget::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 QListWidget::redirected(offset0); +} +void PythonQtShell_QListWidget::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QListWidget::reset(); +} +void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QListWidget::resizeEvent(e0); +} +void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::scrollTo(index0, hint1); +} +void PythonQtShell_QListWidget::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + 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(); + } + } +} + QListWidget::selectAll(); +} +QList PythonQtShell_QListWidget::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::selectedIndexes(); +} +void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::selectionCommand(index0, event1); +} +void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + 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(); + } + } +} + QListWidget::setRootIndex(index0); +} +void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::setSelection(rect0, command1); +} +void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::setSelectionModel(selectionModel0); +} +void PythonQtShell_QListWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::setVisible(visible0); +} +void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::setupViewport(viewport0); +} +QPainter* PythonQtShell_QListWidget::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 QListWidget::sharedPainter(); +} +void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QListWidget::showEvent(event0); +} +QSize PythonQtShell_QListWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::sizeHint(); +} +int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + 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*)&column0}; + 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("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::sizeHintForColumn(column0); +} +int PythonQtShell_QListWidget::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + 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*)&row0}; + 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("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::sizeHintForRow(row0); +} +void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::startDrag(supportedActions0); +} +Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::supportedDropActions(); +} +void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QListWidget::tabletEvent(event0); +} +void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::timerEvent(e0); +} +void PythonQtShell_QListWidget::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + 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(); + } + } +} + QListWidget::updateEditorData(); +} +void PythonQtShell_QListWidget::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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(); + } + } +} + QListWidget::updateEditorGeometries(); +} +void PythonQtShell_QListWidget::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + 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(); + } + } +} + QListWidget::updateGeometries(); +} +int PythonQtShell_QListWidget::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + 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("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::verticalOffset(); +} +void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + 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*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::verticalScrollbarAction(action0); +} +void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidget::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::viewOptions(); +} +bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::viewportEvent(event0); +} +QSize PythonQtShell_QListWidget::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::viewportSizeHint(); +} +QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::visualRect(index0); +} +QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidget::visualRegionForSelection(selection0); +} +void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QListWidget::wheelEvent(e0); +} +QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) +{ +return new PythonQtShell_QListWidget(parent); } + +const QMetaObject* PythonQtShell_QListWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListWidget::staticMetaObject); + } else { + return &QListWidget::staticMetaObject; + } +} +int PythonQtShell_QListWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QListWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addItem(item)); +} + +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) +{ + ( theWrappedObject->addItem(label)); +} + +void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->addItems(labels)); +} + +void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->closePersistentEditor(item)); +} + +int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentRow()); +} + +bool PythonQtWrapper_QListWidget::dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action) +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropMimeData(index, data, action)); +} + +void PythonQtWrapper_QListWidget::editItem(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->editItem(item)); +} + +QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findItems(text, flags)); +} + +QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, const QListWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertItem(row, item)); +} + +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) +{ + ( theWrappedObject->insertItem(row, label)); +} + +void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) +{ + ( theWrappedObject->insertItems(row, labels)); +} + +bool PythonQtWrapper_QListWidget::isPersistentEditorOpen(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item)); +} + +bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const +{ + return ( theWrappedObject->item(row)); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +} + +QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( theWrappedObject->itemWidget(item)); +} + +QList PythonQtWrapper_QListWidget::items(QListWidget* theWrappedObject, const QMimeData* data) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_items(data)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::mimeData(QListWidget* theWrappedObject, const QList items) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeData(items)); +} + +QStringList PythonQtWrapper_QListWidget::mimeTypes(QListWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeTypes()); +} + +void PythonQtWrapper_QListWidget::openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->openPersistentEditor(item)); +} + +void PythonQtWrapper_QListWidget::removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->removeItemWidget(item)); +} + +int PythonQtWrapper_QListWidget::row(QListWidget* theWrappedObject, const QListWidgetItem* item) const +{ + return ( theWrappedObject->row(item)); +} + +QList PythonQtWrapper_QListWidget::selectedItems(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); +} + +void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentItem(item, command)); +} + +void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row) +{ + ( theWrappedObject->setCurrentRow(row)); +} + +void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentRow(row, command)); +} + +void PythonQtWrapper_QListWidget::setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setItemWidget(item, widget)); +} + +void PythonQtWrapper_QListWidget::setSortingEnabled(QListWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); +} + +void PythonQtWrapper_QListWidget::sortItems(QListWidget* theWrappedObject, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(order)); +} + +Qt::DropActions PythonQtWrapper_QListWidget::supportedDropActions(QListWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::takeItem(QListWidget* theWrappedObject, int row) +{ + return ( theWrappedObject->takeItem(row)); +} + +QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); +} + + + +PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QListWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QListWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidgetItem::clone(); +} +QVariant PythonQtShell_QListWidgetItem::data(int role0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidgetItem::data(role0); +} +void PythonQtShell_QListWidgetItem::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&in0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidgetItem::read(in0); +} +void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidgetItem::setData(role0, value1); +} +void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&out0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidgetItem::write(out0); +} +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis listview, int type) +{ +return new PythonQtShell_QListWidgetItem(listview, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis listview, int type) +{ +return new PythonQtShell_QListWidgetItem(icon, text, listview, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis listview, int type) +{ +return new PythonQtShell_QListWidgetItem(text, listview, type); } + +QBrush PythonQtWrapper_QListWidgetItem::background(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +Qt::CheckState PythonQtWrapper_QListWidgetItem::checkState(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::clone(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +QVariant PythonQtWrapper_QListWidgetItem::data(QListWidgetItem* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QListWidgetItem::flags(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QListWidgetItem::font(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QListWidgetItem::foreground(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +QIcon PythonQtWrapper_QListWidgetItem::icon(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QListWidgetItem::isHidden(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QListWidgetItem::isSelected(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +QListWidget* PythonQtWrapper_QListWidgetItem::listWidget(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->listWidget()); +} + +void PythonQtWrapper_QListWidgetItem::writeTo(QListWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QListWidgetItem::readFrom(QListWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QListWidgetItem::read(QListWidgetItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +void PythonQtWrapper_QListWidgetItem::setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QListWidgetItem::setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QListWidgetItem::setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value) +{ + ( theWrappedObject->setData(role, value)); +} + +void PythonQtWrapper_QListWidgetItem::setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QListWidgetItem::setFont(QListWidgetItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QListWidgetItem::setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QListWidgetItem::setHidden(QListWidgetItem* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHidden(hide)); +} + +void PythonQtWrapper_QListWidgetItem::setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QListWidgetItem::setSelected(QListWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QListWidgetItem::setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSizeHint(size)); +} + +void PythonQtWrapper_QListWidgetItem::setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QListWidgetItem::setText(QListWidgetItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QListWidgetItem::setTextAlignment(QListWidgetItem* theWrappedObject, int alignment) +{ + ( theWrappedObject->setTextAlignment(alignment)); +} + +void PythonQtWrapper_QListWidgetItem::setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QListWidgetItem::setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(whatsThis)); +} + +QSize PythonQtWrapper_QListWidgetItem::sizeHint(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QListWidgetItem::statusTip(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QString PythonQtWrapper_QListWidgetItem::text(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +int PythonQtWrapper_QListWidgetItem::textAlignment(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); +} + +QString PythonQtWrapper_QListWidgetItem::toolTip(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QListWidgetItem::type(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QListWidgetItem::whatsThis(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QListWidgetItem::write(QListWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); +} + + + +PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QMainWindow::actionEvent(event0); +} +void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::changeEvent(arg__1); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::childEvent(event0); +} +void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QMainWindow::closeEvent(event0); +} +void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QMainWindow::contextMenuEvent(event0); +} +QMenu* PythonQtShell_QMainWindow::createPopupMenu() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createPopupMenu"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMenu*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); + } else { + returnValue = *((QMenu**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::createPopupMenu(); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::customEvent(event0); +} +int PythonQtShell_QMainWindow::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 QMainWindow::devType(); +} +void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QMainWindow::dragEnterEvent(event0); +} +void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QMainWindow::dragLeaveEvent(event0); +} +void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QMainWindow::dragMoveEvent(event0); +} +void PythonQtShell_QMainWindow::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QMainWindow::dropEvent(event0); +} +void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QMainWindow::enterEvent(event0); +} +bool PythonQtShell_QMainWindow::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 QMainWindow::event(event0); +} +bool PythonQtShell_QMainWindow::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 QMainWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::focusInEvent(event0); +} +bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::focusNextPrevChild(next0); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::focusOutEvent(event0); +} +bool PythonQtShell_QMainWindow::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::hasHeightForWidth(); +} +int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::heightForWidth(arg__1); +} +void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::hideEvent(event0); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::initPainter(painter0); +} +void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::inputMethodQuery(arg__1); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::keyPressEvent(event0); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::keyReleaseEvent(event0); +} +void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QMainWindow::leaveEvent(event0); +} +int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::metric(arg__1); +} +QSize PythonQtShell_QMainWindow::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::minimumSizeHint(); +} +void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMainWindow::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMainWindow::mouseMoveEvent(event0); +} +void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMainWindow::mousePressEvent(event0); +} +void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMainWindow::mouseReleaseEvent(event0); +} +void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QMainWindow::moveEvent(event0); +} +bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::paintEngine(); +} +void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QMainWindow::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QMainWindow::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 QMainWindow::redirected(offset0); +} +void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QMainWindow::resizeEvent(event0); +} +void PythonQtShell_QMainWindow::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::setVisible(visible0); +} +QPainter* PythonQtShell_QMainWindow::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 QMainWindow::sharedPainter(); +} +void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QMainWindow::showEvent(event0); +} +QSize PythonQtShell_QMainWindow::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::sizeHint(); +} +void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QMainWindow::tabletEvent(event0); +} +void PythonQtShell_QMainWindow::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(); + } + } +} + QMainWindow::timerEvent(event0); +} +void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QMainWindow::wheelEvent(event0); +} +QMainWindow* PythonQtWrapper_QMainWindow::new_QMainWindow(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMainWindow(parent, flags); } + +const QMetaObject* PythonQtShell_QMainWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMainWindow::staticMetaObject); + } else { + return &QMainWindow::staticMetaObject; + } +} +int PythonQtShell_QMainWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMainWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget) +{ + ( theWrappedObject->addDockWidget(area, dockwidget)); +} + +void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation) +{ + ( theWrappedObject->addDockWidget(area, dockwidget, orientation)); +} + +void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) +{ + ( theWrappedObject->addToolBar(toolbar)); +} + +void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar) +{ + ( theWrappedObject->addToolBar(area, toolbar)); +} + +QToolBar* PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, const QString& title) +{ + return ( theWrappedObject->addToolBar(title)); +} + +void PythonQtWrapper_QMainWindow::addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area) +{ + ( theWrappedObject->addToolBarBreak(area)); +} + +QWidget* PythonQtWrapper_QMainWindow::centralWidget(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->centralWidget()); +} + +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::corner(QMainWindow* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->corner(corner)); +} + +QMenu* PythonQtWrapper_QMainWindow::createPopupMenu(QMainWindow* theWrappedObject) +{ + return ( theWrappedObject->createPopupMenu()); +} + +QMainWindow::DockOptions PythonQtWrapper_QMainWindow::dockOptions(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->dockOptions()); +} + +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const +{ + return ( theWrappedObject->dockWidgetArea(dockwidget)); +} + +bool PythonQtWrapper_QMainWindow::documentMode(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +QSize PythonQtWrapper_QMainWindow::iconSize(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QMainWindow::insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar) +{ + ( theWrappedObject->insertToolBar(before, toolbar)); +} + +void PythonQtWrapper_QMainWindow::insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) +{ + ( theWrappedObject->insertToolBarBreak(before)); +} + +bool PythonQtWrapper_QMainWindow::isAnimated(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); +} + +bool PythonQtWrapper_QMainWindow::isDockNestingEnabled(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->isDockNestingEnabled()); +} + +bool PythonQtWrapper_QMainWindow::isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->isSeparator(pos)); +} + +QMenuBar* PythonQtWrapper_QMainWindow::menuBar(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->menuBar()); +} + +QWidget* PythonQtWrapper_QMainWindow::menuWidget(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->menuWidget()); +} + +void PythonQtWrapper_QMainWindow::removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) +{ + ( theWrappedObject->removeDockWidget(dockwidget)); +} + +void PythonQtWrapper_QMainWindow::removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) +{ + ( theWrappedObject->removeToolBar(toolbar)); +} + +void PythonQtWrapper_QMainWindow::removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) +{ + ( theWrappedObject->removeToolBarBreak(before)); +} + +void PythonQtWrapper_QMainWindow::resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation) +{ + ( theWrappedObject->resizeDocks(docks, sizes, orientation)); +} + +bool PythonQtWrapper_QMainWindow::restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) +{ + return ( theWrappedObject->restoreDockWidget(dockwidget)); +} + +bool PythonQtWrapper_QMainWindow::restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version) +{ + return ( theWrappedObject->restoreState(state, version)); +} + +QByteArray PythonQtWrapper_QMainWindow::saveState(QMainWindow* theWrappedObject, int version) const +{ + return ( theWrappedObject->saveState(version)); +} + +void PythonQtWrapper_QMainWindow::setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setCentralWidget(widget)); +} + +void PythonQtWrapper_QMainWindow::setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area) +{ + ( theWrappedObject->setCorner(corner, area)); +} + +void PythonQtWrapper_QMainWindow::setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options) +{ + ( theWrappedObject->setDockOptions(options)); +} + +void PythonQtWrapper_QMainWindow::setDocumentMode(QMainWindow* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setDocumentMode(enabled)); +} + +void PythonQtWrapper_QMainWindow::setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize) +{ + ( theWrappedObject->setIconSize(iconSize)); +} + +void PythonQtWrapper_QMainWindow::setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar) +{ + ( theWrappedObject->setMenuBar(menubar)); +} + +void PythonQtWrapper_QMainWindow::setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar) +{ + ( theWrappedObject->setMenuWidget(menubar)); +} + +void PythonQtWrapper_QMainWindow::setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar) +{ + ( theWrappedObject->setStatusBar(statusbar)); +} + +void PythonQtWrapper_QMainWindow::setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition) +{ + ( theWrappedObject->setTabPosition(areas, tabPosition)); +} + +void PythonQtWrapper_QMainWindow::setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape) +{ + ( theWrappedObject->setTabShape(tabShape)); +} + +void PythonQtWrapper_QMainWindow::setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle) +{ + ( theWrappedObject->setToolButtonStyle(toolButtonStyle)); +} + +void PythonQtWrapper_QMainWindow::splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation) +{ + ( theWrappedObject->splitDockWidget(after, dockwidget, orientation)); +} + +QStatusBar* PythonQtWrapper_QMainWindow::statusBar(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->statusBar()); +} + +QTabWidget::TabPosition PythonQtWrapper_QMainWindow::tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const +{ + return ( theWrappedObject->tabPosition(area)); +} + +QTabWidget::TabShape PythonQtWrapper_QMainWindow::tabShape(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->tabShape()); +} + +QList PythonQtWrapper_QMainWindow::tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const +{ + return ( theWrappedObject->tabifiedDockWidgets(dockwidget)); +} + +void PythonQtWrapper_QMainWindow::tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second) +{ + ( theWrappedObject->tabifyDockWidget(first, second)); +} + +QWidget* PythonQtWrapper_QMainWindow::takeCentralWidget(QMainWindow* theWrappedObject) +{ + return ( theWrappedObject->takeCentralWidget()); +} + +Qt::ToolBarArea PythonQtWrapper_QMainWindow::toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const +{ + return ( theWrappedObject->toolBarArea(toolbar)); +} + +bool PythonQtWrapper_QMainWindow::toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const +{ + return ( theWrappedObject->toolBarBreak(toolbar)); +} + +Qt::ToolButtonStyle PythonQtWrapper_QMainWindow::toolButtonStyle(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); +} + +bool PythonQtWrapper_QMainWindow::unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->unifiedTitleAndToolBarOnMac()); +} + + + +QMargins* PythonQtWrapper_QMargins::new_QMargins() +{ +return new QMargins(); } + +QMargins* PythonQtWrapper_QMargins::new_QMargins(int left, int top, int right, int bottom) +{ +return new QMargins(left, top, right, bottom); } + +int PythonQtWrapper_QMargins::bottom(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +bool PythonQtWrapper_QMargins::isNull(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +int PythonQtWrapper_QMargins::left(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +bool PythonQtWrapper_QMargins::__ne__(QMargins* theWrappedObject, const QMargins& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +QMargins PythonQtWrapper_QMargins::__mul__(QMargins* theWrappedObject, int factor) +{ + return ( (*theWrappedObject)* factor); +} + +QMargins PythonQtWrapper_QMargins::__mul__(QMargins* theWrappedObject, qreal factor) +{ + return ( (*theWrappedObject)* factor); +} + +QMargins* PythonQtWrapper_QMargins::__imul__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +QMargins* PythonQtWrapper_QMargins::__imul__(QMargins* theWrappedObject, qreal arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +QMargins PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject) +{ + return (+ (*theWrappedObject)); +} + +QMargins PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)+ m2); +} + +QRect PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, const QRect& rectangle) +{ + return ( (*theWrappedObject)+ rectangle); +} + +QMargins PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, int rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QMargins* PythonQtWrapper_QMargins::__iadd__(QMargins* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QMargins* PythonQtWrapper_QMargins::__iadd__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +QMargins PythonQtWrapper_QMargins::__sub__(QMargins* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +QMargins PythonQtWrapper_QMargins::__sub__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)- m2); +} + +QMargins PythonQtWrapper_QMargins::__sub__(QMargins* theWrappedObject, int rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QMargins* PythonQtWrapper_QMargins::__isub__(QMargins* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +QMargins* PythonQtWrapper_QMargins::__isub__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, int divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)/= arg__1); +} + +QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, qreal arg__1) +{ + return &( (*theWrappedObject)/= arg__1); +} + +void PythonQtWrapper_QMargins::writeTo(QMargins* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMargins::__eq__(QMargins* theWrappedObject, const QMargins& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QMargins::readFrom(QMargins* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QMargins::right(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QMargins::setBottom(QMargins* theWrappedObject, int bottom) +{ + ( theWrappedObject->setBottom(bottom)); +} + +void PythonQtWrapper_QMargins::setLeft(QMargins* theWrappedObject, int left) +{ + ( theWrappedObject->setLeft(left)); +} + +void PythonQtWrapper_QMargins::setRight(QMargins* theWrappedObject, int right) +{ + ( theWrappedObject->setRight(right)); +} + +void PythonQtWrapper_QMargins::setTop(QMargins* theWrappedObject, int top) +{ + ( theWrappedObject->setTop(top)); +} + +int PythonQtWrapper_QMargins::top(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QString PythonQtWrapper_QMargins::py_toString(QMargins* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QMdiArea::actionEvent(event0); +} +void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::changeEvent(arg__1); +} +void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) +{ +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*)&childEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::childEvent(childEvent0); +} +void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QMdiArea::closeEvent(event0); +} +void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QMdiArea::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(); + } + } +} + QMdiArea::customEvent(event0); +} +int PythonQtShell_QMdiArea::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 QMdiArea::devType(); +} +void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +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[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +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[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dropEvent(arg__1); +} +void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QMdiArea::enterEvent(event0); +} +bool PythonQtShell_QMdiArea::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 QMdiArea::event(event0); +} +bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, 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*)&object0, (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 QMdiArea::eventFilter(object0, event1); +} +void PythonQtShell_QMdiArea::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(); + } + } +} + QMdiArea::focusInEvent(event0); +} +bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::focusNextPrevChild(next0); +} +void PythonQtShell_QMdiArea::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(); + } + } +} + QMdiArea::focusOutEvent(event0); +} +bool PythonQtShell_QMdiArea::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::hasHeightForWidth(); +} +int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::heightForWidth(arg__1); +} +void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::hideEvent(event0); +} +void PythonQtShell_QMdiArea::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(); + } + } +} + QMdiArea::initPainter(painter0); +} +void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::keyPressEvent(arg__1); +} +void PythonQtShell_QMdiArea::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(); + } + } +} + QMdiArea::keyReleaseEvent(event0); +} +void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QMdiArea::leaveEvent(event0); +} +int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::metric(arg__1); +} +QSize PythonQtShell_QMdiArea::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::minimumSizeHint(); +} +void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mousePressEvent(arg__1); +} +void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QMdiArea::moveEvent(event0); +} +bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::paintEngine(); +} +void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&paintEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::paintEvent(paintEvent0); +} +QPaintDevice* PythonQtShell_QMdiArea::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 QMdiArea::redirected(offset0); +} +void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&resizeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::resizeEvent(resizeEvent0); +} +void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QMdiArea::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::setVisible(visible0); +} +void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::setupViewport(viewport0); +} +QPainter* PythonQtShell_QMdiArea::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 QMdiArea::sharedPainter(); +} +void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&showEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::showEvent(showEvent0); +} +QSize PythonQtShell_QMdiArea::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::sizeHint(); +} +void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QMdiArea::tabletEvent(event0); +} +void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) +{ +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*)&timerEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::timerEvent(timerEvent0); +} +bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::viewportEvent(event0); +} +QSize PythonQtShell_QMdiArea::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::viewportSizeHint(); +} +void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::wheelEvent(arg__1); +} +QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) +{ +return new PythonQtShell_QMdiArea(parent); } + +const QMetaObject* PythonQtShell_QMdiArea::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiArea::staticMetaObject); + } else { + return &QMdiArea::staticMetaObject; + } +} +int PythonQtShell_QMdiArea::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMdiArea::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->activationOrder()); +} + +QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->activeSubWindow()); +} + +QMdiSubWindow* PythonQtWrapper_QMdiArea::addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags) +{ + return ( theWrappedObject->addSubWindow(widget, flags)); +} + +QBrush PythonQtWrapper_QMdiArea::background(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +QMdiSubWindow* PythonQtWrapper_QMdiArea::currentSubWindow(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->currentSubWindow()); +} + +bool PythonQtWrapper_QMdiArea::documentMode(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeSubWindow(widget)); +} + +void PythonQtWrapper_QMdiArea::setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) +{ + ( theWrappedObject->setActivationOrder(order)); +} + +void PythonQtWrapper_QMdiArea::setBackground(QMdiArea* theWrappedObject, const QBrush& background) +{ + ( theWrappedObject->setBackground(background)); +} + +void PythonQtWrapper_QMdiArea::setDocumentMode(QMdiArea* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setDocumentMode(enabled)); +} + +void PythonQtWrapper_QMdiArea::setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QMdiArea::setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position) +{ + ( theWrappedObject->setTabPosition(position)); +} + +void PythonQtWrapper_QMdiArea::setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape) +{ + ( theWrappedObject->setTabShape(shape)); +} + +void PythonQtWrapper_QMdiArea::setTabsClosable(QMdiArea* theWrappedObject, bool closable) +{ + ( theWrappedObject->setTabsClosable(closable)); +} + +void PythonQtWrapper_QMdiArea::setTabsMovable(QMdiArea* theWrappedObject, bool movable) +{ + ( theWrappedObject->setTabsMovable(movable)); +} + +void PythonQtWrapper_QMdiArea::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) +{ + ( theWrappedObject->setViewMode(mode)); +} + +QList PythonQtWrapper_QMdiArea::subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) const +{ + return ( theWrappedObject->subWindowList(order)); +} + +QTabWidget::TabPosition PythonQtWrapper_QMdiArea::tabPosition(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabPosition()); +} + +QTabWidget::TabShape PythonQtWrapper_QMdiArea::tabShape(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabShape()); +} + +bool PythonQtWrapper_QMdiArea::tabsClosable(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabsClosable()); +} + +bool PythonQtWrapper_QMdiArea::tabsMovable(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabsMovable()); +} + +bool PythonQtWrapper_QMdiArea::testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const +{ + return ( theWrappedObject->testOption(opton)); +} + +QMdiArea::ViewMode PythonQtWrapper_QMdiArea::viewMode(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + + + +PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QMdiSubWindow::actionEvent(event0); +} +void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) +{ +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*)&changeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::changeEvent(changeEvent0); +} +void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) +{ +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*)&childEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::childEvent(childEvent0); +} +void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) +{ +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*)&closeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::closeEvent(closeEvent0); +} +void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&contextMenuEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::contextMenuEvent(contextMenuEvent0); +} +void PythonQtShell_QMdiSubWindow::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(); + } + } +} + QMdiSubWindow::customEvent(event0); +} +int PythonQtShell_QMdiSubWindow::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 QMdiSubWindow::devType(); +} +void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QMdiSubWindow::dragEnterEvent(event0); +} +void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QMdiSubWindow::dragLeaveEvent(event0); +} +void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QMdiSubWindow::dragMoveEvent(event0); +} +void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QMdiSubWindow::dropEvent(event0); +} +void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QMdiSubWindow::enterEvent(event0); +} +bool PythonQtShell_QMdiSubWindow::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 QMdiSubWindow::event(event0); +} +bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, 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*)&object0, (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 QMdiSubWindow::eventFilter(object0, event1); +} +void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) +{ +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*)&focusInEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::focusInEvent(focusInEvent0); +} +bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::focusNextPrevChild(next0); +} +void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) +{ +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*)&focusOutEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::focusOutEvent(focusOutEvent0); +} +bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::hasHeightForWidth(); +} +int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::heightForWidth(arg__1); +} +void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&hideEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::hideEvent(hideEvent0); +} +void PythonQtShell_QMdiSubWindow::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(); + } + } +} + QMdiSubWindow::initPainter(painter0); +} +void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::inputMethodQuery(arg__1); +} +void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) +{ +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*)&keyEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::keyPressEvent(keyEvent0); +} +void PythonQtShell_QMdiSubWindow::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(); + } + } +} + QMdiSubWindow::keyReleaseEvent(event0); +} +void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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*)&leaveEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::leaveEvent(leaveEvent0); +} +int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::metric(arg__1); +} +QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::minimumSizeHint(); +} +void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mouseDoubleClickEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mouseMoveEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mousePressEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mouseReleaseEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&moveEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::moveEvent(moveEvent0); +} +bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::paintEngine(); +} +void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&paintEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::paintEvent(paintEvent0); +} +QPaintDevice* PythonQtShell_QMdiSubWindow::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 QMdiSubWindow::redirected(offset0); +} +void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&resizeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::resizeEvent(resizeEvent0); +} +void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::setVisible(visible0); +} +QPainter* PythonQtShell_QMdiSubWindow::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 QMdiSubWindow::sharedPainter(); +} +void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&showEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::showEvent(showEvent0); +} +QSize PythonQtShell_QMdiSubWindow::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::sizeHint(); +} +void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QMdiSubWindow::tabletEvent(event0); +} +void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) +{ +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*)&timerEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::timerEvent(timerEvent0); +} +void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QMdiSubWindow::wheelEvent(event0); +} +QMdiSubWindow* PythonQtWrapper_QMdiSubWindow::new_QMdiSubWindow(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMdiSubWindow(parent, flags); } + +const QMetaObject* PythonQtShell_QMdiSubWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiSubWindow::staticMetaObject); + } else { + return &QMdiSubWindow::staticMetaObject; + } +} +int PythonQtShell_QMdiSubWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMdiSubWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->isShaded()); +} + +int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->keyboardPageStep()); +} + +int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->keyboardSingleStep()); +} + +QWidget* PythonQtWrapper_QMdiSubWindow::maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximizedButtonsWidget()); +} + +QWidget* PythonQtWrapper_QMdiSubWindow::maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximizedSystemMenuIconWidget()); +} + +QMdiArea* PythonQtWrapper_QMdiSubWindow::mdiArea(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->mdiArea()); +} + +QSize PythonQtWrapper_QMdiSubWindow::minimumSizeHint(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QMdiSubWindow::setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step) +{ + ( theWrappedObject->setKeyboardPageStep(step)); +} + +void PythonQtWrapper_QMdiSubWindow::setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step) +{ + ( theWrappedObject->setKeyboardSingleStep(step)); +} + +void PythonQtWrapper_QMdiSubWindow::setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QMdiSubWindow::setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu) +{ + ( theWrappedObject->setSystemMenu(systemMenu)); +} + +void PythonQtWrapper_QMdiSubWindow::setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QSize PythonQtWrapper_QMdiSubWindow::sizeHint(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QMenu* PythonQtWrapper_QMdiSubWindow::systemMenu(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->systemMenu()); +} + +bool PythonQtWrapper_QMdiSubWindow::testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const +{ + return ( theWrappedObject->testOption(arg__1)); +} + +QWidget* PythonQtWrapper_QMdiSubWindow::widget(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +PythonQtShell_QMenu::~PythonQtShell_QMenu() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::actionEvent(arg__1); +} +void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::changeEvent(arg__1); +} +void PythonQtShell_QMenu::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(); + } + } +} + QMenu::childEvent(event0); +} +void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QMenu::closeEvent(event0); +} +void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QMenu::contextMenuEvent(event0); +} +void PythonQtShell_QMenu::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(); + } + } +} + QMenu::customEvent(event0); +} +int PythonQtShell_QMenu::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 QMenu::devType(); +} +void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QMenu::dragEnterEvent(event0); +} +void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QMenu::dragLeaveEvent(event0); +} +void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QMenu::dragMoveEvent(event0); +} +void PythonQtShell_QMenu::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QMenu::dropEvent(event0); +} +void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::enterEvent(arg__1); +} +bool PythonQtShell_QMenu::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::event(arg__1); +} +bool PythonQtShell_QMenu::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 QMenu::eventFilter(watched0, event1); +} +void PythonQtShell_QMenu::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(); + } + } +} + QMenu::focusInEvent(event0); +} +bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::focusNextPrevChild(next0); +} +void PythonQtShell_QMenu::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(); + } + } +} + QMenu::focusOutEvent(event0); +} +bool PythonQtShell_QMenu::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::hasHeightForWidth(); +} +int PythonQtShell_QMenu::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::heightForWidth(arg__1); +} +void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::hideEvent(arg__1); +} +void PythonQtShell_QMenu::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(); + } + } +} + QMenu::initPainter(painter0); +} +void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::inputMethodQuery(arg__1); +} +void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::keyPressEvent(arg__1); +} +void PythonQtShell_QMenu::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(); + } + } +} + QMenu::keyReleaseEvent(event0); +} +void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::leaveEvent(arg__1); +} +int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::metric(arg__1); +} +QSize PythonQtShell_QMenu::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::minimumSizeHint(); +} +void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMenu::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::mousePressEvent(arg__1); +} +void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMenu::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QMenu::moveEvent(event0); +} +bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMenu::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::paintEngine(); +} +void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QMenu::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 QMenu::redirected(offset0); +} +void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QMenu::resizeEvent(event0); +} +void PythonQtShell_QMenu::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::setVisible(visible0); +} +QPainter* PythonQtShell_QMenu::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 QMenu::sharedPainter(); +} +void PythonQtShell_QMenu::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QMenu::showEvent(event0); +} +QSize PythonQtShell_QMenu::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::sizeHint(); +} +void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QMenu::tabletEvent(event0); +} +void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::timerEvent(arg__1); +} +void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::wheelEvent(arg__1); +} +QMenu* PythonQtWrapper_QMenu::new_QMenu(QWidget* parent) +{ +return new PythonQtShell_QMenu(parent); } + +QMenu* PythonQtWrapper_QMenu::new_QMenu(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QMenu(title, parent); } + +const QMetaObject* PythonQtShell_QMenu::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenu::staticMetaObject); + } else { + return &QMenu::staticMetaObject; + } +} +int PythonQtShell_QMenu::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMenu::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->actionAt(arg__1)); +} + +QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const +{ + return ( theWrappedObject->actionGeometry(arg__1)); +} + +QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->activeAction()); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addAction(icon, text)); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) +{ + return ( theWrappedObject->addAction(icon, text, receiver, member, shortcut)); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) +{ + return ( theWrappedObject->addAction(text, receiver, member, shortcut)); +} + +QAction* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, QMenu* menu) +{ + return ( theWrappedObject->addMenu(menu)); +} + +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title) +{ + return ( theWrappedObject->addMenu(icon, title)); +} + +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QString& title) +{ + return ( theWrappedObject->addMenu(title)); +} + +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addSection(icon, text)); +} + +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addSection(text)); +} + +QAction* PythonQtWrapper_QMenu::addSeparator(QMenu* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); +} + +void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QMenu::columnCount(QMenu* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_columnCount()); +} + +QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); +} + +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) +{ + return ( theWrappedObject->exec()); +} + +QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at, QWidget* parent) +{ + return (QMenu::exec(actions, pos, at, parent)); +} + +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at) +{ + return ( theWrappedObject->exec(pos, at)); +} + +void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) +{ + ( theWrappedObject->hideTearOffMenu()); +} + +QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +void PythonQtWrapper_QMenu::initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_initStyleOption(option, action)); +} + +QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) +{ + return ( theWrappedObject->insertMenu(before, menu)); +} + +QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertSection(before, icon, text)); +} + +QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QString& text) +{ + return ( theWrappedObject->insertSection(before, text)); +} + +QAction* PythonQtWrapper_QMenu::insertSeparator(QMenu* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); +} + +bool PythonQtWrapper_QMenu::isEmpty(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QMenu::isTearOffEnabled(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isTearOffEnabled()); +} + +bool PythonQtWrapper_QMenu::isTearOffMenuVisible(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isTearOffMenuVisible()); +} + +QAction* PythonQtWrapper_QMenu::menuAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->menuAction()); +} + +void PythonQtWrapper_QMenu::popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at) +{ + ( theWrappedObject->popup(pos, at)); +} + +bool PythonQtWrapper_QMenu::separatorsCollapsible(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->separatorsCollapsible()); +} + +void PythonQtWrapper_QMenu::setActiveAction(QMenu* theWrappedObject, QAction* act) +{ + ( theWrappedObject->setActiveAction(act)); +} + +void PythonQtWrapper_QMenu::setDefaultAction(QMenu* theWrappedObject, QAction* arg__1) +{ + ( theWrappedObject->setDefaultAction(arg__1)); +} + +void PythonQtWrapper_QMenu::setIcon(QMenu* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QMenu::setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse) +{ + ( theWrappedObject->setSeparatorsCollapsible(collapse)); +} + +void PythonQtWrapper_QMenu::setTearOffEnabled(QMenu* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setTearOffEnabled(arg__1)); +} + +void PythonQtWrapper_QMenu::setTitle(QMenu* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +void PythonQtWrapper_QMenu::setToolTipsVisible(QMenu* theWrappedObject, bool visible) +{ + ( theWrappedObject->setToolTipsVisible(visible)); +} + +void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject) +{ + ( theWrappedObject->showTearOffMenu()); +} + +void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->showTearOffMenu(pos)); +} + +QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +bool PythonQtWrapper_QMenu::toolTipsVisible(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->toolTipsVisible()); +} + + + +PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::actionEvent(arg__1); +} +void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::changeEvent(arg__1); +} +void PythonQtShell_QMenuBar::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(); + } + } +} + QMenuBar::childEvent(event0); +} +void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QMenuBar::closeEvent(event0); +} +void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QMenuBar::contextMenuEvent(event0); +} +void PythonQtShell_QMenuBar::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(); + } + } +} + QMenuBar::customEvent(event0); +} +int PythonQtShell_QMenuBar::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 QMenuBar::devType(); +} +void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QMenuBar::dragEnterEvent(event0); +} +void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QMenuBar::dragLeaveEvent(event0); +} +void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QMenuBar::dragMoveEvent(event0); +} +void PythonQtShell_QMenuBar::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QMenuBar::dropEvent(event0); +} +void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QMenuBar::enterEvent(event0); +} +bool PythonQtShell_QMenuBar::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::event(arg__1); +} +bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QMenuBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::focusInEvent(arg__1); +} +bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::focusNextPrevChild(next0); +} +void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::focusOutEvent(arg__1); +} +bool PythonQtShell_QMenuBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::hasHeightForWidth(); +} +int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::heightForWidth(arg__1); +} +void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::hideEvent(event0); +} +void PythonQtShell_QMenuBar::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(); + } + } +} + QMenuBar::initPainter(painter0); +} +void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::keyPressEvent(arg__1); +} +void PythonQtShell_QMenuBar::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(); + } + } +} + QMenuBar::keyReleaseEvent(event0); +} +void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::leaveEvent(arg__1); +} +int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::metric(arg__1); +} +QSize PythonQtShell_QMenuBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::minimumSizeHint(); +} +void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMenuBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::mousePressEvent(arg__1); +} +void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QMenuBar::moveEvent(event0); +} +bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::paintEngine(); +} +void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QMenuBar::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 QMenuBar::redirected(offset0); +} +void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::resizeEvent(arg__1); +} +void PythonQtShell_QMenuBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::setVisible(visible0); +} +QPainter* PythonQtShell_QMenuBar::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 QMenuBar::sharedPainter(); +} +void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QMenuBar::showEvent(event0); +} +QSize PythonQtShell_QMenuBar::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::sizeHint(); +} +void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QMenuBar::tabletEvent(event0); +} +void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::timerEvent(arg__1); +} +void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QMenuBar::wheelEvent(event0); +} +QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) +{ +return new PythonQtShell_QMenuBar(parent); } + +const QMetaObject* PythonQtShell_QMenuBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenuBar::staticMetaObject); + } else { + return &QMenuBar::staticMetaObject; + } +} +int PythonQtShell_QMenuBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMenuBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAction* PythonQtWrapper_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->actionAt(arg__1)); +} + +QRect PythonQtWrapper_QMenuBar::actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const +{ + return ( theWrappedObject->actionGeometry(arg__1)); +} + +QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->activeAction()); +} + +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +{ + return ( theWrappedObject->addAction(text, receiver, member)); +} + +QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) +{ + return ( theWrappedObject->addMenu(menu)); +} + +QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) +{ + return ( theWrappedObject->addMenu(icon, title)); +} + +QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QString& title) +{ + return ( theWrappedObject->addMenu(title)); +} + +QAction* PythonQtWrapper_QMenuBar::addSeparator(QMenuBar* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); +} + +void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->cornerWidget(corner)); +} + +void PythonQtWrapper_QMenuBar::initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_initStyleOption(option, action)); +} + +QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) +{ + return ( theWrappedObject->insertMenu(before, menu)); +} + +QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); +} + +bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->isDefaultUp()); +} + +bool PythonQtWrapper_QMenuBar::isNativeMenuBar(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->isNativeMenuBar()); +} + +QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) +{ + ( theWrappedObject->setActiveAction(action)); +} + +void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) +{ + ( theWrappedObject->setCornerWidget(w, corner)); +} + +void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setDefaultUp(arg__1)); +} + +void PythonQtWrapper_QMenuBar::setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar) +{ + ( theWrappedObject->setNativeMenuBar(nativeMenuBar)); +} + +QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMessageBox::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QMessageBox::accept(); +} +void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QMessageBox::actionEvent(event0); +} +void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QMessageBox::changeEvent(event0); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::childEvent(event0); +} +void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QMessageBox::closeEvent(event0); +} +void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::contextMenuEvent(arg__1); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::customEvent(event0); +} +int PythonQtShell_QMessageBox::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 QMessageBox::devType(); +} +void PythonQtShell_QMessageBox::done(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::done(arg__1); +} +void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QMessageBox::dragEnterEvent(event0); +} +void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QMessageBox::dragLeaveEvent(event0); +} +void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QMessageBox::dragMoveEvent(event0); +} +void PythonQtShell_QMessageBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QMessageBox::dropEvent(event0); +} +void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QMessageBox::enterEvent(event0); +} +bool PythonQtShell_QMessageBox::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 QMessageBox::event(e0); +} +bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QMessageBox::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QMessageBox::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::exec(); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::focusInEvent(event0); +} +bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::focusNextPrevChild(next0); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::focusOutEvent(event0); +} +bool PythonQtShell_QMessageBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::hasHeightForWidth(); +} +int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::heightForWidth(arg__1); +} +void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::hideEvent(event0); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::initPainter(painter0); +} +void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::keyPressEvent(event0); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::keyReleaseEvent(event0); +} +void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QMessageBox::leaveEvent(event0); +} +int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::metric(arg__1); +} +QSize PythonQtShell_QMessageBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::minimumSizeHint(); +} +void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMessageBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMessageBox::mouseMoveEvent(event0); +} +void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMessageBox::mousePressEvent(event0); +} +void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QMessageBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QMessageBox::moveEvent(event0); +} +bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::paintEngine(); +} +void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QMessageBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QMessageBox::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 QMessageBox::redirected(offset0); +} +void PythonQtShell_QMessageBox::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QMessageBox::reject(); +} +void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QMessageBox::resizeEvent(event0); +} +void PythonQtShell_QMessageBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::setVisible(visible0); +} +QPainter* PythonQtShell_QMessageBox::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 QMessageBox::sharedPainter(); +} +void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QMessageBox::showEvent(event0); +} +QSize PythonQtShell_QMessageBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::sizeHint(); +} +void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QMessageBox::tabletEvent(event0); +} +void PythonQtShell_QMessageBox::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(); + } + } +} + QMessageBox::timerEvent(event0); +} +void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QMessageBox::wheelEvent(event0); +} +QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMessageBox(icon, title, text, buttons, parent, flags); } + +QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QWidget* parent) +{ +return new PythonQtShell_QMessageBox(parent); } + +const QMetaObject* PythonQtShell_QMessageBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMessageBox::staticMetaObject); + } else { + return &QMessageBox::staticMetaObject; + } +} +int PythonQtShell_QMessageBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMessageBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMessageBox::static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text) +{ + (QMessageBox::about(parent, title, text)); +} + +void PythonQtWrapper_QMessageBox::static_QMessageBox_aboutQt(QWidget* parent, const QString& title) +{ + (QMessageBox::aboutQt(parent, title)); +} + +void PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role) +{ + ( theWrappedObject->addButton(button, role)); +} + +QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) +{ + return ( theWrappedObject->addButton(button)); +} + +QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role) +{ + return ( theWrappedObject->addButton(text, role)); +} + +QAbstractButton* PythonQtWrapper_QMessageBox::button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const +{ + return ( theWrappedObject->button(which)); +} + +QMessageBox::ButtonRole PythonQtWrapper_QMessageBox::buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->buttonRole(button)); +} + +QList PythonQtWrapper_QMessageBox::buttons(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QCheckBox* PythonQtWrapper_QMessageBox::checkBox(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->checkBox()); +} + +QAbstractButton* PythonQtWrapper_QMessageBox::clickedButton(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->clickedButton()); +} + +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) +{ + return (QMessageBox::critical(parent, title, text, buttons, defaultButton)); +} + +int PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) +{ + return (QMessageBox::critical(parent, title, text, button0, button1)); +} + +QPushButton* PythonQtWrapper_QMessageBox::defaultButton(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->defaultButton()); +} + +QString PythonQtWrapper_QMessageBox::detailedText(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->detailedText()); +} + +QAbstractButton* PythonQtWrapper_QMessageBox::escapeButton(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->escapeButton()); +} + +QMessageBox::Icon PythonQtWrapper_QMessageBox::icon(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QPixmap PythonQtWrapper_QMessageBox::iconPixmap(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->iconPixmap()); +} + +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) +{ + return (QMessageBox::information(parent, title, text, buttons, defaultButton)); +} + +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) +{ + return (QMessageBox::information(parent, title, text, button0, button1)); +} + +QString PythonQtWrapper_QMessageBox::informativeText(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->informativeText()); +} + +void PythonQtWrapper_QMessageBox::open(QMessageBox* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) +{ + return (QMessageBox::question(parent, title, text, buttons, defaultButton)); +} + +int PythonQtWrapper_QMessageBox::static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) +{ + return (QMessageBox::question(parent, title, text, button0, button1)); +} + +void PythonQtWrapper_QMessageBox::removeButton(QMessageBox* theWrappedObject, QAbstractButton* button) +{ + ( theWrappedObject->removeButton(button)); +} + +void PythonQtWrapper_QMessageBox::setCheckBox(QMessageBox* theWrappedObject, QCheckBox* cb) +{ + ( theWrappedObject->setCheckBox(cb)); +} + +void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) +{ + ( theWrappedObject->setDefaultButton(button)); +} + +void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button) +{ + ( theWrappedObject->setDefaultButton(button)); +} + +void PythonQtWrapper_QMessageBox::setDetailedText(QMessageBox* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setDetailedText(text)); +} + +void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button) +{ + ( theWrappedObject->setEscapeButton(button)); +} + +void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) +{ + ( theWrappedObject->setEscapeButton(button)); +} + +void PythonQtWrapper_QMessageBox::setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1) +{ + ( theWrappedObject->setIcon(arg__1)); +} + +void PythonQtWrapper_QMessageBox::setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setIconPixmap(pixmap)); +} + +void PythonQtWrapper_QMessageBox::setInformativeText(QMessageBox* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setInformativeText(text)); +} + +void PythonQtWrapper_QMessageBox::setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons) +{ + ( theWrappedObject->setStandardButtons(buttons)); +} + +void PythonQtWrapper_QMessageBox::setText(QMessageBox* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QMessageBox::setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format) +{ + ( theWrappedObject->setTextFormat(format)); +} + +void PythonQtWrapper_QMessageBox::setTextInteractionFlags(QMessageBox* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->standardButton(button)); +} + +QMessageBox::StandardButtons PythonQtWrapper_QMessageBox::standardButtons(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->standardButtons()); +} + +QString PythonQtWrapper_QMessageBox::text(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::TextFormat PythonQtWrapper_QMessageBox::textFormat(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->textFormat()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QMessageBox::textInteractionFlags(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) +{ + return (QMessageBox::warning(parent, title, text, buttons, defaultButton)); +} + +int PythonQtWrapper_QMessageBox::static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) +{ + return (QMessageBox::warning(parent, title, text, button0, button1)); +} + + + +PythonQtShell_QMouseEvent::~PythonQtShell_QMouseEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, localPos, button, buttons, modifiers); } + +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, localPos, screenPos, button, buttons, modifiers); } + +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers); } + +QMouseEvent* PythonQtWrapper_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) +{ +return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source); } + +Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +Qt::MouseEventFlags PythonQtWrapper_QMouseEvent::flags(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QPoint PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPointF* PythonQtWrapper_QMouseEvent::localPos(QMouseEvent* theWrappedObject) const +{ + return &( theWrappedObject->localPos()); +} + +QPoint PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QMouseEvent::screenPos(QMouseEvent* theWrappedObject) const +{ + return &( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QMouseEvent::setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition) +{ + ( theWrappedObject->setLocalPos(localPosition)); +} + +Qt::MouseEventSource PythonQtWrapper_QMouseEvent::source(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +const QPointF* PythonQtWrapper_QMouseEvent::windowPos(QMouseEvent* theWrappedObject) const +{ + return &( theWrappedObject->windowPos()); +} + +int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMouseEventTransition::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(); + } + } +} + QMouseEventTransition::childEvent(event0); +} +void PythonQtShell_QMouseEventTransition::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(); + } + } +} + QMouseEventTransition::customEvent(event0); +} +bool PythonQtShell_QMouseEventTransition::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 QMouseEventTransition::event(e0); +} +bool PythonQtShell_QMouseEventTransition::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 QMouseEventTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + 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("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMouseEventTransition::eventTest(event0); +} +void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + 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(); + } + } +} + QMouseEventTransition::onTransition(event0); +} +void PythonQtShell_QMouseEventTransition::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(); + } + } +} + QMouseEventTransition::timerEvent(event0); +} +QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState) +{ +return new PythonQtShell_QMouseEventTransition(object, type, button, sourceState); } + +QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QState* sourceState) +{ +return new PythonQtShell_QMouseEventTransition(sourceState); } + +const QMetaObject* PythonQtShell_QMouseEventTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMouseEventTransition::staticMetaObject); + } else { + return &QMouseEventTransition::staticMetaObject; + } +} +int PythonQtShell_QMouseEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMouseEventTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::MouseButton PythonQtWrapper_QMouseEventTransition::button(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +QPainterPath PythonQtWrapper_QMouseEventTransition::hitTestPath(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->hitTestPath()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QMouseEventTransition::modifierMask(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->modifierMask()); +} + +void PythonQtWrapper_QMouseEventTransition::setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button) +{ + ( theWrappedObject->setButton(button)); +} + +void PythonQtWrapper_QMouseEventTransition::setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->setHitTestPath(path)); +} + +void PythonQtWrapper_QMouseEventTransition::setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifierMask(modifiers)); +} + + + +PythonQtShell_QMoveEvent::~PythonQtShell_QMoveEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMoveEvent* PythonQtWrapper_QMoveEvent::new_QMoveEvent(const QPoint& pos, const QPoint& oldPos) +{ +return new PythonQtShell_QMoveEvent(pos, oldPos); } + +const QPoint* PythonQtWrapper_QMoveEvent::oldPos(QMoveEvent* theWrappedObject) const +{ + return &( theWrappedObject->oldPos()); +} + +const QPoint* PythonQtWrapper_QMoveEvent::pos(QMoveEvent* theWrappedObject) const +{ + return &( theWrappedObject->pos()); +} + + + +PythonQtShell_QMovie::~PythonQtShell_QMovie() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMovie::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(); + } + } +} + QMovie::childEvent(event0); +} +void PythonQtShell_QMovie::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(); + } + } +} + QMovie::customEvent(event0); +} +bool PythonQtShell_QMovie::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 QMovie::event(event0); +} +bool PythonQtShell_QMovie::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 QMovie::eventFilter(watched0, event1); +} +void PythonQtShell_QMovie::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(); + } + } +} + QMovie::timerEvent(event0); +} +QMovie* PythonQtWrapper_QMovie::new_QMovie(QIODevice* device, const QByteArray& format, QObject* parent) +{ +return new PythonQtShell_QMovie(device, format, parent); } + +QMovie* PythonQtWrapper_QMovie::new_QMovie(QObject* parent) +{ +return new PythonQtShell_QMovie(parent); } + +QMovie* PythonQtWrapper_QMovie::new_QMovie(const QString& fileName, const QByteArray& format, QObject* parent) +{ +return new PythonQtShell_QMovie(fileName, format, parent); } + +const QMetaObject* PythonQtShell_QMovie::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMovie::staticMetaObject); + } else { + return &QMovie::staticMetaObject; + } +} +int PythonQtShell_QMovie::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMovie::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QColor PythonQtWrapper_QMovie::backgroundColor(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->backgroundColor()); +} + +QMovie::CacheMode PythonQtWrapper_QMovie::cacheMode(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->cacheMode()); +} + +int PythonQtWrapper_QMovie::currentFrameNumber(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->currentFrameNumber()); +} + +QImage PythonQtWrapper_QMovie::currentImage(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->currentImage()); +} + +QPixmap PythonQtWrapper_QMovie::currentPixmap(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->currentPixmap()); +} + +QIODevice* PythonQtWrapper_QMovie::device(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QString PythonQtWrapper_QMovie::fileName(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QMovie::format(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QMovie::frameCount(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->frameCount()); +} + +QRect PythonQtWrapper_QMovie::frameRect(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->frameRect()); +} + +bool PythonQtWrapper_QMovie::isValid(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QMovie::jumpToFrame(QMovie* theWrappedObject, int frameNumber) +{ + return ( theWrappedObject->jumpToFrame(frameNumber)); +} + +QImageReader::ImageReaderError PythonQtWrapper_QMovie::lastError(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QString PythonQtWrapper_QMovie::lastErrorString(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->lastErrorString()); +} + +int PythonQtWrapper_QMovie::loopCount(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +int PythonQtWrapper_QMovie::nextFrameDelay(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->nextFrameDelay()); +} + +QSize PythonQtWrapper_QMovie::scaledSize(QMovie* theWrappedObject) +{ + return ( theWrappedObject->scaledSize()); +} + +void PythonQtWrapper_QMovie::setBackgroundColor(QMovie* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setBackgroundColor(color)); +} + +void PythonQtWrapper_QMovie::setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode) +{ + ( theWrappedObject->setCacheMode(mode)); +} + +void PythonQtWrapper_QMovie::setDevice(QMovie* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QMovie::setFileName(QMovie* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QMovie::setFormat(QMovie* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QMovie::setScaledSize(QMovie* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setScaledSize(size)); +} + +int PythonQtWrapper_QMovie::speed(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->speed()); +} + +QMovie::MovieState PythonQtWrapper_QMovie::state(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QList PythonQtWrapper_QMovie::static_QMovie_supportedFormats() +{ + return (QMovie::supportedFormats()); +} + + + +PythonQtShell_QNativeGestureEvent::~PythonQtShell_QNativeGestureEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QNativeGestureEvent* PythonQtWrapper_QNativeGestureEvent::new_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument) +{ +return new PythonQtShell_QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument); } + +QNativeGestureEvent* PythonQtWrapper_QNativeGestureEvent::new_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument) +{ +return new PythonQtShell_QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument); } + +const QTouchDevice* PythonQtWrapper_QNativeGestureEvent::device(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +Qt::NativeGestureType PythonQtWrapper_QNativeGestureEvent::gestureType(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->gestureType()); +} + +const QPoint PythonQtWrapper_QNativeGestureEvent::globalPos(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +const QPointF* PythonQtWrapper_QNativeGestureEvent::localPos(QNativeGestureEvent* theWrappedObject) const +{ + return &( theWrappedObject->localPos()); +} + +const QPoint PythonQtWrapper_QNativeGestureEvent::pos(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QNativeGestureEvent::screenPos(QNativeGestureEvent* theWrappedObject) const +{ + return &( theWrappedObject->screenPos()); +} + +qreal PythonQtWrapper_QNativeGestureEvent::value(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +const QPointF* PythonQtWrapper_QNativeGestureEvent::windowPos(QNativeGestureEvent* theWrappedObject) const +{ + return &( theWrappedObject->windowPos()); +} + + + +PythonQtShell_QOffscreenSurface::~PythonQtShell_QOffscreenSurface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOffscreenSurface::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(); + } + } +} + QOffscreenSurface::childEvent(event0); +} +void PythonQtShell_QOffscreenSurface::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(); + } + } +} + QOffscreenSurface::customEvent(event0); +} +bool PythonQtShell_QOffscreenSurface::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 QOffscreenSurface::event(event0); +} +bool PythonQtShell_QOffscreenSurface::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 QOffscreenSurface::eventFilter(watched0, event1); +} +QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::format(); +} +QSize PythonQtShell_QOffscreenSurface::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::size(); +} +QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::surfaceType(); +} +void PythonQtShell_QOffscreenSurface::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(); + } + } +} + QOffscreenSurface::timerEvent(event0); +} +QOffscreenSurface* PythonQtWrapper_QOffscreenSurface::new_QOffscreenSurface(QScreen* screen) +{ +return new PythonQtShell_QOffscreenSurface(screen); } + +QOffscreenSurface* PythonQtWrapper_QOffscreenSurface::new_QOffscreenSurface(QScreen* screen, QObject* parent) +{ +return new PythonQtShell_QOffscreenSurface(screen, parent); } + +const QMetaObject* PythonQtShell_QOffscreenSurface::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOffscreenSurface::staticMetaObject); + } else { + return &QOffscreenSurface::staticMetaObject; + } +} +int PythonQtShell_QOffscreenSurface::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOffscreenSurface::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QOffscreenSurface::create(QOffscreenSurface* theWrappedObject) +{ + ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOffscreenSurface::destroy(QOffscreenSurface* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOffscreenSurface::isValid(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void* PythonQtWrapper_QOffscreenSurface::nativeHandle(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->nativeHandle()); +} + +QSurfaceFormat PythonQtWrapper_QOffscreenSurface::requestedFormat(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->requestedFormat()); +} + +QScreen* PythonQtWrapper_QOffscreenSurface::screen(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + +void PythonQtWrapper_QOffscreenSurface::setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOffscreenSurface::setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle) +{ + ( theWrappedObject->setNativeHandle(handle)); +} + +void PythonQtWrapper_QOffscreenSurface::setScreen(QOffscreenSurface* theWrappedObject, QScreen* screen) +{ + ( theWrappedObject->setScreen(screen)); +} + + + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer() +{ +return new QOpenGLBuffer(); } + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(QOpenGLBuffer::Type type) +{ +return new QOpenGLBuffer(type); } + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(const QOpenGLBuffer& other) +{ +return new QOpenGLBuffer(other); } + +void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count) +{ + ( theWrappedObject->allocate(data, count)); +} + +void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, int count) +{ + ( theWrappedObject->allocate(count)); +} + +bool PythonQtWrapper_QOpenGLBuffer::bind(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +GLuint PythonQtWrapper_QOpenGLBuffer::bufferId(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->bufferId()); +} + +bool PythonQtWrapper_QOpenGLBuffer::create(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLBuffer::destroy(QOpenGLBuffer* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLBuffer::isCreated(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +void* PythonQtWrapper_QOpenGLBuffer::map(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::Access access) +{ + return ( theWrappedObject->map(access)); +} + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::operator_assign(QOpenGLBuffer* theWrappedObject, const QOpenGLBuffer& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QOpenGLBuffer::read(QOpenGLBuffer* theWrappedObject, int offset, void* data, int count) +{ + return ( theWrappedObject->read(offset, data, count)); +} + +void PythonQtWrapper_QOpenGLBuffer::release(QOpenGLBuffer* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLBuffer::static_QOpenGLBuffer_release(QOpenGLBuffer::Type type) +{ + (QOpenGLBuffer::release(type)); +} + +void PythonQtWrapper_QOpenGLBuffer::setUsagePattern(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::UsagePattern value) +{ + ( theWrappedObject->setUsagePattern(value)); +} + +int PythonQtWrapper_QOpenGLBuffer::size(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QOpenGLBuffer::Type PythonQtWrapper_QOpenGLBuffer::type(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +bool PythonQtWrapper_QOpenGLBuffer::unmap(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->unmap()); +} + +QOpenGLBuffer::UsagePattern PythonQtWrapper_QOpenGLBuffer::usagePattern(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->usagePattern()); +} + +void PythonQtWrapper_QOpenGLBuffer::write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count) +{ + ( theWrappedObject->write(offset, data, count)); +} + + + +PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLContext::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(); + } + } +} + QOpenGLContext::childEvent(event0); +} +void PythonQtShell_QOpenGLContext::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(); + } + } +} + QOpenGLContext::customEvent(event0); +} +bool PythonQtShell_QOpenGLContext::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 QOpenGLContext::event(event0); +} +bool PythonQtShell_QOpenGLContext::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 QOpenGLContext::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLContext::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(); + } + } +} + QOpenGLContext::timerEvent(event0); +} +QOpenGLContext* PythonQtWrapper_QOpenGLContext::new_QOpenGLContext(QObject* parent) +{ +return new PythonQtShell_QOpenGLContext(parent); } + +const QMetaObject* PythonQtShell_QOpenGLContext::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLContext::staticMetaObject); + } else { + return &QOpenGLContext::staticMetaObject; + } +} +int PythonQtShell_QOpenGLContext::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLContext::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second) +{ + return (QOpenGLContext::areSharing(first, second)); +} + +bool PythonQtWrapper_QOpenGLContext::create(QOpenGLContext* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_currentContext() +{ + return (QOpenGLContext::currentContext()); +} + +GLuint PythonQtWrapper_QOpenGLContext::defaultFramebufferObject(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->defaultFramebufferObject()); +} + +void PythonQtWrapper_QOpenGLContext::doneCurrent(QOpenGLContext* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +QSet PythonQtWrapper_QOpenGLContext::extensions(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->extensions()); +} + +QSurfaceFormat PythonQtWrapper_QOpenGLContext::format(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QOpenGLFunctions* PythonQtWrapper_QOpenGLContext::functions(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->functions()); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_globalShareContext() +{ + return (QOpenGLContext::globalShareContext()); +} + +bool PythonQtWrapper_QOpenGLContext::hasExtension(QOpenGLContext* theWrappedObject, const QByteArray& extension) const +{ + return ( theWrappedObject->hasExtension(extension)); +} + +bool PythonQtWrapper_QOpenGLContext::isOpenGLES(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isOpenGLES()); +} + +bool PythonQtWrapper_QOpenGLContext::isValid(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QOpenGLContext::makeCurrent(QOpenGLContext* theWrappedObject, QSurface* surface) +{ + return ( theWrappedObject->makeCurrent(surface)); +} + +QVariant PythonQtWrapper_QOpenGLContext::nativeHandle(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->nativeHandle()); +} + +void* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleHandle() +{ + return (QOpenGLContext::openGLModuleHandle()); +} + +QOpenGLContext::OpenGLModuleType PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleType() +{ + return (QOpenGLContext::openGLModuleType()); +} + +QScreen* PythonQtWrapper_QOpenGLContext::screen(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + +void PythonQtWrapper_QOpenGLContext::setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOpenGLContext::setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle) +{ + ( theWrappedObject->setNativeHandle(handle)); +} + +void PythonQtWrapper_QOpenGLContext::setScreen(QOpenGLContext* theWrappedObject, QScreen* screen) +{ + ( theWrappedObject->setScreen(screen)); +} + +void PythonQtWrapper_QOpenGLContext::setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext) +{ + ( theWrappedObject->setShareContext(shareContext)); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLContext::shareContext(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->shareContext()); +} + +QOpenGLContextGroup* PythonQtWrapper_QOpenGLContext::shareGroup(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->shareGroup()); +} + +bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_supportsThreadedOpenGL() +{ + return (QOpenGLContext::supportsThreadedOpenGL()); +} + +QSurface* PythonQtWrapper_QOpenGLContext::surface(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->surface()); +} + +void PythonQtWrapper_QOpenGLContext::swapBuffers(QOpenGLContext* theWrappedObject, QSurface* surface) +{ + ( theWrappedObject->swapBuffers(surface)); +} + +QString PythonQtWrapper_QOpenGLContext::py_toString(QOpenGLContext* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QOpenGLContextGroup* PythonQtWrapper_QOpenGLContextGroup::static_QOpenGLContextGroup_currentContextGroup() +{ + return (QOpenGLContextGroup::currentContextGroup()); +} + +QList PythonQtWrapper_QOpenGLContextGroup::shares(QOpenGLContextGroup* theWrappedObject) const +{ + return ( theWrappedObject->shares()); +} + +QString PythonQtWrapper_QOpenGLContextGroup::py_toString(QOpenGLContextGroup* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QOpenGLFramebufferObject::~PythonQtShell_QOpenGLFramebufferObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, GLenum target) +{ +return new PythonQtShell_QOpenGLFramebufferObject(size, target); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) +{ +return new PythonQtShell_QOpenGLFramebufferObject(size, attachment, target, internalFormat); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QOpenGLFramebufferObject(size, format); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, GLenum target) +{ +return new PythonQtShell_QOpenGLFramebufferObject(width, height, target); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) +{ +return new PythonQtShell_QOpenGLFramebufferObject(width, height, attachment, target, internalFormat); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QOpenGLFramebufferObject(width, height, format); } + +void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat) +{ + ( theWrappedObject->addColorAttachment(size, internalFormat)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat) +{ + ( theWrappedObject->addColorAttachment(width, height, internalFormat)); +} + +QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObject::attachment(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::bind(QOpenGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_bindDefault() +{ + return (QOpenGLFramebufferObject::bindDefault()); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers, GLenum filter) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, source, buffers, filter)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex, restorePolicy)); +} + +QOpenGLFramebufferObjectFormat PythonQtWrapper_QOpenGLFramebufferObject::format(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::handle(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit() +{ + return (QOpenGLFramebufferObject::hasOpenGLFramebufferBlit()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects() +{ + return (QOpenGLFramebufferObject::hasOpenGLFramebufferObjects()); +} + +int PythonQtWrapper_QOpenGLFramebufferObject::height(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::isBound(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isBound()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::isValid(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::release(QOpenGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) +{ + ( theWrappedObject->setAttachment(attachment)); +} + +QSize PythonQtWrapper_QOpenGLFramebufferObject::size(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QVector PythonQtWrapper_QOpenGLFramebufferObject::sizes(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->sizes()); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->takeTexture()); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex) +{ + return ( theWrappedObject->takeTexture(colorAttachmentIndex)); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::texture(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + +QVector PythonQtWrapper_QOpenGLFramebufferObject::textures(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->textures()); +} + +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const +{ + return ( theWrappedObject->toImage(flipped)); +} + +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const +{ + return ( theWrappedObject->toImage(flipped, colorAttachmentIndex)); +} + +int PythonQtWrapper_QOpenGLFramebufferObject::width(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat() +{ +return new QOpenGLFramebufferObjectFormat(); } + +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other) +{ +return new QOpenGLFramebufferObjectFormat(other); } + +QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObjectFormat::attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->internalTextureFormat()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->mipmap()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QOpenGLFramebufferObjectFormat::samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) +{ + ( theWrappedObject->setAttachment(attachment)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) +{ + ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setMipmap(enabled)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples) +{ + ( theWrappedObject->setSamples(samples)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target) +{ + ( theWrappedObject->setTextureTarget(target)); +} + +GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->textureTarget()); +} + + + +PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QOpenGLPaintDevice::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 QOpenGLPaintDevice::devType(); +} +void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ensureActiveTarget"); + 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(); + } + } +} + QOpenGLPaintDevice::ensureActiveTarget(); +} +void PythonQtShell_QOpenGLPaintDevice::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(); + } + } +} + QOpenGLPaintDevice::initPainter(painter0); +} +int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLPaintDevice::metric(metric0); +} +QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLPaintDevice::paintEngine(); +} +QPaintDevice* PythonQtShell_QOpenGLPaintDevice::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 QOpenGLPaintDevice::redirected(offset0); +} +QPainter* PythonQtShell_QOpenGLPaintDevice::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 QOpenGLPaintDevice::sharedPainter(); +} +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice() +{ +return new PythonQtShell_QOpenGLPaintDevice(); } + +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(const QSize& size) +{ +return new PythonQtShell_QOpenGLPaintDevice(size); } + +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(int width, int height) +{ +return new PythonQtShell_QOpenGLPaintDevice(width, height); } + +QOpenGLContext* PythonQtWrapper_QOpenGLPaintDevice::context(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterX()); +} + +qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterY()); +} + +void PythonQtWrapper_QOpenGLPaintDevice::ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject) +{ + ( theWrappedObject->ensureActiveTarget()); +} + +bool PythonQtWrapper_QOpenGLPaintDevice::paintFlipped(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->paintFlipped()); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio) +{ + ( theWrappedObject->setDevicePixelRatio(devicePixelRatio)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setDotsPerMeterX(arg__1)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setDotsPerMeterY(arg__1)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped) +{ + ( theWrappedObject->setPaintFlipped(flipped)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSize(size)); +} + +QSize PythonQtWrapper_QOpenGLPaintDevice::size(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLShader::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(); + } + } +} + QOpenGLShader::childEvent(event0); +} +void PythonQtShell_QOpenGLShader::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(); + } + } +} + QOpenGLShader::customEvent(event0); +} +bool PythonQtShell_QOpenGLShader::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 QOpenGLShader::event(event0); +} +bool PythonQtShell_QOpenGLShader::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 QOpenGLShader::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLShader::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(); + } + } +} + QOpenGLShader::timerEvent(event0); +} +QOpenGLShader* PythonQtWrapper_QOpenGLShader::new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent) +{ +return new PythonQtShell_QOpenGLShader(type, parent); } + +const QMetaObject* PythonQtShell_QOpenGLShader::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLShader::staticMetaObject); + } else { + return &QOpenGLShader::staticMetaObject; + } +} +int PythonQtShell_QOpenGLShader::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLShader::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const char* source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QOpenGLShader::compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->compileSourceFile(fileName)); +} + +bool PythonQtWrapper_QOpenGLShader::static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context) +{ + return (QOpenGLShader::hasOpenGLShaders(type, context)); +} + +bool PythonQtWrapper_QOpenGLShader::isCompiled(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->isCompiled()); +} + +QString PythonQtWrapper_QOpenGLShader::log(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +GLuint PythonQtWrapper_QOpenGLShader::shaderId(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderId()); +} + +QOpenGLShader::ShaderType PythonQtWrapper_QOpenGLShader::shaderType(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderType()); +} + +QByteArray PythonQtWrapper_QOpenGLShader::sourceCode(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->sourceCode()); +} + + + +PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLShaderProgram::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(); + } + } +} + QOpenGLShaderProgram::childEvent(event0); +} +void PythonQtShell_QOpenGLShaderProgram::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(); + } + } +} + QOpenGLShaderProgram::customEvent(event0); +} +bool PythonQtShell_QOpenGLShaderProgram::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 QOpenGLShaderProgram::event(event0); +} +bool PythonQtShell_QOpenGLShaderProgram::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 QOpenGLShaderProgram::eventFilter(watched0, event1); +} +bool PythonQtShell_QOpenGLShaderProgram::link() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("link"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLShaderProgram::link(); +} +void PythonQtShell_QOpenGLShaderProgram::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(); + } + } +} + QOpenGLShaderProgram::timerEvent(event0); +} +QOpenGLShaderProgram* PythonQtWrapper_QOpenGLShaderProgram::new_QOpenGLShaderProgram(QObject* parent) +{ +return new PythonQtShell_QOpenGLShaderProgram(parent); } + +const QMetaObject* PythonQtShell_QOpenGLShaderProgram::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLShaderProgram::staticMetaObject); + } else { + return &QOpenGLShaderProgram::staticMetaObject; + } +} +int PythonQtShell_QOpenGLShaderProgram::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLShaderProgram::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) +{ + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) +{ + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) +{ + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) +{ + return ( theWrappedObject->addCacheableShaderFromSourceFile(type, fileName)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) +{ + return ( theWrappedObject->addShader(shader)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) +{ + return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::bind(QOpenGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::create(QOpenGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +QVector PythonQtWrapper_QOpenGLShaderProgram::defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->defaultInnerTessellationLevels()); +} + +QVector PythonQtWrapper_QOpenGLShaderProgram::defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->defaultOuterTessellationLevels()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->disableAttributeArray(name)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->disableAttributeArray(location)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->enableAttributeArray(name)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->enableAttributeArray(location)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context) +{ + return (QOpenGLShaderProgram::hasOpenGLShaderPrograms(context)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::isLinked(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->isLinked()); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::link(QOpenGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->link()); +} + +QString PythonQtWrapper_QOpenGLShaderProgram::log(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +int PythonQtWrapper_QOpenGLShaderProgram::maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->maxGeometryOutputVertices()); +} + +int PythonQtWrapper_QOpenGLShaderProgram::patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->patchVertexCount()); +} + +GLuint PythonQtWrapper_QOpenGLShaderProgram::programId(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->programId()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::release(QOpenGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::removeAllShaders(QOpenGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->removeAllShaders()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) +{ + ( theWrappedObject->removeShader(shader)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setAttributeValue(name, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(name, values, columns, rows)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setAttributeValue(location, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(location, values, columns, rows)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) +{ + ( theWrappedObject->setDefaultInnerTessellationLevels(levels)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) +{ + ( theWrappedObject->setDefaultOuterTessellationLevels(levels)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count) +{ + ( theWrappedObject->setPatchVertexCount(count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setUniformValue(name, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(name, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setUniformValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color) +{ + ( theWrappedObject->setUniformValue(name, color)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setUniformValue(location, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(location, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setUniformValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color) +{ + ( theWrappedObject->setUniformValue(location, color)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +QList PythonQtWrapper_QOpenGLShaderProgram::shaders(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->shaders()); +} + +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + + + +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::new_QOpenGLTexture(QOpenGLTexture::Target target) +{ +return new QOpenGLTexture(target); } + +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::new_QOpenGLTexture(const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) +{ +return new QOpenGLTexture(image, genMipMaps); } + +void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->allocateStorage()); +} + +void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) +{ + ( theWrappedObject->allocateStorage(pixelFormat, pixelType)); +} + +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->bind()); +} + +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +{ + ( theWrappedObject->bind(unit, reset)); +} + +QColor PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->borderColor()); +} + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, float* border) const +{ + ( theWrappedObject->borderColor(border)); +} + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, int* border) const +{ + ( theWrappedObject->borderColor(border)); +} + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const +{ + ( theWrappedObject->borderColor(border)); +} + +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target) +{ + return (QOpenGLTexture::boundTextureId(target)); +} + +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target) +{ + return (QOpenGLTexture::boundTextureId(unit, target)); +} + +QOpenGLTexture::ComparisonFunction PythonQtWrapper_QOpenGLTexture::comparisonFunction(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->comparisonFunction()); +} + +QOpenGLTexture::ComparisonMode PythonQtWrapper_QOpenGLTexture::comparisonMode(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->comparisonMode()); +} + +bool PythonQtWrapper_QOpenGLTexture::create(QOpenGLTexture* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const +{ + return ( theWrappedObject->createTextureView(target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer)); +} + +int PythonQtWrapper_QOpenGLTexture::depth(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +QOpenGLTexture::DepthStencilMode PythonQtWrapper_QOpenGLTexture::depthStencilMode(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->depthStencilMode()); +} + +void PythonQtWrapper_QOpenGLTexture::destroy(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +int PythonQtWrapper_QOpenGLTexture::faces(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->faces()); +} + +QOpenGLTexture::TextureFormat PythonQtWrapper_QOpenGLTexture::format(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->generateMipMaps()); +} + +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel) +{ + ( theWrappedObject->generateMipMaps(baseLevel, resetBaseLevel)); +} + +bool PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature) +{ + return (QOpenGLTexture::hasFeature(feature)); +} + +int PythonQtWrapper_QOpenGLTexture::height(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QOpenGLTexture::isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isAutoMipMapGenerationEnabled()); +} + +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isBound()); +} + +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject, uint unit) +{ + return ( theWrappedObject->isBound(unit)); +} + +bool PythonQtWrapper_QOpenGLTexture::isCreated(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +bool PythonQtWrapper_QOpenGLTexture::isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isFixedSamplePositions()); +} + +bool PythonQtWrapper_QOpenGLTexture::isStorageAllocated(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isStorageAllocated()); +} + +bool PythonQtWrapper_QOpenGLTexture::isTextureView(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isTextureView()); +} + +int PythonQtWrapper_QOpenGLTexture::layers(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->layers()); +} + +QPair PythonQtWrapper_QOpenGLTexture::levelOfDetailRange(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->levelOfDetailRange()); +} + +float PythonQtWrapper_QOpenGLTexture::levelofDetailBias(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->levelofDetailBias()); +} + +QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::magnificationFilter(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->magnificationFilter()); +} + +float PythonQtWrapper_QOpenGLTexture::maximumAnisotropy(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->maximumAnisotropy()); +} + +float PythonQtWrapper_QOpenGLTexture::maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->maximumLevelOfDetail()); +} + +int PythonQtWrapper_QOpenGLTexture::maximumMipLevels(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->maximumMipLevels()); +} + +QPair PythonQtWrapper_QOpenGLTexture::minMagFilters(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->minMagFilters()); +} + +QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::minificationFilter(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->minificationFilter()); +} + +float PythonQtWrapper_QOpenGLTexture::minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->minimumLevelOfDetail()); +} + +int PythonQtWrapper_QOpenGLTexture::mipBaseLevel(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipBaseLevel()); +} + +QPair PythonQtWrapper_QOpenGLTexture::mipLevelRange(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipLevelRange()); +} + +int PythonQtWrapper_QOpenGLTexture::mipLevels(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipLevels()); +} + +int PythonQtWrapper_QOpenGLTexture::mipMaxLevel(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipMaxLevel()); +} + +void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +{ + ( theWrappedObject->release(unit, reset)); +} + +int PythonQtWrapper_QOpenGLTexture::samples(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QOpenGLTexture::setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoMipMapGenerationEnabled(enabled)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, QColor color) +{ + ( theWrappedObject->setBorderColor(color)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function) +{ + ( theWrappedObject->setComparisonFunction(function)); +} + +void PythonQtWrapper_QOpenGLTexture::setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode) +{ + ( theWrappedObject->setComparisonMode(mode)); +} + +void PythonQtWrapper_QOpenGLTexture::setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) +{ + ( theWrappedObject->setData(image, genMipMaps)); +} + +void PythonQtWrapper_QOpenGLTexture::setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode) +{ + ( theWrappedObject->setDepthStencilMode(mode)); +} + +void PythonQtWrapper_QOpenGLTexture::setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed) +{ + ( theWrappedObject->setFixedSamplePositions(fixed)); +} + +void PythonQtWrapper_QOpenGLTexture::setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOpenGLTexture::setLayers(QOpenGLTexture* theWrappedObject, int layers) +{ + ( theWrappedObject->setLayers(layers)); +} + +void PythonQtWrapper_QOpenGLTexture::setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max) +{ + ( theWrappedObject->setLevelOfDetailRange(min, max)); +} + +void PythonQtWrapper_QOpenGLTexture::setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias) +{ + ( theWrappedObject->setLevelofDetailBias(bias)); +} + +void PythonQtWrapper_QOpenGLTexture::setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +{ + ( theWrappedObject->setMagnificationFilter(filter)); +} + +void PythonQtWrapper_QOpenGLTexture::setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy) +{ + ( theWrappedObject->setMaximumAnisotropy(anisotropy)); +} + +void PythonQtWrapper_QOpenGLTexture::setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +{ + ( theWrappedObject->setMaximumLevelOfDetail(value)); +} + +void PythonQtWrapper_QOpenGLTexture::setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter) +{ + ( theWrappedObject->setMinMagFilters(minificationFilter, magnificationFilter)); +} + +void PythonQtWrapper_QOpenGLTexture::setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +{ + ( theWrappedObject->setMinificationFilter(filter)); +} + +void PythonQtWrapper_QOpenGLTexture::setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +{ + ( theWrappedObject->setMinimumLevelOfDetail(value)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel) +{ + ( theWrappedObject->setMipBaseLevel(baseLevel)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel) +{ + ( theWrappedObject->setMipLevelRange(baseLevel, maxLevel)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipLevels(QOpenGLTexture* theWrappedObject, int levels) +{ + ( theWrappedObject->setMipLevels(levels)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel) +{ + ( theWrappedObject->setMipMaxLevel(maxLevel)); +} + +void PythonQtWrapper_QOpenGLTexture::setSamples(QOpenGLTexture* theWrappedObject, int samples) +{ + ( theWrappedObject->setSamples(samples)); +} + +void PythonQtWrapper_QOpenGLTexture::setSize(QOpenGLTexture* theWrappedObject, int width, int height, int depth) +{ + ( theWrappedObject->setSize(width, height, depth)); +} + +void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value) +{ + ( theWrappedObject->setSwizzleMask(component, value)); +} + +void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a) +{ + ( theWrappedObject->setSwizzleMask(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode) +{ + ( theWrappedObject->setWrapMode(direction, mode)); +} + +void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode) +{ + ( theWrappedObject->setWrapMode(mode)); +} + +QOpenGLTexture::SwizzleValue PythonQtWrapper_QOpenGLTexture::swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const +{ + return ( theWrappedObject->swizzleMask(component)); +} + +QOpenGLTexture::Target PythonQtWrapper_QOpenGLTexture::target(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +GLuint PythonQtWrapper_QOpenGLTexture::textureId(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->textureId()); +} + +int PythonQtWrapper_QOpenGLTexture::width(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QOpenGLTexture::WrapMode PythonQtWrapper_QOpenGLTexture::wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const +{ + return ( theWrappedObject->wrapMode(direction)); +} + +QString PythonQtWrapper_QOpenGLTexture::py_toString(QOpenGLTexture* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QOpenGLTextureBlitter* PythonQtWrapper_QOpenGLTextureBlitter::new_QOpenGLTextureBlitter() +{ +return new QOpenGLTextureBlitter(); } + +void PythonQtWrapper_QOpenGLTextureBlitter::bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target) +{ + ( theWrappedObject->bind(target)); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin) +{ + ( theWrappedObject->blit(texture, targetTransform, sourceOrigin)); +} + +bool PythonQtWrapper_QOpenGLTextureBlitter::create(QOpenGLTextureBlitter* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::destroy(QOpenGLTextureBlitter* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLTextureBlitter::isCreated(QOpenGLTextureBlitter* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::release(QOpenGLTextureBlitter* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle) +{ + ( theWrappedObject->setRedBlueSwizzle(swizzle)); +} + +bool PythonQtWrapper_QOpenGLTextureBlitter::supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const +{ + return ( theWrappedObject->supportsExternalOESTarget()); +} + +QMatrix4x4 PythonQtWrapper_QOpenGLTextureBlitter::static_QOpenGLTextureBlitter_targetTransform(const QRectF& target, const QRect& viewport) +{ + return (QOpenGLTextureBlitter::targetTransform(target, viewport)); +} + + + +PythonQtShell_QOpenGLTimeMonitor::~PythonQtShell_QOpenGLTimeMonitor() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLTimeMonitor::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(); + } + } +} + QOpenGLTimeMonitor::childEvent(event0); +} +void PythonQtShell_QOpenGLTimeMonitor::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(); + } + } +} + QOpenGLTimeMonitor::customEvent(event0); +} +bool PythonQtShell_QOpenGLTimeMonitor::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 QOpenGLTimeMonitor::event(event0); +} +bool PythonQtShell_QOpenGLTimeMonitor::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 QOpenGLTimeMonitor::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLTimeMonitor::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(); + } + } +} + QOpenGLTimeMonitor::timerEvent(event0); +} +QOpenGLTimeMonitor* PythonQtWrapper_QOpenGLTimeMonitor::new_QOpenGLTimeMonitor(QObject* parent) +{ +return new PythonQtShell_QOpenGLTimeMonitor(parent); } + +const QMetaObject* PythonQtShell_QOpenGLTimeMonitor::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLTimeMonitor::staticMetaObject); + } else { + return &QOpenGLTimeMonitor::staticMetaObject; + } +} +int PythonQtShell_QOpenGLTimeMonitor::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLTimeMonitor::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLTimeMonitor::create(QOpenGLTimeMonitor* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLTimeMonitor::destroy(QOpenGLTimeMonitor* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLTimeMonitor::isCreated(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +bool PythonQtWrapper_QOpenGLTimeMonitor::isResultAvailable(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->isResultAvailable()); +} + +QVector PythonQtWrapper_QOpenGLTimeMonitor::objectIds(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->objectIds()); +} + +int PythonQtWrapper_QOpenGLTimeMonitor::recordSample(QOpenGLTimeMonitor* theWrappedObject) +{ + return ( theWrappedObject->recordSample()); +} + +void PythonQtWrapper_QOpenGLTimeMonitor::reset(QOpenGLTimeMonitor* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +int PythonQtWrapper_QOpenGLTimeMonitor::sampleCount(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->sampleCount()); +} + +void PythonQtWrapper_QOpenGLTimeMonitor::setSampleCount(QOpenGLTimeMonitor* theWrappedObject, int sampleCount) +{ + ( theWrappedObject->setSampleCount(sampleCount)); +} + +QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForIntervals(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->waitForIntervals()); +} + +QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForSamples(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->waitForSamples()); +} + + + +PythonQtShell_QOpenGLTimerQuery::~PythonQtShell_QOpenGLTimerQuery() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLTimerQuery::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(); + } + } +} + QOpenGLTimerQuery::childEvent(event0); +} +void PythonQtShell_QOpenGLTimerQuery::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(); + } + } +} + QOpenGLTimerQuery::customEvent(event0); +} +bool PythonQtShell_QOpenGLTimerQuery::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 QOpenGLTimerQuery::event(event0); +} +bool PythonQtShell_QOpenGLTimerQuery::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 QOpenGLTimerQuery::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLTimerQuery::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(); + } + } +} + QOpenGLTimerQuery::timerEvent(event0); +} +QOpenGLTimerQuery* PythonQtWrapper_QOpenGLTimerQuery::new_QOpenGLTimerQuery(QObject* parent) +{ +return new PythonQtShell_QOpenGLTimerQuery(parent); } + +const QMetaObject* PythonQtShell_QOpenGLTimerQuery::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLTimerQuery::staticMetaObject); + } else { + return &QOpenGLTimerQuery::staticMetaObject; + } +} +int PythonQtShell_QOpenGLTimerQuery::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLTimerQuery::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QOpenGLTimerQuery::begin(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->begin()); +} + +bool PythonQtWrapper_QOpenGLTimerQuery::create(QOpenGLTimerQuery* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLTimerQuery::destroy(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +void PythonQtWrapper_QOpenGLTimerQuery::end(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->end()); +} + +bool PythonQtWrapper_QOpenGLTimerQuery::isCreated(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +bool PythonQtWrapper_QOpenGLTimerQuery::isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->isResultAvailable()); +} + +GLuint PythonQtWrapper_QOpenGLTimerQuery::objectId(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->objectId()); +} + +void PythonQtWrapper_QOpenGLTimerQuery::recordTimestamp(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->recordTimestamp()); +} + +GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForResult(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->waitForResult()); +} + +GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->waitForTimestamp()); +} + + + +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile() +{ +return new QOpenGLVersionProfile(); } + +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other) +{ +return new QOpenGLVersionProfile(other); } + +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QSurfaceFormat& format) +{ +return new QOpenGLVersionProfile(format); } + +bool PythonQtWrapper_QOpenGLVersionProfile::hasProfiles(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->hasProfiles()); +} + +bool PythonQtWrapper_QOpenGLVersionProfile::isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->isLegacyVersion()); +} + +bool PythonQtWrapper_QOpenGLVersionProfile::isValid(QOpenGLVersionProfile* theWrappedObject) const +{ + 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); +} + +bool PythonQtWrapper_QOpenGLVersionProfile::__eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QOpenGLVersionProfile::profile(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->profile()); +} + +void PythonQtWrapper_QOpenGLVersionProfile::setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +{ + ( theWrappedObject->setProfile(profile)); +} + +void PythonQtWrapper_QOpenGLVersionProfile::setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion) +{ + ( theWrappedObject->setVersion(majorVersion, minorVersion)); +} + +QPair PythonQtWrapper_QOpenGLVersionProfile::version(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QOpenGLVersionProfile::py_toString(QOpenGLVersionProfile* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.h new file mode 100644 index 00000000..4f8e8759 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui5.h @@ -0,0 +1,2608 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QLinearGradient : public QObject +{ Q_OBJECT +public: +public slots: +QLinearGradient* new_QLinearGradient(); +QLinearGradient* new_QLinearGradient(const QPointF& start, const QPointF& finalStop); +QLinearGradient* new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop); +QLinearGradient* new_QLinearGradient(const QLinearGradient& other) { +QLinearGradient* a = new QLinearGradient(); +*((QLinearGradient*)a) = other; +return a; } +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); + void setStart(QLinearGradient* theWrappedObject, const QPointF& start); + void setStart(QLinearGradient* theWrappedObject, qreal x, qreal y); + QPointF start(QLinearGradient* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QListView : public QListView +{ +public: + 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 +{ public: +inline QSize promoted_contentsSize() const { return this->contentsSize(); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { this->currentChanged(current, previous); } +inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { this->dataChanged(topLeft, bottomRight, roles); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline QRect promoted_rectForIndex(const QModelIndex& index) const { return this->rectForIndex(index); } +inline void promoted_resizeContents(int width, int height) { this->resizeContents(width, height); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { this->rowsAboutToBeRemoved(parent, start, end); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { this->rowsInserted(parent, start, end); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline QList promoted_selectedIndexes() const { return this->selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { this->selectionChanged(selected, deselected); } +inline void promoted_setPositionForIndex(const QPoint& position, const QModelIndex& index) { this->setPositionForIndex(position, index); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } +inline void promoted_startDrag(Qt::DropActions supportedActions) { this->startDrag(supportedActions); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void promoted_updateGeometries() { this->updateGeometries(); } +inline int promoted_verticalOffset() const { return this->verticalOffset(); } +inline QStyleOptionViewItem promoted_viewOptions() const { return this->viewOptions(); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QListView::currentChanged(current, previous); } +inline void py_q_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QListView::dataChanged(topLeft, bottomRight, roles); } +inline void py_q_doItemsLayout() { QListView::doItemsLayout(); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QListView::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QListView::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* e) { QListView::dropEvent(e); } +inline bool py_q_event(QEvent* e) { return QListView::event(e); } +inline int py_q_horizontalOffset() const { return QListView::horizontalOffset(); } +inline QModelIndex py_q_indexAt(const QPoint& p) const { return QListView::indexAt(p); } +inline bool py_q_isIndexHidden(const QModelIndex& index) const { return QListView::isIndexHidden(index); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QListView::mouseMoveEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QListView::mouseReleaseEvent(e); } +inline QModelIndex py_q_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QListView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void py_q_paintEvent(QPaintEvent* e) { QListView::paintEvent(e); } +inline void py_q_reset() { QListView::reset(); } +inline void py_q_resizeEvent(QResizeEvent* e) { QListView::resizeEvent(e); } +inline void py_q_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QListView::rowsAboutToBeRemoved(parent, start, end); } +inline void py_q_rowsInserted(const QModelIndex& parent, int start, int end) { QListView::rowsInserted(parent, start, end); } +inline void py_q_scrollContentsBy(int dx, int dy) { QListView::scrollContentsBy(dx, dy); } +inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QListView::scrollTo(index, hint); } +inline QList py_q_selectedIndexes() const { return QListView::selectedIndexes(); } +inline void py_q_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QListView::selectionChanged(selected, deselected); } +inline void py_q_setRootIndex(const QModelIndex& index) { QListView::setRootIndex(index); } +inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QListView::setSelection(rect, command); } +inline void py_q_startDrag(Qt::DropActions supportedActions) { QListView::startDrag(supportedActions); } +inline void py_q_timerEvent(QTimerEvent* e) { QListView::timerEvent(e); } +inline void py_q_updateGeometries() { QListView::updateGeometries(); } +inline int py_q_verticalOffset() const { return QListView::verticalOffset(); } +inline QStyleOptionViewItem py_q_viewOptions() const { return QListView::viewOptions(); } +inline QSize py_q_viewportSizeHint() const { return QListView::viewportSizeHint(); } +inline QRect py_q_visualRect(const QModelIndex& index) const { return QListView::visualRect(index); } +inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return QListView::visualRegionForSelection(selection); } +inline void py_q_wheelEvent(QWheelEvent* e) { QListView::wheelEvent(e); } +}; + +class PythonQtWrapper_QListView : public QObject +{ Q_OBJECT +public: +public slots: +QListView* new_QListView(QWidget* parent = nullptr); +void delete_QListView(QListView* obj) { delete obj; } + int batchSize(QListView* theWrappedObject) const; + void clearPropertyFlags(QListView* theWrappedObject); + QSize contentsSize(QListView* theWrappedObject) const; + void py_q_currentChanged(QListView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_currentChanged(current, previous));} + void py_q_dataChanged(QListView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_dataChanged(topLeft, bottomRight, roles));} + void py_q_doItemsLayout(QListView* theWrappedObject){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_doItemsLayout());} + void py_q_dragLeaveEvent(QListView* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QListView* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QListView* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_dropEvent(e));} + bool py_q_event(QListView* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_event(e));} + QListView::Flow flow(QListView* theWrappedObject) const; + QSize gridSize(QListView* theWrappedObject) const; + int py_q_horizontalOffset(QListView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_horizontalOffset());} + QModelIndex py_q_indexAt(QListView* theWrappedObject, const QPoint& p) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_indexAt(p));} + bool py_q_isIndexHidden(QListView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_isIndexHidden(index));} + bool isRowHidden(QListView* theWrappedObject, int row) const; + bool isSelectionRectVisible(QListView* theWrappedObject) const; + bool isWrapping(QListView* theWrappedObject) const; + Qt::Alignment itemAlignment(QListView* theWrappedObject) const; + QListView::LayoutMode layoutMode(QListView* theWrappedObject) const; + int modelColumn(QListView* theWrappedObject) const; + void py_q_mouseMoveEvent(QListView* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mouseReleaseEvent(QListView* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + QModelIndex py_q_moveCursor(QListView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers){ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_moveCursor(cursorAction, modifiers));} + QListView::Movement movement(QListView* theWrappedObject) const; + void py_q_paintEvent(QListView* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_paintEvent(e));} + QRect rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const; + void py_q_reset(QListView* theWrappedObject){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_reset());} + void resizeContents(QListView* theWrappedObject, int width, int height); + void py_q_resizeEvent(QListView* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_resizeEvent(e));} + QListView::ResizeMode resizeMode(QListView* theWrappedObject) const; + void py_q_rowsAboutToBeRemoved(QListView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_rowsAboutToBeRemoved(parent, start, end));} + void py_q_rowsInserted(QListView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_rowsInserted(parent, start, end));} + void py_q_scrollContentsBy(QListView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void py_q_scrollTo(QListView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_scrollTo(index, hint));} + QList py_q_selectedIndexes(QListView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_selectedIndexes());} + void py_q_selectionChanged(QListView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_selectionChanged(selected, deselected));} + void setBatchSize(QListView* theWrappedObject, int batchSize); + void setFlow(QListView* theWrappedObject, QListView::Flow flow); + void setGridSize(QListView* theWrappedObject, const QSize& size); + void setItemAlignment(QListView* theWrappedObject, Qt::Alignment alignment); + void setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode); + void setModelColumn(QListView* theWrappedObject, int column); + void setMovement(QListView* theWrappedObject, QListView::Movement movement); + void setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index); + void setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode); + void py_q_setRootIndex(QListView* theWrappedObject, const QModelIndex& index){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_setRootIndex(index));} + void setRowHidden(QListView* theWrappedObject, int row, bool hide); + void py_q_setSelection(QListView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_setSelection(rect, command));} + void setSelectionRectVisible(QListView* theWrappedObject, bool show); + void setSpacing(QListView* theWrappedObject, int space); + void setUniformItemSizes(QListView* theWrappedObject, bool enable); + void setViewMode(QListView* theWrappedObject, QListView::ViewMode mode); + void setWordWrap(QListView* theWrappedObject, bool on); + void setWrapping(QListView* theWrappedObject, bool enable); + int spacing(QListView* theWrappedObject) const; + void py_q_startDrag(QListView* theWrappedObject, Qt::DropActions supportedActions){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_startDrag(supportedActions));} + void py_q_timerEvent(QListView* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_timerEvent(e));} + bool uniformItemSizes(QListView* theWrappedObject) const; + void py_q_updateGeometries(QListView* theWrappedObject){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_updateGeometries());} + int py_q_verticalOffset(QListView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_verticalOffset());} + QListView::ViewMode viewMode(QListView* theWrappedObject) const; + QStyleOptionViewItem py_q_viewOptions(QListView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_viewOptions());} + QSize py_q_viewportSizeHint(QListView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_viewportSizeHint());} + QRect py_q_visualRect(QListView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_visualRect(index));} + QRegion py_q_visualRegionForSelection(QListView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} + void py_q_wheelEvent(QListView* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QListView*)theWrappedObject)->py_q_wheelEvent(e));} + bool wordWrap(QListView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QListWidget : public QListWidget +{ +public: + 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 +{ public: +inline bool promoted_dropMimeData(int index, const QMimeData* data, Qt::DropAction action) { return this->dropMimeData(index, data, action); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline QModelIndex promoted_indexFromItem(QListWidgetItem* item) const { return this->indexFromItem(item); } +inline QModelIndex promoted_indexFromItem(const QListWidgetItem* item) const { return this->indexFromItem(item); } +inline QListWidgetItem* promoted_itemFromIndex(const QModelIndex& index) const { return this->itemFromIndex(index); } +inline QList promoted_items(const QMimeData* data) const { return this->items(data); } +inline QMimeData* promoted_mimeData(const QList items) const { return this->mimeData(items); } +inline QStringList promoted_mimeTypes() const { return this->mimeTypes(); } +inline Qt::DropActions promoted_supportedDropActions() const { return this->supportedDropActions(); } +inline void py_q_dropEvent(QDropEvent* event) { QListWidget::dropEvent(event); } +inline bool py_q_dropMimeData(int index, const QMimeData* data, Qt::DropAction action) { return QListWidget::dropMimeData(index, data, action); } +inline bool py_q_event(QEvent* e) { return QListWidget::event(e); } +inline QMimeData* py_q_mimeData(const QList items) const { return QListWidget::mimeData(items); } +inline QStringList py_q_mimeTypes() const { return QListWidget::mimeTypes(); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QListWidget::setSelectionModel(selectionModel); } +inline Qt::DropActions py_q_supportedDropActions() const { return QListWidget::supportedDropActions(); } +}; + +class PythonQtWrapper_QListWidget : public QObject +{ Q_OBJECT +public: +public slots: +QListWidget* new_QListWidget(QWidget* parent = nullptr); +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); + void closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); + int count(QListWidget* theWrappedObject) const; + QListWidgetItem* currentItem(QListWidget* theWrappedObject) const; + int currentRow(QListWidget* theWrappedObject) const; + void py_q_dropEvent(QListWidget* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->py_q_dropEvent(event));} + bool dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action); + bool py_q_dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action){ return (((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->py_q_dropMimeData(index, data, action));} + void editItem(QListWidget* theWrappedObject, QListWidgetItem* item); + bool py_q_event(QListWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->py_q_event(e));} + QList findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; + QModelIndex indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const; + QModelIndex indexFromItem(QListWidget* theWrappedObject, const QListWidgetItem* item) const; + void insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item); + void insertItem(QListWidget* theWrappedObject, int row, const QString& label); + void insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels); + bool isPersistentEditorOpen(QListWidget* theWrappedObject, QListWidgetItem* item) const; + bool isSortingEnabled(QListWidget* theWrappedObject) const; + QListWidgetItem* item(QListWidget* theWrappedObject, int row) const; + QListWidgetItem* itemAt(QListWidget* theWrappedObject, const QPoint& p) const; + QListWidgetItem* itemAt(QListWidget* theWrappedObject, int x, int y) const; + QListWidgetItem* itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const; + QWidget* itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const; + QList items(QListWidget* theWrappedObject, const QMimeData* data) const; + PythonQtPassOwnershipToPython mimeData(QListWidget* theWrappedObject, const QList items) const; + PythonQtPassOwnershipToPython py_q_mimeData(QListWidget* theWrappedObject, const QList items) const{ return (((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->py_q_mimeData(items));} + QStringList mimeTypes(QListWidget* theWrappedObject) const; + QStringList py_q_mimeTypes(QListWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->py_q_mimeTypes());} + void openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); + void removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item); + int row(QListWidget* theWrappedObject, const QListWidgetItem* item) const; + QList selectedItems(QListWidget* theWrappedObject) const; + void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item); + void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command); + void setCurrentRow(QListWidget* theWrappedObject, int row); + void setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command); + void setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, PythonQtPassOwnershipToCPP widget); + void py_q_setSelectionModel(QListWidget* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + void setSortingEnabled(QListWidget* theWrappedObject, bool enable); + void sortItems(QListWidget* theWrappedObject, Qt::SortOrder order = Qt::AscendingOrder); + Qt::DropActions supportedDropActions(QListWidget* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QListWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->py_q_supportedDropActions());} + PythonQtPassOwnershipToPython takeItem(QListWidget* theWrappedObject, int row); + QRect visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const; +}; + + + + + +class PythonQtShell_QListWidgetItem : public QListWidgetItem +{ +public: + PythonQtShell_QListWidgetItem(QListWidget* listview = nullptr, int type = Type):QListWidgetItem(listview, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(icon, text, listview, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(text, listview, type),_wrapper(nullptr) {}; + + ~PythonQtShell_QListWidgetItem() override; + +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; +}; + +class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem +{ public: +inline QListWidgetItem* py_q_clone() const { return QListWidgetItem::clone(); } +inline QVariant py_q_data(int role) const { return QListWidgetItem::data(role); } +inline void py_q_read(QDataStream& in) { QListWidgetItem::read(in); } +inline void py_q_setData(int role, const QVariant& value) { QListWidgetItem::setData(role, value); } +inline void py_q_write(QDataStream& out) const { QListWidgetItem::write(out); } +}; + +class PythonQtWrapper_QListWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ) +enum ItemType{ + Type = QListWidgetItem::Type, UserType = QListWidgetItem::UserType}; +public slots: +QListWidgetItem* new_QListWidgetItem(PythonQtNewOwnerOfThis listview = nullptr, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis listview = nullptr, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis listview = nullptr, int type = Type); +void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } + QBrush background(QListWidgetItem* theWrappedObject) const; + Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; + QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; + QListWidgetItem* py_q_clone(QListWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_clone());} + QVariant data(QListWidgetItem* theWrappedObject, int role) const; + QVariant py_q_data(QListWidgetItem* theWrappedObject, int role) const{ return (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_data(role));} + Qt::ItemFlags flags(QListWidgetItem* theWrappedObject) const; + QFont font(QListWidgetItem* theWrappedObject) const; + QBrush foreground(QListWidgetItem* theWrappedObject) const; + QIcon icon(QListWidgetItem* theWrappedObject) const; + bool isHidden(QListWidgetItem* theWrappedObject) const; + bool isSelected(QListWidgetItem* theWrappedObject) const; + QListWidget* listWidget(QListWidgetItem* theWrappedObject) const; + void writeTo(QListWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QListWidgetItem* theWrappedObject, QDataStream& in); + void read(QListWidgetItem* theWrappedObject, QDataStream& in); + void py_q_read(QListWidgetItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_read(in));} + void setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush); + void setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state); + void setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value); + void py_q_setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value){ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_setData(role, value));} + void setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QListWidgetItem* theWrappedObject, const QFont& font); + void setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush); + void setHidden(QListWidgetItem* theWrappedObject, bool hide); + void setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon); + void setSelected(QListWidgetItem* theWrappedObject, bool select); + void setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size); + void setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip); + void setText(QListWidgetItem* theWrappedObject, const QString& text); + void setTextAlignment(QListWidgetItem* theWrappedObject, int alignment); + void setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip); + void setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis); + QSize sizeHint(QListWidgetItem* theWrappedObject) const; + QString statusTip(QListWidgetItem* theWrappedObject) const; + QString text(QListWidgetItem* theWrappedObject) const; + int textAlignment(QListWidgetItem* theWrappedObject) const; + QString toolTip(QListWidgetItem* theWrappedObject) const; + int type(QListWidgetItem* theWrappedObject) const; + QString whatsThis(QListWidgetItem* theWrappedObject) const; + void write(QListWidgetItem* theWrappedObject, QDataStream& out) const; + void py_q_write(QListWidgetItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_write(out));} +}; + + + + + +class PythonQtShell_QMainWindow : public QMainWindow +{ +public: + 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 +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } +inline QMenu* py_q_createPopupMenu() { return QMainWindow::createPopupMenu(); } +inline bool py_q_event(QEvent* event) { return QMainWindow::event(event); } +}; + +class PythonQtWrapper_QMainWindow : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DockOption ) +Q_FLAGS(DockOptions ) +enum DockOption{ + AnimatedDocks = QMainWindow::AnimatedDocks, AllowNestedDocks = QMainWindow::AllowNestedDocks, AllowTabbedDocks = QMainWindow::AllowTabbedDocks, ForceTabbedDocks = QMainWindow::ForceTabbedDocks, VerticalTabs = QMainWindow::VerticalTabs, GroupedDragging = QMainWindow::GroupedDragging}; +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 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); + void addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar); + QToolBar* addToolBar(QMainWindow* theWrappedObject, const QString& title); + void addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area = Qt::TopToolBarArea); + QWidget* centralWidget(QMainWindow* theWrappedObject) const; + void py_q_contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_contextMenuEvent(event));} + Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; + QMenu* createPopupMenu(QMainWindow* theWrappedObject); + QMenu* py_q_createPopupMenu(QMainWindow* theWrappedObject){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_createPopupMenu());} + QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; + Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; + bool documentMode(QMainWindow* theWrappedObject) const; + bool py_q_event(QMainWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_event(event));} + QSize iconSize(QMainWindow* theWrappedObject) const; + void insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar); + void insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); + bool isAnimated(QMainWindow* theWrappedObject) const; + bool isDockNestingEnabled(QMainWindow* theWrappedObject) const; + bool isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const; + QMenuBar* menuBar(QMainWindow* theWrappedObject) const; + QWidget* menuWidget(QMainWindow* theWrappedObject) const; + void removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); + void removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); + void removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); + void resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation); + bool restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); + bool restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version = 0); + QByteArray saveState(QMainWindow* theWrappedObject, int version = 0) const; + void setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget); + void setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area); + void setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options); + void setDocumentMode(QMainWindow* theWrappedObject, bool enabled); + void setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize); + void setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar); + void setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar); + void setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar); + void setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition); + void setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape); + void setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle); + void splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation); + QStatusBar* statusBar(QMainWindow* theWrappedObject) const; + QTabWidget::TabPosition tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const; + QTabWidget::TabShape tabShape(QMainWindow* theWrappedObject) const; + QList tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; + void tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second); + QWidget* takeCentralWidget(QMainWindow* theWrappedObject); + Qt::ToolBarArea toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const; + bool toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const; + Qt::ToolButtonStyle toolButtonStyle(QMainWindow* theWrappedObject) const; + bool unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QMargins : public QObject +{ Q_OBJECT +public: +public slots: +QMargins* new_QMargins(); +QMargins* new_QMargins(int left, int top, int right, int bottom); +QMargins* new_QMargins(const QMargins& other) { +QMargins* a = new QMargins(); +*((QMargins*)a) = other; +return a; } +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& arg__2); + QMargins __mul__(QMargins* theWrappedObject, int factor); + QMargins __mul__(QMargins* theWrappedObject, qreal factor); + QMargins* __imul__(QMargins* theWrappedObject, int arg__1); + QMargins* __imul__(QMargins* theWrappedObject, qreal arg__1); + QMargins __add__(QMargins* theWrappedObject); + QMargins __add__(QMargins* theWrappedObject, const QMargins& m2); + QRect __add__(QMargins* theWrappedObject, const QRect& rectangle); + QMargins __add__(QMargins* theWrappedObject, int rhs); + QMargins* __iadd__(QMargins* theWrappedObject, const QMargins& margins); + QMargins* __iadd__(QMargins* theWrappedObject, int arg__1); + QMargins __sub__(QMargins* theWrappedObject); + QMargins __sub__(QMargins* theWrappedObject, const QMargins& m2); + QMargins __sub__(QMargins* theWrappedObject, int rhs); + QMargins* __isub__(QMargins* theWrappedObject, const QMargins& margins); + QMargins* __isub__(QMargins* theWrappedObject, int arg__1); + QMargins __div__(QMargins* theWrappedObject, int divisor); + QMargins __div__(QMargins* theWrappedObject, qreal divisor); + QMargins* __idiv__(QMargins* theWrappedObject, int arg__1); + QMargins* __idiv__(QMargins* theWrappedObject, qreal arg__1); + void writeTo(QMargins* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMargins* theWrappedObject, const QMargins& arg__2); + void readFrom(QMargins* theWrappedObject, QDataStream& arg__1); + int right(QMargins* theWrappedObject) const; + void setBottom(QMargins* theWrappedObject, int bottom); + void setLeft(QMargins* theWrappedObject, int left); + void setRight(QMargins* theWrappedObject, int right); + void setTop(QMargins* theWrappedObject, int top); + int top(QMargins* theWrappedObject) const; + QString py_toString(QMargins*); + bool __nonzero__(QMargins* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QMdiArea : public QMdiArea +{ +public: + 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 +{ public: +inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_setupViewport(QWidget* viewport) { this->setupViewport(viewport); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } +inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } +inline void py_q_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); } +inline bool py_q_event(QEvent* event) { return QMdiArea::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); } +inline QSize py_q_minimumSizeHint() const { return QMdiArea::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); } +inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); } +inline void py_q_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); } +inline void py_q_setupViewport(QWidget* viewport) { QMdiArea::setupViewport(viewport); } +inline void py_q_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QMdiArea::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); } +inline bool py_q_viewportEvent(QEvent* event) { return QMdiArea::viewportEvent(event); } +}; + +class PythonQtWrapper_QMdiArea : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AreaOption ) +Q_FLAGS(AreaOptions ) +enum AreaOption{ + DontMaximizeSubWindowOnActivation = QMdiArea::DontMaximizeSubWindowOnActivation}; +Q_DECLARE_FLAGS(AreaOptions, AreaOption) +public slots: +QMdiArea* new_QMdiArea(QWidget* parent = nullptr); +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()); + QBrush background(QMdiArea* theWrappedObject) const; + void py_q_childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_childEvent(childEvent));} + QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const; + bool documentMode(QMdiArea* theWrappedObject) const; + bool py_q_event(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_eventFilter(object, event));} + QSize py_q_minimumSizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_paintEvent(paintEvent));} + void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget); + void py_q_resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} + void py_q_scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order); + void setBackground(QMdiArea* theWrappedObject, const QBrush& background); + void setDocumentMode(QMdiArea* theWrappedObject, bool enabled); + void setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on = true); + void setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position); + void setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape); + void setTabsClosable(QMdiArea* theWrappedObject, bool closable); + void setTabsMovable(QMdiArea* theWrappedObject, bool movable); + void setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode); + void py_q_setupViewport(QMdiArea* theWrappedObject, QWidget* viewport){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_setupViewport(viewport));} + void py_q_showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize py_q_sizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_sizeHint());} + QList subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; + QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const; + QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const; + bool tabsClosable(QMdiArea* theWrappedObject) const; + bool tabsMovable(QMdiArea* theWrappedObject) const; + bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const; + void py_q_timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_timerEvent(timerEvent));} + QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const; + bool py_q_viewportEvent(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_viewportEvent(event));} +}; + + + + + +class PythonQtShell_QMdiSubWindow : public QMdiSubWindow +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* changeEvent) { this->changeEvent(changeEvent); } +inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } +inline void promoted_closeEvent(QCloseEvent* closeEvent) { this->closeEvent(closeEvent); } +inline void promoted_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { this->contextMenuEvent(contextMenuEvent); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_focusInEvent(QFocusEvent* focusInEvent) { this->focusInEvent(focusInEvent); } +inline void promoted_focusOutEvent(QFocusEvent* focusOutEvent) { this->focusOutEvent(focusOutEvent); } +inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } +inline void promoted_keyPressEvent(QKeyEvent* keyEvent) { this->keyPressEvent(keyEvent); } +inline void promoted_leaveEvent(QEvent* leaveEvent) { this->leaveEvent(leaveEvent); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { this->mouseDoubleClickEvent(mouseEvent); } +inline void promoted_mouseMoveEvent(QMouseEvent* mouseEvent) { this->mouseMoveEvent(mouseEvent); } +inline void promoted_mousePressEvent(QMouseEvent* mouseEvent) { this->mousePressEvent(mouseEvent); } +inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } +inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } +inline void py_q_changeEvent(QEvent* changeEvent) { QMdiSubWindow::changeEvent(changeEvent); } +inline void py_q_childEvent(QChildEvent* childEvent) { QMdiSubWindow::childEvent(childEvent); } +inline void py_q_closeEvent(QCloseEvent* closeEvent) { QMdiSubWindow::closeEvent(closeEvent); } +inline void py_q_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { QMdiSubWindow::contextMenuEvent(contextMenuEvent); } +inline bool py_q_event(QEvent* event) { return QMdiSubWindow::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiSubWindow::eventFilter(object, event); } +inline void py_q_focusInEvent(QFocusEvent* focusInEvent) { QMdiSubWindow::focusInEvent(focusInEvent); } +inline void py_q_focusOutEvent(QFocusEvent* focusOutEvent) { QMdiSubWindow::focusOutEvent(focusOutEvent); } +inline void py_q_hideEvent(QHideEvent* hideEvent) { QMdiSubWindow::hideEvent(hideEvent); } +inline void py_q_keyPressEvent(QKeyEvent* keyEvent) { QMdiSubWindow::keyPressEvent(keyEvent); } +inline void py_q_leaveEvent(QEvent* leaveEvent) { QMdiSubWindow::leaveEvent(leaveEvent); } +inline QSize py_q_minimumSizeHint() const { return QMdiSubWindow::minimumSizeHint(); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); } +inline void py_q_mouseMoveEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseMoveEvent(mouseEvent); } +inline void py_q_mousePressEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mousePressEvent(mouseEvent); } +inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseReleaseEvent(mouseEvent); } +inline void py_q_moveEvent(QMoveEvent* moveEvent) { QMdiSubWindow::moveEvent(moveEvent); } +inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiSubWindow::paintEvent(paintEvent); } +inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiSubWindow::resizeEvent(resizeEvent); } +inline void py_q_showEvent(QShowEvent* showEvent) { QMdiSubWindow::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QMdiSubWindow::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiSubWindow::timerEvent(timerEvent); } +}; + +class PythonQtWrapper_QMdiSubWindow : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SubWindowOption ) +Q_FLAGS(SubWindowOptions ) +enum SubWindowOption{ + AllowOutsideAreaHorizontally = QMdiSubWindow::AllowOutsideAreaHorizontally, AllowOutsideAreaVertically = QMdiSubWindow::AllowOutsideAreaVertically, RubberBandResize = QMdiSubWindow::RubberBandResize, RubberBandMove = QMdiSubWindow::RubberBandMove}; +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 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));} + void py_q_contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_contextMenuEvent(contextMenuEvent));} + bool py_q_event(QMdiSubWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_eventFilter(object, event));} + void py_q_focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusInEvent(focusInEvent));} + void py_q_focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusOutEvent(focusOutEvent));} + void py_q_hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_hideEvent(hideEvent));} + bool isShaded(QMdiSubWindow* theWrappedObject) const; + void py_q_keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_keyPressEvent(keyEvent));} + int keyboardPageStep(QMdiSubWindow* theWrappedObject) const; + int keyboardSingleStep(QMdiSubWindow* theWrappedObject) const; + void py_q_leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_leaveEvent(leaveEvent));} + QWidget* maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const; + QWidget* maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const; + QMdiArea* mdiArea(QMdiSubWindow* theWrappedObject) const; + QSize minimumSizeHint(QMdiSubWindow* theWrappedObject) const; + QSize py_q_minimumSizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(mouseEvent));} + void py_q_mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseMoveEvent(mouseEvent));} + void py_q_mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mousePressEvent(mouseEvent));} + void py_q_mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} + void py_q_moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_moveEvent(moveEvent));} + void py_q_paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_paintEvent(paintEvent));} + void py_q_resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} + void setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step); + void setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step); + void setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on = true); + void setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu); + void setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget); + void py_q_showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize sizeHint(QMdiSubWindow* theWrappedObject) const; + QSize py_q_sizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_sizeHint());} + QMenu* systemMenu(QMdiSubWindow* theWrappedObject) const; + bool testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const; + void py_q_timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_timerEvent(timerEvent));} + QWidget* widget(QMdiSubWindow* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMenu : public QMenu +{ +public: + 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 +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline int promoted_columnCount() const { return this->columnCount(); } +inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QMenu::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QMenu::changeEvent(arg__1); } +inline void py_q_enterEvent(QEvent* arg__1) { QMenu::enterEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QMenu::event(arg__1); } +inline bool py_q_focusNextPrevChild(bool next) { return QMenu::focusNextPrevChild(next); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QMenu::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenu::keyPressEvent(arg__1); } +inline void py_q_leaveEvent(QEvent* arg__1) { QMenu::leaveEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenu::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenu::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenu::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenu::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QMenu::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenu::timerEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QMenu::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QMenu : public QObject +{ Q_OBJECT +public: +public slots: +QMenu* new_QMenu(QWidget* parent = nullptr); +QMenu* new_QMenu(const QString& title, QWidget* parent = nullptr); +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; + QAction* activeAction(QMenu* theWrappedObject) const; + QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); + QAction* addAction(QMenu* theWrappedObject, const QString& text); + QAction* addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); + QAction* addMenu(QMenu* theWrappedObject, QMenu* menu); + QMenu* addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title); + QMenu* addMenu(QMenu* theWrappedObject, const QString& title); + QAction* addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addSection(QMenu* theWrappedObject, const QString& text); + QAction* addSeparator(QMenu* theWrappedObject); + void py_q_changeEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_changeEvent(arg__1));} + void clear(QMenu* theWrappedObject); + int columnCount(QMenu* theWrappedObject) const; + QAction* defaultAction(QMenu* theWrappedObject) const; + void py_q_enterEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_enterEvent(arg__1));} + bool py_q_event(QMenu* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_event(arg__1));} + QAction* exec(QMenu* theWrappedObject); + QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at = nullptr, QWidget* parent = nullptr); + QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); + bool py_q_focusNextPrevChild(QMenu* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_hideEvent(arg__1));} + void hideTearOffMenu(QMenu* theWrappedObject); + QIcon icon(QMenu* theWrappedObject) const; + void initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; + QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu); + QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text); + QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QString& text); + QAction* insertSeparator(QMenu* theWrappedObject, QAction* before); + bool isEmpty(QMenu* theWrappedObject) const; + bool isTearOffEnabled(QMenu* theWrappedObject) const; + bool isTearOffMenuVisible(QMenu* theWrappedObject) const; + void py_q_keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_leaveEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QAction* menuAction(QMenu* theWrappedObject) const; + void py_q_mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_paintEvent(arg__1));} + void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); + bool separatorsCollapsible(QMenu* theWrappedObject) const; + void setActiveAction(QMenu* theWrappedObject, QAction* act); + void setDefaultAction(QMenu* theWrappedObject, QAction* arg__1); + void setIcon(QMenu* theWrappedObject, const QIcon& icon); + void setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse); + void setTearOffEnabled(QMenu* theWrappedObject, bool arg__1); + void setTitle(QMenu* theWrappedObject, const QString& title); + void setToolTipsVisible(QMenu* theWrappedObject, bool visible); + void showTearOffMenu(QMenu* theWrappedObject); + void showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos); + QSize sizeHint(QMenu* theWrappedObject) const; + QSize py_q_sizeHint(QMenu* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_timerEvent(arg__1));} + QString title(QMenu* theWrappedObject) const; + bool toolTipsVisible(QMenu* theWrappedObject) const; + void py_q_wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_wheelEvent(arg__1));} + bool __nonzero__(QMenu* obj) { return !obj->isEmpty(); } + + QAction* addAction (QMenu* menu, const QString & text, PyObject* callable, const QKeySequence & shortcut = 0) { + QAction* a = menu->addAction(text); + a->setShortcut(shortcut); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + + QAction* addAction (QMenu* menu, const QIcon& icon, const QString& text, PyObject* callable, const QKeySequence& shortcut = 0) + { + QAction* a = menu->addAction(text); + a->setIcon(icon); + a->setShortcut(shortcut); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + +}; + + + + + +class PythonQtShell_QMenuBar : public QMenuBar +{ +public: + 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 +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } +inline int py_q_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } +inline void py_q_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QMenuBar::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } +inline void py_q_setVisible(bool visible) { QMenuBar::setVisible(visible); } +inline QSize py_q_sizeHint() const { return QMenuBar::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QMenuBar : public QObject +{ Q_OBJECT +public: +public slots: +QMenuBar* new_QMenuBar(QWidget* parent = nullptr); +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; + QAction* activeAction(QMenuBar* theWrappedObject) const; + QAction* addAction(QMenuBar* theWrappedObject, const QString& text); + QAction* addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); + QAction* addMenu(QMenuBar* theWrappedObject, QMenu* menu); + QMenu* addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title); + QMenu* addMenu(QMenuBar* theWrappedObject, const QString& title); + QAction* addSeparator(QMenuBar* theWrappedObject); + void py_q_changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_changeEvent(arg__1));} + void clear(QMenuBar* theWrappedObject); + QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; + bool py_q_event(QMenuBar* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + void py_q_focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusInEvent(arg__1));} + void py_q_focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + int py_q_heightForWidth(QMenuBar* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_heightForWidth(arg__1));} + void initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; + QAction* insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu); + QAction* insertSeparator(QMenuBar* theWrappedObject, QAction* before); + bool isDefaultUp(QMenuBar* theWrappedObject) const; + bool isNativeMenuBar(QMenuBar* theWrappedObject) const; + void py_q_keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QSize minimumSizeHint(QMenuBar* theWrappedObject) const; + QSize py_q_minimumSizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + void py_q_resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setActiveAction(QMenuBar* theWrappedObject, QAction* action); + void setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); + void setDefaultUp(QMenuBar* theWrappedObject, bool arg__1); + void setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar); + void py_q_setVisible(QMenuBar* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_setVisible(visible));} + QSize sizeHint(QMenuBar* theWrappedObject) const; + QSize py_q_sizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_timerEvent(arg__1));} + + QAction* addAction (QMenuBar* menu, const QString & text, PyObject* callable) + { + QAction* a = menu->addAction(text); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + +}; + + + + + +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(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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QMessageBox::changeEvent(event); } +inline void py_q_closeEvent(QCloseEvent* event) { QMessageBox::closeEvent(event); } +inline bool py_q_event(QEvent* e) { return QMessageBox::event(e); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QMessageBox::keyPressEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QMessageBox::resizeEvent(event); } +inline void py_q_showEvent(QShowEvent* event) { QMessageBox::showEvent(event); } +}; + +class PythonQtWrapper_QMessageBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonRole StandardButton ) +Q_FLAGS(StandardButtons ) +enum ButtonRole{ + InvalidRole = QMessageBox::InvalidRole, AcceptRole = QMessageBox::AcceptRole, RejectRole = QMessageBox::RejectRole, DestructiveRole = QMessageBox::DestructiveRole, ActionRole = QMessageBox::ActionRole, HelpRole = QMessageBox::HelpRole, YesRole = QMessageBox::YesRole, NoRole = QMessageBox::NoRole, ResetRole = QMessageBox::ResetRole, ApplyRole = QMessageBox::ApplyRole, NRoles = QMessageBox::NRoles}; +enum StandardButton{ + NoButton = QMessageBox::NoButton, Ok = QMessageBox::Ok, Save = QMessageBox::Save, SaveAll = QMessageBox::SaveAll, Open = QMessageBox::Open, Yes = QMessageBox::Yes, YesToAll = QMessageBox::YesToAll, No = QMessageBox::No, NoToAll = QMessageBox::NoToAll, Abort = QMessageBox::Abort, Retry = QMessageBox::Retry, Ignore = QMessageBox::Ignore, Close = QMessageBox::Close, Cancel = QMessageBox::Cancel, Discard = QMessageBox::Discard, Help = QMessageBox::Help, Apply = QMessageBox::Apply, Reset = QMessageBox::Reset, RestoreDefaults = QMessageBox::RestoreDefaults, FirstButton = QMessageBox::FirstButton, LastButton = QMessageBox::LastButton, YesAll = QMessageBox::YesAll, NoAll = QMessageBox::NoAll, Default = QMessageBox::Default, Escape = QMessageBox::Escape, FlagMask = QMessageBox::FlagMask, ButtonMask = QMessageBox::ButtonMask}; +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 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); + QPushButton* addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + QPushButton* addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role); + QAbstractButton* button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const; + QMessageBox::ButtonRole buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const; + QList buttons(QMessageBox* theWrappedObject) const; + void py_q_changeEvent(QMessageBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_changeEvent(event));} + QCheckBox* checkBox(QMessageBox* theWrappedObject) const; + QAbstractButton* clickedButton(QMessageBox* theWrappedObject) const; + void py_q_closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_closeEvent(event));} + QMessageBox::StandardButton static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); + QPushButton* defaultButton(QMessageBox* theWrappedObject) const; + QString detailedText(QMessageBox* theWrappedObject) const; + QAbstractButton* escapeButton(QMessageBox* theWrappedObject) const; + bool py_q_event(QMessageBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_event(e));} + QMessageBox::Icon icon(QMessageBox* theWrappedObject) const; + QPixmap iconPixmap(QMessageBox* theWrappedObject) const; + QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1 = QMessageBox::NoButton); + QString informativeText(QMessageBox* theWrappedObject) const; + void py_q_keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_keyPressEvent(event));} + void open(QMessageBox* theWrappedObject, QObject* receiver, const char* member); + QMessageBox::StandardButton static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::StandardButtons(Yes | No), QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); + void removeButton(QMessageBox* theWrappedObject, QAbstractButton* button); + void py_q_resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_resizeEvent(event));} + void setCheckBox(QMessageBox* theWrappedObject, QCheckBox* cb); + void setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + void setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button); + void setDetailedText(QMessageBox* theWrappedObject, const QString& text); + void setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button); + void setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + void setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1); + void setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap); + void setInformativeText(QMessageBox* theWrappedObject, const QString& text); + void setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons); + void setText(QMessageBox* theWrappedObject, const QString& text); + void setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format); + void setTextInteractionFlags(QMessageBox* theWrappedObject, Qt::TextInteractionFlags flags); + void py_q_showEvent(QMessageBox* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_showEvent(event));} + QMessageBox::StandardButton standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const; + QMessageBox::StandardButtons standardButtons(QMessageBox* theWrappedObject) const; + QString text(QMessageBox* theWrappedObject) const; + Qt::TextFormat textFormat(QMessageBox* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QMessageBox* theWrappedObject) const; + QMessageBox::StandardButton static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); +}; + + + + + +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(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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QMouseEvent : public QObject +{ Q_OBJECT +public: +public slots: +QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +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; } + Qt::MouseButton button(QMouseEvent* theWrappedObject) const; + Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const; + Qt::MouseEventFlags flags(QMouseEvent* theWrappedObject) const; + QPoint globalPos(QMouseEvent* theWrappedObject) const; + int globalX(QMouseEvent* theWrappedObject) const; + int globalY(QMouseEvent* theWrappedObject) const; + const QPointF* localPos(QMouseEvent* theWrappedObject) const; + QPoint pos(QMouseEvent* theWrappedObject) const; + const QPointF* screenPos(QMouseEvent* theWrappedObject) const; + void setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition); + Qt::MouseEventSource source(QMouseEvent* theWrappedObject) const; + const QPointF* windowPos(QMouseEvent* theWrappedObject) const; + int x(QMouseEvent* theWrappedObject) const; + int y(QMouseEvent* theWrappedObject) const; +}; + + + + + +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(nullptr) {}; + PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(nullptr) {}; + + ~PythonQtShell_QMouseEventTransition() 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_QMouseEventTransition : public QMouseEventTransition +{ public: +inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } +inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } +inline bool py_q_eventTest(QEvent* event) { return QMouseEventTransition::eventTest(event); } +inline void py_q_onTransition(QEvent* event) { QMouseEventTransition::onTransition(event); } +}; + +class PythonQtWrapper_QMouseEventTransition : public QObject +{ Q_OBJECT +public: +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; } + 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; + Qt::KeyboardModifiers modifierMask(QMouseEventTransition* theWrappedObject) const; + void py_q_onTransition(QMouseEventTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->py_q_onTransition(event));} + void setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button); + void setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path); + void setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers); +}; + + + + + +class PythonQtShell_QMoveEvent : public QMoveEvent +{ +public: + PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(nullptr) {}; + + ~PythonQtShell_QMoveEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QMoveEvent : public QObject +{ Q_OBJECT +public: +public slots: +QMoveEvent* new_QMoveEvent(const QPoint& pos, const QPoint& oldPos); +void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } + const QPoint* oldPos(QMoveEvent* theWrappedObject) const; + const QPoint* pos(QMoveEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMovie : public QMovie +{ +public: + 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() 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_QMovie : public QObject +{ Q_OBJECT +public: +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; } + QColor backgroundColor(QMovie* theWrappedObject) const; + QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; + int currentFrameNumber(QMovie* theWrappedObject) const; + QImage currentImage(QMovie* theWrappedObject) const; + QPixmap currentPixmap(QMovie* theWrappedObject) const; + QIODevice* device(QMovie* theWrappedObject) const; + QString fileName(QMovie* theWrappedObject) const; + QByteArray format(QMovie* theWrappedObject) const; + int frameCount(QMovie* theWrappedObject) const; + QRect frameRect(QMovie* theWrappedObject) const; + bool isValid(QMovie* theWrappedObject) const; + bool jumpToFrame(QMovie* theWrappedObject, int frameNumber); + QImageReader::ImageReaderError lastError(QMovie* theWrappedObject) const; + QString lastErrorString(QMovie* theWrappedObject) const; + int loopCount(QMovie* theWrappedObject) const; + int nextFrameDelay(QMovie* theWrappedObject) const; + QSize scaledSize(QMovie* theWrappedObject); + void setBackgroundColor(QMovie* theWrappedObject, const QColor& color); + void setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode); + void setDevice(QMovie* theWrappedObject, QIODevice* device); + void setFileName(QMovie* theWrappedObject, const QString& fileName); + void setFormat(QMovie* theWrappedObject, const QByteArray& format); + void setScaledSize(QMovie* theWrappedObject, const QSize& size); + int speed(QMovie* theWrappedObject) const; + QMovie::MovieState state(QMovie* theWrappedObject) const; + QList static_QMovie_supportedFormats(); + bool __nonzero__(QMovie* obj) { return obj->isValid(); } +}; + + + + + +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(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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QNativeGestureEvent : public QObject +{ Q_OBJECT +public: +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; } + const QTouchDevice* device(QNativeGestureEvent* theWrappedObject) const; + Qt::NativeGestureType gestureType(QNativeGestureEvent* theWrappedObject) const; + const QPoint globalPos(QNativeGestureEvent* theWrappedObject) const; + const QPointF* localPos(QNativeGestureEvent* theWrappedObject) const; + const QPoint pos(QNativeGestureEvent* theWrappedObject) const; + const QPointF* screenPos(QNativeGestureEvent* theWrappedObject) const; + qreal value(QNativeGestureEvent* theWrappedObject) const; + const QPointF* windowPos(QNativeGestureEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QOffscreenSurface : public QOffscreenSurface +{ +public: + PythonQtShell_QOffscreenSurface(QScreen* screen = nullptr):QOffscreenSurface(screen),_wrapper(nullptr) {}; + PythonQtShell_QOffscreenSurface(QScreen* screen, QObject* parent):QOffscreenSurface(screen, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOffscreenSurface() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QOffscreenSurface : public QOffscreenSurface +{ public: +inline QSurfaceFormat py_q_format() const { return QOffscreenSurface::format(); } +inline QSize py_q_size() const { return QOffscreenSurface::size(); } +inline QSurface::SurfaceType py_q_surfaceType() const { return QOffscreenSurface::surfaceType(); } +}; + +class PythonQtWrapper_QOffscreenSurface : public QObject +{ Q_OBJECT +public: +public slots: +QOffscreenSurface* new_QOffscreenSurface(QScreen* screen = nullptr); +QOffscreenSurface* new_QOffscreenSurface(QScreen* screen, QObject* parent); +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());} + bool isValid(QOffscreenSurface* theWrappedObject) const; + void* nativeHandle(QOffscreenSurface* theWrappedObject) const; + QSurfaceFormat requestedFormat(QOffscreenSurface* theWrappedObject) const; + QScreen* screen(QOffscreenSurface* theWrappedObject) const; + void setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format); + void setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle); + void setScreen(QOffscreenSurface* theWrappedObject, QScreen* screen); + QSize py_q_size(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_size());} + QSurface::SurfaceType py_q_surfaceType(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_surfaceType());} + bool __nonzero__(QOffscreenSurface* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QOpenGLBuffer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Access RangeAccessFlag Type UsagePattern ) +enum Access{ + ReadOnly = QOpenGLBuffer::ReadOnly, WriteOnly = QOpenGLBuffer::WriteOnly, ReadWrite = QOpenGLBuffer::ReadWrite}; +enum RangeAccessFlag{ + RangeRead = QOpenGLBuffer::RangeRead, RangeWrite = QOpenGLBuffer::RangeWrite, RangeInvalidate = QOpenGLBuffer::RangeInvalidate, RangeInvalidateBuffer = QOpenGLBuffer::RangeInvalidateBuffer, RangeFlushExplicit = QOpenGLBuffer::RangeFlushExplicit, RangeUnsynchronized = QOpenGLBuffer::RangeUnsynchronized}; +enum Type{ + VertexBuffer = QOpenGLBuffer::VertexBuffer, IndexBuffer = QOpenGLBuffer::IndexBuffer, PixelPackBuffer = QOpenGLBuffer::PixelPackBuffer, PixelUnpackBuffer = QOpenGLBuffer::PixelUnpackBuffer}; +enum UsagePattern{ + StreamDraw = QOpenGLBuffer::StreamDraw, StreamRead = QOpenGLBuffer::StreamRead, StreamCopy = QOpenGLBuffer::StreamCopy, StaticDraw = QOpenGLBuffer::StaticDraw, StaticRead = QOpenGLBuffer::StaticRead, StaticCopy = QOpenGLBuffer::StaticCopy, DynamicDraw = QOpenGLBuffer::DynamicDraw, DynamicRead = QOpenGLBuffer::DynamicRead, DynamicCopy = QOpenGLBuffer::DynamicCopy}; +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 allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count); + void allocate(QOpenGLBuffer* theWrappedObject, int count); + bool bind(QOpenGLBuffer* theWrappedObject); + GLuint bufferId(QOpenGLBuffer* theWrappedObject) const; + bool create(QOpenGLBuffer* theWrappedObject); + void destroy(QOpenGLBuffer* theWrappedObject); + bool isCreated(QOpenGLBuffer* theWrappedObject) const; + void* map(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::Access access); + QOpenGLBuffer* operator_assign(QOpenGLBuffer* theWrappedObject, const QOpenGLBuffer& other); + bool read(QOpenGLBuffer* theWrappedObject, int offset, void* data, int count); + void release(QOpenGLBuffer* theWrappedObject); + void static_QOpenGLBuffer_release(QOpenGLBuffer::Type type); + void setUsagePattern(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::UsagePattern value); + int size(QOpenGLBuffer* theWrappedObject) const; + QOpenGLBuffer::Type type(QOpenGLBuffer* theWrappedObject) const; + bool unmap(QOpenGLBuffer* theWrappedObject); + QOpenGLBuffer::UsagePattern usagePattern(QOpenGLBuffer* theWrappedObject) const; + void write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count); +}; + + + + + +class PythonQtShell_QOpenGLContext : public QOpenGLContext +{ +public: + PythonQtShell_QOpenGLContext(QObject* parent = nullptr):QOpenGLContext(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLContext() 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_QOpenGLContext : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OpenGLModuleType ) +enum OpenGLModuleType{ + LibGL = QOpenGLContext::LibGL, LibGLES = QOpenGLContext::LibGLES}; +public slots: +QOpenGLContext* new_QOpenGLContext(QObject* parent = nullptr); +void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } + bool static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second); + bool create(QOpenGLContext* theWrappedObject); + QOpenGLContext* static_QOpenGLContext_currentContext(); + GLuint defaultFramebufferObject(QOpenGLContext* theWrappedObject) const; + void doneCurrent(QOpenGLContext* theWrappedObject); + QSet extensions(QOpenGLContext* theWrappedObject) const; + QSurfaceFormat format(QOpenGLContext* theWrappedObject) const; + QOpenGLFunctions* functions(QOpenGLContext* theWrappedObject) const; + QOpenGLContext* static_QOpenGLContext_globalShareContext(); + bool hasExtension(QOpenGLContext* theWrappedObject, const QByteArray& extension) const; + bool isOpenGLES(QOpenGLContext* theWrappedObject) const; + bool isValid(QOpenGLContext* theWrappedObject) const; + bool makeCurrent(QOpenGLContext* theWrappedObject, QSurface* surface); + QVariant nativeHandle(QOpenGLContext* theWrappedObject) const; + void* static_QOpenGLContext_openGLModuleHandle(); + QOpenGLContext::OpenGLModuleType static_QOpenGLContext_openGLModuleType(); + QScreen* screen(QOpenGLContext* theWrappedObject) const; + void setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format); + void setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle); + void setScreen(QOpenGLContext* theWrappedObject, QScreen* screen); + void setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext); + QOpenGLContext* shareContext(QOpenGLContext* theWrappedObject) const; + QOpenGLContextGroup* shareGroup(QOpenGLContext* theWrappedObject) const; + bool static_QOpenGLContext_supportsThreadedOpenGL(); + QSurface* surface(QOpenGLContext* theWrappedObject) const; + void swapBuffers(QOpenGLContext* theWrappedObject, QSurface* surface); + QString py_toString(QOpenGLContext*); + bool __nonzero__(QOpenGLContext* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QOpenGLContextGroup : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } + QOpenGLContextGroup* static_QOpenGLContextGroup_currentContextGroup(); + QList shares(QOpenGLContextGroup* theWrappedObject) const; + QString py_toString(QOpenGLContextGroup*); +}; + + + + + +class PythonQtShell_QOpenGLFramebufferObject : public QOpenGLFramebufferObject +{ +public: + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QOpenGLFramebufferObject(size, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, 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 = 0x0DE1):QOpenGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, 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() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QOpenGLFramebufferObject : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Attachment FramebufferRestorePolicy ) +enum Attachment{ + NoAttachment = QOpenGLFramebufferObject::NoAttachment, CombinedDepthStencil = QOpenGLFramebufferObject::CombinedDepthStencil, Depth = QOpenGLFramebufferObject::Depth}; +enum FramebufferRestorePolicy{ + DontRestoreFramebufferBinding = QOpenGLFramebufferObject::DontRestoreFramebufferBinding, RestoreFramebufferBindingToDefault = QOpenGLFramebufferObject::RestoreFramebufferBindingToDefault, RestoreFrameBufferBinding = QOpenGLFramebufferObject::RestoreFrameBufferBinding}; +public slots: +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internalFormat = 0); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, GLenum target = 0x0DE1); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internalFormat = 0); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format); +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; + bool bind(QOpenGLFramebufferObject* theWrappedObject); + bool static_QOpenGLFramebufferObject_bindDefault(); + void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers = 0x00004000, GLenum filter = 0x2600); + void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers = 0x00004000, GLenum filter = 0x2600); + void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex); + void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy); + QOpenGLFramebufferObjectFormat format(QOpenGLFramebufferObject* theWrappedObject) const; + GLuint handle(QOpenGLFramebufferObject* theWrappedObject) const; + bool static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit(); + bool static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects(); + int height(QOpenGLFramebufferObject* theWrappedObject) const; + bool isBound(QOpenGLFramebufferObject* theWrappedObject) const; + bool isValid(QOpenGLFramebufferObject* theWrappedObject) const; + bool release(QOpenGLFramebufferObject* theWrappedObject); + void setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment); + QSize size(QOpenGLFramebufferObject* theWrappedObject) const; + QVector sizes(QOpenGLFramebufferObject* theWrappedObject) const; + GLuint takeTexture(QOpenGLFramebufferObject* theWrappedObject); + GLuint takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex); + GLuint texture(QOpenGLFramebufferObject* theWrappedObject) const; + QVector textures(QOpenGLFramebufferObject* theWrappedObject) const; + QImage toImage(QOpenGLFramebufferObject* theWrappedObject) const; + QImage toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const; + QImage toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const; + int width(QOpenGLFramebufferObject* theWrappedObject) const; + bool __nonzero__(QOpenGLFramebufferObject* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QOpenGLFramebufferObjectFormat : public QObject +{ Q_OBJECT +public: +public slots: +QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(); +QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other); +void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) { delete obj; } + QOpenGLFramebufferObject::Attachment attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const; + GLenum internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const; + bool mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const; + bool __ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const; + QOpenGLFramebufferObjectFormat* operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other); + bool __eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const; + int samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const; + void setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment); + void setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat); + void setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled); + void setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples); + void setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target); + GLenum textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QOpenGLPaintDevice : public QOpenGLPaintDevice +{ +public: + 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() override; + +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; +}; + +class PythonQtPublicPromoter_QOpenGLPaintDevice : public QOpenGLPaintDevice +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline int py_q_devType() const { return QOpenGLPaintDevice::devType(); } +inline void py_q_ensureActiveTarget() { QOpenGLPaintDevice::ensureActiveTarget(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QOpenGLPaintDevice::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return QOpenGLPaintDevice::paintEngine(); } +}; + +class PythonQtWrapper_QOpenGLPaintDevice : public QObject +{ Q_OBJECT +public: +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; } + QOpenGLContext* context(QOpenGLPaintDevice* theWrappedObject) const; + int py_q_devType(QOpenGLPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_devType());} + qreal dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const; + qreal dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const; + void ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject); + void py_q_ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_ensureActiveTarget());} + int py_q_metric(QOpenGLPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_metric(metric));} + QPaintEngine* py_q_paintEngine(QOpenGLPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_paintEngine());} + bool paintFlipped(QOpenGLPaintDevice* theWrappedObject) const; + void setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio); + void setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1); + void setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1); + void setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped); + void setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size); + QSize size(QOpenGLPaintDevice* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QOpenGLShader : public QOpenGLShader +{ +public: + PythonQtShell_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr):QOpenGLShader(type, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLShader() 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_QOpenGLShader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ShaderTypeBit ) +Q_FLAGS(ShaderType ) +enum ShaderTypeBit{ + Vertex = QOpenGLShader::Vertex, Fragment = QOpenGLShader::Fragment, Geometry = QOpenGLShader::Geometry, TessellationControl = QOpenGLShader::TessellationControl, TessellationEvaluation = QOpenGLShader::TessellationEvaluation, Compute = QOpenGLShader::Compute}; +Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) +public slots: +QOpenGLShader* new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr); +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); + bool compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName); + bool static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context = nullptr); + bool isCompiled(QOpenGLShader* theWrappedObject) const; + QString log(QOpenGLShader* theWrappedObject) const; + GLuint shaderId(QOpenGLShader* theWrappedObject) const; + QOpenGLShader::ShaderType shaderType(QOpenGLShader* theWrappedObject) const; + QByteArray sourceCode(QOpenGLShader* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QOpenGLShaderProgram : public QOpenGLShaderProgram +{ +public: + PythonQtShell_QOpenGLShaderProgram(QObject* parent = nullptr):QOpenGLShaderProgram(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLShaderProgram() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QOpenGLShaderProgram : public QOpenGLShaderProgram +{ public: +inline bool py_q_link() { return QOpenGLShaderProgram::link(); } +}; + +class PythonQtWrapper_QOpenGLShaderProgram : public QObject +{ Q_OBJECT +public: +public slots: +QOpenGLShaderProgram* new_QOpenGLShaderProgram(QObject* parent = nullptr); +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); + bool addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName); + bool addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader); + bool addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source); + bool addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source); + bool addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source); + bool addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName); + int attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const; + int attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const; + int attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const; + bool bind(QOpenGLShaderProgram* theWrappedObject); + void bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location); + void bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location); + void bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location); + bool create(QOpenGLShaderProgram* theWrappedObject); + QVector defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const; + QVector defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const; + void disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name); + void disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location); + void enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name); + void enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location); + bool static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context = nullptr); + bool isLinked(QOpenGLShaderProgram* theWrappedObject) const; + bool link(QOpenGLShaderProgram* theWrappedObject); + bool py_q_link(QOpenGLShaderProgram* theWrappedObject){ return (((PythonQtPublicPromoter_QOpenGLShaderProgram*)theWrappedObject)->py_q_link());} + QString log(QOpenGLShaderProgram* theWrappedObject) const; + int maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const; + int patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const; + GLuint programId(QOpenGLShaderProgram* theWrappedObject) const; + void release(QOpenGLShaderProgram* theWrappedObject); + void removeAllShaders(QOpenGLShaderProgram* theWrappedObject); + void removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride = 0); + void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride = 0); + void setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride = 0); + void setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride = 0); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value); + void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value); + void setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels); + void setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels); + void setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value); + void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count); + void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count); + QList shaders(QOpenGLShaderProgram* theWrappedObject) const; + int uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const; + int uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const; + int uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const; +}; + + + + + +class PythonQtWrapper_QOpenGLTexture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BindingTarget ComparisonFunction ComparisonMode CoordinateDirection CubeMapFace DepthStencilMode Feature Filter MipMapGeneration PixelFormat PixelType SwizzleComponent SwizzleValue Target TextureFormat TextureFormatClass TextureUnitReset WrapMode ) +Q_FLAGS(Features ) +enum BindingTarget{ + BindingTarget1D = QOpenGLTexture::BindingTarget1D, BindingTarget1DArray = QOpenGLTexture::BindingTarget1DArray, BindingTarget2D = QOpenGLTexture::BindingTarget2D, BindingTarget2DArray = QOpenGLTexture::BindingTarget2DArray, BindingTarget3D = QOpenGLTexture::BindingTarget3D, BindingTargetCubeMap = QOpenGLTexture::BindingTargetCubeMap, BindingTargetCubeMapArray = QOpenGLTexture::BindingTargetCubeMapArray, BindingTarget2DMultisample = QOpenGLTexture::BindingTarget2DMultisample, BindingTarget2DMultisampleArray = QOpenGLTexture::BindingTarget2DMultisampleArray, BindingTargetRectangle = QOpenGLTexture::BindingTargetRectangle, BindingTargetBuffer = QOpenGLTexture::BindingTargetBuffer}; +enum ComparisonFunction{ + CompareLessEqual = QOpenGLTexture::CompareLessEqual, CompareGreaterEqual = QOpenGLTexture::CompareGreaterEqual, CompareLess = QOpenGLTexture::CompareLess, CompareGreater = QOpenGLTexture::CompareGreater, CompareEqual = QOpenGLTexture::CompareEqual, CommpareNotEqual = QOpenGLTexture::CommpareNotEqual, CompareAlways = QOpenGLTexture::CompareAlways, CompareNever = QOpenGLTexture::CompareNever}; +enum ComparisonMode{ + CompareRefToTexture = QOpenGLTexture::CompareRefToTexture, CompareNone = QOpenGLTexture::CompareNone}; +enum CoordinateDirection{ + DirectionS = QOpenGLTexture::DirectionS, DirectionT = QOpenGLTexture::DirectionT, DirectionR = QOpenGLTexture::DirectionR}; +enum CubeMapFace{ + CubeMapPositiveX = QOpenGLTexture::CubeMapPositiveX, CubeMapNegativeX = QOpenGLTexture::CubeMapNegativeX, CubeMapPositiveY = QOpenGLTexture::CubeMapPositiveY, CubeMapNegativeY = QOpenGLTexture::CubeMapNegativeY, CubeMapPositiveZ = QOpenGLTexture::CubeMapPositiveZ, CubeMapNegativeZ = QOpenGLTexture::CubeMapNegativeZ}; +enum DepthStencilMode{ + DepthMode = QOpenGLTexture::DepthMode, StencilMode = QOpenGLTexture::StencilMode}; +enum Feature{ + ImmutableStorage = QOpenGLTexture::ImmutableStorage, ImmutableMultisampleStorage = QOpenGLTexture::ImmutableMultisampleStorage, TextureRectangle = QOpenGLTexture::TextureRectangle, TextureArrays = QOpenGLTexture::TextureArrays, Texture3D = QOpenGLTexture::Texture3D, TextureMultisample = QOpenGLTexture::TextureMultisample, TextureBuffer = QOpenGLTexture::TextureBuffer, TextureCubeMapArrays = QOpenGLTexture::TextureCubeMapArrays, Swizzle = QOpenGLTexture::Swizzle, StencilTexturing = QOpenGLTexture::StencilTexturing, AnisotropicFiltering = QOpenGLTexture::AnisotropicFiltering, NPOTTextures = QOpenGLTexture::NPOTTextures, NPOTTextureRepeat = QOpenGLTexture::NPOTTextureRepeat, Texture1D = QOpenGLTexture::Texture1D, TextureComparisonOperators = QOpenGLTexture::TextureComparisonOperators, TextureMipMapLevel = QOpenGLTexture::TextureMipMapLevel, MaxFeatureFlag = QOpenGLTexture::MaxFeatureFlag}; +enum Filter{ + Nearest = QOpenGLTexture::Nearest, Linear = QOpenGLTexture::Linear, NearestMipMapNearest = QOpenGLTexture::NearestMipMapNearest, NearestMipMapLinear = QOpenGLTexture::NearestMipMapLinear, LinearMipMapNearest = QOpenGLTexture::LinearMipMapNearest, LinearMipMapLinear = QOpenGLTexture::LinearMipMapLinear}; +enum MipMapGeneration{ + GenerateMipMaps = QOpenGLTexture::GenerateMipMaps, DontGenerateMipMaps = QOpenGLTexture::DontGenerateMipMaps}; +enum PixelFormat{ + NoSourceFormat = QOpenGLTexture::NoSourceFormat, Red = QOpenGLTexture::Red, RG = QOpenGLTexture::RG, RGB = QOpenGLTexture::RGB, BGR = QOpenGLTexture::BGR, RGBA = QOpenGLTexture::RGBA, BGRA = QOpenGLTexture::BGRA, Red_Integer = QOpenGLTexture::Red_Integer, RG_Integer = QOpenGLTexture::RG_Integer, RGB_Integer = QOpenGLTexture::RGB_Integer, BGR_Integer = QOpenGLTexture::BGR_Integer, RGBA_Integer = QOpenGLTexture::RGBA_Integer, BGRA_Integer = QOpenGLTexture::BGRA_Integer, Stencil = QOpenGLTexture::Stencil, Depth = QOpenGLTexture::Depth, DepthStencil = QOpenGLTexture::DepthStencil, Alpha = QOpenGLTexture::Alpha, Luminance = QOpenGLTexture::Luminance, LuminanceAlpha = QOpenGLTexture::LuminanceAlpha}; +enum PixelType{ + NoPixelType = QOpenGLTexture::NoPixelType, Int8 = QOpenGLTexture::Int8, UInt8 = QOpenGLTexture::UInt8, Int16 = QOpenGLTexture::Int16, UInt16 = QOpenGLTexture::UInt16, Int32 = QOpenGLTexture::Int32, UInt32 = QOpenGLTexture::UInt32, Float16 = QOpenGLTexture::Float16, Float16OES = QOpenGLTexture::Float16OES, Float32 = QOpenGLTexture::Float32, UInt32_RGB9_E5 = QOpenGLTexture::UInt32_RGB9_E5, UInt32_RG11B10F = QOpenGLTexture::UInt32_RG11B10F, UInt8_RG3B2 = QOpenGLTexture::UInt8_RG3B2, UInt8_RG3B2_Rev = QOpenGLTexture::UInt8_RG3B2_Rev, UInt16_RGB5A1 = QOpenGLTexture::UInt16_RGB5A1, UInt16_RGB5A1_Rev = QOpenGLTexture::UInt16_RGB5A1_Rev, UInt16_R5G6B5 = QOpenGLTexture::UInt16_R5G6B5, UInt16_R5G6B5_Rev = QOpenGLTexture::UInt16_R5G6B5_Rev, UInt16_RGBA4 = QOpenGLTexture::UInt16_RGBA4, UInt16_RGBA4_Rev = QOpenGLTexture::UInt16_RGBA4_Rev, UInt32_RGBA8 = QOpenGLTexture::UInt32_RGBA8, UInt32_RGBA8_Rev = QOpenGLTexture::UInt32_RGBA8_Rev, UInt32_RGB10A2 = QOpenGLTexture::UInt32_RGB10A2, UInt32_RGB10A2_Rev = QOpenGLTexture::UInt32_RGB10A2_Rev, UInt32_D24S8 = QOpenGLTexture::UInt32_D24S8, Float32_D32_UInt32_S8_X24 = QOpenGLTexture::Float32_D32_UInt32_S8_X24}; +enum SwizzleComponent{ + SwizzleRed = QOpenGLTexture::SwizzleRed, SwizzleGreen = QOpenGLTexture::SwizzleGreen, SwizzleBlue = QOpenGLTexture::SwizzleBlue, SwizzleAlpha = QOpenGLTexture::SwizzleAlpha}; +enum SwizzleValue{ + RedValue = QOpenGLTexture::RedValue, GreenValue = QOpenGLTexture::GreenValue, BlueValue = QOpenGLTexture::BlueValue, AlphaValue = QOpenGLTexture::AlphaValue, ZeroValue = QOpenGLTexture::ZeroValue, OneValue = QOpenGLTexture::OneValue}; +enum Target{ + Target1D = QOpenGLTexture::Target1D, Target1DArray = QOpenGLTexture::Target1DArray, Target2D = QOpenGLTexture::Target2D, Target2DArray = QOpenGLTexture::Target2DArray, Target3D = QOpenGLTexture::Target3D, TargetCubeMap = QOpenGLTexture::TargetCubeMap, TargetCubeMapArray = QOpenGLTexture::TargetCubeMapArray, Target2DMultisample = QOpenGLTexture::Target2DMultisample, Target2DMultisampleArray = QOpenGLTexture::Target2DMultisampleArray, TargetRectangle = QOpenGLTexture::TargetRectangle, TargetBuffer = QOpenGLTexture::TargetBuffer}; +enum TextureFormat{ + NoFormat = QOpenGLTexture::NoFormat, R8_UNorm = QOpenGLTexture::R8_UNorm, RG8_UNorm = QOpenGLTexture::RG8_UNorm, RGB8_UNorm = QOpenGLTexture::RGB8_UNorm, RGBA8_UNorm = QOpenGLTexture::RGBA8_UNorm, R16_UNorm = QOpenGLTexture::R16_UNorm, RG16_UNorm = QOpenGLTexture::RG16_UNorm, RGB16_UNorm = QOpenGLTexture::RGB16_UNorm, RGBA16_UNorm = QOpenGLTexture::RGBA16_UNorm, R8_SNorm = QOpenGLTexture::R8_SNorm, RG8_SNorm = QOpenGLTexture::RG8_SNorm, RGB8_SNorm = QOpenGLTexture::RGB8_SNorm, RGBA8_SNorm = QOpenGLTexture::RGBA8_SNorm, R16_SNorm = QOpenGLTexture::R16_SNorm, RG16_SNorm = QOpenGLTexture::RG16_SNorm, RGB16_SNorm = QOpenGLTexture::RGB16_SNorm, RGBA16_SNorm = QOpenGLTexture::RGBA16_SNorm, R8U = QOpenGLTexture::R8U, RG8U = QOpenGLTexture::RG8U, RGB8U = QOpenGLTexture::RGB8U, RGBA8U = QOpenGLTexture::RGBA8U, R16U = QOpenGLTexture::R16U, RG16U = QOpenGLTexture::RG16U, RGB16U = QOpenGLTexture::RGB16U, RGBA16U = QOpenGLTexture::RGBA16U, R32U = QOpenGLTexture::R32U, RG32U = QOpenGLTexture::RG32U, RGB32U = QOpenGLTexture::RGB32U, RGBA32U = QOpenGLTexture::RGBA32U, R8I = QOpenGLTexture::R8I, RG8I = QOpenGLTexture::RG8I, RGB8I = QOpenGLTexture::RGB8I, RGBA8I = QOpenGLTexture::RGBA8I, R16I = QOpenGLTexture::R16I, RG16I = QOpenGLTexture::RG16I, RGB16I = QOpenGLTexture::RGB16I, RGBA16I = QOpenGLTexture::RGBA16I, R32I = QOpenGLTexture::R32I, RG32I = QOpenGLTexture::RG32I, RGB32I = QOpenGLTexture::RGB32I, RGBA32I = QOpenGLTexture::RGBA32I, R16F = QOpenGLTexture::R16F, RG16F = QOpenGLTexture::RG16F, RGB16F = QOpenGLTexture::RGB16F, RGBA16F = QOpenGLTexture::RGBA16F, R32F = QOpenGLTexture::R32F, RG32F = QOpenGLTexture::RG32F, RGB32F = QOpenGLTexture::RGB32F, RGBA32F = QOpenGLTexture::RGBA32F, RGB9E5 = QOpenGLTexture::RGB9E5, RG11B10F = QOpenGLTexture::RG11B10F, RG3B2 = QOpenGLTexture::RG3B2, R5G6B5 = QOpenGLTexture::R5G6B5, RGB5A1 = QOpenGLTexture::RGB5A1, RGBA4 = QOpenGLTexture::RGBA4, RGB10A2 = QOpenGLTexture::RGB10A2, D16 = QOpenGLTexture::D16, D24 = QOpenGLTexture::D24, D24S8 = QOpenGLTexture::D24S8, D32 = QOpenGLTexture::D32, D32F = QOpenGLTexture::D32F, D32FS8X24 = QOpenGLTexture::D32FS8X24, S8 = QOpenGLTexture::S8, RGB_DXT1 = QOpenGLTexture::RGB_DXT1, RGBA_DXT1 = QOpenGLTexture::RGBA_DXT1, RGBA_DXT3 = QOpenGLTexture::RGBA_DXT3, RGBA_DXT5 = QOpenGLTexture::RGBA_DXT5, R_ATI1N_UNorm = QOpenGLTexture::R_ATI1N_UNorm, R_ATI1N_SNorm = QOpenGLTexture::R_ATI1N_SNorm, RG_ATI2N_UNorm = QOpenGLTexture::RG_ATI2N_UNorm, RG_ATI2N_SNorm = QOpenGLTexture::RG_ATI2N_SNorm, RGB_BP_UNSIGNED_FLOAT = QOpenGLTexture::RGB_BP_UNSIGNED_FLOAT, RGB_BP_SIGNED_FLOAT = QOpenGLTexture::RGB_BP_SIGNED_FLOAT, RGB_BP_UNorm = QOpenGLTexture::RGB_BP_UNorm, R11_EAC_UNorm = QOpenGLTexture::R11_EAC_UNorm, R11_EAC_SNorm = QOpenGLTexture::R11_EAC_SNorm, RG11_EAC_UNorm = QOpenGLTexture::RG11_EAC_UNorm, RG11_EAC_SNorm = QOpenGLTexture::RG11_EAC_SNorm, RGB8_ETC2 = QOpenGLTexture::RGB8_ETC2, SRGB8_ETC2 = QOpenGLTexture::SRGB8_ETC2, RGB8_PunchThrough_Alpha1_ETC2 = QOpenGLTexture::RGB8_PunchThrough_Alpha1_ETC2, SRGB8_PunchThrough_Alpha1_ETC2 = QOpenGLTexture::SRGB8_PunchThrough_Alpha1_ETC2, RGBA8_ETC2_EAC = QOpenGLTexture::RGBA8_ETC2_EAC, SRGB8_Alpha8_ETC2_EAC = QOpenGLTexture::SRGB8_Alpha8_ETC2_EAC, RGB8_ETC1 = QOpenGLTexture::RGB8_ETC1, RGBA_ASTC_4x4 = QOpenGLTexture::RGBA_ASTC_4x4, RGBA_ASTC_5x4 = QOpenGLTexture::RGBA_ASTC_5x4, RGBA_ASTC_5x5 = QOpenGLTexture::RGBA_ASTC_5x5, RGBA_ASTC_6x5 = QOpenGLTexture::RGBA_ASTC_6x5, RGBA_ASTC_6x6 = QOpenGLTexture::RGBA_ASTC_6x6, RGBA_ASTC_8x5 = QOpenGLTexture::RGBA_ASTC_8x5, RGBA_ASTC_8x6 = QOpenGLTexture::RGBA_ASTC_8x6, RGBA_ASTC_8x8 = QOpenGLTexture::RGBA_ASTC_8x8, RGBA_ASTC_10x5 = QOpenGLTexture::RGBA_ASTC_10x5, RGBA_ASTC_10x6 = QOpenGLTexture::RGBA_ASTC_10x6, RGBA_ASTC_10x8 = QOpenGLTexture::RGBA_ASTC_10x8, RGBA_ASTC_10x10 = QOpenGLTexture::RGBA_ASTC_10x10, RGBA_ASTC_12x10 = QOpenGLTexture::RGBA_ASTC_12x10, RGBA_ASTC_12x12 = QOpenGLTexture::RGBA_ASTC_12x12, SRGB8_Alpha8_ASTC_4x4 = QOpenGLTexture::SRGB8_Alpha8_ASTC_4x4, SRGB8_Alpha8_ASTC_5x4 = QOpenGLTexture::SRGB8_Alpha8_ASTC_5x4, SRGB8_Alpha8_ASTC_5x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_5x5, SRGB8_Alpha8_ASTC_6x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_6x5, SRGB8_Alpha8_ASTC_6x6 = QOpenGLTexture::SRGB8_Alpha8_ASTC_6x6, SRGB8_Alpha8_ASTC_8x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_8x5, SRGB8_Alpha8_ASTC_8x6 = QOpenGLTexture::SRGB8_Alpha8_ASTC_8x6, SRGB8_Alpha8_ASTC_8x8 = QOpenGLTexture::SRGB8_Alpha8_ASTC_8x8, SRGB8_Alpha8_ASTC_10x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x5, SRGB8_Alpha8_ASTC_10x6 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x6, SRGB8_Alpha8_ASTC_10x8 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x8, SRGB8_Alpha8_ASTC_10x10 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x10, SRGB8_Alpha8_ASTC_12x10 = QOpenGLTexture::SRGB8_Alpha8_ASTC_12x10, SRGB8_Alpha8_ASTC_12x12 = QOpenGLTexture::SRGB8_Alpha8_ASTC_12x12, SRGB8 = QOpenGLTexture::SRGB8, SRGB8_Alpha8 = QOpenGLTexture::SRGB8_Alpha8, SRGB_DXT1 = QOpenGLTexture::SRGB_DXT1, SRGB_Alpha_DXT1 = QOpenGLTexture::SRGB_Alpha_DXT1, SRGB_Alpha_DXT3 = QOpenGLTexture::SRGB_Alpha_DXT3, SRGB_Alpha_DXT5 = QOpenGLTexture::SRGB_Alpha_DXT5, SRGB_BP_UNorm = QOpenGLTexture::SRGB_BP_UNorm, DepthFormat = QOpenGLTexture::DepthFormat, AlphaFormat = QOpenGLTexture::AlphaFormat, RGBFormat = QOpenGLTexture::RGBFormat, RGBAFormat = QOpenGLTexture::RGBAFormat, LuminanceFormat = QOpenGLTexture::LuminanceFormat, LuminanceAlphaFormat = QOpenGLTexture::LuminanceAlphaFormat}; +enum TextureFormatClass{ + NoFormatClass = QOpenGLTexture::NoFormatClass, FormatClass_128Bit = QOpenGLTexture::FormatClass_128Bit, FormatClass_96Bit = QOpenGLTexture::FormatClass_96Bit, FormatClass_64Bit = QOpenGLTexture::FormatClass_64Bit, FormatClass_48Bit = QOpenGLTexture::FormatClass_48Bit, FormatClass_32Bit = QOpenGLTexture::FormatClass_32Bit, FormatClass_24Bit = QOpenGLTexture::FormatClass_24Bit, FormatClass_16Bit = QOpenGLTexture::FormatClass_16Bit, FormatClass_8Bit = QOpenGLTexture::FormatClass_8Bit, FormatClass_RGTC1_R = QOpenGLTexture::FormatClass_RGTC1_R, FormatClass_RGTC2_RG = QOpenGLTexture::FormatClass_RGTC2_RG, FormatClass_BPTC_Unorm = QOpenGLTexture::FormatClass_BPTC_Unorm, FormatClass_BPTC_Float = QOpenGLTexture::FormatClass_BPTC_Float, FormatClass_S3TC_DXT1_RGB = QOpenGLTexture::FormatClass_S3TC_DXT1_RGB, FormatClass_S3TC_DXT1_RGBA = QOpenGLTexture::FormatClass_S3TC_DXT1_RGBA, FormatClass_S3TC_DXT3_RGBA = QOpenGLTexture::FormatClass_S3TC_DXT3_RGBA, FormatClass_S3TC_DXT5_RGBA = QOpenGLTexture::FormatClass_S3TC_DXT5_RGBA, FormatClass_Unique = QOpenGLTexture::FormatClass_Unique}; +enum TextureUnitReset{ + ResetTextureUnit = QOpenGLTexture::ResetTextureUnit, DontResetTextureUnit = QOpenGLTexture::DontResetTextureUnit}; +enum WrapMode{ + Repeat = QOpenGLTexture::Repeat, MirroredRepeat = QOpenGLTexture::MirroredRepeat, ClampToEdge = QOpenGLTexture::ClampToEdge, ClampToBorder = QOpenGLTexture::ClampToBorder}; +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 allocateStorage(QOpenGLTexture* theWrappedObject); + void allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType); + void bind(QOpenGLTexture* theWrappedObject); + void bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset = QOpenGLTexture::DontResetTextureUnit); + QColor borderColor(QOpenGLTexture* theWrappedObject) const; + void borderColor(QOpenGLTexture* theWrappedObject, float* border) const; + void borderColor(QOpenGLTexture* theWrappedObject, int* border) const; + void borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const; + GLuint static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target); + GLuint static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target); + QOpenGLTexture::ComparisonFunction comparisonFunction(QOpenGLTexture* theWrappedObject) const; + QOpenGLTexture::ComparisonMode comparisonMode(QOpenGLTexture* theWrappedObject) const; + bool create(QOpenGLTexture* theWrappedObject); + QOpenGLTexture* createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const; + int depth(QOpenGLTexture* theWrappedObject) const; + QOpenGLTexture::DepthStencilMode depthStencilMode(QOpenGLTexture* theWrappedObject) const; + void destroy(QOpenGLTexture* theWrappedObject); + int faces(QOpenGLTexture* theWrappedObject) const; + QOpenGLTexture::TextureFormat format(QOpenGLTexture* theWrappedObject) const; + void generateMipMaps(QOpenGLTexture* theWrappedObject); + void generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel = true); + bool static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature); + int height(QOpenGLTexture* theWrappedObject) const; + bool isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const; + bool isBound(QOpenGLTexture* theWrappedObject) const; + bool isBound(QOpenGLTexture* theWrappedObject, uint unit); + bool isCreated(QOpenGLTexture* theWrappedObject) const; + bool isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const; + bool isStorageAllocated(QOpenGLTexture* theWrappedObject) const; + bool isTextureView(QOpenGLTexture* theWrappedObject) const; + int layers(QOpenGLTexture* theWrappedObject) const; + QPair levelOfDetailRange(QOpenGLTexture* theWrappedObject) const; + float levelofDetailBias(QOpenGLTexture* theWrappedObject) const; + QOpenGLTexture::Filter magnificationFilter(QOpenGLTexture* theWrappedObject) const; + float maximumAnisotropy(QOpenGLTexture* theWrappedObject) const; + float maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const; + int maximumMipLevels(QOpenGLTexture* theWrappedObject) const; + QPair minMagFilters(QOpenGLTexture* theWrappedObject) const; + QOpenGLTexture::Filter minificationFilter(QOpenGLTexture* theWrappedObject) const; + float minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const; + int mipBaseLevel(QOpenGLTexture* theWrappedObject) const; + QPair mipLevelRange(QOpenGLTexture* theWrappedObject) const; + int mipLevels(QOpenGLTexture* theWrappedObject) const; + int mipMaxLevel(QOpenGLTexture* theWrappedObject) const; + void release(QOpenGLTexture* theWrappedObject); + void release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset = QOpenGLTexture::DontResetTextureUnit); + int samples(QOpenGLTexture* theWrappedObject) const; + void setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled); + void setBorderColor(QOpenGLTexture* theWrappedObject, QColor color); + void setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a); + void setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a); + void setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a); + void setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function); + void setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode); + void setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps = QOpenGLTexture::GenerateMipMaps); + void setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode); + void setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed); + void setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format); + void setLayers(QOpenGLTexture* theWrappedObject, int layers); + void setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max); + void setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias); + void setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter); + void setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy); + void setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value); + void setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter); + void setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter); + void setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value); + void setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel); + void setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel); + void setMipLevels(QOpenGLTexture* theWrappedObject, int levels); + void setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel); + void setSamples(QOpenGLTexture* theWrappedObject, int samples); + void setSize(QOpenGLTexture* theWrappedObject, int width, int height = 1, int depth = 1); + void setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value); + void setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a); + void setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode); + void setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode); + QOpenGLTexture::SwizzleValue swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const; + QOpenGLTexture::Target target(QOpenGLTexture* theWrappedObject) const; + GLuint textureId(QOpenGLTexture* theWrappedObject) const; + int width(QOpenGLTexture* theWrappedObject) const; + QOpenGLTexture::WrapMode wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const; + QString py_toString(QOpenGLTexture*); +}; + + + + + +class PythonQtWrapper_QOpenGLTextureBlitter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Origin ) +enum Origin{ + OriginBottomLeft = QOpenGLTextureBlitter::OriginBottomLeft, OriginTopLeft = QOpenGLTextureBlitter::OriginTopLeft}; +public slots: +QOpenGLTextureBlitter* new_QOpenGLTextureBlitter(); +void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } + void bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target = 0x0DE1); + void blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin); + bool create(QOpenGLTextureBlitter* theWrappedObject); + void destroy(QOpenGLTextureBlitter* theWrappedObject); + bool isCreated(QOpenGLTextureBlitter* theWrappedObject) const; + void release(QOpenGLTextureBlitter* theWrappedObject); + void setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity); + void setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle); + bool supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const; + QMatrix4x4 static_QOpenGLTextureBlitter_targetTransform(const QRectF& target, const QRect& viewport); +}; + + + + + +class PythonQtShell_QOpenGLTimeMonitor : public QOpenGLTimeMonitor +{ +public: + PythonQtShell_QOpenGLTimeMonitor(QObject* parent = nullptr):QOpenGLTimeMonitor(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLTimeMonitor() 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_QOpenGLTimeMonitor : public QObject +{ Q_OBJECT +public: +public slots: +QOpenGLTimeMonitor* new_QOpenGLTimeMonitor(QObject* parent = nullptr); +void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } + bool create(QOpenGLTimeMonitor* theWrappedObject); + void destroy(QOpenGLTimeMonitor* theWrappedObject); + bool isCreated(QOpenGLTimeMonitor* theWrappedObject) const; + bool isResultAvailable(QOpenGLTimeMonitor* theWrappedObject) const; + QVector objectIds(QOpenGLTimeMonitor* theWrappedObject) const; + int recordSample(QOpenGLTimeMonitor* theWrappedObject); + void reset(QOpenGLTimeMonitor* theWrappedObject); + int sampleCount(QOpenGLTimeMonitor* theWrappedObject) const; + void setSampleCount(QOpenGLTimeMonitor* theWrappedObject, int sampleCount); + QVector waitForIntervals(QOpenGLTimeMonitor* theWrappedObject) const; + QVector waitForSamples(QOpenGLTimeMonitor* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QOpenGLTimerQuery : public QOpenGLTimerQuery +{ +public: + PythonQtShell_QOpenGLTimerQuery(QObject* parent = nullptr):QOpenGLTimerQuery(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLTimerQuery() 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_QOpenGLTimerQuery : public QObject +{ Q_OBJECT +public: +public slots: +QOpenGLTimerQuery* new_QOpenGLTimerQuery(QObject* parent = nullptr); +void delete_QOpenGLTimerQuery(QOpenGLTimerQuery* obj) { delete obj; } + void begin(QOpenGLTimerQuery* theWrappedObject); + bool create(QOpenGLTimerQuery* theWrappedObject); + void destroy(QOpenGLTimerQuery* theWrappedObject); + void end(QOpenGLTimerQuery* theWrappedObject); + bool isCreated(QOpenGLTimerQuery* theWrappedObject) const; + bool isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const; + GLuint objectId(QOpenGLTimerQuery* theWrappedObject) const; + void recordTimestamp(QOpenGLTimerQuery* theWrappedObject); + GLuint64 waitForResult(QOpenGLTimerQuery* theWrappedObject) const; + GLuint64 waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QOpenGLVersionProfile : public QObject +{ Q_OBJECT +public: +public slots: +QOpenGLVersionProfile* new_QOpenGLVersionProfile(); +QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other); +QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QSurfaceFormat& format); +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; + void setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile); + void setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion); + QPair version(QOpenGLVersionProfile* theWrappedObject) const; + QString py_toString(QOpenGLVersionProfile*); + bool __nonzero__(QOpenGLVersionProfile* obj) { return obj->isValid(); } +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp new file mode 100644 index 00000000..81ffe2e8 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -0,0 +1,11054 @@ +#include "com_trolltech_qt_gui6.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QOpenGLVertexArrayObject::~PythonQtShell_QOpenGLVertexArrayObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLVertexArrayObject::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(); + } + } +} + QOpenGLVertexArrayObject::childEvent(event0); +} +void PythonQtShell_QOpenGLVertexArrayObject::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(); + } + } +} + QOpenGLVertexArrayObject::customEvent(event0); +} +bool PythonQtShell_QOpenGLVertexArrayObject::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 QOpenGLVertexArrayObject::event(event0); +} +bool PythonQtShell_QOpenGLVertexArrayObject::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 QOpenGLVertexArrayObject::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLVertexArrayObject::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(); + } + } +} + QOpenGLVertexArrayObject::timerEvent(event0); +} +QOpenGLVertexArrayObject* PythonQtWrapper_QOpenGLVertexArrayObject::new_QOpenGLVertexArrayObject(QObject* parent) +{ +return new PythonQtShell_QOpenGLVertexArrayObject(parent); } + +const QMetaObject* PythonQtShell_QOpenGLVertexArrayObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLVertexArrayObject::staticMetaObject); + } else { + return &QOpenGLVertexArrayObject::staticMetaObject; + } +} +int PythonQtShell_QOpenGLVertexArrayObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLVertexArrayObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QOpenGLVertexArrayObject::bind(QOpenGLVertexArrayObject* theWrappedObject) +{ + ( theWrappedObject->bind()); +} + +bool PythonQtWrapper_QOpenGLVertexArrayObject::create(QOpenGLVertexArrayObject* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLVertexArrayObject::destroy(QOpenGLVertexArrayObject* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLVertexArrayObject::isCreated(QOpenGLVertexArrayObject* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +GLuint PythonQtWrapper_QOpenGLVertexArrayObject::objectId(QOpenGLVertexArrayObject* theWrappedObject) const +{ + return ( theWrappedObject->objectId()); +} + +void PythonQtWrapper_QOpenGLVertexArrayObject::release(QOpenGLVertexArrayObject* theWrappedObject) +{ + ( theWrappedObject->release()); +} + + + +PythonQtShell_QOpenGLWidget::~PythonQtShell_QOpenGLWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QOpenGLWidget::actionEvent(event0); +} +void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::changeEvent(arg__1); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::childEvent(event0); +} +void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QOpenGLWidget::closeEvent(event0); +} +void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QOpenGLWidget::contextMenuEvent(event0); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::customEvent(event0); +} +int PythonQtShell_QOpenGLWidget::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 QOpenGLWidget::devType(); +} +void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QOpenGLWidget::dragEnterEvent(event0); +} +void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QOpenGLWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QOpenGLWidget::dragMoveEvent(event0); +} +void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QOpenGLWidget::dropEvent(event0); +} +void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QOpenGLWidget::enterEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::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 QOpenGLWidget::event(e0); +} +bool PythonQtShell_QOpenGLWidget::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 QOpenGLWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::focusInEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::focusOutEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::hasHeightForWidth(); +} +int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::heightForWidth(arg__1); +} +void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::hideEvent(event0); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::initPainter(painter0); +} +void PythonQtShell_QOpenGLWidget::initializeGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeGL"); + 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(); + } + } +} + QOpenGLWidget::initializeGL(); +} +void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::keyPressEvent(event0); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QOpenGLWidget::leaveEvent(event0); +} +int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::metric(metric0); +} +QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::minimumSizeHint(); +} +void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QOpenGLWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QOpenGLWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QOpenGLWidget::mousePressEvent(event0); +} +void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QOpenGLWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QOpenGLWidget::moveEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::paintEngine(); +} +void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QOpenGLWidget::paintEvent(e0); +} +void PythonQtShell_QOpenGLWidget::paintGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintGL"); + 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(); + } + } +} + QOpenGLWidget::paintGL(); +} +QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) 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*)&p0}; + 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 QOpenGLWidget::redirected(p0); +} +void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QOpenGLWidget::resizeEvent(e0); +} +void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::resizeGL(w0, h1); +} +void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QOpenGLWidget::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 QOpenGLWidget::sharedPainter(); +} +void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QOpenGLWidget::showEvent(event0); +} +QSize PythonQtShell_QOpenGLWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::sizeHint(); +} +void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QOpenGLWidget::tabletEvent(event0); +} +void PythonQtShell_QOpenGLWidget::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(); + } + } +} + QOpenGLWidget::timerEvent(event0); +} +void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QOpenGLWidget::wheelEvent(event0); +} +QOpenGLWidget* PythonQtWrapper_QOpenGLWidget::new_QOpenGLWidget(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QOpenGLWidget(parent, f); } + +const QMetaObject* PythonQtShell_QOpenGLWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWidget::staticMetaObject); + } else { + return &QOpenGLWidget::staticMetaObject; + } +} +int PythonQtShell_QOpenGLWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QOpenGLContext* PythonQtWrapper_QOpenGLWidget::context(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +GLuint PythonQtWrapper_QOpenGLWidget::defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->defaultFramebufferObject()); +} + +void PythonQtWrapper_QOpenGLWidget::doneCurrent(QOpenGLWidget* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +QSurfaceFormat PythonQtWrapper_QOpenGLWidget::format(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QImage PythonQtWrapper_QOpenGLWidget::grabFramebuffer(QOpenGLWidget* theWrappedObject) +{ + return ( theWrappedObject->grabFramebuffer()); +} + +void PythonQtWrapper_QOpenGLWidget::initializeGL(QOpenGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_initializeGL()); +} + +bool PythonQtWrapper_QOpenGLWidget::isValid(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QOpenGLWidget::makeCurrent(QOpenGLWidget* theWrappedObject) +{ + ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QOpenGLWidget::paintGL(QOpenGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_paintGL()); +} + +void PythonQtWrapper_QOpenGLWidget::resizeGL(QOpenGLWidget* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); +} + +void PythonQtWrapper_QOpenGLWidget::setFormat(QOpenGLWidget* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOpenGLWidget::setTextureFormat(QOpenGLWidget* theWrappedObject, GLenum texFormat) +{ + ( theWrappedObject->setTextureFormat(texFormat)); +} + +void PythonQtWrapper_QOpenGLWidget::setUpdateBehavior(QOpenGLWidget* theWrappedObject, QOpenGLWidget::UpdateBehavior updateBehavior) +{ + ( theWrappedObject->setUpdateBehavior(updateBehavior)); +} + +GLenum PythonQtWrapper_QOpenGLWidget::textureFormat(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->textureFormat()); +} + +QOpenGLWidget::UpdateBehavior PythonQtWrapper_QOpenGLWidget::updateBehavior(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->updateBehavior()); +} + + + +PythonQtShell_QOpenGLWindow::~PythonQtShell_QOpenGLWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLWindow::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(); + } + } +} + QOpenGLWindow::childEvent(event0); +} +void PythonQtShell_QOpenGLWindow::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(); + } + } +} + 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) { + 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 QOpenGLWindow::event(event0); +} +bool PythonQtShell_QOpenGLWindow::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 QOpenGLWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLWindow::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::exposeEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::focusInEvent(arg__1); +} +QObject* PythonQtShell_QOpenGLWindow::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::focusObject(); +} +void PythonQtShell_QOpenGLWindow::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QOpenGLWindow::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::format(); +} +void PythonQtShell_QOpenGLWindow::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeGL"); + 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(); + } + } +} + QOpenGLWindow::initializeGL(); +} +void PythonQtShell_QOpenGLWindow::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::keyPressEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::keyReleaseEvent(arg__1); +} +int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::metric(metric0); +} +void PythonQtShell_QOpenGLWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mouseMoveEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mousePressEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::moveEvent(QMoveEvent* arg__1) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::moveEvent(arg__1); +} +bool PythonQtShell_QOpenGLWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QOpenGLWindow::paintEvent(event0); +} +void PythonQtShell_QOpenGLWindow::paintGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintGL"); + 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(); + } + } +} + QOpenGLWindow::paintGL(); +} +void PythonQtShell_QOpenGLWindow::paintOverGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintOverGL"); + 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(); + } + } +} + QOpenGLWindow::paintOverGL(); +} +void PythonQtShell_QOpenGLWindow::paintUnderGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintUnderGL"); + 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(); + } + } +} + QOpenGLWindow::paintUnderGL(); +} +QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) 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*)&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("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::redirected(arg__1); +} +void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QOpenGLWindow::resizeEvent(event0); +} +void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::showEvent(arg__1); +} +QSize PythonQtShell_QOpenGLWindow::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::size(); +} +QSurface::SurfaceType PythonQtShell_QOpenGLWindow::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::surfaceType(); +} +void PythonQtShell_QOpenGLWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::tabletEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::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(); + } + } +} + QOpenGLWindow::timerEvent(event0); +} +void PythonQtShell_QOpenGLWindow::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::touchEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::wheelEvent(arg__1); +} +QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) +{ +return new PythonQtShell_QOpenGLWindow(shareContext, updateBehavior, parent); } + +QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) +{ +return new PythonQtShell_QOpenGLWindow(updateBehavior, parent); } + +const QMetaObject* PythonQtShell_QOpenGLWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWindow::staticMetaObject); + } else { + return &QOpenGLWindow::staticMetaObject; + } +} +int PythonQtShell_QOpenGLWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QOpenGLContext* PythonQtWrapper_QOpenGLWindow::context(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +GLuint PythonQtWrapper_QOpenGLWindow::defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->defaultFramebufferObject()); +} + +void PythonQtWrapper_QOpenGLWindow::doneCurrent(QOpenGLWindow* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +QImage PythonQtWrapper_QOpenGLWindow::grabFramebuffer(QOpenGLWindow* theWrappedObject) +{ + return ( theWrappedObject->grabFramebuffer()); +} + +void PythonQtWrapper_QOpenGLWindow::initializeGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_initializeGL()); +} + +bool PythonQtWrapper_QOpenGLWindow::isValid(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QOpenGLWindow::makeCurrent(QOpenGLWindow* theWrappedObject) +{ + ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QOpenGLWindow::paintGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintGL()); +} + +void PythonQtWrapper_QOpenGLWindow::paintOverGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintOverGL()); +} + +void PythonQtWrapper_QOpenGLWindow::paintUnderGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintUnderGL()); +} + +void PythonQtWrapper_QOpenGLWindow::resizeGL(QOpenGLWindow* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeGL(w, h)); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLWindow::shareContext(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->shareContext()); +} + +QOpenGLWindow::UpdateBehavior PythonQtWrapper_QOpenGLWindow::updateBehavior(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->updateBehavior()); +} + + + +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout() +{ +return new QPageLayout(); } + +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageLayout& other) +{ +return new QPageLayout(other); } + +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units, const QMarginsF& minMargins) +{ +return new QPageLayout(pageSize, orientation, margins, units, minMargins); } + +QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->fullRect()); +} + +QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const +{ + return ( theWrappedObject->fullRect(units)); +} + +QRect PythonQtWrapper_QPageLayout::fullRectPixels(QPageLayout* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->fullRectPixels(resolution)); +} + +QRect PythonQtWrapper_QPageLayout::fullRectPoints(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->fullRectPoints()); +} + +bool PythonQtWrapper_QPageLayout::isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const +{ + return ( theWrappedObject->isEquivalentTo(other)); +} + +bool PythonQtWrapper_QPageLayout::isValid(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->margins()); +} + +QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const +{ + return ( theWrappedObject->margins(units)); +} + +QMargins PythonQtWrapper_QPageLayout::marginsPixels(QPageLayout* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->marginsPixels(resolution)); +} + +QMargins PythonQtWrapper_QPageLayout::marginsPoints(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->marginsPoints()); +} + +QMarginsF PythonQtWrapper_QPageLayout::maximumMargins(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->maximumMargins()); +} + +QMarginsF PythonQtWrapper_QPageLayout::minimumMargins(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->minimumMargins()); +} + +QPageLayout::Mode PythonQtWrapper_QPageLayout::mode(QPageLayout* theWrappedObject) const +{ + 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); +} + +bool PythonQtWrapper_QPageLayout::__eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QPageLayout::Orientation PythonQtWrapper_QPageLayout::orientation(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QPageSize PythonQtWrapper_QPageLayout::pageSize(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->paintRect()); +} + +QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const +{ + return ( theWrappedObject->paintRect(units)); +} + +QRect PythonQtWrapper_QPageLayout::paintRectPixels(QPageLayout* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->paintRectPixels(resolution)); +} + +QRect PythonQtWrapper_QPageLayout::paintRectPoints(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->paintRectPoints()); +} + +bool PythonQtWrapper_QPageLayout::setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin) +{ + return ( theWrappedObject->setBottomMargin(bottomMargin)); +} + +bool PythonQtWrapper_QPageLayout::setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin) +{ + return ( theWrappedObject->setLeftMargin(leftMargin)); +} + +bool PythonQtWrapper_QPageLayout::setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins) +{ + return ( theWrappedObject->setMargins(margins)); +} + +void PythonQtWrapper_QPageLayout::setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins) +{ + ( theWrappedObject->setMinimumMargins(minMargins)); +} + +void PythonQtWrapper_QPageLayout::setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode) +{ + ( theWrappedObject->setMode(mode)); +} + +void PythonQtWrapper_QPageLayout::setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QPageLayout::setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins) +{ + ( theWrappedObject->setPageSize(pageSize, minMargins)); +} + +bool PythonQtWrapper_QPageLayout::setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin) +{ + return ( theWrappedObject->setRightMargin(rightMargin)); +} + +bool PythonQtWrapper_QPageLayout::setTopMargin(QPageLayout* theWrappedObject, qreal topMargin) +{ + return ( theWrappedObject->setTopMargin(topMargin)); +} + +void PythonQtWrapper_QPageLayout::setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units) +{ + ( theWrappedObject->setUnits(units)); +} + +void PythonQtWrapper_QPageLayout::swap(QPageLayout* theWrappedObject, QPageLayout& other) +{ + ( theWrappedObject->swap(other)); +} + +QPageLayout::Unit PythonQtWrapper_QPageLayout::units(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->units()); +} + +QString PythonQtWrapper_QPageLayout::py_toString(QPageLayout* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPageSetupDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QPageSetupDialog::accept(); +} +void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QPageSetupDialog::actionEvent(event0); +} +void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::changeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::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(); + } + } +} + QPageSetupDialog::childEvent(event0); +} +void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::closeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::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(); + } + } +} + QPageSetupDialog::customEvent(event0); +} +int PythonQtShell_QPageSetupDialog::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 QPageSetupDialog::devType(); +} +void PythonQtShell_QPageSetupDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::done(result0); +} +void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QPageSetupDialog::dragEnterEvent(event0); +} +void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QPageSetupDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QPageSetupDialog::dragMoveEvent(event0); +} +void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QPageSetupDialog::dropEvent(event0); +} +void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QPageSetupDialog::enterEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::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 QPageSetupDialog::event(event0); +} +bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QPageSetupDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPageSetupDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::exec(); +} +void PythonQtShell_QPageSetupDialog::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(); + } + } +} + QPageSetupDialog::focusInEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QPageSetupDialog::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(); + } + } +} + QPageSetupDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::hasHeightForWidth(); +} +int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::hideEvent(event0); +} +void PythonQtShell_QPageSetupDialog::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(); + } + } +} + QPageSetupDialog::initPainter(painter0); +} +void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::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(); + } + } +} + QPageSetupDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QPageSetupDialog::leaveEvent(event0); +} +int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::metric(arg__1); +} +QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::minimumSizeHint(); +} +void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPageSetupDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPageSetupDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPageSetupDialog::mousePressEvent(event0); +} +void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPageSetupDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QPageSetupDialog::moveEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::paintEngine(); +} +void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QPageSetupDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QPageSetupDialog::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 QPageSetupDialog::redirected(offset0); +} +void PythonQtShell_QPageSetupDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QPageSetupDialog::reject(); +} +void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QPageSetupDialog::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 QPageSetupDialog::sharedPainter(); +} +void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::showEvent(arg__1); +} +QSize PythonQtShell_QPageSetupDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::sizeHint(); +} +void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QPageSetupDialog::tabletEvent(event0); +} +void PythonQtShell_QPageSetupDialog::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(); + } + } +} + QPageSetupDialog::timerEvent(event0); +} +void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QPageSetupDialog::wheelEvent(event0); +} +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(printer, parent); } + +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(parent); } + +const QMetaObject* PythonQtShell_QPageSetupDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPageSetupDialog::staticMetaObject); + } else { + return &QPageSetupDialog::staticMetaObject; + } +} +int PythonQtShell_QPageSetupDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPageSetupDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPageSetupDialog::open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPrinter* PythonQtWrapper_QPageSetupDialog::printer(QPageSetupDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); +} + + + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize() +{ +return new QPageSize(); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(QPageSize::PageSizeId pageSizeId) +{ +return new QPageSize(pageSizeId); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QPageSize& other) +{ +return new QPageSize(other); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSize& pointSize, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) +{ +return new QPageSize(pointSize, name, matchPolicy); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) +{ +return new QPageSize(size, units, name, matchPolicy); } + +QSizeF PythonQtWrapper_QPageSize::definitionSize(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->definitionSize()); +} + +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::definitionSize(pageSizeId)); +} + +QPageSize::Unit PythonQtWrapper_QPageSize::definitionUnits(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->definitionUnits()); +} + +QPageSize::Unit PythonQtWrapper_QPageSize::static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::definitionUnits(pageSizeId)); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::id(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy) +{ + return (QPageSize::id(pointSize, matchPolicy)); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy) +{ + return (QPageSize::id(size, units, matchPolicy)); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(int windowsId) +{ + return (QPageSize::id(windowsId)); +} + +bool PythonQtWrapper_QPageSize::isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const +{ + return ( theWrappedObject->isEquivalentTo(other)); +} + +bool PythonQtWrapper_QPageSize::isValid(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QPageSize::key(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +QString PythonQtWrapper_QPageSize::static_QPageSize_key(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::key(pageSizeId)); +} + +QString PythonQtWrapper_QPageSize::name(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QString PythonQtWrapper_QPageSize::static_QPageSize_name(QPageSize::PageSizeId 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); +} + +bool PythonQtWrapper_QPageSize::__eq__(QPageSize* theWrappedObject, const QPageSize& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QRectF PythonQtWrapper_QPageSize::rect(QPageSize* theWrappedObject, QPageSize::Unit units) const +{ + return ( theWrappedObject->rect(units)); +} + +QRect PythonQtWrapper_QPageSize::rectPixels(QPageSize* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->rectPixels(resolution)); +} + +QRect PythonQtWrapper_QPageSize::rectPoints(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->rectPoints()); +} + +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units) +{ + return (QPageSize::size(pageSizeId, units)); +} + +QSizeF PythonQtWrapper_QPageSize::size(QPageSize* theWrappedObject, QPageSize::Unit units) const +{ + return ( theWrappedObject->size(units)); +} + +QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution) +{ + return (QPageSize::sizePixels(pageSizeId, resolution)); +} + +QSize PythonQtWrapper_QPageSize::sizePixels(QPageSize* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->sizePixels(resolution)); +} + +QSize PythonQtWrapper_QPageSize::sizePoints(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->sizePoints()); +} + +QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::sizePoints(pageSizeId)); +} + +void PythonQtWrapper_QPageSize::swap(QPageSize* theWrappedObject, QPageSize& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QPageSize::windowsId(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->windowsId()); +} + +int PythonQtWrapper_QPageSize::static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::windowsId(pageSizeId)); +} + +QString PythonQtWrapper_QPageSize::py_toString(QPageSize* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPageLayout* PythonQtWrapper_QPagedPaintDevice::devicePageLayout(QPagedPaintDevice* theWrappedObject) +{ + return &( ((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->promoted_devicePageLayout()); +} + +QPagedPaintDevice::Margins PythonQtWrapper_QPagedPaintDevice::margins(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->margins()); +} + +bool PythonQtWrapper_QPagedPaintDevice::newPage(QPagedPaintDevice* theWrappedObject) +{ + return ( theWrappedObject->newPage()); +} + +QPageLayout PythonQtWrapper_QPagedPaintDevice::pageLayout(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->pageLayout()); +} + +QPagedPaintDevice::PageSize PythonQtWrapper_QPagedPaintDevice::pageSize(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +QSizeF PythonQtWrapper_QPagedPaintDevice::pageSizeMM(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->pageSizeMM()); +} + +void PythonQtWrapper_QPagedPaintDevice::setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins) +{ + ( theWrappedObject->setMargins(margins)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout) +{ + return ( theWrappedObject->setPageLayout(pageLayout)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins) +{ + return ( theWrappedObject->setPageMargins(margins)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units) +{ + return ( theWrappedObject->setPageMargins(margins, units)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation) +{ + return ( theWrappedObject->setPageOrientation(orientation)); +} + +void PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size) +{ + ( theWrappedObject->setPageSize(size)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize) +{ + return ( theWrappedObject->setPageSize(pageSize)); +} + +void PythonQtWrapper_QPagedPaintDevice::setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setPageSizeMM(size)); +} + + + +PythonQtShell_QPagedPaintDevice__Margins::~PythonQtShell_QPagedPaintDevice__Margins() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPagedPaintDevice::Margins* PythonQtWrapper_QPagedPaintDevice__Margins::new_QPagedPaintDevice__Margins() +{ +return new PythonQtShell_QPagedPaintDevice__Margins(); } + + + +PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPaintDevice::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 QPaintDevice::devType(); +} +void PythonQtShell_QPaintDevice::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(); + } + } +} + QPaintDevice::initPainter(painter0); +} +int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintDevice::metric(metric0); +} +QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QPaintDevice* PythonQtShell_QPaintDevice::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 QPaintDevice::redirected(offset0); +} +QPainter* PythonQtShell_QPaintDevice::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 QPaintDevice::sharedPainter(); +} +QPaintDevice* PythonQtWrapper_QPaintDevice::new_QPaintDevice() +{ +return new PythonQtShell_QPaintDevice(); } + +int PythonQtWrapper_QPaintDevice::colorCount(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->colorCount()); +} + +int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->devType()); +} + +int PythonQtWrapper_QPaintDevice::devicePixelRatio(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +qreal PythonQtWrapper_QPaintDevice::devicePixelRatioF(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatioF()); +} + +qreal PythonQtWrapper_QPaintDevice::static_QPaintDevice_devicePixelRatioFScale() +{ + return (QPaintDevice::devicePixelRatioFScale()); +} + +int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->heightMM()); +} + +void PythonQtWrapper_QPaintDevice::initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const +{ + ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_initPainter(painter)); +} + +int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->logicalDpiX()); +} + +int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->logicalDpiY()); +} + +int PythonQtWrapper_QPaintDevice::metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const +{ + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_metric(metric)); +} + +QPaintEngine* PythonQtWrapper_QPaintDevice::paintEngine(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->paintEngine()); +} + +bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->paintingActive()); +} + +int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->physicalDpiX()); +} + +int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->physicalDpiY()); +} + +QPaintDevice* PythonQtWrapper_QPaintDevice::redirected(QPaintDevice* theWrappedObject, QPoint* offset) const +{ + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_redirected(offset)); +} + +QPainter* PythonQtWrapper_QPaintDevice::sharedPainter(QPaintDevice* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_sharedPainter()); +} + +int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->widthMM()); +} + + + +void PythonQtWrapper_QPaintDeviceWindow::paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->promoted_paintEvent(event)); +} + +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->update(rect)); +} + +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRegion& region) +{ + ( theWrappedObject->update(region)); +} + + + +PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("begin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QPaintDevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("begin", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QPoint PythonQtShell_QPaintEngine::coordinateOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("coordinateOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPoint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("coordinateOffset", methodInfo, result); + } else { + returnValue = *((QPoint*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintEngine::coordinateOffset(); +} +void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawEllipse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&r0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawEllipse(r0); +} +void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawEllipse"); + 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*)&r0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawEllipse(r0); +} +void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawImage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2, (void*)&flags3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawImage(r0, pm1, sr2, flags3); +} +void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawLines"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QLine*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawLines(lines0, lineCount1); +} +void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawLines"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QLineF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawLines(lines0, lineCount1); +} +void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPainterPath&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&path0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPath(path0); +} +void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPoints"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPoint*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPoints(points0, pointCount1); +} +void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPoints"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPoints(points0, pointCount1); +} +void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPolygon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPolygon(points0, pointCount1, mode2); +} +void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPolygon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPolygon(points0, pointCount1, mode2); +} +void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawRects"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawRects(rects0, rectCount1); +} +void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawRects"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawRects(rects0, rectCount1); +} +void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawTextItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&p0, (void*)&textItem1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawTextItem(p0, textItem1); +} +void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawTiledPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&r0, (void*)&pixmap1, (void*)&s2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawTiledPixmap(r0, pixmap1, s2); +} +bool PythonQtShell_QPaintEngine::end() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("end"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("end", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QPaintEngine::Type PythonQtShell_QPaintEngine::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[] ={"QPaintEngine::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QPaintEngine::Type*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintEngine::Type(); +} +void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPaintEngineState&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QPaintEngine* PythonQtWrapper_QPaintEngine::new_QPaintEngine(QPaintEngine::PaintEngineFeatures features) +{ +return new PythonQtShell_QPaintEngine(features); } + +bool PythonQtWrapper_QPaintEngine::begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev) +{ + return ( theWrappedObject->begin(pdev)); +} + +void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +{ + ( theWrappedObject->clearDirty(df)); +} + +QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->coordinateOffset()); +} + +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->drawImage(r, pm, sr, flags)); +} + +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) +{ + ( theWrappedObject->drawLines(lines, lineCount)); +} + +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) +{ + ( theWrappedObject->drawLines(lines, lineCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->drawPath(path)); +} + +void PythonQtWrapper_QPaintEngine::drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr) +{ + ( theWrappedObject->drawPixmap(r, pm, sr)); +} + +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) +{ + ( theWrappedObject->drawPoints(points, pointCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) +{ + ( theWrappedObject->drawPoints(points, pointCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ + ( theWrappedObject->drawPolygon(points, pointCount, mode)); +} + +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ + ( theWrappedObject->drawPolygon(points, pointCount, mode)); +} + +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) +{ + ( theWrappedObject->drawRects(rects, rectCount)); +} + +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) +{ + ( theWrappedObject->drawRects(rects, rectCount)); +} + +void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) +{ + ( theWrappedObject->drawTextItem(p, textItem)); +} + +void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) +{ + ( theWrappedObject->drawTiledPixmap(r, pixmap, s)); +} + +bool PythonQtWrapper_QPaintEngine::end(QPaintEngine* theWrappedObject) +{ + return ( theWrappedObject->end()); +} + +bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const +{ + return ( theWrappedObject->hasFeature(feature)); +} + +bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QPaintEngine::isExtended(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->isExtended()); +} + +QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->paintDevice()); +} + +QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->painter()); +} + +void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) +{ + ( theWrappedObject->setActive(newState)); +} + +void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +{ + ( theWrappedObject->setDirty(df)); +} + +void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) +{ + ( theWrappedObject->setSystemClip(baseClip)); +} + +void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setSystemRect(rect)); +} + +void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) +{ + ( theWrappedObject->syncState()); +} + +QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->systemClip()); +} + +QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->systemRect()); +} + +bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +{ + return ( theWrappedObject->testDirty(df)); +} + +QPaintEngine::Type PythonQtWrapper_QPaintEngine::type(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +void PythonQtWrapper_QPaintEngine::updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state) +{ + ( theWrappedObject->updateState(state)); +} + + + +PythonQtShell_QPaintEngineState::~PythonQtShell_QPaintEngineState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() +{ +return new PythonQtShell_QPaintEngineState(); } + +QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); +} + +Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->backgroundMode()); +} + +QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->brush()); +} + +bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->brushNeedsResolving()); +} + +QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->brushOrigin()); +} + +Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->clipOperation()); +} + +QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->clipPath()); +} + +QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->clipRegion()); +} + +QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->compositionMode()); +} + +QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->isClipEnabled()); +} + +QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->painter()); +} + +QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->pen()); +} + +bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->penNeedsResolving()); +} + +QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->transform()); +} + + + +PythonQtShell_QPaintEvent::~PythonQtShell_QPaintEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRect& paintRect) +{ +return new PythonQtShell_QPaintEvent(paintRect); } + +QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRegion& paintRegion) +{ +return new PythonQtShell_QPaintEvent(paintRegion); } + +const QRect* PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const +{ + return &( theWrappedObject->rect()); +} + +const QRegion* PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const +{ + return &( theWrappedObject->region()); +} + + + +QPainter* PythonQtWrapper_QPainter::new_QPainter() +{ +return new QPainter(); } + +QPainter* PythonQtWrapper_QPainter::new_QPainter(QPaintDevice* arg__1) +{ +return new QPainter(arg__1); } + +const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->background()); +} + +Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->backgroundMode()); +} + +bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) +{ + return ( theWrappedObject->begin(arg__1)); +} + +void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) +{ + ( theWrappedObject->beginNativePainting()); +} + +QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) +{ + return ( theWrappedObject->boundingRect(rect, flags, text)); +} + +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) +{ + return ( theWrappedObject->boundingRect(rect, text, o)); +} + +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) +{ + return ( theWrappedObject->boundingRect(rect, flags, text)); +} + +QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) +{ + return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); +} + +const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->brush()); +} + +QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->brushOrigin()); +} + +QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->clipBoundingRect()); +} + +QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->clipPath()); +} + +QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->clipRegion()); +} + +QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->combinedMatrix()); +} + +QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->combinedTransform()); +} + +QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->compositionMode()); +} + +QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->deviceMatrix()); +} + +const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->deviceTransform()); +} + +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +{ + ( theWrappedObject->drawArc(arg__1, a, alen)); +} + +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +{ + ( theWrappedObject->drawArc(rect, a, alen)); +} + +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +{ + ( theWrappedObject->drawArc(x, y, w, h, a, alen)); +} + +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +{ + ( theWrappedObject->drawChord(arg__1, a, alen)); +} + +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +{ + ( theWrappedObject->drawChord(rect, a, alen)); +} + +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +{ + ( theWrappedObject->drawChord(x, y, w, h, a, alen)); +} + +void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) +{ + ( theWrappedObject->drawConvexPolygon(polygon)); +} + +void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) +{ + ( theWrappedObject->drawConvexPolygon(polygon)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) +{ + ( theWrappedObject->drawEllipse(center, rx, ry)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +{ + ( theWrappedObject->drawEllipse(center, rx, ry)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->drawEllipse(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun) +{ + ( theWrappedObject->drawGlyphRun(position, glyphRun)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) +{ + ( theWrappedObject->drawImage(p, image)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->drawImage(p, image, sr, flags)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) +{ + ( theWrappedObject->drawImage(p, image)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->drawImage(p, image, sr, flags)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) +{ + ( theWrappedObject->drawImage(r, image)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) +{ + ( theWrappedObject->drawImage(r, image)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx, int sy, int sw, int sh, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->drawImage(x, y, image, sx, sy, sw, sh, flags)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) +{ + ( theWrappedObject->drawLine(line)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) +{ + ( theWrappedObject->drawLine(line)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) +{ + ( theWrappedObject->drawLine(p1, p2)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) +{ + ( theWrappedObject->drawLine(p1, p2)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) +{ + ( theWrappedObject->drawLine(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) +{ + ( theWrappedObject->drawLines(lines)); +} + +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) +{ + ( theWrappedObject->drawLines(lines)); +} + +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +{ + ( theWrappedObject->drawLines(pointPairs)); +} + +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +{ + ( theWrappedObject->drawLines(pointPairs)); +} + +void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->drawPath(path)); +} + +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) +{ + ( theWrappedObject->drawPicture(p, picture)); +} + +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) +{ + ( theWrappedObject->drawPicture(p, picture)); +} + +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) +{ + ( theWrappedObject->drawPicture(x, y, picture)); +} + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +{ + ( theWrappedObject->drawPie(arg__1, a, alen)); +} + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +{ + ( theWrappedObject->drawPie(rect, a, alen)); +} + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +{ + ( theWrappedObject->drawPie(x, y, w, h, a, alen)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(p, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) +{ + ( theWrappedObject->drawPixmap(p, pm, sr)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(p, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) +{ + ( theWrappedObject->drawPixmap(p, pm, sr)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(r, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) +{ + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) +{ + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(x, y, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) +{ + ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(x, y, w, h, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh) +{ + ( theWrappedObject->drawPixmap(x, y, w, h, pm, sx, sy, sw, sh)); +} + +void PythonQtWrapper_QPainter::drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints) +{ + ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); +} + +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->drawPoint(p)); +} + +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) +{ + ( theWrappedObject->drawPoint(pt)); +} + +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) +{ + ( theWrappedObject->drawPoint(x, y)); +} + +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) +{ + ( theWrappedObject->drawPoints(points)); +} + +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) +{ + ( theWrappedObject->drawPoints(points)); +} + +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) +{ + ( theWrappedObject->drawPolygon(polygon, fillRule)); +} + +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) +{ + ( theWrappedObject->drawPolygon(polygon, fillRule)); +} + +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) +{ + ( theWrappedObject->drawPolyline(polygon)); +} + +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) +{ + ( theWrappedObject->drawPolyline(polyline)); +} + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->drawRect(rect)); +} + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->drawRect(rect)); +} + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) +{ + ( theWrappedObject->drawRect(x1, y1, w, h)); +} + +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +{ + ( theWrappedObject->drawRects(rectangles)); +} + +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +{ + ( theWrappedObject->drawRects(rectangles)); +} + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) +{ + ( theWrappedObject->drawRoundRect(r, xround, yround)); +} + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) +{ + ( theWrappedObject->drawRoundRect(r, xround, yround)); +} + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) +{ + ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); +} + +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); +} + +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); +} + +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); +} + +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) +{ + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); +} + +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) +{ + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); +} + +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) +{ + ( theWrappedObject->drawStaticText(left, top, staticText)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) +{ + ( theWrappedObject->drawText(p, s)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) +{ + ( theWrappedObject->drawText(p, s)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) +{ + ( theWrappedObject->drawText(r, flags, text, br)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) +{ + ( theWrappedObject->drawText(r, text, o)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) +{ + ( theWrappedObject->drawText(r, flags, text, br)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) +{ + ( theWrappedObject->drawText(x, y, s)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) +{ + ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); +} + +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(p, ti)); +} + +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(p, ti)); +} + +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(x, y, ti)); +} + +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3) +{ + ( theWrappedObject->drawTiledPixmap(arg__1, arg__2, arg__3)); +} + +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) +{ + ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); +} + +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx, int sy) +{ + ( theWrappedObject->drawTiledPixmap(x, y, w, h, arg__5, sx, sy)); +} + +bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) +{ + return ( theWrappedObject->end()); +} + +void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) +{ + ( theWrappedObject->endNativePainting()); +} + +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->eraseRect(arg__1)); +} + +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) +{ + ( theWrappedObject->eraseRect(arg__1)); +} + +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->eraseRect(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) +{ + ( theWrappedObject->fillPath(path, brush)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) +{ + ( theWrappedObject->fillRect(arg__1, arg__2)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) +{ + ( theWrappedObject->fillRect(arg__1, color)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, QGradient::Preset preset) +{ + ( theWrappedObject->fillRect(r, preset)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) +{ + ( theWrappedObject->fillRect(r, style)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) +{ + ( theWrappedObject->fillRect(r, c)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) +{ + ( theWrappedObject->fillRect(arg__1, arg__2)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) +{ + ( theWrappedObject->fillRect(arg__1, color)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, QGradient::Preset preset) +{ + ( theWrappedObject->fillRect(r, preset)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) +{ + ( theWrappedObject->fillRect(r, style)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) +{ + ( theWrappedObject->fillRect(r, c)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, QGradient::Preset preset) +{ + ( theWrappedObject->fillRect(x, y, w, h, preset)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) +{ + ( theWrappedObject->fillRect(x, y, w, h, style)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) +{ + ( theWrappedObject->fillRect(x, y, w, h, c)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) +{ + ( theWrappedObject->fillRect(x, y, w, h, arg__5)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) +{ + ( theWrappedObject->fillRect(x, y, w, h, color)); +} + +const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->font()); +} + +QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->fontInfo()); +} + +QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->fontMetrics()); +} + +bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->hasClipping()); +} + +void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) +{ + ( theWrappedObject->initFrom(device)); +} + +bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->paintEngine()); +} + +const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->pen()); +} + +QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) +{ + return (QPainter::redirected(device, offset)); +} + +QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) +{ + ( theWrappedObject->resetMatrix()); +} + +void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} + +void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) +{ + ( theWrappedObject->restore()); +} + +void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) +{ + (QPainter::restoreRedirected(device)); +} + +void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) +{ + ( theWrappedObject->rotate(a)); +} + +void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) +{ + ( theWrappedObject->save()); +} + +void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) +{ + ( theWrappedObject->scale(sx, sy)); +} + +void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) +{ + ( theWrappedObject->setBackground(bg)); +} + +void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) +{ + ( theWrappedObject->setBackgroundMode(mode)); +} + +void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBrush(brush)); +} + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) +{ + ( theWrappedObject->setBrushOrigin(arg__1)); +} + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) +{ + ( theWrappedObject->setBrushOrigin(arg__1)); +} + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) +{ + ( theWrappedObject->setBrushOrigin(x, y)); +} + +void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipPath(path, op)); +} + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(arg__1, op)); +} + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(arg__1, op)); +} + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(x, y, w, h, op)); +} + +void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRegion(arg__1, op)); +} + +void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setClipping(enable)); +} + +void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) +{ + ( theWrappedObject->setCompositionMode(mode)); +} + +void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) +{ + ( theWrappedObject->setFont(f)); +} + +void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) +{ + ( theWrappedObject->setPen(style)); +} + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setPen(color)); +} + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setPen(pen)); +} + +void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) +{ + (QPainter::setRedirected(device, replacement, offset)); +} + +void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) +{ + ( theWrappedObject->setRenderHint(hint, on)); +} + +void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) +{ + ( theWrappedObject->setRenderHints(hints, on)); +} + +void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) +{ + ( theWrappedObject->setTransform(transform, combine)); +} + +void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setViewTransformEnabled(enable)); +} + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) +{ + ( theWrappedObject->setViewport(viewport)); +} + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setViewport(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +{ + ( theWrappedObject->setWindow(window)); +} + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setWindow(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +{ + ( theWrappedObject->setWorldMatrix(matrix, combine)); +} + +void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setWorldMatrixEnabled(enabled)); +} + +void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setWorldTransform(matrix, combine)); +} + +void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) +{ + ( theWrappedObject->shear(sh, sv)); +} + +void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) +{ + ( theWrappedObject->strokePath(path, pen)); +} + +bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const +{ + return ( theWrappedObject->testRenderHint(hint)); +} + +const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->transform()); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->viewTransformEnabled()); +} + +QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->viewport()); +} + +QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->worldMatrix()); +} + +bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->worldMatrixEnabled()); +} + +const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->worldTransform()); +} + + + +QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath() +{ +return new QPainterPath(); } + +QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPainterPath& other) +{ +return new QPainterPath(other); } + +QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPointF& startPoint) +{ +return new QPainterPath(startPoint); } + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +{ + ( theWrappedObject->addEllipse(center, rx, ry)); +} + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->addEllipse(rect)); +} + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addEllipse(x, y, w, h)); +} + +void PythonQtWrapper_QPainterPath::addPath(QPainterPath* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->addPath(path)); +} + +void PythonQtWrapper_QPainterPath::addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon) +{ + ( theWrappedObject->addPolygon(polygon)); +} + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->addRect(rect)); +} + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addRect(x, y, w, h)); +} + +void PythonQtWrapper_QPainterPath::addRegion(QPainterPath* theWrappedObject, const QRegion& region) +{ + ( theWrappedObject->addRegion(region)); +} + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness) +{ + ( theWrappedObject->addRoundRect(rect, roundness)); +} + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd) +{ + ( theWrappedObject->addRoundRect(rect, xRnd, yRnd)); +} + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness) +{ + ( theWrappedObject->addRoundRect(x, y, w, h, roundness)); +} + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd) +{ + ( theWrappedObject->addRoundRect(x, y, w, h, xRnd, yRnd)); +} + +void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->addRoundedRect(rect, xRadius, yRadius, mode)); +} + +void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); +} + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text) +{ + ( theWrappedObject->addText(point, f, text)); +} + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) +{ + ( theWrappedObject->addText(x, y, f, text)); +} + +qreal PythonQtWrapper_QPainterPath::angleAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->angleAtPercent(t)); +} + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle) +{ + ( theWrappedObject->arcMoveTo(rect, angle)); +} + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) +{ + ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); +} + +void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength) +{ + ( theWrappedObject->arcTo(rect, startAngle, arcLength)); +} + +void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) +{ + ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); +} + +QRectF PythonQtWrapper_QPainterPath::boundingRect(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +int PythonQtWrapper_QPainterPath::capacity(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QPainterPath::clear(QPainterPath* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QPainterPath::closeSubpath(QPainterPath* theWrappedObject) +{ + ( theWrappedObject->closeSubpath()); +} + +void PythonQtWrapper_QPainterPath::connectPath(QPainterPath* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->connectPath(path)); +} + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->contains(p)); +} + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPointF& pt) const +{ + return ( theWrappedObject->contains(pt)); +} + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->contains(rect)); +} + +QRectF PythonQtWrapper_QPainterPath::controlPointRect(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->controlPointRect()); +} + +void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt) +{ + ( theWrappedObject->cubicTo(ctrlPt1, ctrlPt2, endPt)); +} + +void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) +{ + ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); +} + +QPointF PythonQtWrapper_QPainterPath::currentPosition(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->currentPosition()); +} + +QPainterPath::Element PythonQtWrapper_QPainterPath::elementAt(QPainterPath* theWrappedObject, int i) const +{ + return ( theWrappedObject->elementAt(i)); +} + +int PythonQtWrapper_QPainterPath::elementCount(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->elementCount()); +} + +Qt::FillRule PythonQtWrapper_QPainterPath::fillRule(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->fillRule()); +} + +QPainterPath PythonQtWrapper_QPainterPath::intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->intersects(p)); +} + +bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->intersects(rect)); +} + +bool PythonQtWrapper_QPainterPath::isEmpty(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +qreal PythonQtWrapper_QPainterPath::length(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->lineTo(p)); +} + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->lineTo(x, y)); +} + +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTo(p)); +} + +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->moveTo(x, y)); +} + +bool PythonQtWrapper_QPainterPath::__ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QPainterPath PythonQtWrapper_QPainterPath::__and__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)& other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__iand__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)&= other); +} + +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +QPainterPath PythonQtWrapper_QPainterPath::__add__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)+ other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__iadd__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)+= other); +} + +QPainterPath PythonQtWrapper_QPainterPath::__sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)- other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__isub__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)-= other); +} + +void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPainterPath::__eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPainterPath PythonQtWrapper_QPainterPath::__or__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)| other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__ior__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)|= other); +} + +qreal PythonQtWrapper_QPainterPath::percentAtLength(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->percentAtLength(t)); +} + +QPointF PythonQtWrapper_QPainterPath::pointAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->pointAtPercent(t)); +} + +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt) +{ + ( theWrappedObject->quadTo(ctrlPt, endPt)); +} + +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) +{ + ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); +} + +void PythonQtWrapper_QPainterPath::reserve(QPainterPath* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QPainterPath::setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y) +{ + ( theWrappedObject->setElementPositionAt(i, x, y)); +} + +void PythonQtWrapper_QPainterPath::setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule) +{ + ( theWrappedObject->setFillRule(fillRule)); +} + +QPainterPath PythonQtWrapper_QPainterPath::simplified(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->simplified()); +} + +qreal PythonQtWrapper_QPainterPath::slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->slopeAtPercent(t)); +} + +QPainterPath PythonQtWrapper_QPainterPath::subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +QPainterPath PythonQtWrapper_QPainterPath::subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->subtractedInverted(r)); +} + +void PythonQtWrapper_QPainterPath::swap(QPainterPath* theWrappedObject, QPainterPath& other) +{ + ( theWrappedObject->swap(other)); +} + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygon(matrix)); +} + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toFillPolygon(matrix)); +} + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygons(matrix)); +} + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toFillPolygons(matrix)); +} + +QPainterPath PythonQtWrapper_QPainterPath::toReversed(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->toReversed()); +} + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toSubpathPolygons(matrix)); +} + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toSubpathPolygons(matrix)); +} + +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const +{ + return ( theWrappedObject->translated(offset)); +} + +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QPainterPath PythonQtWrapper_QPainterPath::united(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->united(r)); +} + +QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker() +{ +return new QPainterPathStroker(); } + +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker(const QPen& pen) +{ +return new QPainterPathStroker(pen); } + +Qt::PenCapStyle PythonQtWrapper_QPainterPathStroker::capStyle(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->capStyle()); +} + +QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->createStroke(path)); +} + +qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->curveThreshold()); +} + +qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->dashOffset()); +} + +QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->dashPattern()); +} + +Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->joinStyle()); +} + +qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->miterLimit()); +} + +void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) +{ + ( theWrappedObject->setCapStyle(style)); +} + +void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) +{ + ( theWrappedObject->setCurveThreshold(threshold)); +} + +void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) +{ + ( theWrappedObject->setDashOffset(offset)); +} + +void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1) +{ + ( theWrappedObject->setDashPattern(arg__1)); +} + +void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern) +{ + ( theWrappedObject->setDashPattern(dashPattern)); +} + +void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) +{ + ( theWrappedObject->setJoinStyle(style)); +} + +void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) +{ + ( theWrappedObject->setMiterLimit(length)); +} + +void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); +} + +qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +PythonQtShell_QPainterPath__Element::~PythonQtShell_QPainterPath__Element() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPainterPath::Element* PythonQtWrapper_QPainterPath__Element::new_QPainterPath__Element() +{ +return new PythonQtShell_QPainterPath__Element(); } + +bool PythonQtWrapper_QPainterPath__Element::isCurveTo(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->isCurveTo()); +} + +bool PythonQtWrapper_QPainterPath__Element::isLineTo(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->isLineTo()); +} + +bool PythonQtWrapper_QPainterPath__Element::isMoveTo(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->isMoveTo()); +} + +QPointF PythonQtWrapper_QPainterPath__Element::operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->operator QPointF()); +} + +bool PythonQtWrapper_QPainterPath__Element::__ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +{ + return ( (*theWrappedObject)!= e); +} + +bool PythonQtWrapper_QPainterPath__Element::__eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +{ + return ( (*theWrappedObject)== e); +} + + + +PythonQtShell_QPainter__PixmapFragment::~PythonQtShell_QPainter__PixmapFragment() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPainter::PixmapFragment* PythonQtWrapper_QPainter__PixmapFragment::new_QPainter__PixmapFragment() +{ +return new PythonQtShell_QPainter__PixmapFragment(); } + +QPainter::PixmapFragment PythonQtWrapper_QPainter__PixmapFragment::static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX, qreal scaleY, qreal rotation, qreal opacity) +{ + return (QPainter::PixmapFragment::create(pos, sourceRect, scaleX, scaleY, rotation, opacity)); +} + + + +PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPanGesture::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(); + } + } +} + QPanGesture::childEvent(event0); +} +void PythonQtShell_QPanGesture::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(); + } + } +} + QPanGesture::customEvent(event0); +} +bool PythonQtShell_QPanGesture::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 QPanGesture::event(event0); +} +bool PythonQtShell_QPanGesture::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 QPanGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QPanGesture::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(); + } + } +} + QPanGesture::timerEvent(event0); +} +QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) +{ +return new PythonQtShell_QPanGesture(parent); } + +const QMetaObject* PythonQtShell_QPanGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPanGesture::staticMetaObject); + } else { + return &QPanGesture::staticMetaObject; + } +} +int PythonQtShell_QPanGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPanGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QPanGesture::acceleration(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->acceleration()); +} + +QPointF PythonQtWrapper_QPanGesture::delta(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->delta()); +} + +QPointF PythonQtWrapper_QPanGesture::lastOffset(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastOffset()); +} + +QPointF PythonQtWrapper_QPanGesture::offset(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +void PythonQtWrapper_QPanGesture::setAcceleration(QPanGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setAcceleration(value)); +} + +void PythonQtWrapper_QPanGesture::setLastOffset(QPanGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setLastOffset(value)); +} + +void PythonQtWrapper_QPanGesture::setOffset(QPanGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setOffset(value)); +} + + + +PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPdfWriter::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(); + } + } +} + QPdfWriter::childEvent(event0); +} +void PythonQtShell_QPdfWriter::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(); + } + } +} + QPdfWriter::customEvent(event0); +} +int PythonQtShell_QPdfWriter::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 QPdfWriter::devType(); +} +bool PythonQtShell_QPdfWriter::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 QPdfWriter::event(event0); +} +bool PythonQtShell_QPdfWriter::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 QPdfWriter::eventFilter(watched0, event1); +} +void PythonQtShell_QPdfWriter::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(); + } + } +} + QPdfWriter::initPainter(painter0); +} +int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::metric(id0); +} +bool PythonQtShell_QPdfWriter::newPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("newPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::newPage(); +} +QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::paintEngine(); +} +QPaintDevice* PythonQtShell_QPdfWriter::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 QPdfWriter::redirected(offset0); +} +void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&m0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::setMargins(m0); +} +void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::setPageSize(size0); +} +void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSizeMM"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::setPageSizeMM(size0); +} +QPainter* PythonQtShell_QPdfWriter::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 QPdfWriter::sharedPainter(); +} +void PythonQtShell_QPdfWriter::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(); + } + } +} + QPdfWriter::timerEvent(event0); +} +QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(QIODevice* device) +{ +return new PythonQtShell_QPdfWriter(device); } + +QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(const QString& filename) +{ +return new PythonQtShell_QPdfWriter(filename); } + +const QMetaObject* PythonQtShell_QPdfWriter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPdfWriter::staticMetaObject); + } else { + return &QPdfWriter::staticMetaObject; + } +} +int PythonQtShell_QPdfWriter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPdfWriter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPdfWriter::addFileAttachment(QPdfWriter* theWrappedObject, const QString& fileName, const QByteArray& data, const QString& mimeType) +{ + ( theWrappedObject->addFileAttachment(fileName, data, mimeType)); +} + +QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->creator()); +} + +QByteArray PythonQtWrapper_QPdfWriter::documentXmpMetadata(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->documentXmpMetadata()); +} + +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPdfWriter::pdfVersion(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->pdfVersion()); +} + +int PythonQtWrapper_QPdfWriter::resolution(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QPdfWriter::setCreator(QPdfWriter* theWrappedObject, const QString& creator) +{ + ( theWrappedObject->setCreator(creator)); +} + +void PythonQtWrapper_QPdfWriter::setDocumentXmpMetadata(QPdfWriter* theWrappedObject, const QByteArray& xmpMetadata) +{ + ( theWrappedObject->setDocumentXmpMetadata(xmpMetadata)); +} + +void PythonQtWrapper_QPdfWriter::setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +{ + ( theWrappedObject->setPdfVersion(version)); +} + +void PythonQtWrapper_QPdfWriter::setResolution(QPdfWriter* theWrappedObject, int resolution) +{ + ( theWrappedObject->setResolution(resolution)); +} + +void PythonQtWrapper_QPdfWriter::setTitle(QPdfWriter* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +QString PythonQtWrapper_QPdfWriter::title(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + + + +PythonQtShell_QPicture::~PythonQtShell_QPicture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPicture::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 QPicture::devType(); +} +void PythonQtShell_QPicture::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(); + } + } +} + QPicture::initPainter(painter0); +} +int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::metric(m0); +} +QPaintEngine* PythonQtShell_QPicture::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::paintEngine(); +} +QPaintDevice* PythonQtShell_QPicture::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 QPicture::redirected(offset0); +} +QPainter* PythonQtShell_QPicture::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 QPicture::sharedPainter(); +} +QPicture* PythonQtWrapper_QPicture::new_QPicture(const QPicture& arg__1) +{ +return new PythonQtShell_QPicture(arg__1); } + +QPicture* PythonQtWrapper_QPicture::new_QPicture(int formatVersion) +{ +return new PythonQtShell_QPicture(formatVersion); } + +QRect PythonQtWrapper_QPicture::boundingRect(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +bool PythonQtWrapper_QPicture::isNull(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, QIODevice* dev, const char* format) +{ + return ( theWrappedObject->load(dev, format)); +} + +bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, const QString& fileName, const char* format) +{ + return ( theWrappedObject->load(fileName, format)); +} + +void PythonQtWrapper_QPicture::writeTo(QPicture* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QPicture::readFrom(QPicture* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QPicture::play(QPicture* theWrappedObject, QPainter* p) +{ + return ( theWrappedObject->play(p)); +} + +bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, QIODevice* dev, const char* format) +{ + return ( theWrappedObject->save(dev, format)); +} + +bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, const QString& fileName, const char* format) +{ + return ( theWrappedObject->save(fileName, format)); +} + +void PythonQtWrapper_QPicture::setBoundingRect(QPicture* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->setBoundingRect(r)); +} + +uint PythonQtWrapper_QPicture::size(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPicture::swap(QPicture* theWrappedObject, QPicture& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPictureFormatPlugin::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(); + } + } +} + QPictureFormatPlugin::childEvent(event0); +} +void PythonQtShell_QPictureFormatPlugin::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(); + } + } +} + QPictureFormatPlugin::customEvent(event0); +} +bool PythonQtShell_QPictureFormatPlugin::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 QPictureFormatPlugin::event(event0); +} +bool PythonQtShell_QPictureFormatPlugin::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 QPictureFormatPlugin::eventFilter(watched0, event1); +} +bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("installIOHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadPicture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); +} +bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("savePicture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QPicture&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPictureFormatPlugin::savePicture(format0, filename1, pic2); +} +void PythonQtShell_QPictureFormatPlugin::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(); + } + } +} + QPictureFormatPlugin::timerEvent(event0); +} +QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) +{ +return new PythonQtShell_QPictureFormatPlugin(parent); } + +const QMetaObject* PythonQtShell_QPictureFormatPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPictureFormatPlugin::staticMetaObject); + } else { + return &QPictureFormatPlugin::staticMetaObject; + } +} +int PythonQtShell_QPictureFormatPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPictureFormatPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QPictureFormatPlugin::installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format) +{ + return ( theWrappedObject->installIOHandler(format)); +} + +bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) +{ + return ( theWrappedObject->loadPicture(format, filename, pic)); +} + +bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) +{ + return ( theWrappedObject->savePicture(format, filename, pic)); +} + + + +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO() +{ +return new QPictureIO(); } + +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(QIODevice* ioDevice, const char* format) +{ +return new QPictureIO(ioDevice, format); } + +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(const QString& fileName, const char* format) +{ +return new QPictureIO(fileName, format); } + +QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); +} + +QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() +{ + return (QPictureIO::inputFormats()); +} + +QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->ioDevice()); +} + +QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() +{ + return (QPictureIO::outputFormats()); +} + +const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->parameters()); +} + +const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const +{ + return &( theWrappedObject->picture()); +} + +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) +{ + return (QPictureIO::pictureFormat(arg__1)); +} + +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) +{ + return (QPictureIO::pictureFormat(fileName)); +} + +int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) +{ + return ( theWrappedObject->read()); +} + +void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setDescription(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setFileName(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) +{ + ( theWrappedObject->setFormat(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) +{ + ( theWrappedObject->setGamma(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) +{ + ( theWrappedObject->setIODevice(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) +{ + ( theWrappedObject->setParameters(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) +{ + ( theWrappedObject->setPicture(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setQuality(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setStatus(arg__1)); +} + +int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) +{ + return ( theWrappedObject->write()); +} + + + +PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPinchGesture::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(); + } + } +} + QPinchGesture::childEvent(event0); +} +void PythonQtShell_QPinchGesture::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(); + } + } +} + QPinchGesture::customEvent(event0); +} +bool PythonQtShell_QPinchGesture::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 QPinchGesture::event(event0); +} +bool PythonQtShell_QPinchGesture::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 QPinchGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QPinchGesture::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(); + } + } +} + QPinchGesture::timerEvent(event0); +} +QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) +{ +return new PythonQtShell_QPinchGesture(parent); } + +const QMetaObject* PythonQtShell_QPinchGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPinchGesture::staticMetaObject); + } else { + return &QPinchGesture::staticMetaObject; + } +} +int PythonQtShell_QPinchGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPinchGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->centerPoint()); +} + +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::changeFlags(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->changeFlags()); +} + +QPointF PythonQtWrapper_QPinchGesture::lastCenterPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastCenterPoint()); +} + +qreal PythonQtWrapper_QPinchGesture::lastRotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastRotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::lastScaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastScaleFactor()); +} + +qreal PythonQtWrapper_QPinchGesture::rotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->rotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::scaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->scaleFactor()); +} + +void PythonQtWrapper_QPinchGesture::setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) +{ + ( theWrappedObject->setChangeFlags(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setLastCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setLastRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setLastScaleFactor(value)); +} + +void PythonQtWrapper_QPinchGesture::setRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setScaleFactor(value)); +} + +void PythonQtWrapper_QPinchGesture::setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setStartCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) +{ + ( theWrappedObject->setTotalChangeFlags(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setTotalRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setTotalScaleFactor(value)); +} + +QPointF PythonQtWrapper_QPinchGesture::startCenterPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->startCenterPoint()); +} + +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::totalChangeFlags(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalChangeFlags()); +} + +qreal PythonQtWrapper_QPinchGesture::totalRotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalRotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::totalScaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalScaleFactor()); +} + + + +QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat() +{ +return new QPixelFormat(); } + +QPixelFormat* PythonQtWrapper_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, uchar subEnum) +{ +return new QPixelFormat(colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, subEnum); } + +QPixelFormat::AlphaPosition PythonQtWrapper_QPixelFormat::alphaPosition(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaPosition()); +} + +uchar PythonQtWrapper_QPixelFormat::alphaSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaSize()); +} + +QPixelFormat::AlphaUsage PythonQtWrapper_QPixelFormat::alphaUsage(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaUsage()); +} + +uchar PythonQtWrapper_QPixelFormat::bitsPerPixel(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->bitsPerPixel()); +} + +uchar PythonQtWrapper_QPixelFormat::blackSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->blackSize()); +} + +uchar PythonQtWrapper_QPixelFormat::blueSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->blueSize()); +} + +uchar PythonQtWrapper_QPixelFormat::brightnessSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->brightnessSize()); +} + +QPixelFormat::ByteOrder PythonQtWrapper_QPixelFormat::byteOrder(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->byteOrder()); +} + +uchar PythonQtWrapper_QPixelFormat::channelCount(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->channelCount()); +} + +QPixelFormat::ColorModel PythonQtWrapper_QPixelFormat::colorModel(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->colorModel()); +} + +uchar PythonQtWrapper_QPixelFormat::cyanSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->cyanSize()); +} + +uchar PythonQtWrapper_QPixelFormat::greenSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->greenSize()); +} + +uchar PythonQtWrapper_QPixelFormat::hueSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->hueSize()); +} + +uchar PythonQtWrapper_QPixelFormat::lightnessSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->lightnessSize()); +} + +uchar PythonQtWrapper_QPixelFormat::magentaSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->magentaSize()); +} + +bool PythonQtWrapper_QPixelFormat::__ne__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) +{ + return ( (*theWrappedObject)!= fmt2); +} + +bool PythonQtWrapper_QPixelFormat::__eq__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) +{ + return ( (*theWrappedObject)== fmt2); +} + +QPixelFormat::AlphaPremultiplied PythonQtWrapper_QPixelFormat::premultiplied(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->premultiplied()); +} + +uchar PythonQtWrapper_QPixelFormat::redSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->redSize()); +} + +uchar PythonQtWrapper_QPixelFormat::saturationSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->saturationSize()); +} + +uchar PythonQtWrapper_QPixelFormat::subEnum(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->subEnum()); +} + +QPixelFormat::TypeInterpretation PythonQtWrapper_QPixelFormat::typeInterpretation(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->typeInterpretation()); +} + +uchar PythonQtWrapper_QPixelFormat::yellowSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->yellowSize()); +} + +QPixelFormat::YUVLayout PythonQtWrapper_QPixelFormat::yuvLayout(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->yuvLayout()); +} + + + +PythonQtShell_QPixmapCache::~PythonQtShell_QPixmapCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPixmapCache* PythonQtWrapper_QPixmapCache::new_QPixmapCache() +{ +return new PythonQtShell_QPixmapCache(); } + +int PythonQtWrapper_QPixmapCache::static_QPixmapCache_cacheLimit() +{ + return (QPixmapCache::cacheLimit()); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_clear() +{ + (QPixmapCache::clear()); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +QPixmap* PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key) +{ + return (QPixmapCache::find(key)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap& pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap* pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +QPixmapCache::Key PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QPixmap& pixmap) +{ + return (QPixmapCache::insert(pixmap)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap) +{ + return (QPixmapCache::insert(key, pixmap)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QPixmapCache::Key& key) +{ + (QPixmapCache::remove(key)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QString& key) +{ + (QPixmapCache::remove(key)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap) +{ + return (QPixmapCache::replace(key, pixmap)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_setCacheLimit(int arg__1) +{ + (QPixmapCache::setCacheLimit(arg__1)); +} + + + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key() +{ +return new QPixmapCache::Key(); } + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key(const QPixmapCache::Key& other) +{ +return new QPixmapCache::Key(other); } + +bool PythonQtWrapper_QPixmapCache__Key::isValid(QPixmapCache::Key* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QPixmapCache__Key::__ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const +{ + return ( (*theWrappedObject)!= key); +} + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPixmapCache__Key::__eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const +{ + return ( (*theWrappedObject)== key); +} + +void PythonQtWrapper_QPixmapCache__Key::swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockBoundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::blockBoundingRect(block0); +} +void PythonQtShell_QPlainTextDocumentLayout::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(); + } + } +} + QPlainTextDocumentLayout::childEvent(event0); +} +void PythonQtShell_QPlainTextDocumentLayout::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(); + } + } +} + QPlainTextDocumentLayout::customEvent(event0); +} +void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::documentChanged(from0, arg__2, charsAdded2); +} +QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::documentSize(); +} +void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::draw(arg__1, arg__2); +} +void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); +} +bool PythonQtShell_QPlainTextDocumentLayout::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 QPlainTextDocumentLayout::event(event0); +} +bool PythonQtShell_QPlainTextDocumentLayout::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 QPlainTextDocumentLayout::eventFilter(watched0, event1); +} +QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("frameBoundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::frameBoundingRect(arg__1); +} +int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitTest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); +} +int PythonQtShell_QPlainTextDocumentLayout::pageCount() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pageCount"); + 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("pageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::pageCount(); +} +void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("positionInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); +} +void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); +} +void PythonQtShell_QPlainTextDocumentLayout::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(); + } + } +} + QPlainTextDocumentLayout::timerEvent(event0); +} +QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) +{ +return new PythonQtShell_QPlainTextDocumentLayout(document); } + +const QMetaObject* PythonQtShell_QPlainTextDocumentLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextDocumentLayout::staticMetaObject); + } else { + return &QPlainTextDocumentLayout::staticMetaObject; + } +} +int PythonQtShell_QPlainTextDocumentLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPlainTextDocumentLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QPlainTextDocumentLayout::cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->cursorWidth()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const +{ + ( theWrappedObject->ensureBlockLayout(block)); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::requestUpdate(QPlainTextDocumentLayout* theWrappedObject) +{ + ( theWrappedObject->requestUpdate()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + + + +PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QPlainTextEdit::actionEvent(event0); +} +bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canInsertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::canInsertFromMimeData(source0); +} +void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::changeEvent(e0); +} +void PythonQtShell_QPlainTextEdit::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(); + } + } +} + QPlainTextEdit::childEvent(event0); +} +void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QPlainTextEdit::closeEvent(event0); +} +void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) +{ +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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QPlainTextEdit::contextMenuEvent(e0); +} +QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createMimeDataFromSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::createMimeDataFromSelection(); +} +void PythonQtShell_QPlainTextEdit::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(); + } + } +} + QPlainTextEdit::customEvent(event0); +} +int PythonQtShell_QPlainTextEdit::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 QPlainTextEdit::devType(); +} +void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doSetTextCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&cursor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::doSetTextCursor(cursor0); +} +void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) +{ +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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QPlainTextEdit::dragEnterEvent(e0); +} +void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) +{ +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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QPlainTextEdit::dragLeaveEvent(e0); +} +void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) +{ +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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QPlainTextEdit::dragMoveEvent(e0); +} +void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) +{ +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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QPlainTextEdit::dropEvent(e0); +} +void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QPlainTextEdit::enterEvent(event0); +} +bool PythonQtShell_QPlainTextEdit::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 QPlainTextEdit::event(e0); +} +bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QPlainTextEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::focusInEvent(e0); +} +bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::focusOutEvent(e0); +} +bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::hasHeightForWidth(); +} +int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::heightForWidth(arg__1); +} +void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::hideEvent(event0); +} +void PythonQtShell_QPlainTextEdit::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(); + } + } +} + QPlainTextEdit::initPainter(painter0); +} +void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) 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*)&property0}; + 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 QPlainTextEdit::inputMethodQuery(property0); +} +void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::insertFromMimeData(source0); +} +void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::keyPressEvent(e0); +} +void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::keyReleaseEvent(e0); +} +void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QPlainTextEdit::leaveEvent(event0); +} +QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::loadResource(type0, name1); +} +int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::metric(arg__1); +} +QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::minimumSizeHint(); +} +void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPlainTextEdit::mouseDoubleClickEvent(e0); +} +void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPlainTextEdit::mouseMoveEvent(e0); +} +void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPlainTextEdit::mousePressEvent(e0); +} +void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPlainTextEdit::mouseReleaseEvent(e0); +} +void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QPlainTextEdit::moveEvent(event0); +} +bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::paintEngine(); +} +void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QPlainTextEdit::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QPlainTextEdit::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 QPlainTextEdit::redirected(offset0); +} +void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QPlainTextEdit::resizeEvent(e0); +} +void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::setVisible(visible0); +} +void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::setupViewport(viewport0); +} +QPainter* PythonQtShell_QPlainTextEdit::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 QPlainTextEdit::sharedPainter(); +} +void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::showEvent(arg__1); +} +QSize PythonQtShell_QPlainTextEdit::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::sizeHint(); +} +void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QPlainTextEdit::tabletEvent(event0); +} +void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::timerEvent(e0); +} +bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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*)&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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::viewportEvent(arg__1); +} +QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::viewportSizeHint(); +} +void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QPlainTextEdit::wheelEvent(e0); +} +QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(QWidget* parent) +{ +return new PythonQtShell_QPlainTextEdit(parent); } + +QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QPlainTextEdit(text, parent); } + +const QMetaObject* PythonQtShell_QPlainTextEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextEdit::staticMetaObject); + } else { + return &QPlainTextEdit::staticMetaObject; + } +} +int PythonQtShell_QPlainTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPlainTextEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QPlainTextEdit::anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->anchorAt(pos)); +} + +bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->backgroundVisible()); +} + +QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingGeometry(block)); +} + +QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingRect(block)); +} + +int PythonQtWrapper_QPlainTextEdit::blockCount(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->blockCount()); +} + +bool PythonQtWrapper_QPlainTextEdit::canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); +} + +bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->canPaste()); +} + +bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->centerOnScroll()); +} + +QPointF PythonQtWrapper_QPlainTextEdit::contentOffset(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contentOffset()); +} + +QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); +} + +QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position) +{ + return ( theWrappedObject->createStandardContextMenu(position)); +} + +QTextCharFormat PythonQtWrapper_QPlainTextEdit::currentCharFormat(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentCharFormat()); +} + +QTextCursor PythonQtWrapper_QPlainTextEdit::cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->cursorForPosition(pos)); +} + +QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorRect()); +} + +QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const +{ + return ( theWrappedObject->cursorRect(cursor)); +} + +int PythonQtWrapper_QPlainTextEdit::cursorWidth(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorWidth()); +} + +void PythonQtWrapper_QPlainTextEdit::doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); +} + +QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->documentTitle()); +} + +void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) +{ + ( theWrappedObject->ensureCursorVisible()); +} + +QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->extraSelections()); +} + +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +QTextBlock PythonQtWrapper_QPlainTextEdit::firstVisibleBlock(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_firstVisibleBlock()); +} + +QAbstractTextDocumentLayout::PaintContext PythonQtWrapper_QPlainTextEdit::getPaintContext(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_getPaintContext()); +} + +QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +{ + return ( theWrappedObject->inputMethodQuery(query, argument)); +} + +void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); +} + +bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isUndoRedoEnabled()); +} + +QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->lineWrapMode()); +} + +QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) +{ + return ( theWrappedObject->loadResource(type, name)); +} + +int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumBlockCount()); +} + +void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCurrentCharFormat(modifier)); +} + +void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +{ + ( theWrappedObject->moveCursor(operation, mode)); +} + +bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->overwriteMode()); +} + +QString PythonQtWrapper_QPlainTextEdit::placeholderText(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->placeholderText()); +} + +void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) +{ + ( theWrappedObject->setBackgroundVisible(visible)); +} + +void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setCenterOnScroll(enabled)); +} + +void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCurrentCharFormat(format)); +} + +void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + +void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) +{ + ( theWrappedObject->setDocument(document)); +} + +void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setDocumentTitle(title)); +} + +void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) +{ + ( theWrappedObject->setExtraSelections(selections)); +} + +void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) +{ + ( theWrappedObject->setLineWrapMode(mode)); +} + +void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) +{ + ( theWrappedObject->setMaximumBlockCount(maximum)); +} + +void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) +{ + ( theWrappedObject->setOverwriteMode(overwrite)); +} + +void PythonQtWrapper_QPlainTextEdit::setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText) +{ + ( theWrappedObject->setPlaceholderText(placeholderText)); +} + +void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); +} + +void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} + +void PythonQtWrapper_QPlainTextEdit::setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance) +{ + ( theWrappedObject->setTabStopDistance(distance)); +} + +void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setTabStopWidth(width)); +} + +void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->setTextCursor(cursor)); +} + +void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); +} + +void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) +{ + ( theWrappedObject->setWordWrapMode(policy)); +} + +bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); +} + +qreal PythonQtWrapper_QPlainTextEdit::tabStopDistance(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopDistance()); +} + +int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopWidth()); +} + +QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textCursor()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->wordWrapMode()); +} + +void PythonQtWrapper_QPlainTextEdit::zoomInF(QPlainTextEdit* theWrappedObject, float range) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_zoomInF(range)); +} + + + +PythonQtShell_QPlatformSurfaceEvent::~PythonQtShell_QPlatformSurfaceEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPlatformSurfaceEvent* PythonQtWrapper_QPlatformSurfaceEvent::new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType) +{ +return new PythonQtShell_QPlatformSurfaceEvent(surfaceEventType); } + +QPlatformSurfaceEvent::SurfaceEventType PythonQtWrapper_QPlatformSurfaceEvent::surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const +{ + return ( theWrappedObject->surfaceEventType()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.h new file mode 100644 index 00000000..386eaea3 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui6.h @@ -0,0 +1,2113 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QOpenGLVertexArrayObject : public QOpenGLVertexArrayObject +{ +public: + PythonQtShell_QOpenGLVertexArrayObject(QObject* parent = nullptr):QOpenGLVertexArrayObject(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLVertexArrayObject() 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_QOpenGLVertexArrayObject : public QObject +{ Q_OBJECT +public: +public slots: +QOpenGLVertexArrayObject* new_QOpenGLVertexArrayObject(QObject* parent = nullptr); +void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj; } + void bind(QOpenGLVertexArrayObject* theWrappedObject); + bool create(QOpenGLVertexArrayObject* theWrappedObject); + void destroy(QOpenGLVertexArrayObject* theWrappedObject); + bool isCreated(QOpenGLVertexArrayObject* theWrappedObject) const; + GLuint objectId(QOpenGLVertexArrayObject* theWrappedObject) const; + void release(QOpenGLVertexArrayObject* theWrappedObject); +}; + + + + + +class PythonQtShell_QOpenGLWidget : public QOpenGLWidget +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initializeGL() { this->initializeGL(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_paintGL() { this->paintGL(); } +inline QPaintDevice* promoted_redirected(QPoint* p) const { return this->redirected(p); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_resizeGL(int w, int h) { this->resizeGL(w, h); } +inline bool py_q_event(QEvent* e) { return QOpenGLWidget::event(e); } +inline void py_q_initializeGL() { QOpenGLWidget::initializeGL(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QOpenGLWidget::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return QOpenGLWidget::paintEngine(); } +inline void py_q_paintEvent(QPaintEvent* e) { QOpenGLWidget::paintEvent(e); } +inline void py_q_paintGL() { QOpenGLWidget::paintGL(); } +inline QPaintDevice* py_q_redirected(QPoint* p) const { return QOpenGLWidget::redirected(p); } +inline void py_q_resizeEvent(QResizeEvent* e) { QOpenGLWidget::resizeEvent(e); } +inline void py_q_resizeGL(int w, int h) { QOpenGLWidget::resizeGL(w, h); } +}; + +class PythonQtWrapper_QOpenGLWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(UpdateBehavior ) +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; } + QOpenGLContext* context(QOpenGLWidget* theWrappedObject) const; + GLuint defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const; + void doneCurrent(QOpenGLWidget* theWrappedObject); + bool py_q_event(QOpenGLWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_event(e));} + QSurfaceFormat format(QOpenGLWidget* theWrappedObject) const; + QImage grabFramebuffer(QOpenGLWidget* theWrappedObject); + void initializeGL(QOpenGLWidget* theWrappedObject); + void py_q_initializeGL(QOpenGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_initializeGL());} + bool isValid(QOpenGLWidget* theWrappedObject) const; + void makeCurrent(QOpenGLWidget* theWrappedObject); + int py_q_metric(QOpenGLWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_metric(metric));} + QPaintEngine* py_q_paintEngine(QOpenGLWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_paintEngine());} + void py_q_paintEvent(QOpenGLWidget* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_paintEvent(e));} + void paintGL(QOpenGLWidget* theWrappedObject); + void py_q_paintGL(QOpenGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_paintGL());} + QPaintDevice* py_q_redirected(QOpenGLWidget* theWrappedObject, QPoint* p) const{ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_redirected(p));} + void py_q_resizeEvent(QOpenGLWidget* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_resizeEvent(e));} + void resizeGL(QOpenGLWidget* theWrappedObject, int w, int h); + void py_q_resizeGL(QOpenGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_resizeGL(w, h));} + void setFormat(QOpenGLWidget* theWrappedObject, const QSurfaceFormat& format); + void setTextureFormat(QOpenGLWidget* theWrappedObject, GLenum texFormat); + void setUpdateBehavior(QOpenGLWidget* theWrappedObject, QOpenGLWidget::UpdateBehavior updateBehavior); + GLenum textureFormat(QOpenGLWidget* theWrappedObject) const; + QOpenGLWidget::UpdateBehavior updateBehavior(QOpenGLWidget* theWrappedObject) const; + bool __nonzero__(QOpenGLWidget* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QOpenGLWindow : public QOpenGLWindow +{ +public: + 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 +{ public: +inline void promoted_initializeGL() { this->initializeGL(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_paintGL() { this->paintGL(); } +inline void promoted_paintOverGL() { this->paintOverGL(); } +inline void promoted_paintUnderGL() { this->paintUnderGL(); } +inline QPaintDevice* promoted_redirected(QPoint* arg__1) const { return this->redirected(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_resizeGL(int w, int h) { this->resizeGL(w, h); } +inline void py_q_initializeGL() { QOpenGLWindow::initializeGL(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QOpenGLWindow::metric(metric); } +inline void py_q_paintEvent(QPaintEvent* event) { QOpenGLWindow::paintEvent(event); } +inline void py_q_paintGL() { QOpenGLWindow::paintGL(); } +inline void py_q_paintOverGL() { QOpenGLWindow::paintOverGL(); } +inline void py_q_paintUnderGL() { QOpenGLWindow::paintUnderGL(); } +inline QPaintDevice* py_q_redirected(QPoint* arg__1) const { return QOpenGLWindow::redirected(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* event) { QOpenGLWindow::resizeEvent(event); } +inline void py_q_resizeGL(int w, int h) { QOpenGLWindow::resizeGL(w, h); } +}; + +class PythonQtWrapper_QOpenGLWindow : public QObject +{ Q_OBJECT +public: +Q_ENUMS(UpdateBehavior ) +enum UpdateBehavior{ + NoPartialUpdate = QOpenGLWindow::NoPartialUpdate, PartialUpdateBlit = QOpenGLWindow::PartialUpdateBlit, PartialUpdateBlend = QOpenGLWindow::PartialUpdateBlend}; +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; } + QOpenGLContext* context(QOpenGLWindow* theWrappedObject) const; + GLuint defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const; + void doneCurrent(QOpenGLWindow* theWrappedObject); + QImage grabFramebuffer(QOpenGLWindow* theWrappedObject); + void initializeGL(QOpenGLWindow* theWrappedObject); + void py_q_initializeGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_initializeGL());} + bool isValid(QOpenGLWindow* theWrappedObject) const; + void makeCurrent(QOpenGLWindow* theWrappedObject); + int py_q_metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_metric(metric));} + void py_q_paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintEvent(event));} + void paintGL(QOpenGLWindow* theWrappedObject); + void py_q_paintGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintGL());} + void paintOverGL(QOpenGLWindow* theWrappedObject); + 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* 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); + void py_q_resizeGL(QOpenGLWindow* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_resizeGL(w, h));} + QOpenGLContext* shareContext(QOpenGLWindow* theWrappedObject) const; + QOpenGLWindow::UpdateBehavior updateBehavior(QOpenGLWindow* theWrappedObject) const; + bool __nonzero__(QOpenGLWindow* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QPageLayout : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Mode Orientation Unit ) +enum Mode{ + StandardMode = QPageLayout::StandardMode, FullPageMode = QPageLayout::FullPageMode}; +enum Orientation{ + Portrait = QPageLayout::Portrait, Landscape = QPageLayout::Landscape}; +enum Unit{ + Millimeter = QPageLayout::Millimeter, Point = QPageLayout::Point, Inch = QPageLayout::Inch, Pica = QPageLayout::Pica, Didot = QPageLayout::Didot, Cicero = QPageLayout::Cicero}; +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; } + QRectF fullRect(QPageLayout* theWrappedObject) const; + QRectF fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QRect fullRectPixels(QPageLayout* theWrappedObject, int resolution) const; + QRect fullRectPoints(QPageLayout* theWrappedObject) const; + bool isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const; + bool isValid(QPageLayout* theWrappedObject) const; + QMarginsF margins(QPageLayout* theWrappedObject) const; + QMarginsF margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QMargins marginsPixels(QPageLayout* theWrappedObject, int resolution) const; + QMargins marginsPoints(QPageLayout* theWrappedObject) const; + 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; + QPageSize pageSize(QPageLayout* theWrappedObject) const; + QRectF paintRect(QPageLayout* theWrappedObject) const; + QRectF paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QRect paintRectPixels(QPageLayout* theWrappedObject, int resolution) const; + QRect paintRectPoints(QPageLayout* theWrappedObject) const; + bool setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin); + bool setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin); + bool setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins); + void setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins); + void setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode); + void setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation); + void setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins = QMarginsF(0, 0, 0, 0)); + bool setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin); + bool setTopMargin(QPageLayout* theWrappedObject, qreal topMargin); + void setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units); + void swap(QPageLayout* theWrappedObject, QPageLayout& other); + QPageLayout::Unit units(QPageLayout* theWrappedObject) const; + QString py_toString(QPageLayout*); + bool __nonzero__(QPageLayout* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QPageSetupDialog : public QPageSetupDialog +{ +public: + 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 +{ public: +inline void py_q_done(int result) { QPageSetupDialog::done(result); } +inline int py_q_exec() { return QPageSetupDialog::exec(); } +}; + +class PythonQtWrapper_QPageSetupDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr); +QPageSetupDialog* new_QPageSetupDialog(QWidget* parent = nullptr); +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); + QPrinter* printer(QPageSetupDialog* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QPageSize : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PageSizeId SizeMatchPolicy Unit ) +enum PageSizeId{ + A4 = QPageSize::A4, B5 = QPageSize::B5, Letter = QPageSize::Letter, Legal = QPageSize::Legal, Executive = QPageSize::Executive, A0 = QPageSize::A0, A1 = QPageSize::A1, A2 = QPageSize::A2, A3 = QPageSize::A3, A5 = QPageSize::A5, A6 = QPageSize::A6, A7 = QPageSize::A7, A8 = QPageSize::A8, A9 = QPageSize::A9, B0 = QPageSize::B0, B1 = QPageSize::B1, B10 = QPageSize::B10, B2 = QPageSize::B2, B3 = QPageSize::B3, B4 = QPageSize::B4, B6 = QPageSize::B6, B7 = QPageSize::B7, B8 = QPageSize::B8, B9 = QPageSize::B9, C5E = QPageSize::C5E, Comm10E = QPageSize::Comm10E, DLE = QPageSize::DLE, Folio = QPageSize::Folio, Ledger = QPageSize::Ledger, Tabloid = QPageSize::Tabloid, Custom = QPageSize::Custom, A10 = QPageSize::A10, A3Extra = QPageSize::A3Extra, A4Extra = QPageSize::A4Extra, A4Plus = QPageSize::A4Plus, A4Small = QPageSize::A4Small, A5Extra = QPageSize::A5Extra, B5Extra = QPageSize::B5Extra, JisB0 = QPageSize::JisB0, JisB1 = QPageSize::JisB1, JisB2 = QPageSize::JisB2, JisB3 = QPageSize::JisB3, JisB4 = QPageSize::JisB4, JisB5 = QPageSize::JisB5, JisB6 = QPageSize::JisB6, JisB7 = QPageSize::JisB7, JisB8 = QPageSize::JisB8, JisB9 = QPageSize::JisB9, JisB10 = QPageSize::JisB10, AnsiC = QPageSize::AnsiC, AnsiD = QPageSize::AnsiD, AnsiE = QPageSize::AnsiE, LegalExtra = QPageSize::LegalExtra, LetterExtra = QPageSize::LetterExtra, LetterPlus = QPageSize::LetterPlus, LetterSmall = QPageSize::LetterSmall, TabloidExtra = QPageSize::TabloidExtra, ArchA = QPageSize::ArchA, ArchB = QPageSize::ArchB, ArchC = QPageSize::ArchC, ArchD = QPageSize::ArchD, ArchE = QPageSize::ArchE, Imperial7x9 = QPageSize::Imperial7x9, Imperial8x10 = QPageSize::Imperial8x10, Imperial9x11 = QPageSize::Imperial9x11, Imperial9x12 = QPageSize::Imperial9x12, Imperial10x11 = QPageSize::Imperial10x11, Imperial10x13 = QPageSize::Imperial10x13, Imperial10x14 = QPageSize::Imperial10x14, Imperial12x11 = QPageSize::Imperial12x11, Imperial15x11 = QPageSize::Imperial15x11, ExecutiveStandard = QPageSize::ExecutiveStandard, Note = QPageSize::Note, Quarto = QPageSize::Quarto, Statement = QPageSize::Statement, SuperA = QPageSize::SuperA, SuperB = QPageSize::SuperB, Postcard = QPageSize::Postcard, DoublePostcard = QPageSize::DoublePostcard, Prc16K = QPageSize::Prc16K, Prc32K = QPageSize::Prc32K, Prc32KBig = QPageSize::Prc32KBig, FanFoldUS = QPageSize::FanFoldUS, FanFoldGerman = QPageSize::FanFoldGerman, FanFoldGermanLegal = QPageSize::FanFoldGermanLegal, EnvelopeB4 = QPageSize::EnvelopeB4, EnvelopeB5 = QPageSize::EnvelopeB5, EnvelopeB6 = QPageSize::EnvelopeB6, EnvelopeC0 = QPageSize::EnvelopeC0, EnvelopeC1 = QPageSize::EnvelopeC1, EnvelopeC2 = QPageSize::EnvelopeC2, EnvelopeC3 = QPageSize::EnvelopeC3, EnvelopeC4 = QPageSize::EnvelopeC4, EnvelopeC6 = QPageSize::EnvelopeC6, EnvelopeC65 = QPageSize::EnvelopeC65, EnvelopeC7 = QPageSize::EnvelopeC7, Envelope9 = QPageSize::Envelope9, Envelope11 = QPageSize::Envelope11, Envelope12 = QPageSize::Envelope12, Envelope14 = QPageSize::Envelope14, EnvelopeMonarch = QPageSize::EnvelopeMonarch, EnvelopePersonal = QPageSize::EnvelopePersonal, EnvelopeChou3 = QPageSize::EnvelopeChou3, EnvelopeChou4 = QPageSize::EnvelopeChou4, EnvelopeInvite = QPageSize::EnvelopeInvite, EnvelopeItalian = QPageSize::EnvelopeItalian, EnvelopeKaku2 = QPageSize::EnvelopeKaku2, EnvelopeKaku3 = QPageSize::EnvelopeKaku3, EnvelopePrc1 = QPageSize::EnvelopePrc1, EnvelopePrc2 = QPageSize::EnvelopePrc2, EnvelopePrc3 = QPageSize::EnvelopePrc3, EnvelopePrc4 = QPageSize::EnvelopePrc4, EnvelopePrc5 = QPageSize::EnvelopePrc5, EnvelopePrc6 = QPageSize::EnvelopePrc6, EnvelopePrc7 = QPageSize::EnvelopePrc7, EnvelopePrc8 = QPageSize::EnvelopePrc8, EnvelopePrc9 = QPageSize::EnvelopePrc9, EnvelopePrc10 = QPageSize::EnvelopePrc10, EnvelopeYou4 = QPageSize::EnvelopeYou4, LastPageSize = QPageSize::LastPageSize, NPageSize = QPageSize::NPageSize, NPaperSize = QPageSize::NPaperSize, AnsiA = QPageSize::AnsiA, AnsiB = QPageSize::AnsiB, EnvelopeC5 = QPageSize::EnvelopeC5, EnvelopeDL = QPageSize::EnvelopeDL, Envelope10 = QPageSize::Envelope10}; +enum SizeMatchPolicy{ + FuzzyMatch = QPageSize::FuzzyMatch, FuzzyOrientationMatch = QPageSize::FuzzyOrientationMatch, ExactMatch = QPageSize::ExactMatch}; +enum Unit{ + Millimeter = QPageSize::Millimeter, Point = QPageSize::Point, Inch = QPageSize::Inch, Pica = QPageSize::Pica, Didot = QPageSize::Didot, Cicero = QPageSize::Cicero}; +public slots: +QPageSize* new_QPageSize(); +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; } + QSizeF definitionSize(QPageSize* theWrappedObject) const; + QSizeF static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId); + QPageSize::Unit definitionUnits(QPageSize* theWrappedObject) const; + QPageSize::Unit static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId); + QPageSize::PageSizeId id(QPageSize* theWrappedObject) const; + QPageSize::PageSizeId static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize::PageSizeId static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize::PageSizeId static_QPageSize_id(int windowsId); + bool isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const; + bool isValid(QPageSize* theWrappedObject) const; + QString key(QPageSize* theWrappedObject) const; + 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; + QRect rectPixels(QPageSize* theWrappedObject, int resolution) const; + QRect rectPoints(QPageSize* theWrappedObject) const; + QSizeF static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units); + QSizeF size(QPageSize* theWrappedObject, QPageSize::Unit units) const; + QSize static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution); + QSize sizePixels(QPageSize* theWrappedObject, int resolution) const; + QSize sizePoints(QPageSize* theWrappedObject) const; + QSize static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId); + void swap(QPageSize* theWrappedObject, QPageSize& other); + int windowsId(QPageSize* theWrappedObject) const; + int static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId); + QString py_toString(QPageSize*); + bool __nonzero__(QPageSize* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtPublicPromoter_QPagedPaintDevice : public QPagedPaintDevice +{ public: +inline QPageLayout& promoted_devicePageLayout() { return this->devicePageLayout(); } +inline bool py_q_newPage() { return this->newPage(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& margins) { QPagedPaintDevice::setMargins(margins); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPagedPaintDevice::setPageSize(size); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPagedPaintDevice::setPageSizeMM(size); } +}; + +class PythonQtWrapper_QPagedPaintDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PageSize PdfVersion ) +enum PageSize{ + A4 = QPagedPaintDevice::A4, B5 = QPagedPaintDevice::B5, Letter = QPagedPaintDevice::Letter, Legal = QPagedPaintDevice::Legal, Executive = QPagedPaintDevice::Executive, A0 = QPagedPaintDevice::A0, A1 = QPagedPaintDevice::A1, A2 = QPagedPaintDevice::A2, A3 = QPagedPaintDevice::A3, A5 = QPagedPaintDevice::A5, A6 = QPagedPaintDevice::A6, A7 = QPagedPaintDevice::A7, A8 = QPagedPaintDevice::A8, A9 = QPagedPaintDevice::A9, B0 = QPagedPaintDevice::B0, B1 = QPagedPaintDevice::B1, B10 = QPagedPaintDevice::B10, B2 = QPagedPaintDevice::B2, B3 = QPagedPaintDevice::B3, B4 = QPagedPaintDevice::B4, B6 = QPagedPaintDevice::B6, B7 = QPagedPaintDevice::B7, B8 = QPagedPaintDevice::B8, B9 = QPagedPaintDevice::B9, C5E = QPagedPaintDevice::C5E, Comm10E = QPagedPaintDevice::Comm10E, DLE = QPagedPaintDevice::DLE, Folio = QPagedPaintDevice::Folio, Ledger = QPagedPaintDevice::Ledger, Tabloid = QPagedPaintDevice::Tabloid, Custom = QPagedPaintDevice::Custom, A10 = QPagedPaintDevice::A10, A3Extra = QPagedPaintDevice::A3Extra, A4Extra = QPagedPaintDevice::A4Extra, A4Plus = QPagedPaintDevice::A4Plus, A4Small = QPagedPaintDevice::A4Small, A5Extra = QPagedPaintDevice::A5Extra, B5Extra = QPagedPaintDevice::B5Extra, JisB0 = QPagedPaintDevice::JisB0, JisB1 = QPagedPaintDevice::JisB1, JisB2 = QPagedPaintDevice::JisB2, JisB3 = QPagedPaintDevice::JisB3, JisB4 = QPagedPaintDevice::JisB4, JisB5 = QPagedPaintDevice::JisB5, JisB6 = QPagedPaintDevice::JisB6, JisB7 = QPagedPaintDevice::JisB7, JisB8 = QPagedPaintDevice::JisB8, JisB9 = QPagedPaintDevice::JisB9, JisB10 = QPagedPaintDevice::JisB10, AnsiC = QPagedPaintDevice::AnsiC, AnsiD = QPagedPaintDevice::AnsiD, AnsiE = QPagedPaintDevice::AnsiE, LegalExtra = QPagedPaintDevice::LegalExtra, LetterExtra = QPagedPaintDevice::LetterExtra, LetterPlus = QPagedPaintDevice::LetterPlus, LetterSmall = QPagedPaintDevice::LetterSmall, TabloidExtra = QPagedPaintDevice::TabloidExtra, ArchA = QPagedPaintDevice::ArchA, ArchB = QPagedPaintDevice::ArchB, ArchC = QPagedPaintDevice::ArchC, ArchD = QPagedPaintDevice::ArchD, ArchE = QPagedPaintDevice::ArchE, Imperial7x9 = QPagedPaintDevice::Imperial7x9, Imperial8x10 = QPagedPaintDevice::Imperial8x10, Imperial9x11 = QPagedPaintDevice::Imperial9x11, Imperial9x12 = QPagedPaintDevice::Imperial9x12, Imperial10x11 = QPagedPaintDevice::Imperial10x11, Imperial10x13 = QPagedPaintDevice::Imperial10x13, Imperial10x14 = QPagedPaintDevice::Imperial10x14, Imperial12x11 = QPagedPaintDevice::Imperial12x11, Imperial15x11 = QPagedPaintDevice::Imperial15x11, ExecutiveStandard = QPagedPaintDevice::ExecutiveStandard, Note = QPagedPaintDevice::Note, Quarto = QPagedPaintDevice::Quarto, Statement = QPagedPaintDevice::Statement, SuperA = QPagedPaintDevice::SuperA, SuperB = QPagedPaintDevice::SuperB, Postcard = QPagedPaintDevice::Postcard, DoublePostcard = QPagedPaintDevice::DoublePostcard, Prc16K = QPagedPaintDevice::Prc16K, Prc32K = QPagedPaintDevice::Prc32K, Prc32KBig = QPagedPaintDevice::Prc32KBig, FanFoldUS = QPagedPaintDevice::FanFoldUS, FanFoldGerman = QPagedPaintDevice::FanFoldGerman, FanFoldGermanLegal = QPagedPaintDevice::FanFoldGermanLegal, EnvelopeB4 = QPagedPaintDevice::EnvelopeB4, EnvelopeB5 = QPagedPaintDevice::EnvelopeB5, EnvelopeB6 = QPagedPaintDevice::EnvelopeB6, EnvelopeC0 = QPagedPaintDevice::EnvelopeC0, EnvelopeC1 = QPagedPaintDevice::EnvelopeC1, EnvelopeC2 = QPagedPaintDevice::EnvelopeC2, EnvelopeC3 = QPagedPaintDevice::EnvelopeC3, EnvelopeC4 = QPagedPaintDevice::EnvelopeC4, EnvelopeC6 = QPagedPaintDevice::EnvelopeC6, EnvelopeC65 = QPagedPaintDevice::EnvelopeC65, EnvelopeC7 = QPagedPaintDevice::EnvelopeC7, Envelope9 = QPagedPaintDevice::Envelope9, Envelope11 = QPagedPaintDevice::Envelope11, Envelope12 = QPagedPaintDevice::Envelope12, Envelope14 = QPagedPaintDevice::Envelope14, EnvelopeMonarch = QPagedPaintDevice::EnvelopeMonarch, EnvelopePersonal = QPagedPaintDevice::EnvelopePersonal, EnvelopeChou3 = QPagedPaintDevice::EnvelopeChou3, EnvelopeChou4 = QPagedPaintDevice::EnvelopeChou4, EnvelopeInvite = QPagedPaintDevice::EnvelopeInvite, EnvelopeItalian = QPagedPaintDevice::EnvelopeItalian, EnvelopeKaku2 = QPagedPaintDevice::EnvelopeKaku2, EnvelopeKaku3 = QPagedPaintDevice::EnvelopeKaku3, EnvelopePrc1 = QPagedPaintDevice::EnvelopePrc1, EnvelopePrc2 = QPagedPaintDevice::EnvelopePrc2, EnvelopePrc3 = QPagedPaintDevice::EnvelopePrc3, EnvelopePrc4 = QPagedPaintDevice::EnvelopePrc4, EnvelopePrc5 = QPagedPaintDevice::EnvelopePrc5, EnvelopePrc6 = QPagedPaintDevice::EnvelopePrc6, EnvelopePrc7 = QPagedPaintDevice::EnvelopePrc7, EnvelopePrc8 = QPagedPaintDevice::EnvelopePrc8, EnvelopePrc9 = QPagedPaintDevice::EnvelopePrc9, EnvelopePrc10 = QPagedPaintDevice::EnvelopePrc10, EnvelopeYou4 = QPagedPaintDevice::EnvelopeYou4, LastPageSize = QPagedPaintDevice::LastPageSize, NPageSize = QPagedPaintDevice::NPageSize, NPaperSize = QPagedPaintDevice::NPaperSize, AnsiA = QPagedPaintDevice::AnsiA, AnsiB = QPagedPaintDevice::AnsiB, EnvelopeC5 = QPagedPaintDevice::EnvelopeC5, EnvelopeDL = QPagedPaintDevice::EnvelopeDL, Envelope10 = QPagedPaintDevice::Envelope10}; +enum PdfVersion{ + PdfVersion_1_4 = QPagedPaintDevice::PdfVersion_1_4, PdfVersion_A1b = QPagedPaintDevice::PdfVersion_A1b, PdfVersion_1_6 = QPagedPaintDevice::PdfVersion_1_6}; +public slots: +void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } + QPageLayout* devicePageLayout(QPagedPaintDevice* theWrappedObject); + QPagedPaintDevice::Margins margins(QPagedPaintDevice* theWrappedObject) const; + bool newPage(QPagedPaintDevice* theWrappedObject); + bool py_q_newPage(QPagedPaintDevice* theWrappedObject){ return (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_newPage());} + QPageLayout pageLayout(QPagedPaintDevice* theWrappedObject) const; + QPagedPaintDevice::PageSize pageSize(QPagedPaintDevice* theWrappedObject) const; + QSizeF pageSizeMM(QPagedPaintDevice* theWrappedObject) const; + void setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins); + void py_q_setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setMargins(margins));} + bool setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout); + bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins); + bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units); + bool setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation); + void setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size); + void py_q_setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSize(size));} + bool setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize); + void setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size); + void py_q_setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSizeMM(size));} +}; + + + + + +class PythonQtShell_QPagedPaintDevice__Margins : public QPagedPaintDevice::Margins +{ +public: + PythonQtShell_QPagedPaintDevice__Margins():QPagedPaintDevice::Margins(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPagedPaintDevice__Margins(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPagedPaintDevice__Margins : public QObject +{ Q_OBJECT +public: +public slots: +QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(); +QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(const QPagedPaintDevice::Margins& other) { +PythonQtShell_QPagedPaintDevice__Margins* a = new PythonQtShell_QPagedPaintDevice__Margins(); +*((QPagedPaintDevice::Margins*)a) = other; +return a; } +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; } +qreal py_get_left(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->left; } +void py_set_right(QPagedPaintDevice::Margins* theWrappedObject, qreal right){ theWrappedObject->right = right; } +qreal py_get_right(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->right; } +void py_set_top(QPagedPaintDevice::Margins* theWrappedObject, qreal top){ theWrappedObject->top = top; } +qreal py_get_top(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->top; } +}; + + + + + +class PythonQtShell_QPaintDevice : public QPaintDevice +{ +public: + PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintDevice() 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_QPaintDevice : public QPaintDevice +{ public: +inline void promoted_initPainter(QPainter* painter) const { this->initPainter(painter); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintDevice* promoted_redirected(QPoint* offset) const { return this->redirected(offset); } +inline QPainter* promoted_sharedPainter() const { return this->sharedPainter(); } +inline int py_q_devType() const { return QPaintDevice::devType(); } +inline void py_q_initPainter(QPainter* painter) const { QPaintDevice::initPainter(painter); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return this->paintEngine(); } +inline QPaintDevice* py_q_redirected(QPoint* offset) const { return QPaintDevice::redirected(offset); } +inline QPainter* py_q_sharedPainter() const { return QPaintDevice::sharedPainter(); } +}; + +class PythonQtWrapper_QPaintDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PaintDeviceMetric ) +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; } + int colorCount(QPaintDevice* theWrappedObject) const; + int depth(QPaintDevice* theWrappedObject) const; + int devType(QPaintDevice* theWrappedObject) const; + int py_q_devType(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_devType());} + int devicePixelRatio(QPaintDevice* theWrappedObject) const; + qreal devicePixelRatioF(QPaintDevice* theWrappedObject) const; + qreal static_QPaintDevice_devicePixelRatioFScale(); + int height(QPaintDevice* theWrappedObject) const; + int heightMM(QPaintDevice* theWrappedObject) const; + void initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const; + void py_q_initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const{ (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_initPainter(painter));} + int logicalDpiX(QPaintDevice* theWrappedObject) const; + int logicalDpiY(QPaintDevice* theWrappedObject) const; + int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + int py_q_metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_metric(metric));} + QPaintEngine* paintEngine(QPaintDevice* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_paintEngine());} + bool paintingActive(QPaintDevice* theWrappedObject) const; + int physicalDpiX(QPaintDevice* theWrappedObject) const; + int physicalDpiY(QPaintDevice* theWrappedObject) const; + QPaintDevice* redirected(QPaintDevice* theWrappedObject, QPoint* offset) const; + QPaintDevice* py_q_redirected(QPaintDevice* theWrappedObject, QPoint* offset) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_redirected(offset));} + QPainter* sharedPainter(QPaintDevice* theWrappedObject) const; + QPainter* py_q_sharedPainter(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_sharedPainter());} + int width(QPaintDevice* theWrappedObject) const; + int widthMM(QPaintDevice* theWrappedObject) const; +}; + + + + + +class PythonQtPublicPromoter_QPaintDeviceWindow : public QPaintDeviceWindow +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_exposeEvent(QExposeEvent* arg__1) { this->exposeEvent(arg__1); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline bool py_q_event(QEvent* event) { return QPaintDeviceWindow::event(event); } +inline void py_q_exposeEvent(QExposeEvent* arg__1) { QPaintDeviceWindow::exposeEvent(arg__1); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDeviceWindow::metric(metric); } +inline void py_q_paintEvent(QPaintEvent* event) { QPaintDeviceWindow::paintEvent(event); } +}; + +class PythonQtWrapper_QPaintDeviceWindow : public QObject +{ Q_OBJECT +public: +public slots: +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));} + void paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event); + void py_q_paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_paintEvent(event));} + void update(QPaintDeviceWindow* theWrappedObject, const QRect& rect); + void update(QPaintDeviceWindow* theWrappedObject, const QRegion& region); +}; + + + + + +class PythonQtShell_QPaintEngine : public QPaintEngine +{ +public: + 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 +{ public: +inline bool py_q_begin(QPaintDevice* pdev) { return this->begin(pdev); } +inline QPoint py_q_coordinateOffset() const { return QPaintEngine::coordinateOffset(); } +inline void py_q_drawEllipse(const QRect& r) { QPaintEngine::drawEllipse(r); } +inline void py_q_drawEllipse(const QRectF& r) { QPaintEngine::drawEllipse(r); } +inline void py_q_drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) { QPaintEngine::drawImage(r, pm, sr, flags); } +inline void py_q_drawLines(const QLine* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void py_q_drawLines(const QLineF* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void py_q_drawPath(const QPainterPath& path) { QPaintEngine::drawPath(path); } +inline void py_q_drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) { this->drawPixmap(r, pm, sr); } +inline void py_q_drawPoints(const QPoint* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void py_q_drawPoints(const QPointF* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void py_q_drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void py_q_drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void py_q_drawRects(const QRect* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void py_q_drawRects(const QRectF* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void py_q_drawTextItem(const QPointF& p, const QTextItem& textItem) { QPaintEngine::drawTextItem(p, textItem); } +inline void py_q_drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) { QPaintEngine::drawTiledPixmap(r, pixmap, s); } +inline bool py_q_end() { return this->end(); } +inline QPaintEngine::Type py_q_type() const { return this->type(); } +inline void py_q_updateState(const QPaintEngineState& state) { this->updateState(state); } +}; + +class PythonQtWrapper_QPaintEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DirtyFlag PaintEngineFeature PolygonDrawMode Type ) +Q_FLAGS(DirtyFlags PaintEngineFeatures ) +enum DirtyFlag{ + DirtyPen = QPaintEngine::DirtyPen, DirtyBrush = QPaintEngine::DirtyBrush, DirtyBrushOrigin = QPaintEngine::DirtyBrushOrigin, DirtyFont = QPaintEngine::DirtyFont, DirtyBackground = QPaintEngine::DirtyBackground, DirtyBackgroundMode = QPaintEngine::DirtyBackgroundMode, DirtyTransform = QPaintEngine::DirtyTransform, DirtyClipRegion = QPaintEngine::DirtyClipRegion, DirtyClipPath = QPaintEngine::DirtyClipPath, DirtyHints = QPaintEngine::DirtyHints, DirtyCompositionMode = QPaintEngine::DirtyCompositionMode, DirtyClipEnabled = QPaintEngine::DirtyClipEnabled, DirtyOpacity = QPaintEngine::DirtyOpacity, AllDirty = QPaintEngine::AllDirty}; +enum PaintEngineFeature{ + PrimitiveTransform = QPaintEngine::PrimitiveTransform, PatternTransform = QPaintEngine::PatternTransform, PixmapTransform = QPaintEngine::PixmapTransform, PatternBrush = QPaintEngine::PatternBrush, LinearGradientFill = QPaintEngine::LinearGradientFill, RadialGradientFill = QPaintEngine::RadialGradientFill, ConicalGradientFill = QPaintEngine::ConicalGradientFill, AlphaBlend = QPaintEngine::AlphaBlend, PorterDuff = QPaintEngine::PorterDuff, PainterPaths = QPaintEngine::PainterPaths, Antialiasing = QPaintEngine::Antialiasing, BrushStroke = QPaintEngine::BrushStroke, ConstantOpacity = QPaintEngine::ConstantOpacity, MaskedBrush = QPaintEngine::MaskedBrush, PerspectiveTransform = QPaintEngine::PerspectiveTransform, BlendModes = QPaintEngine::BlendModes, ObjectBoundingModeGradients = QPaintEngine::ObjectBoundingModeGradients, RasterOpModes = QPaintEngine::RasterOpModes, PaintOutsidePaintEvent = QPaintEngine::PaintOutsidePaintEvent, AllFeatures = QPaintEngine::AllFeatures}; +enum PolygonDrawMode{ + OddEvenMode = QPaintEngine::OddEvenMode, WindingMode = QPaintEngine::WindingMode, ConvexMode = QPaintEngine::ConvexMode, PolylineMode = QPaintEngine::PolylineMode}; +enum Type{ + X11 = QPaintEngine::X11, Windows = QPaintEngine::Windows, QuickDraw = QPaintEngine::QuickDraw, CoreGraphics = QPaintEngine::CoreGraphics, MacPrinter = QPaintEngine::MacPrinter, QWindowSystem = QPaintEngine::QWindowSystem, PostScript = QPaintEngine::PostScript, OpenGL = QPaintEngine::OpenGL, Picture = QPaintEngine::Picture, SVG = QPaintEngine::SVG, Raster = QPaintEngine::Raster, Direct3D = QPaintEngine::Direct3D, Pdf = QPaintEngine::Pdf, OpenVG = QPaintEngine::OpenVG, OpenGL2 = QPaintEngine::OpenGL2, PaintBuffer = QPaintEngine::PaintBuffer, Blitter = QPaintEngine::Blitter, Direct2D = QPaintEngine::Direct2D, User = QPaintEngine::User, MaxUser = QPaintEngine::MaxUser}; +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; } + 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); + QPoint coordinateOffset(QPaintEngine* theWrappedObject) const; + QPoint py_q_coordinateOffset(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_coordinateOffset());} + void drawEllipse(QPaintEngine* theWrappedObject, const QRect& r); + void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRect& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} + void drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r); + void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} + void drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void py_q_drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawImage(r, pm, sr, flags));} + void drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount); + void py_q_drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} + void drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount); + void py_q_drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} + void drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path); + void py_q_drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPath(path));} + void drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr); + void py_q_drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPixmap(r, pm, sr));} + void drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount); + void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} + void drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount); + void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} + void drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} + void drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} + void drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount); + void py_q_drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} + void drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount); + void py_q_drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} + void drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem); + void py_q_drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTextItem(p, textItem));} + void drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s); + void py_q_drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTiledPixmap(r, pixmap, s));} + bool end(QPaintEngine* theWrappedObject); + bool py_q_end(QPaintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_end());} + bool hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const; + bool isActive(QPaintEngine* theWrappedObject) const; + bool isExtended(QPaintEngine* theWrappedObject) const; + QPaintDevice* paintDevice(QPaintEngine* theWrappedObject) const; + QPainter* painter(QPaintEngine* theWrappedObject) const; + void setActive(QPaintEngine* theWrappedObject, bool newState); + void setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + void setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip); + void setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect); + void syncState(QPaintEngine* theWrappedObject); + QRegion systemClip(QPaintEngine* theWrappedObject) const; + QRect systemRect(QPaintEngine* theWrappedObject) const; + bool testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + QPaintEngine::Type type(QPaintEngine* theWrappedObject) const; + QPaintEngine::Type py_q_type(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_type());} + void updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state); + void py_q_updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_updateState(state));} +}; + + + + + +class PythonQtShell_QPaintEngineState : public QPaintEngineState +{ +public: + PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEngineState(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPaintEngineState : public QObject +{ Q_OBJECT +public: +public slots: +QPaintEngineState* new_QPaintEngineState(); +void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } + QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const; + Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const; + QBrush brush(QPaintEngineState* theWrappedObject) const; + bool brushNeedsResolving(QPaintEngineState* theWrappedObject) const; + QPointF brushOrigin(QPaintEngineState* theWrappedObject) const; + Qt::ClipOperation clipOperation(QPaintEngineState* theWrappedObject) const; + QPainterPath clipPath(QPaintEngineState* theWrappedObject) const; + QRegion clipRegion(QPaintEngineState* theWrappedObject) const; + QPainter::CompositionMode compositionMode(QPaintEngineState* theWrappedObject) const; + QFont font(QPaintEngineState* theWrappedObject) const; + bool isClipEnabled(QPaintEngineState* theWrappedObject) const; + QMatrix matrix(QPaintEngineState* theWrappedObject) const; + qreal opacity(QPaintEngineState* theWrappedObject) const; + QPainter* painter(QPaintEngineState* theWrappedObject) const; + QPen pen(QPaintEngineState* theWrappedObject) const; + bool penNeedsResolving(QPaintEngineState* theWrappedObject) const; + QPainter::RenderHints renderHints(QPaintEngineState* theWrappedObject) const; + QPaintEngine::DirtyFlags state(QPaintEngineState* theWrappedObject) const; + QTransform transform(QPaintEngineState* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPaintEvent : public QPaintEvent +{ +public: + PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(nullptr) {}; + PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPaintEvent : public QObject +{ Q_OBJECT +public: +public slots: +QPaintEvent* new_QPaintEvent(const QRect& paintRect); +QPaintEvent* new_QPaintEvent(const QRegion& paintRegion); +void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } + const QRect* rect(QPaintEvent* theWrappedObject) const; + const QRegion* region(QPaintEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPainter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CompositionMode PixmapFragmentHint RenderHint ) +Q_FLAGS(PixmapFragmentHints RenderHints ) +enum CompositionMode{ + CompositionMode_SourceOver = QPainter::CompositionMode_SourceOver, CompositionMode_DestinationOver = QPainter::CompositionMode_DestinationOver, CompositionMode_Clear = QPainter::CompositionMode_Clear, CompositionMode_Source = QPainter::CompositionMode_Source, CompositionMode_Destination = QPainter::CompositionMode_Destination, CompositionMode_SourceIn = QPainter::CompositionMode_SourceIn, CompositionMode_DestinationIn = QPainter::CompositionMode_DestinationIn, CompositionMode_SourceOut = QPainter::CompositionMode_SourceOut, CompositionMode_DestinationOut = QPainter::CompositionMode_DestinationOut, CompositionMode_SourceAtop = QPainter::CompositionMode_SourceAtop, CompositionMode_DestinationAtop = QPainter::CompositionMode_DestinationAtop, CompositionMode_Xor = QPainter::CompositionMode_Xor, CompositionMode_Plus = QPainter::CompositionMode_Plus, CompositionMode_Multiply = QPainter::CompositionMode_Multiply, CompositionMode_Screen = QPainter::CompositionMode_Screen, CompositionMode_Overlay = QPainter::CompositionMode_Overlay, CompositionMode_Darken = QPainter::CompositionMode_Darken, CompositionMode_Lighten = QPainter::CompositionMode_Lighten, CompositionMode_ColorDodge = QPainter::CompositionMode_ColorDodge, CompositionMode_ColorBurn = QPainter::CompositionMode_ColorBurn, CompositionMode_HardLight = QPainter::CompositionMode_HardLight, CompositionMode_SoftLight = QPainter::CompositionMode_SoftLight, CompositionMode_Difference = QPainter::CompositionMode_Difference, CompositionMode_Exclusion = QPainter::CompositionMode_Exclusion, RasterOp_SourceOrDestination = QPainter::RasterOp_SourceOrDestination, RasterOp_SourceAndDestination = QPainter::RasterOp_SourceAndDestination, RasterOp_SourceXorDestination = QPainter::RasterOp_SourceXorDestination, RasterOp_NotSourceAndNotDestination = QPainter::RasterOp_NotSourceAndNotDestination, RasterOp_NotSourceOrNotDestination = QPainter::RasterOp_NotSourceOrNotDestination, RasterOp_NotSourceXorDestination = QPainter::RasterOp_NotSourceXorDestination, RasterOp_NotSource = QPainter::RasterOp_NotSource, RasterOp_NotSourceAndDestination = QPainter::RasterOp_NotSourceAndDestination, RasterOp_SourceAndNotDestination = QPainter::RasterOp_SourceAndNotDestination, RasterOp_NotSourceOrDestination = QPainter::RasterOp_NotSourceOrDestination, RasterOp_SourceOrNotDestination = QPainter::RasterOp_SourceOrNotDestination, RasterOp_ClearDestination = QPainter::RasterOp_ClearDestination, RasterOp_SetDestination = QPainter::RasterOp_SetDestination, RasterOp_NotDestination = QPainter::RasterOp_NotDestination}; +enum PixmapFragmentHint{ + OpaqueHint = QPainter::OpaqueHint}; +enum RenderHint{ + Antialiasing = QPainter::Antialiasing, TextAntialiasing = QPainter::TextAntialiasing, SmoothPixmapTransform = QPainter::SmoothPixmapTransform, HighQualityAntialiasing = QPainter::HighQualityAntialiasing, NonCosmeticDefaultPen = QPainter::NonCosmeticDefaultPen, Qt4CompatiblePainting = QPainter::Qt4CompatiblePainting, LosslessImageRendering = QPainter::LosslessImageRendering}; +Q_DECLARE_FLAGS(PixmapFragmentHints, PixmapFragmentHint) +Q_DECLARE_FLAGS(RenderHints, RenderHint) +public slots: +QPainter* new_QPainter(); +QPainter* new_QPainter(QPaintDevice* arg__1); +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); + void beginNativePainting(QPainter* theWrappedObject); + QRect boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text); + QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o = QTextOption()); + QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text); + QRect boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text); + const QBrush* brush(QPainter* theWrappedObject) const; + QPoint brushOrigin(QPainter* theWrappedObject) const; + QRectF clipBoundingRect(QPainter* theWrappedObject) const; + QPainterPath clipPath(QPainter* theWrappedObject) const; + QRegion clipRegion(QPainter* theWrappedObject) const; + QMatrix combinedMatrix(QPainter* theWrappedObject) const; + QTransform combinedTransform(QPainter* theWrappedObject) const; + QPainter::CompositionMode compositionMode(QPainter* theWrappedObject) const; + QPaintDevice* device(QPainter* theWrappedObject) const; + const QMatrix* deviceMatrix(QPainter* theWrappedObject) const; + const QTransform* deviceTransform(QPainter* theWrappedObject) const; + void drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon); + void drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon); + void drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry); + void drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry); + void drawEllipse(QPainter* theWrappedObject, const QRect& r); + void drawEllipse(QPainter* theWrappedObject, const QRectF& r); + void drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h); + void drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun); + void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawLine(QPainter* theWrappedObject, const QLine& line); + void drawLine(QPainter* theWrappedObject, const QLineF& line); + void drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2); + void drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2); + void drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2); + void drawLines(QPainter* theWrappedObject, const QVector& lines); + void drawLines(QPainter* theWrappedObject, const QVector& lines); + void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); + void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); + void drawPath(QPainter* theWrappedObject, const QPainterPath& path); + void drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture); + void drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture); + void drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture); + void drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr); + void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr); + void drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect); + void drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect); + void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh); + void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh); + void drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints = QPainter::PixmapFragmentHints()); + void drawPoint(QPainter* theWrappedObject, const QPoint& p); + void drawPoint(QPainter* theWrappedObject, const QPointF& pt); + void drawPoint(QPainter* theWrappedObject, int x, int y); + void drawPoints(QPainter* theWrappedObject, const QPolygon& points); + void drawPoints(QPainter* theWrappedObject, const QPolygonF& points); + void drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon); + void drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline); + void drawRect(QPainter* theWrappedObject, const QRect& rect); + void drawRect(QPainter* theWrappedObject, const QRectF& rect); + void drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h); + void drawRects(QPainter* theWrappedObject, const QVector& rectangles); + void drawRects(QPainter* theWrappedObject, const QVector& rectangles); + void drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround = 25, int yround = 25); + void drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround = 25, int yround = 25); + void drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5 = 25, int arg__6 = 25); + void drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText); + void drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText); + void drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText); + void drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s); + void drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s); + void drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br = nullptr); + void drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o = QTextOption()); + void drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br = nullptr); + void drawText(QPainter* theWrappedObject, int x, int y, const QString& s); + void drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br = nullptr); + void drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti); + void drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti); + void drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti); + void drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3 = QPoint()); + void drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset = QPointF()); + void drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx = 0, int sy = 0); + bool end(QPainter* theWrappedObject); + void endNativePainting(QPainter* theWrappedObject); + void eraseRect(QPainter* theWrappedObject, const QRect& arg__1); + void eraseRect(QPainter* theWrappedObject, const QRectF& arg__1); + void eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h); + void fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush); + void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2); + void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color); + void fillRect(QPainter* theWrappedObject, const QRect& r, QGradient::Preset preset); + void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2); + void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color); + void fillRect(QPainter* theWrappedObject, const QRectF& r, QGradient::Preset preset); + void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, QGradient::Preset preset); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color); + const QFont* font(QPainter* theWrappedObject) const; + QFontInfo fontInfo(QPainter* theWrappedObject) const; + QFontMetrics fontMetrics(QPainter* theWrappedObject) const; + bool hasClipping(QPainter* theWrappedObject) const; + void initFrom(QPainter* theWrappedObject, const QPaintDevice* device); + bool isActive(QPainter* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QPainter* theWrappedObject) const; + qreal opacity(QPainter* theWrappedObject) const; + QPaintEngine* paintEngine(QPainter* theWrappedObject) const; + const QPen* pen(QPainter* theWrappedObject) const; + QPaintDevice* static_QPainter_redirected(const QPaintDevice* device, QPoint* offset = nullptr); + QPainter::RenderHints renderHints(QPainter* theWrappedObject) const; + void resetMatrix(QPainter* theWrappedObject); + void resetTransform(QPainter* theWrappedObject); + void restore(QPainter* theWrappedObject); + void static_QPainter_restoreRedirected(const QPaintDevice* device); + void rotate(QPainter* theWrappedObject, qreal a); + void save(QPainter* theWrappedObject); + void scale(QPainter* theWrappedObject, qreal sx, qreal sy); + void setBackground(QPainter* theWrappedObject, const QBrush& bg); + void setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode); + void setBrush(QPainter* theWrappedObject, const QBrush& brush); + void setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1); + void setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1); + void setBrushOrigin(QPainter* theWrappedObject, int x, int y); + void setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipping(QPainter* theWrappedObject, bool enable); + void setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode); + void setFont(QPainter* theWrappedObject, const QFont& f); + void setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction); + void setOpacity(QPainter* theWrappedObject, qreal opacity); + void setPen(QPainter* theWrappedObject, Qt::PenStyle style); + void setPen(QPainter* theWrappedObject, const QColor& color); + void setPen(QPainter* theWrappedObject, const QPen& pen); + void static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset = QPoint()); + void setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on = true); + void setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on = true); + void setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine = false); + void setViewTransformEnabled(QPainter* theWrappedObject, bool enable); + void setViewport(QPainter* theWrappedObject, const QRect& viewport); + void setViewport(QPainter* theWrappedObject, int x, int y, int w, int h); + void setWindow(QPainter* theWrappedObject, const QRect& window); + void setWindow(QPainter* theWrappedObject, int x, int y, int w, int h); + void setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine = false); + void setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled); + void setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine = false); + void shear(QPainter* theWrappedObject, qreal sh, qreal sv); + void strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen); + bool testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const; + const QTransform* transform(QPainter* theWrappedObject) const; + void translate(QPainter* theWrappedObject, const QPoint& offset); + void translate(QPainter* theWrappedObject, const QPointF& offset); + void translate(QPainter* theWrappedObject, qreal dx, qreal dy); + bool viewTransformEnabled(QPainter* theWrappedObject) const; + QRect viewport(QPainter* theWrappedObject) const; + QRect window(QPainter* theWrappedObject) const; + const QMatrix* worldMatrix(QPainter* theWrappedObject) const; + bool worldMatrixEnabled(QPainter* theWrappedObject) const; + const QTransform* worldTransform(QPainter* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPainterPath : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ElementType ) +enum ElementType{ + MoveToElement = QPainterPath::MoveToElement, LineToElement = QPainterPath::LineToElement, CurveToElement = QPainterPath::CurveToElement, CurveToDataElement = QPainterPath::CurveToDataElement}; +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 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); + void addPath(QPainterPath* theWrappedObject, const QPainterPath& path); + void addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon); + void addRect(QPainterPath* theWrappedObject, const QRectF& rect); + void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void addRegion(QPainterPath* theWrappedObject, const QRegion& region); + void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness); + void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd); + void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness); + void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd); + void addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text); + void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text); + qreal angleAtPercent(QPainterPath* theWrappedObject, qreal t) const; + void arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle); + void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle); + void arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength); + void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); + QRectF boundingRect(QPainterPath* theWrappedObject) const; + int capacity(QPainterPath* theWrappedObject) const; + void clear(QPainterPath* theWrappedObject); + void closeSubpath(QPainterPath* theWrappedObject); + void connectPath(QPainterPath* theWrappedObject, const QPainterPath& path); + bool contains(QPainterPath* theWrappedObject, const QPainterPath& p) const; + bool contains(QPainterPath* theWrappedObject, const QPointF& pt) const; + bool contains(QPainterPath* theWrappedObject, const QRectF& rect) const; + QRectF controlPointRect(QPainterPath* theWrappedObject) const; + void cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt); + void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); + QPointF currentPosition(QPainterPath* theWrappedObject) const; + QPainterPath::Element elementAt(QPainterPath* theWrappedObject, int i) const; + int elementCount(QPainterPath* theWrappedObject) const; + Qt::FillRule fillRule(QPainterPath* theWrappedObject) const; + QPainterPath intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const; + bool intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const; + bool intersects(QPainterPath* theWrappedObject, const QRectF& rect) const; + bool isEmpty(QPainterPath* theWrappedObject) const; + qreal length(QPainterPath* theWrappedObject) const; + void lineTo(QPainterPath* theWrappedObject, const QPointF& p); + void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y); + void moveTo(QPainterPath* theWrappedObject, const QPointF& p); + void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y); + bool __ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath __and__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __iand__(QPainterPath* theWrappedObject, const QPainterPath& other); + QPainterPath __mul__(QPainterPath* theWrappedObject, const QMatrix& m); + QPainterPath __mul__(QPainterPath* theWrappedObject, const QTransform& m); + QPainterPath __add__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __iadd__(QPainterPath* theWrappedObject, const QPainterPath& other); + QPainterPath __sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __isub__(QPainterPath* theWrappedObject, const QPainterPath& other); + void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1); + QPainterPath __or__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __ior__(QPainterPath* theWrappedObject, const QPainterPath& other); + qreal percentAtLength(QPainterPath* theWrappedObject, qreal t) const; + QPointF pointAtPercent(QPainterPath* theWrappedObject, qreal t) const; + void quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt); + void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); + void reserve(QPainterPath* theWrappedObject, int size); + void setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y); + void setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule); + QPainterPath simplified(QPainterPath* theWrappedObject) const; + qreal slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const; + QPainterPath subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const; + QPainterPath subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const; + void swap(QPainterPath* theWrappedObject, QPainterPath& other); + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const; + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix = QTransform()) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix = QTransform()) const; + QPainterPath toReversed(QPainterPath* theWrappedObject) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix = QTransform()) const; + void translate(QPainterPath* theWrappedObject, const QPointF& offset); + void translate(QPainterPath* theWrappedObject, qreal dx, qreal dy); + QPainterPath translated(QPainterPath* theWrappedObject, const QPointF& offset) const; + QPainterPath translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const; + QPainterPath united(QPainterPath* theWrappedObject, const QPainterPath& r) const; + QString py_toString(QPainterPath*); + bool __nonzero__(QPainterPath* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QPainterPathStroker : public QObject +{ Q_OBJECT +public: +public slots: +QPainterPathStroker* new_QPainterPathStroker(); +QPainterPathStroker* new_QPainterPathStroker(const QPen& pen); +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; + qreal dashOffset(QPainterPathStroker* theWrappedObject) const; + QVector dashPattern(QPainterPathStroker* theWrappedObject) const; + Qt::PenJoinStyle joinStyle(QPainterPathStroker* theWrappedObject) const; + qreal miterLimit(QPainterPathStroker* theWrappedObject) const; + void setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style); + void setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold); + void setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset); + void setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1); + void setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern); + void setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style); + void setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length); + void setWidth(QPainterPathStroker* theWrappedObject, qreal width); + qreal width(QPainterPathStroker* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPainterPath__Element : public QPainterPath::Element +{ +public: + PythonQtShell_QPainterPath__Element():QPainterPath::Element(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPainterPath__Element(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPainterPath__Element : public QObject +{ Q_OBJECT +public: +public slots: +QPainterPath::Element* new_QPainterPath__Element(); +QPainterPath::Element* new_QPainterPath__Element(const QPainterPath::Element& other) { +PythonQtShell_QPainterPath__Element* a = new PythonQtShell_QPainterPath__Element(); +*((QPainterPath::Element*)a) = other; +return a; } +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; + QPointF operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const; + bool __ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; + bool __eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; +void py_set_type(QPainterPath::Element* theWrappedObject, QPainterPath::ElementType type){ theWrappedObject->type = type; } +QPainterPath::ElementType py_get_type(QPainterPath::Element* theWrappedObject){ return theWrappedObject->type; } +void py_set_x(QPainterPath::Element* theWrappedObject, qreal x){ theWrappedObject->x = x; } +qreal py_get_x(QPainterPath::Element* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QPainterPath::Element* theWrappedObject, qreal y){ theWrappedObject->y = y; } +qreal py_get_y(QPainterPath::Element* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QPainter__PixmapFragment : public QPainter::PixmapFragment +{ +public: + PythonQtShell_QPainter__PixmapFragment():QPainter::PixmapFragment(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPainter__PixmapFragment(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPainter__PixmapFragment : public QObject +{ Q_OBJECT +public: +public slots: +QPainter::PixmapFragment* new_QPainter__PixmapFragment(); +QPainter::PixmapFragment* new_QPainter__PixmapFragment(const QPainter::PixmapFragment& other) { +PythonQtShell_QPainter__PixmapFragment* a = new PythonQtShell_QPainter__PixmapFragment(); +*((QPainter::PixmapFragment*)a) = other; +return a; } +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; } +void py_set_opacity(QPainter::PixmapFragment* theWrappedObject, qreal opacity){ theWrappedObject->opacity = opacity; } +qreal py_get_opacity(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->opacity; } +void py_set_rotation(QPainter::PixmapFragment* theWrappedObject, qreal rotation){ theWrappedObject->rotation = rotation; } +qreal py_get_rotation(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->rotation; } +void py_set_scaleX(QPainter::PixmapFragment* theWrappedObject, qreal scaleX){ theWrappedObject->scaleX = scaleX; } +qreal py_get_scaleX(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleX; } +void py_set_scaleY(QPainter::PixmapFragment* theWrappedObject, qreal scaleY){ theWrappedObject->scaleY = scaleY; } +qreal py_get_scaleY(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleY; } +void py_set_sourceLeft(QPainter::PixmapFragment* theWrappedObject, qreal sourceLeft){ theWrappedObject->sourceLeft = sourceLeft; } +qreal py_get_sourceLeft(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceLeft; } +void py_set_sourceTop(QPainter::PixmapFragment* theWrappedObject, qreal sourceTop){ theWrappedObject->sourceTop = sourceTop; } +qreal py_get_sourceTop(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceTop; } +void py_set_width(QPainter::PixmapFragment* theWrappedObject, qreal width){ theWrappedObject->width = width; } +qreal py_get_width(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->width; } +void py_set_x(QPainter::PixmapFragment* theWrappedObject, qreal x){ theWrappedObject->x = x; } +qreal py_get_x(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QPainter::PixmapFragment* theWrappedObject, qreal y){ theWrappedObject->y = y; } +qreal py_get_y(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QPanGesture : public QPanGesture +{ +public: + PythonQtShell_QPanGesture(QObject* parent = nullptr):QPanGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPanGesture() 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_QPanGesture : public QObject +{ Q_OBJECT +public: +public slots: +QPanGesture* new_QPanGesture(QObject* parent = nullptr); +void delete_QPanGesture(QPanGesture* obj) { delete obj; } + qreal acceleration(QPanGesture* theWrappedObject) const; + QPointF delta(QPanGesture* theWrappedObject) const; + QPointF lastOffset(QPanGesture* theWrappedObject) const; + QPointF offset(QPanGesture* theWrappedObject) const; + void setAcceleration(QPanGesture* theWrappedObject, qreal value); + void setLastOffset(QPanGesture* theWrappedObject, const QPointF& value); + void setOffset(QPanGesture* theWrappedObject, const QPointF& value); +}; + + + + + +class PythonQtShell_QPdfWriter : public QPdfWriter +{ +public: + 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 +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric id) const { return this->metric(id); } +inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric id) const { return QPdfWriter::metric(id); } +inline bool py_q_newPage() { return QPdfWriter::newPage(); } +inline QPaintEngine* py_q_paintEngine() const { return QPdfWriter::paintEngine(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPdfWriter::setMargins(m); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPdfWriter::setPageSize(size); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPdfWriter::setPageSizeMM(size); } +}; + +class PythonQtWrapper_QPdfWriter : public QObject +{ Q_OBJECT +public: +public slots: +QPdfWriter* new_QPdfWriter(QIODevice* device); +QPdfWriter* new_QPdfWriter(const QString& filename); +void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } + void addFileAttachment(QPdfWriter* theWrappedObject, const QString& fileName, const QByteArray& data, const QString& mimeType = QString()); + QString creator(QPdfWriter* theWrappedObject) const; + QByteArray documentXmpMetadata(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());} + QPaintEngine* py_q_paintEngine(QPdfWriter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_paintEngine());} + QPagedPaintDevice::PdfVersion pdfVersion(QPdfWriter* theWrappedObject) const; + int resolution(QPdfWriter* theWrappedObject) const; + void setCreator(QPdfWriter* theWrappedObject, const QString& creator); + void setDocumentXmpMetadata(QPdfWriter* theWrappedObject, const QByteArray& xmpMetadata); + void py_q_setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setMargins(m));} + void py_q_setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSize(size));} + void py_q_setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSizeMM(size));} + void setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version); + void setResolution(QPdfWriter* theWrappedObject, int resolution); + void setTitle(QPdfWriter* theWrappedObject, const QString& title); + QString title(QPdfWriter* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPicture : public QPicture +{ +public: + PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(nullptr) {}; + + ~PythonQtShell_QPicture() override; + +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; +}; + +class PythonQtPublicPromoter_QPicture : public QPicture +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric m) const { return this->metric(m); } +inline int py_q_devType() const { return QPicture::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric m) const { return QPicture::metric(m); } +inline QPaintEngine* py_q_paintEngine() const { return QPicture::paintEngine(); } +}; + +class PythonQtWrapper_QPicture : public QObject +{ Q_OBJECT +public: +public slots: +QPicture* new_QPicture(const QPicture& arg__1); +QPicture* new_QPicture(int formatVersion = -1); +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());} + bool isNull(QPicture* theWrappedObject) const; + bool load(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); + bool load(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); + int py_q_metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_metric(m));} + void writeTo(QPicture* theWrappedObject, QDataStream& arg__1); + void readFrom(QPicture* theWrappedObject, QDataStream& arg__1); + QPaintEngine* py_q_paintEngine(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_paintEngine());} + bool play(QPicture* theWrappedObject, QPainter* p); + bool save(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); + bool save(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); + void setBoundingRect(QPicture* theWrappedObject, const QRect& r); + uint size(QPicture* theWrappedObject) const; + void swap(QPicture* theWrappedObject, QPicture& other); + bool __nonzero__(QPicture* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin +{ +public: + 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 +{ public: +inline bool py_q_installIOHandler(const QString& format) { return this->installIOHandler(format); } +inline bool py_q_loadPicture(const QString& format, const QString& filename, QPicture* pic) { return QPictureFormatPlugin::loadPicture(format, filename, pic); } +inline bool py_q_savePicture(const QString& format, const QString& filename, const QPicture& pic) { return QPictureFormatPlugin::savePicture(format, filename, pic); } +}; + +class PythonQtWrapper_QPictureFormatPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QPictureFormatPlugin* new_QPictureFormatPlugin(QObject* parent = nullptr); +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); + bool py_q_loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_loadPicture(format, filename, pic));} + bool savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic); + bool py_q_savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_savePicture(format, filename, pic));} +}; + + + + + +class PythonQtWrapper_QPictureIO : public QObject +{ Q_OBJECT +public: +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; } + QString description(QPictureIO* theWrappedObject) const; + QString fileName(QPictureIO* theWrappedObject) const; + const char* format(QPictureIO* theWrappedObject) const; + float gamma(QPictureIO* theWrappedObject) const; + QList static_QPictureIO_inputFormats(); + QIODevice* ioDevice(QPictureIO* theWrappedObject) const; + QList static_QPictureIO_outputFormats(); + const char* parameters(QPictureIO* theWrappedObject) const; + const QPicture* picture(QPictureIO* theWrappedObject) const; + QByteArray static_QPictureIO_pictureFormat(QIODevice* arg__1); + QByteArray static_QPictureIO_pictureFormat(const QString& fileName); + int quality(QPictureIO* theWrappedObject) const; + bool read(QPictureIO* theWrappedObject); + void setDescription(QPictureIO* theWrappedObject, const QString& arg__1); + void setFileName(QPictureIO* theWrappedObject, const QString& arg__1); + void setFormat(QPictureIO* theWrappedObject, const char* arg__1); + void setGamma(QPictureIO* theWrappedObject, float arg__1); + void setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1); + void setParameters(QPictureIO* theWrappedObject, const char* arg__1); + void setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1); + void setQuality(QPictureIO* theWrappedObject, int arg__1); + void setStatus(QPictureIO* theWrappedObject, int arg__1); + int status(QPictureIO* theWrappedObject) const; + bool write(QPictureIO* theWrappedObject); +}; + + + + + +class PythonQtShell_QPinchGesture : public QPinchGesture +{ +public: + PythonQtShell_QPinchGesture(QObject* parent = nullptr):QPinchGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPinchGesture() 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_QPinchGesture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ChangeFlag ) +Q_FLAGS(ChangeFlags ) +enum ChangeFlag{ + ScaleFactorChanged = QPinchGesture::ScaleFactorChanged, RotationAngleChanged = QPinchGesture::RotationAngleChanged, CenterPointChanged = QPinchGesture::CenterPointChanged}; +Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) +public slots: +QPinchGesture* new_QPinchGesture(QObject* parent = nullptr); +void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } + QPointF centerPoint(QPinchGesture* theWrappedObject) const; + QPinchGesture::ChangeFlags changeFlags(QPinchGesture* theWrappedObject) const; + QPointF lastCenterPoint(QPinchGesture* theWrappedObject) const; + qreal lastRotationAngle(QPinchGesture* theWrappedObject) const; + qreal lastScaleFactor(QPinchGesture* theWrappedObject) const; + qreal rotationAngle(QPinchGesture* theWrappedObject) const; + qreal scaleFactor(QPinchGesture* theWrappedObject) const; + void setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); + void setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value); + void setRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setScaleFactor(QPinchGesture* theWrappedObject, qreal value); + void setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); + void setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value); + QPointF startCenterPoint(QPinchGesture* theWrappedObject) const; + QPinchGesture::ChangeFlags totalChangeFlags(QPinchGesture* theWrappedObject) const; + qreal totalRotationAngle(QPinchGesture* theWrappedObject) const; + qreal totalScaleFactor(QPinchGesture* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPixelFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AlphaPosition AlphaPremultiplied AlphaUsage ByteOrder ColorModel TypeInterpretation YUVLayout ) +enum AlphaPosition{ + AtBeginning = QPixelFormat::AtBeginning, AtEnd = QPixelFormat::AtEnd}; +enum AlphaPremultiplied{ + NotPremultiplied = QPixelFormat::NotPremultiplied, Premultiplied = QPixelFormat::Premultiplied}; +enum AlphaUsage{ + UsesAlpha = QPixelFormat::UsesAlpha, IgnoresAlpha = QPixelFormat::IgnoresAlpha}; +enum ByteOrder{ + LittleEndian = QPixelFormat::LittleEndian, BigEndian = QPixelFormat::BigEndian, CurrentSystemEndian = QPixelFormat::CurrentSystemEndian}; +enum ColorModel{ + RGB = QPixelFormat::RGB, BGR = QPixelFormat::BGR, Indexed = QPixelFormat::Indexed, Grayscale = QPixelFormat::Grayscale, CMYK = QPixelFormat::CMYK, HSL = QPixelFormat::HSL, HSV = QPixelFormat::HSV, YUV = QPixelFormat::YUV, Alpha = QPixelFormat::Alpha}; +enum TypeInterpretation{ + UnsignedInteger = QPixelFormat::UnsignedInteger, UnsignedShort = QPixelFormat::UnsignedShort, UnsignedByte = QPixelFormat::UnsignedByte, FloatingPoint = QPixelFormat::FloatingPoint}; +enum YUVLayout{ + YUV444 = QPixelFormat::YUV444, YUV422 = QPixelFormat::YUV422, YUV411 = QPixelFormat::YUV411, YUV420P = QPixelFormat::YUV420P, YUV420SP = QPixelFormat::YUV420SP, YV12 = QPixelFormat::YV12, UYVY = QPixelFormat::UYVY, YUYV = QPixelFormat::YUYV, NV12 = QPixelFormat::NV12, NV21 = QPixelFormat::NV21, IMC1 = QPixelFormat::IMC1, IMC2 = QPixelFormat::IMC2, IMC3 = QPixelFormat::IMC3, IMC4 = QPixelFormat::IMC4, Y8 = QPixelFormat::Y8, Y16 = QPixelFormat::Y16}; +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; } + QPixelFormat::AlphaPosition alphaPosition(QPixelFormat* theWrappedObject) const; + uchar alphaSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::AlphaUsage alphaUsage(QPixelFormat* theWrappedObject) const; + uchar bitsPerPixel(QPixelFormat* theWrappedObject) const; + uchar blackSize(QPixelFormat* theWrappedObject) const; + uchar blueSize(QPixelFormat* theWrappedObject) const; + uchar brightnessSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::ByteOrder byteOrder(QPixelFormat* theWrappedObject) const; + uchar channelCount(QPixelFormat* theWrappedObject) const; + QPixelFormat::ColorModel colorModel(QPixelFormat* theWrappedObject) const; + uchar cyanSize(QPixelFormat* theWrappedObject) const; + uchar greenSize(QPixelFormat* theWrappedObject) const; + uchar hueSize(QPixelFormat* theWrappedObject) const; + uchar lightnessSize(QPixelFormat* theWrappedObject) const; + uchar magentaSize(QPixelFormat* theWrappedObject) const; + bool __ne__(QPixelFormat* theWrappedObject, QPixelFormat fmt2); + bool __eq__(QPixelFormat* theWrappedObject, QPixelFormat fmt2); + QPixelFormat::AlphaPremultiplied premultiplied(QPixelFormat* theWrappedObject) const; + uchar redSize(QPixelFormat* theWrappedObject) const; + uchar saturationSize(QPixelFormat* theWrappedObject) const; + uchar subEnum(QPixelFormat* theWrappedObject) const; + QPixelFormat::TypeInterpretation typeInterpretation(QPixelFormat* theWrappedObject) const; + uchar yellowSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::YUVLayout yuvLayout(QPixelFormat* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPixmapCache : public QPixmapCache +{ +public: + PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPixmapCache(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPixmapCache : public QObject +{ Q_OBJECT +public: +public slots: +QPixmapCache* new_QPixmapCache(); +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); + QPixmap* static_QPixmapCache_find(const QString& key); + bool static_QPixmapCache_find(const QString& key, QPixmap& pixmap); + bool static_QPixmapCache_find(const QString& key, QPixmap* pixmap); + QPixmapCache::Key static_QPixmapCache_insert(const QPixmap& pixmap); + bool static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap); + void static_QPixmapCache_remove(const QPixmapCache::Key& key); + void static_QPixmapCache_remove(const QString& key); + bool static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap); + void static_QPixmapCache_setCacheLimit(int arg__1); +}; + + + + + +class PythonQtWrapper_QPixmapCache__Key : public QObject +{ Q_OBJECT +public: +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; } + 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); + bool __eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; + void swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other); + bool __nonzero__(QPixmapCache::Key* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout +{ +public: + 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 +{ public: +inline void promoted_documentChanged(int from, int arg__2, int charsAdded) { this->documentChanged(from, arg__2, charsAdded); } +inline QRectF py_q_blockBoundingRect(const QTextBlock& block) const { return QPlainTextDocumentLayout::blockBoundingRect(block); } +inline void py_q_documentChanged(int from, int arg__2, int charsAdded) { QPlainTextDocumentLayout::documentChanged(from, arg__2, charsAdded); } +inline QSizeF py_q_documentSize() const { return QPlainTextDocumentLayout::documentSize(); } +inline void py_q_draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { QPlainTextDocumentLayout::draw(arg__1, arg__2); } +inline QRectF py_q_frameBoundingRect(QTextFrame* arg__1) const { return QPlainTextDocumentLayout::frameBoundingRect(arg__1); } +inline int py_q_hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); } +inline int py_q_pageCount() const { return QPlainTextDocumentLayout::pageCount(); } +}; + +class PythonQtWrapper_QPlainTextDocumentLayout : public QObject +{ Q_OBJECT +public: +public slots: +QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); +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));} + QSizeF py_q_documentSize(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentSize());} + void py_q_draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_draw(arg__1, arg__2));} + void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; + QRectF py_q_frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_frameBoundingRect(arg__1));} + int py_q_hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_hitTest(arg__1, arg__2));} + int py_q_pageCount(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_pageCount());} + void requestUpdate(QPlainTextDocumentLayout* theWrappedObject); + void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width); +}; + + + + + +class PythonQtShell_QPlainTextEdit : public QPlainTextEdit +{ +public: + 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 +{ public: +inline QRectF promoted_blockBoundingGeometry(const QTextBlock& block) const { return this->blockBoundingGeometry(block); } +inline QRectF promoted_blockBoundingRect(const QTextBlock& block) const { return this->blockBoundingRect(block); } +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline QPointF promoted_contentOffset() const { return this->contentOffset(); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } +inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline QTextBlock promoted_firstVisibleBlock() const { return this->firstVisibleBlock(); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline QAbstractTextDocumentLayout::PaintContext promoted_getPaintContext() const { return this->getPaintContext(); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void promoted_zoomInF(float range) { this->zoomInF(range); } +inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QPlainTextEdit::canInsertFromMimeData(source); } +inline void py_q_changeEvent(QEvent* e) { QPlainTextEdit::changeEvent(e); } +inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QPlainTextEdit::contextMenuEvent(e); } +inline QMimeData* py_q_createMimeDataFromSelection() const { return QPlainTextEdit::createMimeDataFromSelection(); } +inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QPlainTextEdit::doSetTextCursor(cursor); } +inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QPlainTextEdit::dragEnterEvent(e); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QPlainTextEdit::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QPlainTextEdit::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* e) { QPlainTextEdit::dropEvent(e); } +inline bool py_q_event(QEvent* e) { return QPlainTextEdit::event(e); } +inline void py_q_focusInEvent(QFocusEvent* e) { QPlainTextEdit::focusInEvent(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QPlainTextEdit::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QPlainTextEdit::focusOutEvent(e); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QPlainTextEdit::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QPlainTextEdit::inputMethodQuery(property); } +inline void py_q_insertFromMimeData(const QMimeData* source) { QPlainTextEdit::insertFromMimeData(source); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QPlainTextEdit::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QPlainTextEdit::keyReleaseEvent(e); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QPlainTextEdit::loadResource(type, name); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QPlainTextEdit::mouseDoubleClickEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QPlainTextEdit::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QPlainTextEdit::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QPlainTextEdit::mouseReleaseEvent(e); } +inline void py_q_paintEvent(QPaintEvent* e) { QPlainTextEdit::paintEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QPlainTextEdit::resizeEvent(e); } +inline void py_q_scrollContentsBy(int dx, int dy) { QPlainTextEdit::scrollContentsBy(dx, dy); } +inline void py_q_showEvent(QShowEvent* arg__1) { QPlainTextEdit::showEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* e) { QPlainTextEdit::timerEvent(e); } +inline void py_q_wheelEvent(QWheelEvent* e) { QPlainTextEdit::wheelEvent(e); } +}; + +class PythonQtWrapper_QPlainTextEdit : public QObject +{ Q_OBJECT +public: +public slots: +QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = nullptr); +QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = nullptr); +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; + QRectF blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; + int blockCount(QPlainTextEdit* theWrappedObject) const; + bool canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const; + bool py_q_canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} + bool canPaste(QPlainTextEdit* theWrappedObject) const; + bool centerOnScroll(QPlainTextEdit* theWrappedObject) const; + void py_q_changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_changeEvent(e));} + QPointF contentOffset(QPlainTextEdit* theWrappedObject) const; + void py_q_contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} + QMimeData* createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const; + QMimeData* py_q_createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} + QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject); + QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position); + QTextCharFormat currentCharFormat(QPlainTextEdit* theWrappedObject) const; + QTextCursor cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; + QRect cursorRect(QPlainTextEdit* theWrappedObject) const; + QRect cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const; + int cursorWidth(QPlainTextEdit* theWrappedObject) const; + void doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); + void py_q_doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} + QTextDocument* document(QPlainTextEdit* theWrappedObject) const; + QString documentTitle(QPlainTextEdit* theWrappedObject) const; + void py_q_dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} + void py_q_dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dropEvent(e));} + void ensureCursorVisible(QPlainTextEdit* theWrappedObject); + bool py_q_event(QPlainTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_event(e));} + QList extraSelections(QPlainTextEdit* theWrappedObject) const; + bool find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QPlainTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + QTextBlock firstVisibleBlock(QPlainTextEdit* theWrappedObject) const; + void py_q_focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} + bool py_q_focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} + QAbstractTextDocumentLayout::PaintContext getPaintContext(QPlainTextEdit* theWrappedObject) const; + void py_q_inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} + QVariant inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; + void insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source); + void py_q_insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} + bool isReadOnly(QPlainTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const; + void py_q_keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} + QPlainTextEdit::LineWrapMode lineWrapMode(QPlainTextEdit* theWrappedObject) const; + QVariant loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name); + QVariant py_q_loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} + int maximumBlockCount(QPlainTextEdit* theWrappedObject) const; + void mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void py_q_mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} + void py_q_mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QPlainTextEdit* theWrappedObject) const; + void py_q_paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_paintEvent(e));} + QString placeholderText(QPlainTextEdit* theWrappedObject) const; + void print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; + void py_q_resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} + void py_q_scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible); + void setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled); + void setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format); + void setCursorWidth(QPlainTextEdit* theWrappedObject, int width); + void setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document); + void setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title); + void setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections); + void setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode); + void setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum); + void setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite); + void setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText); + void setReadOnly(QPlainTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b); + void setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance); + void setTabStopWidth(QPlainTextEdit* theWrappedObject, int width); + void setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); + void setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); + void setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable); + void setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy); + void py_q_showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} + bool tabChangesFocus(QPlainTextEdit* theWrappedObject) const; + qreal tabStopDistance(QPlainTextEdit* theWrappedObject) const; + int tabStopWidth(QPlainTextEdit* theWrappedObject) const; + QTextCursor textCursor(QPlainTextEdit* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QPlainTextEdit* theWrappedObject) const; + void py_q_timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_timerEvent(e));} + QString toPlainText(QPlainTextEdit* theWrappedObject) const; + void py_q_wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} + QTextOption::WrapMode wordWrapMode(QPlainTextEdit* theWrappedObject) const; + void zoomInF(QPlainTextEdit* theWrappedObject, float range); +}; + + + + + +class PythonQtShell_QPlatformSurfaceEvent : public QPlatformSurfaceEvent +{ +public: + PythonQtShell_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType):QPlatformSurfaceEvent(surfaceEventType),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlatformSurfaceEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPlatformSurfaceEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SurfaceEventType ) +enum SurfaceEventType{ + SurfaceCreated = QPlatformSurfaceEvent::SurfaceCreated, SurfaceAboutToBeDestroyed = QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed}; +public slots: +QPlatformSurfaceEvent* new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType); +void delete_QPlatformSurfaceEvent(QPlatformSurfaceEvent* obj) { delete obj; } + QPlatformSurfaceEvent::SurfaceEventType surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp new file mode 100644 index 00000000..827d3835 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -0,0 +1,17645 @@ +#include "com_trolltech_qt_gui7.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF() +{ +return new QPolygonF(); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygon& a) +{ +return new QPolygonF(a); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygonF& a) +{ +return new QPolygonF(a); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QRectF& r) +{ +return new QPolygonF(r); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QVector& v) +{ +return new QPolygonF(v); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(int size) +{ +return new QPolygonF(size); } + +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->append(t)); +} + +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QVector& l) +{ + ( theWrappedObject->append(l)); +} + +const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QPointF* PythonQtWrapper_QPolygonF::constFirst(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QPointF* PythonQtWrapper_QPolygonF::constLast(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->contains(t)); +} + +bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const +{ + return ( theWrappedObject->containsPoint(pt, fillRule)); +} + +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->count(t)); +} + +bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QPolygonF::endsWith(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) +{ + return &( theWrappedObject->fill(t, size)); +} + +const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) +{ + return (QPolygonF::fromList(list)); +} + +int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QPolygonF::intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->isClosed()); +} + +bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QPolygonF::isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QPolygonF::length(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int len) const +{ + return ( theWrappedObject->mid(pos, len)); +} + +void PythonQtWrapper_QPolygonF::move(QPolygonF* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QPolygonF::__ne__(QPolygonF* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)!= v); +} + +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) +{ + stream << (*theWrappedObject); +} + +QPolygonF* PythonQtWrapper_QPolygonF::operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPolygonF::__eq__(QPolygonF* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)== v); +} + +void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) +{ + stream >> (*theWrappedObject); +} + +void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->prepend(t)); +} + +void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->push_front(t)); +} + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); +} + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) +{ + ( theWrappedObject->remove(i, n)); +} + +int PythonQtWrapper_QPolygonF::removeAll(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QPolygonF::removeAt(QPolygonF* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QPolygonF::removeFirst(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QPolygonF::removeLast(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QPolygonF::removeOne(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +void PythonQtWrapper_QPolygonF::shrink_to_fit(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QPolygonF::startsWith(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +void PythonQtWrapper_QPolygonF::swap(QPolygonF* theWrappedObject, QPolygonF& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QPolygonF::swapItemsAt(QPolygonF* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swapItemsAt(i, j)); +} + +QPointF PythonQtWrapper_QPolygonF::takeAt(QPolygonF* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QPointF PythonQtWrapper_QPolygonF::takeFirst(QPolygonF* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QPointF PythonQtWrapper_QPolygonF::takeLast(QPolygonF* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->toList()); +} + +QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->toPolygon()); +} + +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, const QPointF& offset) const +{ + return ( theWrappedObject->translated(offset)); +} + +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->united(r)); +} + +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const +{ + return ( theWrappedObject->value(i, defaultValue)); +} + +QString PythonQtWrapper_QPolygonF::py_toString(QPolygonF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QPrintDialog::accept(); +} +void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QPrintDialog::actionEvent(event0); +} +void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::changeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::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(); + } + } +} + QPrintDialog::childEvent(event0); +} +void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::closeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPrintDialog::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(); + } + } +} + QPrintDialog::customEvent(event0); +} +int PythonQtShell_QPrintDialog::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 QPrintDialog::devType(); +} +void PythonQtShell_QPrintDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::done(result0); +} +void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QPrintDialog::dragEnterEvent(event0); +} +void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QPrintDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QPrintDialog::dragMoveEvent(event0); +} +void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QPrintDialog::dropEvent(event0); +} +void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QPrintDialog::enterEvent(event0); +} +bool PythonQtShell_QPrintDialog::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 QPrintDialog::event(event0); +} +bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QPrintDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPrintDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::exec(); +} +void PythonQtShell_QPrintDialog::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(); + } + } +} + QPrintDialog::focusInEvent(event0); +} +bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QPrintDialog::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(); + } + } +} + QPrintDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPrintDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::hasHeightForWidth(); +} +int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::hideEvent(event0); +} +void PythonQtShell_QPrintDialog::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(); + } + } +} + QPrintDialog::initPainter(painter0); +} +void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPrintDialog::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(); + } + } +} + QPrintDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QPrintDialog::leaveEvent(event0); +} +int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::metric(arg__1); +} +QSize PythonQtShell_QPrintDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::minimumSizeHint(); +} +void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintDialog::mousePressEvent(event0); +} +void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QPrintDialog::moveEvent(event0); +} +bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::paintEngine(); +} +void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QPrintDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QPrintDialog::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 QPrintDialog::redirected(offset0); +} +void PythonQtShell_QPrintDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QPrintDialog::reject(); +} +void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QPrintDialog::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 QPrintDialog::sharedPainter(); +} +void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::showEvent(arg__1); +} +QSize PythonQtShell_QPrintDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::sizeHint(); +} +void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QPrintDialog::tabletEvent(event0); +} +void PythonQtShell_QPrintDialog::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(); + } + } +} + QPrintDialog::timerEvent(event0); +} +void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QPrintDialog::wheelEvent(event0); +} +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(printer, parent); } + +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(parent); } + +const QMetaObject* PythonQtShell_QPrintDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintDialog::staticMetaObject); + } else { + return &QPrintDialog::staticMetaObject; + } +} +int PythonQtShell_QPrintDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + + + +PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QPrintEngine::abort() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("abort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QPrintEngine::newPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("newPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("printerState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPrinter::PrinterState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); + } else { + returnValue = *((QPrinter::PrinterState*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrinter::PrinterState(); +} +QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("property"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() +{ +return new PythonQtShell_QPrintEngine(); } + +bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) +{ + return ( theWrappedObject->abort()); +} + +int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +{ + return ( theWrappedObject->metric(arg__1)); +} + +bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) +{ + return ( theWrappedObject->newPage()); +} + +QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const +{ + return ( theWrappedObject->printerState()); +} + +QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const +{ + return ( theWrappedObject->property(key)); +} + +void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) +{ + ( theWrappedObject->setProperty(key, value)); +} + + + +PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintPreviewDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QPrintPreviewDialog::accept(); +} +void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::actionEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::changeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::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(); + } + } +} + QPrintPreviewDialog::childEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::closeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::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(); + } + } +} + QPrintPreviewDialog::customEvent(event0); +} +int PythonQtShell_QPrintPreviewDialog::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 QPrintPreviewDialog::devType(); +} +void PythonQtShell_QPrintPreviewDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::done(result0); +} +void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::dragEnterEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::dragMoveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::dropEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QPrintPreviewDialog::enterEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::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 QPrintPreviewDialog::event(event0); +} +bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QPrintPreviewDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPrintPreviewDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::exec(); +} +void PythonQtShell_QPrintPreviewDialog::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(); + } + } +} + QPrintPreviewDialog::focusInEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QPrintPreviewDialog::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(); + } + } +} + QPrintPreviewDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::hasHeightForWidth(); +} +int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::hideEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::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(); + } + } +} + QPrintPreviewDialog::initPainter(painter0); +} +void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::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(); + } + } +} + QPrintPreviewDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QPrintPreviewDialog::leaveEvent(event0); +} +int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::metric(arg__1); +} +QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::minimumSizeHint(); +} +void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::mousePressEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::moveEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::paintEngine(); +} +void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QPrintPreviewDialog::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 QPrintPreviewDialog::redirected(offset0); +} +void PythonQtShell_QPrintPreviewDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QPrintPreviewDialog::reject(); +} +void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QPrintPreviewDialog::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 QPrintPreviewDialog::sharedPainter(); +} +void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::showEvent(arg__1); +} +QSize PythonQtShell_QPrintPreviewDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::sizeHint(); +} +void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::tabletEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::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(); + } + } +} + QPrintPreviewDialog::timerEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QPrintPreviewDialog::wheelEvent(event0); +} +QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewDialog(printer, parent, flags); } + +QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewDialog(parent, flags); } + +const QMetaObject* PythonQtShell_QPrintPreviewDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewDialog::staticMetaObject); + } else { + return &QPrintPreviewDialog::staticMetaObject; + } +} +int PythonQtShell_QPrintPreviewDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintPreviewDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); +} + + + +PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::actionEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewWidget::changeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::childEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QPrintPreviewWidget::closeEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::contextMenuEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::customEvent(event0); +} +int PythonQtShell_QPrintPreviewWidget::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 QPrintPreviewWidget::devType(); +} +void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::dragEnterEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::dragMoveEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::dropEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QPrintPreviewWidget::enterEvent(event0); +} +bool PythonQtShell_QPrintPreviewWidget::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 QPrintPreviewWidget::event(event0); +} +bool PythonQtShell_QPrintPreviewWidget::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 QPrintPreviewWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::focusInEvent(event0); +} +bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::focusOutEvent(event0); +} +bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::hasHeightForWidth(); +} +int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::heightForWidth(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewWidget::hideEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::initPainter(painter0); +} +void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::keyPressEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QPrintPreviewWidget::leaveEvent(event0); +} +int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::metric(arg__1); +} +QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::minimumSizeHint(); +} +void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::mousePressEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::moveEvent(event0); +} +bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::paintEngine(); +} +void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QPrintPreviewWidget::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 QPrintPreviewWidget::redirected(offset0); +} +void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::resizeEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QPrintPreviewWidget::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 QPrintPreviewWidget::sharedPainter(); +} +void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::showEvent(event0); +} +QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewWidget::sizeHint(); +} +void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::tabletEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::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(); + } + } +} + QPrintPreviewWidget::timerEvent(event0); +} +void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QPrintPreviewWidget::wheelEvent(event0); +} +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(printer, parent, flags); } + +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(parent, flags); } + +const QMetaObject* PythonQtShell_QPrintPreviewWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewWidget::staticMetaObject); + } else { + return &QPrintPreviewWidget::staticMetaObject; + } +} +int PythonQtShell_QPrintPreviewWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintPreviewWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentPage()); +} + +QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +int PythonQtWrapper_QPrintPreviewWidget::pageCount(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->pageCount()); +} + +QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + +qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + +QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->zoomMode()); +} + + + +PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPrinter::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 QPrinter::devType(); +} +void PythonQtShell_QPrinter::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(); + } + } +} + QPrinter::initPainter(painter0); +} +int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrinter::metric(arg__1); +} +bool PythonQtShell_QPrinter::newPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("newPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrinter::newPage(); +} +QPaintEngine* PythonQtShell_QPrinter::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrinter::paintEngine(); +} +QPaintDevice* PythonQtShell_QPrinter::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 QPrinter::redirected(offset0); +} +void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&m0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrinter::setMargins(m0); +} +void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrinter::setPageSize(arg__1); +} +void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSizeMM"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrinter::setPageSizeMM(size0); +} +QPainter* PythonQtShell_QPrinter::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 QPrinter::sharedPainter(); +} +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(QPrinter::PrinterMode mode) +{ +return new PythonQtShell_QPrinter(mode); } + +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode) +{ +return new PythonQtShell_QPrinter(printer, mode); } + +bool PythonQtWrapper_QPrinter::abort(QPrinter* theWrappedObject) +{ + return ( theWrappedObject->abort()); +} + +int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->actualNumCopies()); +} + +bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->collateCopies()); +} + +QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->colorMode()); +} + +int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->copyCount()); +} + +QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->creator()); +} + +QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->docName()); +} + +bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->doubleSidedPrinting()); +} + +QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->duplex()); +} + +bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->fontEmbeddingEnabled()); +} + +int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->fromPage()); +} + +bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->fullPage()); +} + +void PythonQtWrapper_QPrinter::getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const +{ + ( theWrappedObject->getPageMargins(left, top, right, bottom, unit)); +} + +bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->numCopies()); +} + +QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->outputFileName()); +} + +QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->outputFormat()); +} + +QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pageOrder()); +} + +QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pageRect()); +} + +QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +{ + return ( theWrappedObject->pageRect(arg__1)); +} + +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperName()); +} + +QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperRect()); +} + +QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +{ + return ( theWrappedObject->paperRect(arg__1)); +} + +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperSize()); +} + +QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const +{ + return ( theWrappedObject->paperSize(unit)); +} + +QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperSource()); +} + +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPrinter::pdfVersion(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pdfVersion()); +} + +QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printEngine()); +} + +QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printProgram()); +} + +QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printRange()); +} + +QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printerName()); +} + +QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printerState()); +} + +int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) +{ + ( theWrappedObject->setCollateCopies(collate)); +} + +void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) +{ + ( theWrappedObject->setColorMode(arg__1)); +} + +void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setCopyCount(arg__1)); +} + +void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setCreator(arg__1)); +} + +void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setDocName(arg__1)); +} + +void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDoubleSidedPrinting(enable)); +} + +void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) +{ + ( theWrappedObject->setDuplex(duplex)); +} + +void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) +{ + ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); +} + +void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setFontEmbeddingEnabled(enable)); +} + +void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) +{ + ( theWrappedObject->setFromTo(fromPage, toPage)); +} + +void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFullPage(arg__1)); +} + +void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setNumCopies(arg__1)); +} + +void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) +{ + ( theWrappedObject->setOrientation(arg__1)); +} + +void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setOutputFileName(arg__1)); +} + +void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) +{ + ( theWrappedObject->setOutputFormat(format)); +} + +void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) +{ + ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); +} + +void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) +{ + ( theWrappedObject->setPageOrder(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) +{ + ( theWrappedObject->setPaperName(paperName)); +} + +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) +{ + ( theWrappedObject->setPaperSize(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) +{ + ( theWrappedObject->setPaperSize(paperSize, unit)); +} + +void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) +{ + ( theWrappedObject->setPaperSource(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +{ + ( theWrappedObject->setPdfVersion(version)); +} + +void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setPrintProgram(arg__1)); +} + +void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) +{ + ( theWrappedObject->setPrintRange(range)); +} + +void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setPrinterName(arg__1)); +} + +void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setResolution(arg__1)); +} + +void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) +{ + ( theWrappedObject->setWinPageSize(winPageSize)); +} + +QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->supportedResolutions()); +} + +bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->supportsMultipleCopies()); +} + +int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->toPage()); +} + +int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->winPageSize()); +} + + + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo() +{ +return new QPrinterInfo(); } + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinter& printer) +{ +return new QPrinterInfo(printer); } + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinterInfo& other) +{ +return new QPrinterInfo(other); } + +QStringList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinterNames() +{ + return (QPrinterInfo::availablePrinterNames()); +} + +QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() +{ + return (QPrinterInfo::availablePrinters()); +} + +QPrinter::ColorMode PythonQtWrapper_QPrinterInfo::defaultColorMode(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->defaultColorMode()); +} + +QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->defaultDuplexMode()); +} + +QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->defaultPageSize()); +} + +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() +{ + return (QPrinterInfo::defaultPrinter()); +} + +QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() +{ + return (QPrinterInfo::defaultPrinterName()); +} + +QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->isRemote()); +} + +QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->location()); +} + +QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->makeAndModel()); +} + +QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->maximumPhysicalPageSize()); +} + +QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->minimumPhysicalPageSize()); +} + +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) +{ + return (QPrinterInfo::printerInfo(printerName)); +} + +QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->printerName()); +} + +QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QList PythonQtWrapper_QPrinterInfo::supportedColorModes(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedColorModes()); +} + +QList PythonQtWrapper_QPrinterInfo::supportedDuplexModes(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedDuplexModes()); +} + +QList PythonQtWrapper_QPrinterInfo::supportedPageSizes(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedPageSizes()); +} + +QList PythonQtWrapper_QPrinterInfo::supportedPaperSizes(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedPaperSizes()); +} + +QList PythonQtWrapper_QPrinterInfo::supportedResolutions(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedResolutions()); +} + +QList > PythonQtWrapper_QPrinterInfo::supportedSizesWithNames(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedSizesWithNames()); +} + +bool PythonQtWrapper_QPrinterInfo::supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportsCustomPageSizes()); +} + +QString PythonQtWrapper_QPrinterInfo::py_toString(QPrinterInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QProgressBar::actionEvent(event0); +} +void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::changeEvent(arg__1); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::childEvent(event0); +} +void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QProgressBar::closeEvent(event0); +} +void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QProgressBar::contextMenuEvent(event0); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::customEvent(event0); +} +int PythonQtShell_QProgressBar::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 QProgressBar::devType(); +} +void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QProgressBar::dragEnterEvent(event0); +} +void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QProgressBar::dragLeaveEvent(event0); +} +void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QProgressBar::dragMoveEvent(event0); +} +void PythonQtShell_QProgressBar::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QProgressBar::dropEvent(event0); +} +void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QProgressBar::enterEvent(event0); +} +bool PythonQtShell_QProgressBar::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 QProgressBar::event(e0); +} +bool PythonQtShell_QProgressBar::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 QProgressBar::eventFilter(watched0, event1); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::focusInEvent(event0); +} +bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::focusNextPrevChild(next0); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::focusOutEvent(event0); +} +bool PythonQtShell_QProgressBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::hasHeightForWidth(); +} +int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::heightForWidth(arg__1); +} +void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::hideEvent(event0); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::initPainter(painter0); +} +void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::keyPressEvent(event0); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::keyReleaseEvent(event0); +} +void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QProgressBar::leaveEvent(event0); +} +int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::metric(arg__1); +} +QSize PythonQtShell_QProgressBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::minimumSizeHint(); +} +void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressBar::mouseMoveEvent(event0); +} +void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressBar::mousePressEvent(event0); +} +void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressBar::mouseReleaseEvent(event0); +} +void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QProgressBar::moveEvent(event0); +} +bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::paintEngine(); +} +void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QProgressBar::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 QProgressBar::redirected(offset0); +} +void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QProgressBar::resizeEvent(event0); +} +void PythonQtShell_QProgressBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::setVisible(visible0); +} +QPainter* PythonQtShell_QProgressBar::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 QProgressBar::sharedPainter(); +} +void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QProgressBar::showEvent(event0); +} +QSize PythonQtShell_QProgressBar::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::sizeHint(); +} +void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QProgressBar::tabletEvent(event0); +} +QString PythonQtShell_QProgressBar::text() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("text"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::text(); +} +void PythonQtShell_QProgressBar::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(); + } + } +} + QProgressBar::timerEvent(event0); +} +void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QProgressBar::wheelEvent(event0); +} +QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) +{ +return new PythonQtShell_QProgressBar(parent); } + +const QMetaObject* PythonQtShell_QProgressBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressBar::staticMetaObject); + } else { + return &QProgressBar::staticMetaObject; + } +} +int PythonQtShell_QProgressBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProgressBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QProgressBar::initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const +{ + ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->invertedAppearance()); +} + +bool PythonQtWrapper_QProgressBar::isTextVisible(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->isTextVisible()); +} + +int PythonQtWrapper_QProgressBar::maximum(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QProgressBar::minimum(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +QSize PythonQtWrapper_QProgressBar::minimumSizeHint(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +Qt::Orientation PythonQtWrapper_QProgressBar::orientation(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QProgressBar::resetFormat(QProgressBar* theWrappedObject) +{ + ( theWrappedObject->resetFormat()); +} + +void PythonQtWrapper_QProgressBar::setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QProgressBar::setFormat(QProgressBar* theWrappedObject, const QString& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QProgressBar::setInvertedAppearance(QProgressBar* theWrappedObject, bool invert) +{ + ( theWrappedObject->setInvertedAppearance(invert)); +} + +void PythonQtWrapper_QProgressBar::setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection) +{ + ( theWrappedObject->setTextDirection(textDirection)); +} + +void PythonQtWrapper_QProgressBar::setTextVisible(QProgressBar* theWrappedObject, bool visible) +{ + ( theWrappedObject->setTextVisible(visible)); +} + +QSize PythonQtWrapper_QProgressBar::sizeHint(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QProgressBar::text(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QProgressDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + 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(); + } + } +} + QProgressDialog::accept(); +} +void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QProgressDialog::actionEvent(event0); +} +void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QProgressDialog::changeEvent(event0); +} +void PythonQtShell_QProgressDialog::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(); + } + } +} + QProgressDialog::childEvent(event0); +} +void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QProgressDialog::closeEvent(event0); +} +void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QProgressDialog::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(); + } + } +} + QProgressDialog::customEvent(event0); +} +int PythonQtShell_QProgressDialog::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 QProgressDialog::devType(); +} +void PythonQtShell_QProgressDialog::done(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressDialog::done(arg__1); +} +void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QProgressDialog::dragEnterEvent(event0); +} +void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QProgressDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QProgressDialog::dragMoveEvent(event0); +} +void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QProgressDialog::dropEvent(event0); +} +void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QProgressDialog::enterEvent(event0); +} +bool PythonQtShell_QProgressDialog::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 QProgressDialog::event(event0); +} +bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QProgressDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QProgressDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + 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("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::exec(); +} +void PythonQtShell_QProgressDialog::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(); + } + } +} + QProgressDialog::focusInEvent(event0); +} +bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QProgressDialog::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(); + } + } +} + QProgressDialog::focusOutEvent(event0); +} +bool PythonQtShell_QProgressDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::hasHeightForWidth(); +} +int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::heightForWidth(arg__1); +} +void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressDialog::hideEvent(event0); +} +void PythonQtShell_QProgressDialog::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(); + } + } +} + QProgressDialog::initPainter(painter0); +} +void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QProgressDialog::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(); + } + } +} + QProgressDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QProgressDialog::leaveEvent(event0); +} +int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::metric(arg__1); +} +QSize PythonQtShell_QProgressDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::minimumSizeHint(); +} +void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressDialog::mousePressEvent(event0); +} +void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QProgressDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QProgressDialog::moveEvent(event0); +} +bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::paintEngine(); +} +void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QProgressDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QProgressDialog::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 QProgressDialog::redirected(offset0); +} +void PythonQtShell_QProgressDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + 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(); + } + } +} + QProgressDialog::reject(); +} +void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QProgressDialog::resizeEvent(event0); +} +void PythonQtShell_QProgressDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QProgressDialog::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 QProgressDialog::sharedPainter(); +} +void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QProgressDialog::showEvent(event0); +} +QSize PythonQtShell_QProgressDialog::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressDialog::sizeHint(); +} +void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QProgressDialog::tabletEvent(event0); +} +void PythonQtShell_QProgressDialog::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(); + } + } +} + QProgressDialog::timerEvent(event0); +} +void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QProgressDialog::wheelEvent(event0); +} +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QProgressDialog(parent, flags); } + +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags); } + +const QMetaObject* PythonQtShell_QProgressDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressDialog::staticMetaObject); + } else { + return &QProgressDialog::staticMetaObject; + } +} +int PythonQtShell_QProgressDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProgressDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->autoClose()); +} + +bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->autoReset()); +} + +QString PythonQtWrapper_QProgressDialog::labelText(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->labelText()); +} + +int PythonQtWrapper_QProgressDialog::maximum(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QProgressDialog::minimum(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +int PythonQtWrapper_QProgressDialog::minimumDuration(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->minimumDuration()); +} + +void PythonQtWrapper_QProgressDialog::open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +void PythonQtWrapper_QProgressDialog::setAutoClose(QProgressDialog* theWrappedObject, bool close) +{ + ( theWrappedObject->setAutoClose(close)); +} + +void PythonQtWrapper_QProgressDialog::setAutoReset(QProgressDialog* theWrappedObject, bool reset) +{ + ( theWrappedObject->setAutoReset(reset)); +} + +void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) +{ + ( theWrappedObject->setBar(bar)); +} + +void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) +{ + ( theWrappedObject->setCancelButton(button)); +} + +void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) +{ + ( theWrappedObject->setLabel(label)); +} + +int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->wasCanceled()); +} + + + +PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QProxyStyle::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(); + } + } +} + QProxyStyle::childEvent(event0); +} +void PythonQtShell_QProxyStyle::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(); + } + } +} + QProxyStyle::customEvent(event0); +} +void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawComplexControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); +} +void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::drawControl(element0, option1, painter2, widget3); +} +void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawItemPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); +} +void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawItemText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); +} +void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPrimitive"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); +} +bool PythonQtShell_QProxyStyle::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 QProxyStyle::event(e0); +} +bool PythonQtShell_QProxyStyle::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 QProxyStyle::eventFilter(watched0, event1); +} +QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("generatedIconPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); +} +QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitTestComplexControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); +} +QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemPixmapRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); +} +QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemTextRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); +} +int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layoutSpacing"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); +} +int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pixelMetric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::pixelMetric(metric0, option1, widget2); +} +void PythonQtShell_QProxyStyle::polish(QApplication* app0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&app0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::polish(app0); +} +void PythonQtShell_QProxyStyle::polish(QPalette& pal0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPalette&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&pal0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::polish(pal0); +} +void PythonQtShell_QProxyStyle::polish(QWidget* widget0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::polish(widget0); +} +QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeFromContents"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::sizeFromContents(type0, option1, size2, widget3); +} +QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("standardIcon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::standardIcon(standardIcon0, option1, widget2); +} +QPalette PythonQtShell_QProxyStyle::standardPalette() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("standardPalette"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::standardPalette(); +} +QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("standardPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::standardPixmap(standardPixmap0, opt1, widget2); +} +int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("styleHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::styleHint(hint0, option1, widget2, returnData3); +} +QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("subControlRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::subControlRect(cc0, opt1, sc2, widget3); +} +QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("subElementRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::subElementRect(element0, option1, widget2); +} +void PythonQtShell_QProxyStyle::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(); + } + } +} + QProxyStyle::timerEvent(event0); +} +void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unpolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&app0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::unpolish(app0); +} +void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unpolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::unpolish(widget0); +} +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(QStyle* style) +{ +return new PythonQtShell_QProxyStyle(style); } + +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(const QString& key) +{ +return new PythonQtShell_QProxyStyle(key); } + +const QMetaObject* PythonQtShell_QProxyStyle::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProxyStyle::staticMetaObject); + } else { + return &QProxyStyle::staticMetaObject; + } +} +int PythonQtShell_QProxyStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProxyStyle::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStyle* PythonQtWrapper_QProxyStyle::baseStyle(QProxyStyle* theWrappedObject) const +{ + return ( theWrappedObject->baseStyle()); +} + +QRect PythonQtWrapper_QProxyStyle::itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const +{ + return ( theWrappedObject->itemTextRect(fm, r, flags, enabled, text)); +} + +void PythonQtWrapper_QProxyStyle::setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setBaseStyle(style)); +} + + + +PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QPushButton::actionEvent(event0); +} +void PythonQtShell_QPushButton::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::changeEvent(e0); +} +void PythonQtShell_QPushButton::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("checkStateSet"); + 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(); + } + } +} + QPushButton::checkStateSet(); +} +void PythonQtShell_QPushButton::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(); + } + } +} + QPushButton::childEvent(event0); +} +void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QPushButton::closeEvent(event0); +} +void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QPushButton::contextMenuEvent(event0); +} +void PythonQtShell_QPushButton::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(); + } + } +} + QPushButton::customEvent(event0); +} +int PythonQtShell_QPushButton::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 QPushButton::devType(); +} +void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QPushButton::dragEnterEvent(event0); +} +void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QPushButton::dragLeaveEvent(event0); +} +void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QPushButton::dragMoveEvent(event0); +} +void PythonQtShell_QPushButton::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QPushButton::dropEvent(event0); +} +void PythonQtShell_QPushButton::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QPushButton::enterEvent(event0); +} +bool PythonQtShell_QPushButton::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 QPushButton::event(e0); +} +bool PythonQtShell_QPushButton::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 QPushButton::eventFilter(watched0, event1); +} +void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::focusInEvent(arg__1); +} +bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::focusNextPrevChild(next0); +} +void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::focusOutEvent(arg__1); +} +bool PythonQtShell_QPushButton::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::hasHeightForWidth(); +} +int PythonQtShell_QPushButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::heightForWidth(arg__1); +} +void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::hideEvent(event0); +} +bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::hitButton(pos0); +} +void PythonQtShell_QPushButton::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(); + } + } +} + QPushButton::initPainter(painter0); +} +void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::keyPressEvent(arg__1); +} +void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::keyReleaseEvent(e0); +} +void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QPushButton::leaveEvent(event0); +} +int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::metric(arg__1); +} +QSize PythonQtShell_QPushButton::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::minimumSizeHint(); +} +void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPushButton::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPushButton::mouseMoveEvent(e0); +} +void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPushButton::mousePressEvent(e0); +} +void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QPushButton::mouseReleaseEvent(e0); +} +void PythonQtShell_QPushButton::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QPushButton::moveEvent(event0); +} +bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QPushButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + 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(); + } + } +} + QPushButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QPushButton::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::paintEngine(); +} +void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QPushButton::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 QPushButton::redirected(offset0); +} +void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QPushButton::resizeEvent(event0); +} +void PythonQtShell_QPushButton::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::setVisible(visible0); +} +QPainter* PythonQtShell_QPushButton::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 QPushButton::sharedPainter(); +} +void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QPushButton::showEvent(event0); +} +QSize PythonQtShell_QPushButton::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::sizeHint(); +} +void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QPushButton::tabletEvent(event0); +} +void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::timerEvent(e0); +} +void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QPushButton::wheelEvent(event0); +} +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(QWidget* parent) +{ +return new PythonQtShell_QPushButton(parent); } + +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent) +{ +return new PythonQtShell_QPushButton(icon, text, parent); } + +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QPushButton(text, parent); } + +const QMetaObject* PythonQtShell_QPushButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPushButton::staticMetaObject); + } else { + return &QPushButton::staticMetaObject; + } +} +int PythonQtShell_QPushButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPushButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->autoDefault()); +} + +void PythonQtWrapper_QPushButton::initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const +{ + ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QPushButton::isDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +bool PythonQtWrapper_QPushButton::isFlat(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isFlat()); +} + +QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QSize PythonQtWrapper_QPushButton::minimumSizeHint(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QPushButton::setAutoDefault(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoDefault(arg__1)); +} + +void PythonQtWrapper_QPushButton::setDefault(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setDefault(arg__1)); +} + +void PythonQtWrapper_QPushButton::setFlat(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFlat(arg__1)); +} + +void PythonQtWrapper_QPushButton::setMenu(QPushButton* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); +} + +QSize PythonQtWrapper_QPushButton::sizeHint(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion() +{ +return new QQuaternion(); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(const QVector4D& vector) +{ +return new QQuaternion(vector); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, const QVector3D& vector) +{ +return new QQuaternion(scalar, vector); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, float xpos, float ypos, float zpos) +{ +return new QQuaternion(scalar, xpos, ypos, zpos); } + +QQuaternion PythonQtWrapper_QQuaternion::conjugate(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->conjugate()); +} + +QQuaternion PythonQtWrapper_QQuaternion::conjugated(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->conjugated()); +} + +float PythonQtWrapper_QQuaternion::static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2) +{ + return (QQuaternion::dotProduct(q1, q2)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis) +{ + return (QQuaternion::fromAxes(xAxis, yAxis, zAxis)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle) +{ + return (QQuaternion::fromAxisAndAngle(axis, angle)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle) +{ + return (QQuaternion::fromAxisAndAngle(x, y, z, angle)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up) +{ + return (QQuaternion::fromDirection(direction, up)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles) +{ + return (QQuaternion::fromEulerAngles(eulerAngles)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll) +{ + return (QQuaternion::fromEulerAngles(pitch, yaw, roll)); +} + +void PythonQtWrapper_QQuaternion::getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const +{ + ( theWrappedObject->getAxes(xAxis, yAxis, zAxis)); +} + +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const +{ + ( theWrappedObject->getAxisAndAngle(axis, angle)); +} + +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const +{ + ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); +} + +void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const +{ + ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); +} + +QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->inverted()); +} + +bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) +{ + return (QQuaternion::nlerp(q1, q2, t)); +} + +void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const +{ + 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); +} + +QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) +{ + return ( (*theWrappedObject)* vec); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +{ + return &( (*theWrappedObject)*= quaternion); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__add__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)+ q2); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +{ + return &( (*theWrappedObject)+= quaternion); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)- q2); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +{ + return &( (*theWrappedObject)-= quaternion); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__div__(QQuaternion* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QQuaternion::writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QQuaternion::__eq__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)== q2); +} + +void PythonQtWrapper_QQuaternion::readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QVector3D PythonQtWrapper_QQuaternion::rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const +{ + return ( theWrappedObject->rotatedVector(vector)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to) +{ + return (QQuaternion::rotationTo(from, to)); +} + +float PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->scalar()); +} + +void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, float scalar) +{ + ( theWrappedObject->setScalar(scalar)); +} + +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->setVector(vector)); +} + +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, float x, float y, float z) +{ + ( theWrappedObject->setVector(x, y, z)); +} + +void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, float y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, float z) +{ + ( theWrappedObject->setZ(z)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t) +{ + return (QQuaternion::slerp(q1, q2, t)); +} + +QVector3D PythonQtWrapper_QQuaternion::toEulerAngles(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->toEulerAngles()); +} + +QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->vector()); +} + +float PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +float PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +float PythonQtWrapper_QQuaternion::z(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QQuaternion::py_toString(QQuaternion* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient() +{ +return new QRadialGradient(); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius) +{ +return new QRadialGradient(center, centerRadius, focalPoint, focalRadius); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius) +{ +return new QRadialGradient(center, radius); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint) +{ +return new QRadialGradient(center, radius, focalPoint); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius) +{ +return new QRadialGradient(cx, cy, centerRadius, fx, fy, focalRadius); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius) +{ +return new QRadialGradient(cx, cy, radius); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy) +{ +return new QRadialGradient(cx, cy, radius, fx, fy); } + +QPointF PythonQtWrapper_QRadialGradient::center(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +qreal PythonQtWrapper_QRadialGradient::centerRadius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->centerRadius()); +} + +QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->focalPoint()); +} + +qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->focalRadius()); +} + +qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->radius()); +} + +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) +{ + ( theWrappedObject->setCenter(center)); +} + +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setCenter(x, y)); +} + +void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setCenterRadius(radius)); +} + +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) +{ + ( theWrappedObject->setFocalPoint(focalPoint)); +} + +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setFocalPoint(x, y)); +} + +void PythonQtWrapper_QRadialGradient::setFocalRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setFocalRadius(radius)); +} + +void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setRadius(radius)); +} + + + +PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QRadioButton::actionEvent(event0); +} +void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::changeEvent(e0); +} +void PythonQtShell_QRadioButton::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("checkStateSet"); + 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(); + } + } +} + QRadioButton::checkStateSet(); +} +void PythonQtShell_QRadioButton::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(); + } + } +} + QRadioButton::childEvent(event0); +} +void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QRadioButton::closeEvent(event0); +} +void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QRadioButton::contextMenuEvent(event0); +} +void PythonQtShell_QRadioButton::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(); + } + } +} + QRadioButton::customEvent(event0); +} +int PythonQtShell_QRadioButton::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 QRadioButton::devType(); +} +void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QRadioButton::dragEnterEvent(event0); +} +void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QRadioButton::dragLeaveEvent(event0); +} +void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QRadioButton::dragMoveEvent(event0); +} +void PythonQtShell_QRadioButton::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QRadioButton::dropEvent(event0); +} +void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QRadioButton::enterEvent(event0); +} +bool PythonQtShell_QRadioButton::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 QRadioButton::event(e0); +} +bool PythonQtShell_QRadioButton::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 QRadioButton::eventFilter(watched0, event1); +} +void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::focusInEvent(e0); +} +bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::focusNextPrevChild(next0); +} +void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::focusOutEvent(e0); +} +bool PythonQtShell_QRadioButton::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::hasHeightForWidth(); +} +int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::heightForWidth(arg__1); +} +void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::hideEvent(event0); +} +bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::hitButton(arg__1); +} +void PythonQtShell_QRadioButton::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(); + } + } +} + QRadioButton::initPainter(painter0); +} +void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::keyPressEvent(e0); +} +void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::keyReleaseEvent(e0); +} +void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QRadioButton::leaveEvent(event0); +} +int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::metric(arg__1); +} +QSize PythonQtShell_QRadioButton::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::minimumSizeHint(); +} +void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QRadioButton::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::mouseMoveEvent(arg__1); +} +void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QRadioButton::mousePressEvent(e0); +} +void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) +{ +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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QRadioButton::mouseReleaseEvent(e0); +} +void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QRadioButton::moveEvent(event0); +} +bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QRadioButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + 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(); + } + } +} + QRadioButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::paintEngine(); +} +void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QRadioButton::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 QRadioButton::redirected(offset0); +} +void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QRadioButton::resizeEvent(event0); +} +void PythonQtShell_QRadioButton::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::setVisible(visible0); +} +QPainter* PythonQtShell_QRadioButton::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 QRadioButton::sharedPainter(); +} +void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QRadioButton::showEvent(event0); +} +QSize PythonQtShell_QRadioButton::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::sizeHint(); +} +void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QRadioButton::tabletEvent(event0); +} +void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::timerEvent(e0); +} +void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QRadioButton::wheelEvent(event0); +} +QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(QWidget* parent) +{ +return new PythonQtShell_QRadioButton(parent); } + +QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QRadioButton(text, parent); } + +const QMetaObject* PythonQtShell_QRadioButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioButton::staticMetaObject); + } else { + return &QRadioButton::staticMetaObject; + } +} +int PythonQtShell_QRadioButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRadioButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QRadioButton::initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const +{ + ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_initStyleOption(button)); +} + +QSize PythonQtWrapper_QRadioButton::minimumSizeHint(QRadioButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QSize PythonQtWrapper_QRadioButton::sizeHint(QRadioButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +PythonQtShell_QRasterWindow::~PythonQtShell_QRasterWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRasterWindow::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(); + } + } +} + QRasterWindow::childEvent(event0); +} +void PythonQtShell_QRasterWindow::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(); + } + } +} + 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) { + 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 QRasterWindow::event(event0); +} +bool PythonQtShell_QRasterWindow::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 QRasterWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::exposeEvent(arg__1); +} +void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::focusInEvent(arg__1); +} +QObject* PythonQtShell_QRasterWindow::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::focusObject(); +} +void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QRasterWindow::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::format(); +} +void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + 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) { + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::keyPressEvent(arg__1); +} +void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::keyReleaseEvent(arg__1); +} +int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::metric(metric0); +} +void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::mouseMoveEvent(arg__1); +} +void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::mousePressEvent(arg__1); +} +void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::moveEvent(arg__1); +} +bool PythonQtShell_QRasterWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QRasterWindow::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) 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*)&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("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::redirected(arg__1); +} +void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::showEvent(arg__1); +} +QSize PythonQtShell_QRasterWindow::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::size(); +} +QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRasterWindow::surfaceType(); +} +void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::tabletEvent(arg__1); +} +void PythonQtShell_QRasterWindow::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(); + } + } +} + QRasterWindow::timerEvent(event0); +} +void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::touchEvent(arg__1); +} +void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::wheelEvent(arg__1); +} +QRasterWindow* PythonQtWrapper_QRasterWindow::new_QRasterWindow(QWindow* parent) +{ +return new PythonQtShell_QRasterWindow(parent); } + +const QMetaObject* PythonQtShell_QRasterWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRasterWindow::staticMetaObject); + } else { + return &QRasterWindow::staticMetaObject; + } +} +int PythonQtShell_QRasterWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRasterWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont() +{ +return new QRawFont(); } + +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) +{ +return new QRawFont(fontData, pixelSize, hintingPreference); } + +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QRawFont& other) +{ +return new QRawFont(other); } + +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) +{ +return new QRawFont(fileName, pixelSize, hintingPreference); } + +QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const +{ + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes)); +} + +QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const +{ + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, layoutFlags)); +} + +bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const +{ + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs)); +} + +bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const +{ + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs, layoutFlags)); +} + +QImage PythonQtWrapper_QRawFont::alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType, const QTransform& transform) const +{ + return ( theWrappedObject->alphaMapForGlyph(glyphIndex, antialiasingType, transform)); +} + +qreal PythonQtWrapper_QRawFont::ascent(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QRawFont::averageCharWidth(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->averageCharWidth()); +} + +QRectF PythonQtWrapper_QRawFont::boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const +{ + return ( theWrappedObject->boundingRect(glyphIndex)); +} + +qreal PythonQtWrapper_QRawFont::capHeight(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->capHeight()); +} + +qreal PythonQtWrapper_QRawFont::descent(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +QString PythonQtWrapper_QRawFont::familyName(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->familyName()); +} + +QByteArray PythonQtWrapper_QRawFont::fontTable(QRawFont* theWrappedObject, const char* tagName) const +{ + return ( theWrappedObject->fontTable(tagName)); +} + +QRawFont PythonQtWrapper_QRawFont::static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem) +{ + return (QRawFont::fromFont(font, writingSystem)); +} + +bool PythonQtWrapper_QRawFont::glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const +{ + return ( theWrappedObject->glyphIndexesForChars(chars, numChars, glyphIndexes, numGlyphs)); +} + +QVector PythonQtWrapper_QRawFont::glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->glyphIndexesForString(text)); +} + +QFont::HintingPreference PythonQtWrapper_QRawFont::hintingPreference(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->hintingPreference()); +} + +bool PythonQtWrapper_QRawFont::isValid(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QRawFont::leading(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->leading()); +} + +qreal PythonQtWrapper_QRawFont::lineThickness(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->lineThickness()); +} + +void PythonQtWrapper_QRawFont::loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) +{ + ( theWrappedObject->loadFromData(fontData, pixelSize, hintingPreference)); +} + +void PythonQtWrapper_QRawFont::loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) +{ + ( theWrappedObject->loadFromFile(fileName, pixelSize, hintingPreference)); +} + +qreal PythonQtWrapper_QRawFont::maxCharWidth(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->maxCharWidth()); +} + +bool PythonQtWrapper_QRawFont::__ne__(QRawFont* theWrappedObject, const QRawFont& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QRawFont* PythonQtWrapper_QRawFont::operator_assign(QRawFont* theWrappedObject, const QRawFont& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QRawFont::__eq__(QRawFont* theWrappedObject, const QRawFont& other) const +{ + return ( (*theWrappedObject)== other); +} + +QPainterPath PythonQtWrapper_QRawFont::pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const +{ + return ( theWrappedObject->pathForGlyph(glyphIndex)); +} + +qreal PythonQtWrapper_QRawFont::pixelSize(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->pixelSize()); +} + +void PythonQtWrapper_QRawFont::setPixelSize(QRawFont* theWrappedObject, qreal pixelSize) +{ + ( theWrappedObject->setPixelSize(pixelSize)); +} + +QFont::Style PythonQtWrapper_QRawFont::style(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +QString PythonQtWrapper_QRawFont::styleName(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->styleName()); +} + +QList PythonQtWrapper_QRawFont::supportedWritingSystems(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->supportedWritingSystems()); +} + +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, QChar character) const +{ + return ( theWrappedObject->supportsCharacter(character)); +} + +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const +{ + return ( theWrappedObject->supportsCharacter(ucs4)); +} + +void PythonQtWrapper_QRawFont::swap(QRawFont* theWrappedObject, QRawFont& other) +{ + ( theWrappedObject->swap(other)); +} + +qreal PythonQtWrapper_QRawFont::underlinePosition(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->underlinePosition()); +} + +qreal PythonQtWrapper_QRawFont::unitsPerEm(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->unitsPerEm()); +} + +int PythonQtWrapper_QRawFont::weight(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->weight()); +} + +qreal PythonQtWrapper_QRawFont::xHeight(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->xHeight()); +} + + + +PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRegExpValidator::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(); + } + } +} + QRegExpValidator::childEvent(event0); +} +void PythonQtShell_QRegExpValidator::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(); + } + } +} + QRegExpValidator::customEvent(event0); +} +bool PythonQtShell_QRegExpValidator::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 QRegExpValidator::event(event0); +} +bool PythonQtShell_QRegExpValidator::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 QRegExpValidator::eventFilter(watched0, event1); +} +void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRegExpValidator::fixup(arg__1); +} +void PythonQtShell_QRegExpValidator::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(); + } + } +} + QRegExpValidator::timerEvent(event0); +} +QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRegExpValidator::validate(input0, pos1); +} +QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(QObject* parent) +{ +return new PythonQtShell_QRegExpValidator(parent); } + +QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(const QRegExp& rx, QObject* parent) +{ +return new PythonQtShell_QRegExpValidator(rx, parent); } + +const QMetaObject* PythonQtShell_QRegExpValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegExpValidator::staticMetaObject); + } else { + return &QRegExpValidator::staticMetaObject; + } +} +int PythonQtShell_QRegExpValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRegExpValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const +{ + return &( theWrappedObject->regExp()); +} + +void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +{ + ( theWrappedObject->setRegExp(rx)); +} + + + +PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRegularExpressionValidator::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(); + } + } +} + QRegularExpressionValidator::childEvent(event0); +} +void PythonQtShell_QRegularExpressionValidator::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(); + } + } +} + QRegularExpressionValidator::customEvent(event0); +} +bool PythonQtShell_QRegularExpressionValidator::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 QRegularExpressionValidator::event(event0); +} +bool PythonQtShell_QRegularExpressionValidator::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 QRegularExpressionValidator::eventFilter(watched0, event1); +} +void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRegularExpressionValidator::fixup(arg__1); +} +void PythonQtShell_QRegularExpressionValidator::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(); + } + } +} + QRegularExpressionValidator::timerEvent(event0); +} +QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRegularExpressionValidator::validate(input0, pos1); +} +QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(QObject* parent) +{ +return new PythonQtShell_QRegularExpressionValidator(parent); } + +QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent) +{ +return new PythonQtShell_QRegularExpressionValidator(re, parent); } + +const QMetaObject* PythonQtShell_QRegularExpressionValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegularExpressionValidator::staticMetaObject); + } else { + return &QRegularExpressionValidator::staticMetaObject; + } +} +int PythonQtShell_QRegularExpressionValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRegularExpressionValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QRegularExpression PythonQtWrapper_QRegularExpressionValidator::regularExpression(QRegularExpressionValidator* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} + + + +PythonQtShell_QResizeEvent::~PythonQtShell_QResizeEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QResizeEvent* PythonQtWrapper_QResizeEvent::new_QResizeEvent(const QSize& size, const QSize& oldSize) +{ +return new PythonQtShell_QResizeEvent(size, oldSize); } + +const QSize* PythonQtWrapper_QResizeEvent::oldSize(QResizeEvent* theWrappedObject) const +{ + return &( theWrappedObject->oldSize()); +} + +const QSize* PythonQtWrapper_QResizeEvent::size(QResizeEvent* theWrappedObject) const +{ + return &( theWrappedObject->size()); +} + + + +QRgba64* PythonQtWrapper_QRgba64::new_QRgba64() +{ +return new QRgba64(); } + +unsigned short PythonQtWrapper_QRgba64::alpha(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->alpha()); +} + +unsigned char PythonQtWrapper_QRgba64::alpha8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->alpha8()); +} + +unsigned short PythonQtWrapper_QRgba64::blue(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->blue()); +} + +unsigned char PythonQtWrapper_QRgba64::blue8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->blue8()); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromArgb32(uint rgb) +{ + return (QRgba64::fromArgb32(rgb)); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) +{ + return (QRgba64::fromRgba(red, green, blue, alpha)); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(quint64 c) +{ + return (QRgba64::fromRgba64(c)); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha) +{ + return (QRgba64::fromRgba64(red, green, blue, alpha)); +} + +unsigned short PythonQtWrapper_QRgba64::green(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->green()); +} + +unsigned char PythonQtWrapper_QRgba64::green8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->green8()); +} + +bool PythonQtWrapper_QRgba64::isOpaque(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->isOpaque()); +} + +bool PythonQtWrapper_QRgba64::isTransparent(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->isTransparent()); +} + +QRgba64 PythonQtWrapper_QRgba64::operator_assign(QRgba64* theWrappedObject, quint64 _rgba) +{ + return ( (*theWrappedObject)= _rgba); +} + +QRgba64 PythonQtWrapper_QRgba64::premultiplied(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->premultiplied()); +} + +unsigned short PythonQtWrapper_QRgba64::red(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->red()); +} + +unsigned char PythonQtWrapper_QRgba64::red8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->red8()); +} + +void PythonQtWrapper_QRgba64::setAlpha(QRgba64* theWrappedObject, unsigned short _alpha) +{ + ( theWrappedObject->setAlpha(_alpha)); +} + +void PythonQtWrapper_QRgba64::setBlue(QRgba64* theWrappedObject, unsigned short _blue) +{ + ( theWrappedObject->setBlue(_blue)); +} + +void PythonQtWrapper_QRgba64::setGreen(QRgba64* theWrappedObject, unsigned short _green) +{ + ( theWrappedObject->setGreen(_green)); +} + +void PythonQtWrapper_QRgba64::setRed(QRgba64* theWrappedObject, unsigned short _red) +{ + ( theWrappedObject->setRed(_red)); +} + +uint PythonQtWrapper_QRgba64::toArgb32(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->toArgb32()); +} + +ushort PythonQtWrapper_QRgba64::toRgb16(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->toRgb16()); +} + +QRgba64 PythonQtWrapper_QRgba64::unpremultiplied(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->unpremultiplied()); +} + + + +PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QRubberBand::actionEvent(event0); +} +void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::changeEvent(arg__1); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::childEvent(event0); +} +void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QRubberBand::closeEvent(event0); +} +void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QRubberBand::contextMenuEvent(event0); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::customEvent(event0); +} +int PythonQtShell_QRubberBand::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 QRubberBand::devType(); +} +void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QRubberBand::dragEnterEvent(event0); +} +void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QRubberBand::dragLeaveEvent(event0); +} +void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QRubberBand::dragMoveEvent(event0); +} +void PythonQtShell_QRubberBand::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QRubberBand::dropEvent(event0); +} +void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QRubberBand::enterEvent(event0); +} +bool PythonQtShell_QRubberBand::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 QRubberBand::event(e0); +} +bool PythonQtShell_QRubberBand::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 QRubberBand::eventFilter(watched0, event1); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::focusInEvent(event0); +} +bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::focusNextPrevChild(next0); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::focusOutEvent(event0); +} +bool PythonQtShell_QRubberBand::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::hasHeightForWidth(); +} +int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::heightForWidth(arg__1); +} +void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::hideEvent(event0); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::initPainter(painter0); +} +void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::inputMethodQuery(arg__1); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::keyPressEvent(event0); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::keyReleaseEvent(event0); +} +void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QRubberBand::leaveEvent(event0); +} +int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::metric(arg__1); +} +QSize PythonQtShell_QRubberBand::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::minimumSizeHint(); +} +void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QRubberBand::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QRubberBand::mouseMoveEvent(event0); +} +void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QRubberBand::mousePressEvent(event0); +} +void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QRubberBand::mouseReleaseEvent(event0); +} +void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::moveEvent(arg__1); +} +bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::paintEngine(); +} +void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QRubberBand::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 QRubberBand::redirected(offset0); +} +void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::resizeEvent(arg__1); +} +void PythonQtShell_QRubberBand::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::setVisible(visible0); +} +QPainter* PythonQtShell_QRubberBand::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 QRubberBand::sharedPainter(); +} +void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::showEvent(arg__1); +} +QSize PythonQtShell_QRubberBand::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::sizeHint(); +} +void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QRubberBand::tabletEvent(event0); +} +void PythonQtShell_QRubberBand::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(); + } + } +} + QRubberBand::timerEvent(event0); +} +void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QRubberBand::wheelEvent(event0); +} +QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) +{ +return new PythonQtShell_QRubberBand(arg__1, arg__2); } + +const QMetaObject* PythonQtShell_QRubberBand::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRubberBand::staticMetaObject); + } else { + return &QRubberBand::staticMetaObject; + } +} +int PythonQtShell_QRubberBand::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRubberBand::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QRubberBand::initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->move(p)); +} + +void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, int x, int y) +{ + ( theWrappedObject->move(x, y)); +} + +void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, const QSize& s) +{ + ( theWrappedObject->resize(s)); +} + +void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->setGeometry(r)); +} + +void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setGeometry(x, y, w, h)); +} + +QRubberBand::Shape PythonQtWrapper_QRubberBand::shape(QRubberBand* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + + + +int PythonQtWrapper_QScreen::angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const +{ + return ( theWrappedObject->angleBetween(a, b)); +} + +QRect PythonQtWrapper_QScreen::availableGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableGeometry()); +} + +QSize PythonQtWrapper_QScreen::availableSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableSize()); +} + +QRect PythonQtWrapper_QScreen::availableVirtualGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableVirtualGeometry()); +} + +QSize PythonQtWrapper_QScreen::availableVirtualSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableVirtualSize()); +} + +int PythonQtWrapper_QScreen::depth(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +qreal PythonQtWrapper_QScreen::devicePixelRatio(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +QRect PythonQtWrapper_QScreen::geometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +QPixmap PythonQtWrapper_QScreen::grabWindow(QScreen* theWrappedObject, WId window, int x, int y, int w, int h) +{ + return ( theWrappedObject->grabWindow(window, x, y, w, h)); +} + +bool PythonQtWrapper_QScreen::isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +{ + return ( theWrappedObject->isLandscape(orientation)); +} + +bool PythonQtWrapper_QScreen::isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +{ + return ( theWrappedObject->isPortrait(orientation)); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInch(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInch()); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInchX(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInchX()); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInchY(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInchY()); +} + +QString PythonQtWrapper_QScreen::manufacturer(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->manufacturer()); +} + +QRect PythonQtWrapper_QScreen::mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const +{ + return ( theWrappedObject->mapBetween(a, b, rect)); +} + +QString PythonQtWrapper_QScreen::model(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QString PythonQtWrapper_QScreen::name(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::nativeOrientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->nativeOrientation()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::orientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +Qt::ScreenOrientations PythonQtWrapper_QScreen::orientationUpdateMask(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->orientationUpdateMask()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInch(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInch()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInchX(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInchX()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInchY(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInchY()); +} + +QSizeF PythonQtWrapper_QScreen::physicalSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalSize()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::primaryOrientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->primaryOrientation()); +} + +qreal PythonQtWrapper_QScreen::refreshRate(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->refreshRate()); +} + +QString PythonQtWrapper_QScreen::serialNumber(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->serialNumber()); +} + +void PythonQtWrapper_QScreen::setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask) +{ + ( theWrappedObject->setOrientationUpdateMask(mask)); +} + +QSize PythonQtWrapper_QScreen::size(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QTransform PythonQtWrapper_QScreen::transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const +{ + return ( theWrappedObject->transformBetween(a, b, target)); +} + +QRect PythonQtWrapper_QScreen::virtualGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualGeometry()); +} + +QScreen* PythonQtWrapper_QScreen::virtualSiblingAt(QScreen* theWrappedObject, QPoint point) +{ + return ( theWrappedObject->virtualSiblingAt(point)); +} + +QList PythonQtWrapper_QScreen::virtualSiblings(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualSiblings()); +} + +QSize PythonQtWrapper_QScreen::virtualSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualSize()); +} + +QString PythonQtWrapper_QScreen::py_toString(QScreen* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QScreenOrientationChangeEvent* PythonQtWrapper_QScreenOrientationChangeEvent::new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation) +{ +return new QScreenOrientationChangeEvent(screen, orientation); } + +Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QScreen* PythonQtWrapper_QScreenOrientationChangeEvent::screen(QScreenOrientationChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + + + +PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QScrollArea::actionEvent(event0); +} +void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::changeEvent(arg__1); +} +void PythonQtShell_QScrollArea::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(); + } + } +} + QScrollArea::childEvent(event0); +} +void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QScrollArea::closeEvent(event0); +} +void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QScrollArea::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(); + } + } +} + QScrollArea::customEvent(event0); +} +int PythonQtShell_QScrollArea::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 QScrollArea::devType(); +} +void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +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[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +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[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dropEvent(arg__1); +} +void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QScrollArea::enterEvent(event0); +} +bool PythonQtShell_QScrollArea::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::event(arg__1); +} +bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QScrollArea::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QScrollArea::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(); + } + } +} + QScrollArea::focusInEvent(event0); +} +bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::focusNextPrevChild(next0); +} +void PythonQtShell_QScrollArea::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(); + } + } +} + QScrollArea::focusOutEvent(event0); +} +bool PythonQtShell_QScrollArea::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::hasHeightForWidth(); +} +int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::heightForWidth(arg__1); +} +void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::hideEvent(event0); +} +void PythonQtShell_QScrollArea::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(); + } + } +} + QScrollArea::initPainter(painter0); +} +void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::keyPressEvent(arg__1); +} +void PythonQtShell_QScrollArea::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(); + } + } +} + QScrollArea::keyReleaseEvent(event0); +} +void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QScrollArea::leaveEvent(event0); +} +int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::metric(arg__1); +} +QSize PythonQtShell_QScrollArea::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::minimumSizeHint(); +} +void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mousePressEvent(arg__1); +} +void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QScrollArea::moveEvent(event0); +} +bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::paintEngine(); +} +void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QScrollArea::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 QScrollArea::redirected(offset0); +} +void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::resizeEvent(arg__1); +} +void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QScrollArea::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::setVisible(visible0); +} +void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::setupViewport(viewport0); +} +QPainter* PythonQtShell_QScrollArea::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 QScrollArea::sharedPainter(); +} +void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QScrollArea::showEvent(event0); +} +QSize PythonQtShell_QScrollArea::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::sizeHint(); +} +void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QScrollArea::tabletEvent(event0); +} +void PythonQtShell_QScrollArea::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(); + } + } +} + QScrollArea::timerEvent(event0); +} +bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + 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*)&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("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::viewportEvent(arg__1); +} +QSize PythonQtShell_QScrollArea::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::viewportSizeHint(); +} +void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::wheelEvent(arg__1); +} +QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) +{ +return new PythonQtShell_QScrollArea(parent); } + +const QMetaObject* PythonQtShell_QScrollArea::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollArea::staticMetaObject); + } else { + return &QScrollArea::staticMetaObject; + } +} +int PythonQtShell_QScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QScrollArea::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QScrollArea::alignment(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +void PythonQtWrapper_QScrollArea::ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(x, y, xmargin, ymargin)); +} + +void PythonQtWrapper_QScrollArea::ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); +} + +void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) +{ + ( theWrappedObject->setAlignment(arg__1)); +} + +void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) +{ + ( theWrappedObject->setWidgetResizable(resizable)); +} + +QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) +{ + return ( theWrappedObject->takeWidget()); +} + +QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->widgetResizable()); +} + + + +PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QScrollBar::actionEvent(event0); +} +void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::changeEvent(e0); +} +void PythonQtShell_QScrollBar::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(); + } + } +} + QScrollBar::childEvent(event0); +} +void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QScrollBar::closeEvent(event0); +} +void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +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[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QScrollBar::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(); + } + } +} + QScrollBar::customEvent(event0); +} +int PythonQtShell_QScrollBar::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 QScrollBar::devType(); +} +void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QScrollBar::dragEnterEvent(event0); +} +void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QScrollBar::dragLeaveEvent(event0); +} +void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QScrollBar::dragMoveEvent(event0); +} +void PythonQtShell_QScrollBar::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QScrollBar::dropEvent(event0); +} +void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QScrollBar::enterEvent(event0); +} +bool PythonQtShell_QScrollBar::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 QScrollBar::event(event0); +} +bool PythonQtShell_QScrollBar::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 QScrollBar::eventFilter(watched0, event1); +} +void PythonQtShell_QScrollBar::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(); + } + } +} + QScrollBar::focusInEvent(event0); +} +bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::focusNextPrevChild(next0); +} +void PythonQtShell_QScrollBar::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(); + } + } +} + QScrollBar::focusOutEvent(event0); +} +bool PythonQtShell_QScrollBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::hasHeightForWidth(); +} +int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::heightForWidth(arg__1); +} +void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::hideEvent(arg__1); +} +void PythonQtShell_QScrollBar::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(); + } + } +} + QScrollBar::initPainter(painter0); +} +void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::keyPressEvent(ev0); +} +void PythonQtShell_QScrollBar::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(); + } + } +} + QScrollBar::keyReleaseEvent(event0); +} +void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QScrollBar::leaveEvent(event0); +} +int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::metric(arg__1); +} +QSize PythonQtShell_QScrollBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::minimumSizeHint(); +} +void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QScrollBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::mousePressEvent(arg__1); +} +void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QScrollBar::moveEvent(event0); +} +bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::paintEngine(); +} +void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QScrollBar::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 QScrollBar::redirected(offset0); +} +void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QScrollBar::resizeEvent(event0); +} +void PythonQtShell_QScrollBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::setVisible(visible0); +} +QPainter* PythonQtShell_QScrollBar::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 QScrollBar::sharedPainter(); +} +void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QScrollBar::showEvent(event0); +} +QSize PythonQtShell_QScrollBar::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::sizeHint(); +} +void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sliderChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&change0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::sliderChange(change0); +} +void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QScrollBar::tabletEvent(event0); +} +void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::timerEvent(arg__1); +} +void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::wheelEvent(arg__1); +} +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) +{ +return new PythonQtShell_QScrollBar(parent); } + +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) +{ +return new PythonQtShell_QScrollBar(arg__1, parent); } + +const QMetaObject* PythonQtShell_QScrollBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollBar::staticMetaObject); + } else { + return &QScrollBar::staticMetaObject; + } +} +int PythonQtShell_QScrollBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QScrollBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QScrollBar::initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +QScrollEvent* PythonQtWrapper_QScrollEvent::new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState) +{ +return new QScrollEvent(contentPos, overshoot, scrollState); } + +QPointF PythonQtWrapper_QScrollEvent::contentPos(QScrollEvent* theWrappedObject) const +{ + return ( theWrappedObject->contentPos()); +} + +QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) const +{ + return ( theWrappedObject->overshootDistance()); +} + +QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const +{ + return ( theWrappedObject->scrollState()); +} + + + +QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) +{ +return new QScrollPrepareEvent(startPos); } + +QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->contentPos()); +} + +QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->contentPosRange()); +} + +void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setContentPos(pos)); +} + +void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setContentPosRange(rect)); +} + +void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setViewportSize(size)); +} + +QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->startPos()); +} + +QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->viewportSize()); +} + + + +QList PythonQtWrapper_QScroller::static_QScroller_activeScrollers() +{ + return (QScroller::activeScrollers()); +} + +QPointF PythonQtWrapper_QScroller::finalPosition(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->finalPosition()); +} + +Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType) +{ + return (QScroller::grabGesture(target, gestureType)); +} + +Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabbedGesture(QObject* target) +{ + return (QScroller::grabbedGesture(target)); +} + +bool PythonQtWrapper_QScroller::handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp) +{ + return ( theWrappedObject->handleInput(input, position, timestamp)); +} + +bool PythonQtWrapper_QScroller::static_QScroller_hasScroller(QObject* target) +{ + return (QScroller::hasScroller(target)); +} + +QPointF PythonQtWrapper_QScroller::pixelPerMeter(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->pixelPerMeter()); +} + +QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(QObject* target) +{ + return (QScroller::scroller(target)); +} + +const QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(const QObject* target) +{ + return (QScroller::scroller(target)); +} + +QScrollerProperties PythonQtWrapper_QScroller::scrollerProperties(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->scrollerProperties()); +} + +void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, const QList& positions) +{ + ( theWrappedObject->setSnapPositionsX(positions)); +} + +void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval) +{ + ( theWrappedObject->setSnapPositionsX(first, interval)); +} + +void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, const QList& positions) +{ + ( theWrappedObject->setSnapPositionsY(positions)); +} + +void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval) +{ + ( theWrappedObject->setSnapPositionsY(first, interval)); +} + +QScroller::State PythonQtWrapper_QScroller::state(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QScroller::stop(QScroller* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +QObject* PythonQtWrapper_QScroller::target(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +void PythonQtWrapper_QScroller::static_QScroller_ungrabGesture(QObject* target) +{ + (QScroller::ungrabGesture(target)); +} + +QPointF PythonQtWrapper_QScroller::velocity(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->velocity()); +} + + + +PythonQtShell_QScrollerProperties::~PythonQtShell_QScrollerProperties() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties() +{ +return new PythonQtShell_QScrollerProperties(); } + +QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties(const QScrollerProperties& sp) +{ +return new PythonQtShell_QScrollerProperties(sp); } + +bool PythonQtWrapper_QScrollerProperties::__ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +{ + return ( (*theWrappedObject)!= sp); +} + +QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) +{ + return &( (*theWrappedObject)= sp); +} + +bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +{ + return ( (*theWrappedObject)== sp); +} + +QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const +{ + return ( theWrappedObject->scrollMetric(metric)); +} + +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) +{ + (QScrollerProperties::setDefaultScrollerProperties(sp)); +} + +void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) +{ + ( theWrappedObject->setScrollMetric(metric, value)); +} + +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() +{ + (QScrollerProperties::unsetDefaultScrollerProperties()); +} + + + +PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QShortcut::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(); + } + } +} + QShortcut::childEvent(event0); +} +void PythonQtShell_QShortcut::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(); + } + } +} + QShortcut::customEvent(event0); +} +bool PythonQtShell_QShortcut::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 QShortcut::event(e0); +} +bool PythonQtShell_QShortcut::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 QShortcut::eventFilter(watched0, event1); +} +void PythonQtShell_QShortcut::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(); + } + } +} + QShortcut::timerEvent(event0); +} +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(QWidget* parent) +{ +return new PythonQtShell_QShortcut(parent); } + +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext shortcutContext) +{ +return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, shortcutContext); } + +const QMetaObject* PythonQtShell_QShortcut::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QShortcut::staticMetaObject); + } else { + return &QShortcut::staticMetaObject; + } +} +int PythonQtShell_QShortcut::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QShortcut::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeat()); +} + +Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) +{ + ( theWrappedObject->setAutoRepeat(on)); +} + +void PythonQtWrapper_QShortcut::setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context) +{ + ( theWrappedObject->setContext(context)); +} + +void PythonQtWrapper_QShortcut::setEnabled(QShortcut* theWrappedObject, bool enable) +{ + ( theWrappedObject->setEnabled(enable)); +} + +void PythonQtWrapper_QShortcut::setKey(QShortcut* theWrappedObject, const QKeySequence& key) +{ + ( theWrappedObject->setKey(key)); +} + +void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setWhatsThis(text)); +} + +QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.h new file mode 100644 index 00000000..679b1828 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui7.h @@ -0,0 +1,2144 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QPolygonF : public QObject +{ Q_OBJECT +public: +public slots: +QPolygonF* new_QPolygonF(); +QPolygonF* new_QPolygonF(const QPolygon& a); +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 append(QPolygonF* theWrappedObject, const QPointF& t); + void append(QPolygonF* theWrappedObject, const QVector& l); + const QPointF* at(QPolygonF* theWrappedObject, int i) const; + QRectF boundingRect(QPolygonF* theWrappedObject) const; + int capacity(QPolygonF* theWrappedObject) const; + void clear(QPolygonF* theWrappedObject); + const QPointF* constFirst(QPolygonF* theWrappedObject) const; + const QPointF* constLast(QPolygonF* theWrappedObject) const; + bool contains(QPolygonF* theWrappedObject, const QPointF& t) const; + bool containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const; + int count(QPolygonF* theWrappedObject) const; + int count(QPolygonF* theWrappedObject, const QPointF& t) const; + bool empty(QPolygonF* theWrappedObject) const; + bool endsWith(QPolygonF* theWrappedObject, const QPointF& t) const; + QVector* fill(QPolygonF* theWrappedObject, const QPointF& t, int size = -1); + const QPointF* first(QPolygonF* theWrappedObject) const; + QVector static_QPolygonF_fromList(const QList& list); + int indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = 0) const; + QPolygonF intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const; + bool intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const; + bool isClosed(QPolygonF* theWrappedObject) const; + bool isEmpty(QPolygonF* theWrappedObject) const; + bool isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const; + const QPointF* last(QPolygonF* theWrappedObject) const; + int lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = -1) const; + int length(QPolygonF* theWrappedObject) const; + QVector mid(QPolygonF* theWrappedObject, int pos, int len = -1) const; + void move(QPolygonF* theWrappedObject, int from, int to); + bool __ne__(QPolygonF* theWrappedObject, const QVector& v) const; + QPolygonF __mul__(QPolygonF* theWrappedObject, const QMatrix& m); + QPolygonF __mul__(QPolygonF* theWrappedObject, const QTransform& m); + void writeTo(QPolygonF* theWrappedObject, QDataStream& stream); + QPolygonF* operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other); + bool __eq__(QPolygonF* theWrappedObject, const QVector& v) const; + void readFrom(QPolygonF* theWrappedObject, QDataStream& stream); + void pop_back(QPolygonF* theWrappedObject); + void pop_front(QPolygonF* theWrappedObject); + void prepend(QPolygonF* theWrappedObject, const QPointF& t); + void push_back(QPolygonF* theWrappedObject, const QPointF& t); + void push_front(QPolygonF* theWrappedObject, const QPointF& t); + void remove(QPolygonF* theWrappedObject, int i); + void remove(QPolygonF* theWrappedObject, int i, int n); + int removeAll(QPolygonF* theWrappedObject, const QPointF& t); + void removeAt(QPolygonF* theWrappedObject, int i); + void removeFirst(QPolygonF* theWrappedObject); + void removeLast(QPolygonF* theWrappedObject); + bool removeOne(QPolygonF* theWrappedObject, const QPointF& t); + void replace(QPolygonF* theWrappedObject, int i, const QPointF& t); + void reserve(QPolygonF* theWrappedObject, int size); + void resize(QPolygonF* theWrappedObject, int size); + void setSharable(QPolygonF* theWrappedObject, bool sharable); + void shrink_to_fit(QPolygonF* theWrappedObject); + int size(QPolygonF* theWrappedObject) const; + void squeeze(QPolygonF* theWrappedObject); + bool startsWith(QPolygonF* theWrappedObject, const QPointF& t) const; + QPolygonF subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const; + void swap(QPolygonF* theWrappedObject, QPolygonF& other); + void swapItemsAt(QPolygonF* theWrappedObject, int i, int j); + QPointF takeAt(QPolygonF* theWrappedObject, int i); + QPointF takeFirst(QPolygonF* theWrappedObject); + QPointF takeLast(QPolygonF* theWrappedObject); + QList toList(QPolygonF* theWrappedObject) const; + QPolygon toPolygon(QPolygonF* theWrappedObject) const; + void translate(QPolygonF* theWrappedObject, const QPointF& offset); + void translate(QPolygonF* theWrappedObject, qreal dx, qreal dy); + QPolygonF translated(QPolygonF* theWrappedObject, const QPointF& offset) const; + QPolygonF translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const; + QPolygonF united(QPolygonF* theWrappedObject, const QPolygonF& r) const; + QPointF value(QPolygonF* theWrappedObject, int i) const; + QPointF value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const; + QString py_toString(QPolygonF*); + bool __nonzero__(QPolygonF* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QPrintDialog : public QPrintDialog +{ +public: + 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 +{ public: +inline void py_q_accept() { QPrintDialog::accept(); } +inline void py_q_done(int result) { QPrintDialog::done(result); } +inline int py_q_exec() { return QPrintDialog::exec(); } +inline void py_q_setVisible(bool visible) { QPrintDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr); +QPrintDialog* new_QPrintDialog(QWidget* parent = nullptr); +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());} + void open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member); + QAbstractPrintDialog::PrintDialogOptions options(QPrintDialog* theWrappedObject) const; + void setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on = true); + void setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); + void py_q_setVisible(QPrintDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_setVisible(visible));} + bool testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; +}; + + + + + +class PythonQtShell_QPrintEngine : public QPrintEngine +{ +public: + PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintEngine() override; + +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; +}; + +class PythonQtPublicPromoter_QPrintEngine : public QPrintEngine +{ public: +inline bool py_q_abort() { return this->abort(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline bool py_q_newPage() { return this->newPage(); } +inline QPrinter::PrinterState py_q_printerState() const { return this->printerState(); } +inline QVariant py_q_property(QPrintEngine::PrintEnginePropertyKey key) const { return this->property(key); } +inline void py_q_setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) { this->setProperty(key, value); } +}; + +class PythonQtWrapper_QPrintEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PrintEnginePropertyKey ) +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; } + 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; + int py_q_metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_metric(arg__1));} + bool newPage(QPrintEngine* theWrappedObject); + bool py_q_newPage(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_newPage());} + QPrinter::PrinterState printerState(QPrintEngine* theWrappedObject) const; + QPrinter::PrinterState py_q_printerState(QPrintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_printerState());} + QVariant property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const; + QVariant py_q_property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_property(key));} + void setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); + void py_q_setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value){ (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_setProperty(key, value));} +}; + + + + + +class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog +{ +public: + 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 +{ public: +inline void py_q_done(int result) { QPrintPreviewDialog::done(result); } +inline void py_q_setVisible(bool visible) { QPrintPreviewDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintPreviewDialog : public QObject +{ Q_OBJECT +public: +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 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); + void py_q_setVisible(QPrintPreviewDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_setVisible(visible));} +}; + + + + + +class PythonQtShell_QPrintPreviewWidget : public QPrintPreviewWidget +{ +public: + 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 +{ public: +inline void py_q_setVisible(bool visible) { QPrintPreviewWidget::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintPreviewWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ViewMode ZoomMode ) +enum ViewMode{ + SinglePageView = QPrintPreviewWidget::SinglePageView, FacingPagesView = QPrintPreviewWidget::FacingPagesView, AllPagesView = QPrintPreviewWidget::AllPagesView}; +enum ZoomMode{ + CustomZoom = QPrintPreviewWidget::CustomZoom, FitToWidth = QPrintPreviewWidget::FitToWidth, FitInView = QPrintPreviewWidget::FitInView}; +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; } + int currentPage(QPrintPreviewWidget* theWrappedObject) const; + QPrinter::Orientation orientation(QPrintPreviewWidget* theWrappedObject) const; + int pageCount(QPrintPreviewWidget* theWrappedObject) const; + void py_q_setVisible(QPrintPreviewWidget* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewWidget*)theWrappedObject)->py_q_setVisible(visible));} + QPrintPreviewWidget::ViewMode viewMode(QPrintPreviewWidget* theWrappedObject) const; + qreal zoomFactor(QPrintPreviewWidget* theWrappedObject) const; + QPrintPreviewWidget::ZoomMode zoomMode(QPrintPreviewWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPrinter : public QPrinter +{ +public: + 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 +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline void promoted_setEngines(QPrintEngine* printEngine, QPaintEngine* paintEngine) { this->setEngines(printEngine, paintEngine); } +inline int py_q_devType() const { return QPrinter::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPrinter::metric(arg__1); } +inline bool py_q_newPage() { return QPrinter::newPage(); } +inline QPaintEngine* py_q_paintEngine() const { return QPrinter::paintEngine(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPrinter::setMargins(m); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize arg__1) { QPrinter::setPageSize(arg__1); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPrinter::setPageSizeMM(size); } +}; + +class PythonQtWrapper_QPrinter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ColorMode DuplexMode Orientation OutputFormat PageOrder PaperSource PrintRange PrinterMode PrinterState Unit ) +enum ColorMode{ + GrayScale = QPrinter::GrayScale, Color = QPrinter::Color}; +enum DuplexMode{ + DuplexNone = QPrinter::DuplexNone, DuplexAuto = QPrinter::DuplexAuto, DuplexLongSide = QPrinter::DuplexLongSide, DuplexShortSide = QPrinter::DuplexShortSide}; +enum Orientation{ + Portrait = QPrinter::Portrait, Landscape = QPrinter::Landscape}; +enum OutputFormat{ + NativeFormat = QPrinter::NativeFormat, PdfFormat = QPrinter::PdfFormat}; +enum PageOrder{ + FirstPageFirst = QPrinter::FirstPageFirst, LastPageFirst = QPrinter::LastPageFirst}; +enum PaperSource{ + OnlyOne = QPrinter::OnlyOne, Lower = QPrinter::Lower, Middle = QPrinter::Middle, Manual = QPrinter::Manual, Envelope = QPrinter::Envelope, EnvelopeManual = QPrinter::EnvelopeManual, Auto = QPrinter::Auto, Tractor = QPrinter::Tractor, SmallFormat = QPrinter::SmallFormat, LargeFormat = QPrinter::LargeFormat, LargeCapacity = QPrinter::LargeCapacity, Cassette = QPrinter::Cassette, FormSource = QPrinter::FormSource, MaxPageSource = QPrinter::MaxPageSource, CustomSource = QPrinter::CustomSource, LastPaperSource = QPrinter::LastPaperSource, Upper = QPrinter::Upper}; +enum PrintRange{ + AllPages = QPrinter::AllPages, Selection = QPrinter::Selection, PageRange = QPrinter::PageRange, CurrentPage = QPrinter::CurrentPage}; +enum PrinterMode{ + ScreenResolution = QPrinter::ScreenResolution, PrinterResolution = QPrinter::PrinterResolution, HighResolution = QPrinter::HighResolution}; +enum PrinterState{ + Idle = QPrinter::Idle, Active = QPrinter::Active, Aborted = QPrinter::Aborted, Error = QPrinter::Error}; +enum Unit{ + Millimeter = QPrinter::Millimeter, Point = QPrinter::Point, Inch = QPrinter::Inch, Pica = QPrinter::Pica, Didot = QPrinter::Didot, Cicero = QPrinter::Cicero, DevicePixel = QPrinter::DevicePixel}; +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; } + bool abort(QPrinter* theWrappedObject); + int actualNumCopies(QPrinter* theWrappedObject) const; + bool collateCopies(QPrinter* theWrappedObject) const; + QPrinter::ColorMode colorMode(QPrinter* theWrappedObject) const; + int copyCount(QPrinter* theWrappedObject) const; + QString creator(QPrinter* theWrappedObject) const; + int py_q_devType(QPrinter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_devType());} + QString docName(QPrinter* theWrappedObject) const; + bool doubleSidedPrinting(QPrinter* theWrappedObject) const; + QPrinter::DuplexMode duplex(QPrinter* theWrappedObject) const; + bool fontEmbeddingEnabled(QPrinter* theWrappedObject) const; + int fromPage(QPrinter* theWrappedObject) const; + bool fullPage(QPrinter* theWrappedObject) const; + void getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const; + bool isValid(QPrinter* theWrappedObject) const; + int py_q_metric(QPrinter* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_metric(arg__1));} + bool py_q_newPage(QPrinter* theWrappedObject){ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_newPage());} + int numCopies(QPrinter* theWrappedObject) const; + QPrinter::Orientation orientation(QPrinter* theWrappedObject) const; + QString outputFileName(QPrinter* theWrappedObject) const; + QPrinter::OutputFormat outputFormat(QPrinter* theWrappedObject) const; + QPrinter::PageOrder pageOrder(QPrinter* theWrappedObject) const; + QRect pageRect(QPrinter* theWrappedObject) const; + QRectF pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; + QPagedPaintDevice::PageSize pageSize(QPrinter* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QPrinter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_paintEngine());} + QString paperName(QPrinter* theWrappedObject) const; + QRect paperRect(QPrinter* theWrappedObject) const; + QRectF paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; + QPagedPaintDevice::PageSize paperSize(QPrinter* theWrappedObject) const; + QSizeF paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const; + QPrinter::PaperSource paperSource(QPrinter* theWrappedObject) const; + QPagedPaintDevice::PdfVersion pdfVersion(QPrinter* theWrappedObject) const; + QPrintEngine* printEngine(QPrinter* theWrappedObject) const; + QString printProgram(QPrinter* theWrappedObject) const; + QPrinter::PrintRange printRange(QPrinter* theWrappedObject) const; + QString printerName(QPrinter* theWrappedObject) const; + QPrinter::PrinterState printerState(QPrinter* theWrappedObject) const; + int resolution(QPrinter* theWrappedObject) const; + void setCollateCopies(QPrinter* theWrappedObject, bool collate); + void setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1); + void setCopyCount(QPrinter* theWrappedObject, int arg__1); + void setCreator(QPrinter* theWrappedObject, const QString& arg__1); + void setDocName(QPrinter* theWrappedObject, const QString& arg__1); + void setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable); + void setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex); + void setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine); + void setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable); + void setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage); + void setFullPage(QPrinter* theWrappedObject, bool arg__1); + void py_q_setMargins(QPrinter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setMargins(m));} + void setNumCopies(QPrinter* theWrappedObject, int arg__1); + void setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1); + void setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1); + void setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format); + void setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit); + void setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1); + void py_q_setPageSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setPageSize(arg__1));} + void py_q_setPageSizeMM(QPrinter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setPageSizeMM(size));} + void setPaperName(QPrinter* theWrappedObject, const QString& paperName); + void setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1); + void setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit); + void setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1); + void setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version); + void setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1); + void setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range); + void setPrinterName(QPrinter* theWrappedObject, const QString& arg__1); + void setResolution(QPrinter* theWrappedObject, int arg__1); + void setWinPageSize(QPrinter* theWrappedObject, int winPageSize); + QList supportedResolutions(QPrinter* theWrappedObject) const; + bool supportsMultipleCopies(QPrinter* theWrappedObject) const; + int toPage(QPrinter* theWrappedObject) const; + int winPageSize(QPrinter* theWrappedObject) const; + bool __nonzero__(QPrinter* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QPrinterInfo : public QObject +{ Q_OBJECT +public: +public slots: +QPrinterInfo* new_QPrinterInfo(); +QPrinterInfo* new_QPrinterInfo(const QPrinter& printer); +QPrinterInfo* new_QPrinterInfo(const QPrinterInfo& other); +void delete_QPrinterInfo(QPrinterInfo* obj) { delete obj; } + QStringList static_QPrinterInfo_availablePrinterNames(); + QList static_QPrinterInfo_availablePrinters(); + QPrinter::ColorMode defaultColorMode(QPrinterInfo* theWrappedObject) const; + QPrinter::DuplexMode defaultDuplexMode(QPrinterInfo* theWrappedObject) const; + QPageSize defaultPageSize(QPrinterInfo* theWrappedObject) const; + QPrinterInfo static_QPrinterInfo_defaultPrinter(); + QString static_QPrinterInfo_defaultPrinterName(); + QString description(QPrinterInfo* theWrappedObject) const; + bool isDefault(QPrinterInfo* theWrappedObject) const; + bool isNull(QPrinterInfo* theWrappedObject) const; + bool isRemote(QPrinterInfo* theWrappedObject) const; + QString location(QPrinterInfo* theWrappedObject) const; + QString makeAndModel(QPrinterInfo* theWrappedObject) const; + QPageSize maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const; + QPageSize minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const; + QPrinterInfo static_QPrinterInfo_printerInfo(const QString& printerName); + QString printerName(QPrinterInfo* theWrappedObject) const; + QPrinter::PrinterState state(QPrinterInfo* theWrappedObject) const; + QList supportedColorModes(QPrinterInfo* theWrappedObject) const; + QList supportedDuplexModes(QPrinterInfo* theWrappedObject) const; + QList supportedPageSizes(QPrinterInfo* theWrappedObject) const; + QList supportedPaperSizes(QPrinterInfo* theWrappedObject) const; + QList supportedResolutions(QPrinterInfo* theWrappedObject) const; + QList > supportedSizesWithNames(QPrinterInfo* theWrappedObject) const; + bool supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const; + QString py_toString(QPrinterInfo*); + bool __nonzero__(QPrinterInfo* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QProgressBar : public QProgressBar +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initStyleOption(QStyleOptionProgressBar* option) const { this->initStyleOption(option); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QProgressBar::event(e); } +inline QSize py_q_minimumSizeHint() const { return QProgressBar::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QProgressBar::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QProgressBar::sizeHint(); } +inline QString py_q_text() const { return QProgressBar::text(); } +}; + +class PythonQtWrapper_QProgressBar : public QObject +{ Q_OBJECT +public: +public slots: +QProgressBar* new_QProgressBar(QWidget* parent = nullptr); +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; + void initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const; + bool invertedAppearance(QProgressBar* theWrappedObject) const; + bool isTextVisible(QProgressBar* theWrappedObject) const; + int maximum(QProgressBar* theWrappedObject) const; + int minimum(QProgressBar* theWrappedObject) const; + QSize minimumSizeHint(QProgressBar* theWrappedObject) const; + QSize py_q_minimumSizeHint(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_minimumSizeHint());} + Qt::Orientation orientation(QProgressBar* theWrappedObject) const; + void py_q_paintEvent(QProgressBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + void resetFormat(QProgressBar* theWrappedObject); + void setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment); + void setFormat(QProgressBar* theWrappedObject, const QString& format); + void setInvertedAppearance(QProgressBar* theWrappedObject, bool invert); + void setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection); + void setTextVisible(QProgressBar* theWrappedObject, bool visible); + QSize sizeHint(QProgressBar* theWrappedObject) const; + QSize py_q_sizeHint(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_sizeHint());} + QString text(QProgressBar* theWrappedObject) const; + QString py_q_text(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_text());} + QProgressBar::Direction textDirection(QProgressBar* theWrappedObject) const; + int value(QProgressBar* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QProgressDialog : public QProgressDialog +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline void promoted_forceShow() { this->forceShow(); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QProgressDialog::changeEvent(event); } +inline void py_q_closeEvent(QCloseEvent* event) { QProgressDialog::closeEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QProgressDialog::resizeEvent(event); } +inline void py_q_showEvent(QShowEvent* event) { QProgressDialog::showEvent(event); } +inline QSize py_q_sizeHint() const { return QProgressDialog::sizeHint(); } +}; + +class PythonQtWrapper_QProgressDialog : public QObject +{ Q_OBJECT +public: +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; } + 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));} + void py_q_closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_closeEvent(event));} + QString labelText(QProgressDialog* theWrappedObject) const; + int maximum(QProgressDialog* theWrappedObject) const; + int minimum(QProgressDialog* theWrappedObject) const; + int minimumDuration(QProgressDialog* theWrappedObject) const; + void open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member); + void py_q_resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_resizeEvent(event));} + void setAutoClose(QProgressDialog* theWrappedObject, bool close); + void setAutoReset(QProgressDialog* theWrappedObject, bool reset); + void setBar(QProgressDialog* theWrappedObject, QProgressBar* bar); + void setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button); + void setLabel(QProgressDialog* theWrappedObject, QLabel* label); + void py_q_showEvent(QProgressDialog* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_showEvent(event));} + QSize py_q_sizeHint(QProgressDialog* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_sizeHint());} + int value(QProgressDialog* theWrappedObject) const; + bool wasCanceled(QProgressDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QProxyStyle : public QProxyStyle +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void py_q_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawComplexControl(control, option, painter, widget); } +inline void py_q_drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawControl(element, option, painter, widget); } +inline void py_q_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QProxyStyle::drawItemPixmap(painter, rect, alignment, pixmap); } +inline void py_q_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QProxyStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } +inline void py_q_drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawPrimitive(element, option, painter, widget); } +inline bool py_q_event(QEvent* e) { return QProxyStyle::event(e); } +inline QPixmap py_q_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QProxyStyle::generatedIconPixmap(iconMode, pixmap, opt); } +inline QStyle::SubControl py_q_hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const { return QProxyStyle::hitTestComplexControl(control, option, pos, widget); } +inline QRect py_q_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QProxyStyle::itemPixmapRect(r, flags, pixmap); } +inline QRect py_q_itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const { return QProxyStyle::itemTextRect(fm, r, flags, enabled, text); } +inline int py_q_layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::layoutSpacing(control1, control2, orientation, option, widget); } +inline int py_q_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::pixelMetric(metric, option, widget); } +inline void py_q_polish(QApplication* app) { QProxyStyle::polish(app); } +inline void py_q_polish(QPalette& pal) { QProxyStyle::polish(pal); } +inline void py_q_polish(QWidget* widget) { QProxyStyle::polish(widget); } +inline QSize py_q_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QProxyStyle::sizeFromContents(type, option, size, widget); } +inline QIcon py_q_standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::standardIcon(standardIcon, option, widget); } +inline QPalette py_q_standardPalette() const { return QProxyStyle::standardPalette(); } +inline QPixmap py_q_standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const { return QProxyStyle::standardPixmap(standardPixmap, opt, widget); } +inline int py_q_styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const { return QProxyStyle::styleHint(hint, option, widget, returnData); } +inline QRect py_q_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QProxyStyle::subControlRect(cc, opt, sc, widget); } +inline QRect py_q_subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const { return QProxyStyle::subElementRect(element, option, widget); } +inline void py_q_unpolish(QApplication* app) { QProxyStyle::unpolish(app); } +inline void py_q_unpolish(QWidget* widget) { QProxyStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QProxyStyle : public QObject +{ Q_OBJECT +public: +public slots: +QProxyStyle* new_QProxyStyle(QStyle* style = nullptr); +QProxyStyle* new_QProxyStyle(const QString& key); +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));} + void py_q_drawItemPixmap(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawItemPixmap(painter, rect, alignment, pixmap));} + void py_q_drawItemText(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawItemText(painter, rect, flags, pal, enabled, text, textRole));} + void py_q_drawPrimitive(QProxyStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawPrimitive(element, option, painter, widget));} + bool py_q_event(QProxyStyle* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_event(e));} + QPixmap py_q_generatedIconPixmap(QProxyStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_generatedIconPixmap(iconMode, pixmap, opt));} + QStyle::SubControl py_q_hitTestComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_hitTestComplexControl(control, option, pos, widget));} + QRect py_q_itemPixmapRect(QProxyStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_itemPixmapRect(r, flags, pixmap));} + QRect itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; + QRect py_q_itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_itemTextRect(fm, r, flags, enabled, text));} + int py_q_layoutSpacing(QProxyStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_layoutSpacing(control1, control2, orientation, option, widget));} + int py_q_pixelMetric(QProxyStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_pixelMetric(metric, option, widget));} + void py_q_polish(QProxyStyle* theWrappedObject, QApplication* app){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(app));} + void py_q_polish(QProxyStyle* theWrappedObject, QPalette& pal){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(pal));} + void py_q_polish(QProxyStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(widget));} + void setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style); + QSize py_q_sizeFromContents(QProxyStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_sizeFromContents(type, option, size, widget));} + QIcon py_q_standardIcon(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardIcon(standardIcon, option, widget));} + QPalette py_q_standardPalette(QProxyStyle* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardPalette());} + QPixmap py_q_standardPixmap(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardPixmap(standardPixmap, opt, widget));} + int py_q_styleHint(QProxyStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_styleHint(hint, option, widget, returnData));} + QRect py_q_subControlRect(QProxyStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_subControlRect(cc, opt, sc, widget));} + QRect py_q_subElementRect(QProxyStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_subElementRect(element, option, widget));} + void py_q_unpolish(QProxyStyle* theWrappedObject, QApplication* app){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_unpolish(app));} + void py_q_unpolish(QProxyStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_unpolish(widget));} +}; + + + + + +class PythonQtShell_QPushButton : public QPushButton +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } +inline void promoted_initStyleOption(QStyleOptionButton* option) const { this->initStyleOption(option); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QPushButton::event(e); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QPushButton::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QPushButton::focusOutEvent(arg__1); } +inline bool py_q_hitButton(const QPoint& pos) const { return QPushButton::hitButton(pos); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QPushButton::keyPressEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QPushButton::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QPushButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QPushButton::sizeHint(); } +}; + +class PythonQtWrapper_QPushButton : public QObject +{ Q_OBJECT +public: +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; } + 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));} + void py_q_focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + bool py_q_hitButton(QPushButton* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_hitButton(pos));} + void initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const; + bool isDefault(QPushButton* theWrappedObject) const; + bool isFlat(QPushButton* theWrappedObject) const; + void py_q_keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + QMenu* menu(QPushButton* theWrappedObject) const; + QSize minimumSizeHint(QPushButton* theWrappedObject) const; + QSize py_q_minimumSizeHint(QPushButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_paintEvent(QPushButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_paintEvent(arg__1));} + void setAutoDefault(QPushButton* theWrappedObject, bool arg__1); + void setDefault(QPushButton* theWrappedObject, bool arg__1); + void setFlat(QPushButton* theWrappedObject, bool arg__1); + void setMenu(QPushButton* theWrappedObject, QMenu* menu); + QSize sizeHint(QPushButton* theWrappedObject) const; + QSize py_q_sizeHint(QPushButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtWrapper_QQuaternion : public QObject +{ Q_OBJECT +public: +public slots: +QQuaternion* new_QQuaternion(); +QQuaternion* new_QQuaternion(const QVector4D& vector); +QQuaternion* new_QQuaternion(float scalar, const QVector3D& vector); +QQuaternion* new_QQuaternion(float scalar, float xpos, float ypos, float zpos); +QQuaternion* new_QQuaternion(const QQuaternion& other) { +QQuaternion* a = new QQuaternion(); +*((QQuaternion*)a) = other; +return a; } +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); + QQuaternion static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis); + QQuaternion static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle); + QQuaternion static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle); + QQuaternion static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up); + QQuaternion static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles); + QQuaternion static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll); + void getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const; + void getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const; + void getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const; + void getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const; + QQuaternion inverted(QQuaternion* theWrappedObject) const; + bool isIdentity(QQuaternion* theWrappedObject) const; + bool isNull(QQuaternion* theWrappedObject) const; + float length(QQuaternion* theWrappedObject) const; + float lengthSquared(QQuaternion* theWrappedObject) const; + 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); + QQuaternion* __imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); + QQuaternion* __imul__(QQuaternion* theWrappedObject, float factor); + const QQuaternion __add__(QQuaternion* theWrappedObject, const QQuaternion& q2); + QQuaternion* __iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); + const QQuaternion __sub__(QQuaternion* theWrappedObject); + const QQuaternion __sub__(QQuaternion* theWrappedObject, const QQuaternion& q2); + QQuaternion* __isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); + const QQuaternion __div__(QQuaternion* theWrappedObject, float divisor); + QQuaternion* __idiv__(QQuaternion* theWrappedObject, float divisor); + void writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1); + bool __eq__(QQuaternion* theWrappedObject, const QQuaternion& q2); + void readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1); + QVector3D rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const; + QQuaternion static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to); + float scalar(QQuaternion* theWrappedObject) const; + void setScalar(QQuaternion* theWrappedObject, float scalar); + void setVector(QQuaternion* theWrappedObject, const QVector3D& vector); + void setVector(QQuaternion* theWrappedObject, float x, float y, float z); + void setX(QQuaternion* theWrappedObject, float x); + void setY(QQuaternion* theWrappedObject, float y); + void setZ(QQuaternion* theWrappedObject, float z); + QQuaternion static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t); + QVector3D toEulerAngles(QQuaternion* theWrappedObject) const; + QVector4D toVector4D(QQuaternion* theWrappedObject) const; + QVector3D vector(QQuaternion* theWrappedObject) const; + float x(QQuaternion* theWrappedObject) const; + float y(QQuaternion* theWrappedObject) const; + float z(QQuaternion* theWrappedObject) const; + QString py_toString(QQuaternion*); + bool __nonzero__(QQuaternion* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QRadialGradient : public QObject +{ Q_OBJECT +public: +public slots: +QRadialGradient* new_QRadialGradient(); +QRadialGradient* new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius); +QRadialGradient* new_QRadialGradient(const QPointF& center, qreal radius); +QRadialGradient* new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint); +QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius); +QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal radius); +QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy); +QRadialGradient* new_QRadialGradient(const QRadialGradient& other) { +QRadialGradient* a = new QRadialGradient(); +*((QRadialGradient*)a) = other; +return a; } +void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } + QPointF center(QRadialGradient* theWrappedObject) const; + qreal centerRadius(QRadialGradient* theWrappedObject) const; + QPointF focalPoint(QRadialGradient* theWrappedObject) const; + qreal focalRadius(QRadialGradient* theWrappedObject) const; + qreal radius(QRadialGradient* theWrappedObject) const; + void setCenter(QRadialGradient* theWrappedObject, const QPointF& center); + void setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setCenterRadius(QRadialGradient* theWrappedObject, qreal radius); + void setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint); + void setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setFocalRadius(QRadialGradient* theWrappedObject, qreal radius); + void setRadius(QRadialGradient* theWrappedObject, qreal radius); +}; + + + + + +class PythonQtShell_QRadioButton : public QRadioButton +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_hitButton(const QPoint& arg__1) const { return this->hitButton(arg__1); } +inline void promoted_initStyleOption(QStyleOptionButton* button) const { this->initStyleOption(button); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QRadioButton::event(e); } +inline bool py_q_hitButton(const QPoint& arg__1) const { return QRadioButton::hitButton(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QRadioButton::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QRadioButton::mouseMoveEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QRadioButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QRadioButton::sizeHint(); } +}; + +class PythonQtWrapper_QRadioButton : public QObject +{ Q_OBJECT +public: +public slots: +QRadioButton* new_QRadioButton(QWidget* parent = nullptr); +QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = nullptr); +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; + QSize minimumSizeHint(QRadioButton* theWrappedObject) const; + QSize py_q_minimumSizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_paintEvent(arg__1));} + QSize sizeHint(QRadioButton* theWrappedObject) const; + QSize py_q_sizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtShell_QRasterWindow : public QRasterWindow +{ +public: + 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 +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintDevice* promoted_redirected(QPoint* arg__1) const { return this->redirected(arg__1); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QRasterWindow::metric(metric); } +inline QPaintDevice* py_q_redirected(QPoint* arg__1) const { return QRasterWindow::redirected(arg__1); } +}; + +class PythonQtWrapper_QRasterWindow : public QObject +{ Q_OBJECT +public: +public slots: +QRasterWindow* new_QRasterWindow(QWindow* parent = nullptr); +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* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} +}; + + + + + +class PythonQtWrapper_QRawFont : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AntialiasingType LayoutFlag ) +Q_FLAGS(LayoutFlags ) +enum AntialiasingType{ + PixelAntialiasing = QRawFont::PixelAntialiasing, SubPixelAntialiasing = QRawFont::SubPixelAntialiasing}; +enum LayoutFlag{ + SeparateAdvances = QRawFont::SeparateAdvances, KernedAdvances = QRawFont::KernedAdvances, UseDesignMetrics = QRawFont::UseDesignMetrics}; +Q_DECLARE_FLAGS(LayoutFlags, LayoutFlag) +public slots: +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; } + 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; + bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const; + QImage alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType = QRawFont::SubPixelAntialiasing, const QTransform& transform = QTransform()) const; + qreal ascent(QRawFont* theWrappedObject) const; + qreal averageCharWidth(QRawFont* theWrappedObject) const; + QRectF boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const; + qreal capHeight(QRawFont* theWrappedObject) const; + qreal descent(QRawFont* theWrappedObject) const; + QString familyName(QRawFont* theWrappedObject) const; + QByteArray fontTable(QRawFont* theWrappedObject, const char* tagName) const; + QRawFont static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any); + bool glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const; + QVector glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const; + QFont::HintingPreference hintingPreference(QRawFont* theWrappedObject) const; + bool isValid(QRawFont* theWrappedObject) const; + qreal leading(QRawFont* theWrappedObject) const; + qreal lineThickness(QRawFont* theWrappedObject) const; + void loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference); + void loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference); + qreal maxCharWidth(QRawFont* theWrappedObject) const; + bool __ne__(QRawFont* theWrappedObject, const QRawFont& other) const; + QRawFont* operator_assign(QRawFont* theWrappedObject, const QRawFont& other); + bool __eq__(QRawFont* theWrappedObject, const QRawFont& other) const; + QPainterPath pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const; + qreal pixelSize(QRawFont* theWrappedObject) const; + void setPixelSize(QRawFont* theWrappedObject, qreal pixelSize); + QFont::Style style(QRawFont* theWrappedObject) const; + QString styleName(QRawFont* theWrappedObject) const; + QList supportedWritingSystems(QRawFont* theWrappedObject) const; + bool supportsCharacter(QRawFont* theWrappedObject, QChar character) const; + bool supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const; + void swap(QRawFont* theWrappedObject, QRawFont& other); + qreal underlinePosition(QRawFont* theWrappedObject) const; + qreal unitsPerEm(QRawFont* theWrappedObject) const; + int weight(QRawFont* theWrappedObject) const; + qreal xHeight(QRawFont* theWrappedObject) const; + bool __nonzero__(QRawFont* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QRegExpValidator : public QRegExpValidator +{ +public: + 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 +{ public: +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegExpValidator::validate(input, pos); } +}; + +class PythonQtWrapper_QRegExpValidator : public QObject +{ Q_OBJECT +public: +public slots: +QRegExpValidator* new_QRegExpValidator(QObject* parent = nullptr); +QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr); +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));} +}; + + + + + +class PythonQtShell_QRegularExpressionValidator : public QRegularExpressionValidator +{ +public: + 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 +{ public: +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegularExpressionValidator::validate(input, pos); } +}; + +class PythonQtWrapper_QRegularExpressionValidator : public QObject +{ Q_OBJECT +public: +public slots: +QRegularExpressionValidator* new_QRegularExpressionValidator(QObject* parent = nullptr); +QRegularExpressionValidator* new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr); +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));} +}; + + + + + +class PythonQtShell_QResizeEvent : public QResizeEvent +{ +public: + PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(nullptr) {}; + + ~PythonQtShell_QResizeEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QResizeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QResizeEvent* new_QResizeEvent(const QSize& size, const QSize& oldSize); +void delete_QResizeEvent(QResizeEvent* obj) { delete obj; } + const QSize* oldSize(QResizeEvent* theWrappedObject) const; + const QSize* size(QResizeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QRgba64 : public QObject +{ Q_OBJECT +public: +public slots: +QRgba64* new_QRgba64(); +QRgba64* new_QRgba64(const QRgba64& other) { +QRgba64* a = new QRgba64(); +*((QRgba64*)a) = other; +return a; } +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; + unsigned char blue8(QRgba64* theWrappedObject) const; + QRgba64 static_QRgba64_fromArgb32(uint rgb); + QRgba64 static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha); + QRgba64 static_QRgba64_fromRgba64(quint64 c); + QRgba64 static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha); + unsigned short green(QRgba64* theWrappedObject) const; + unsigned char green8(QRgba64* theWrappedObject) const; + bool isOpaque(QRgba64* theWrappedObject) const; + bool isTransparent(QRgba64* theWrappedObject) const; + QRgba64 operator_assign(QRgba64* theWrappedObject, quint64 _rgba); + QRgba64 premultiplied(QRgba64* theWrappedObject) const; + unsigned short red(QRgba64* theWrappedObject) const; + unsigned char red8(QRgba64* theWrappedObject) const; + void setAlpha(QRgba64* theWrappedObject, unsigned short _alpha); + void setBlue(QRgba64* theWrappedObject, unsigned short _blue); + void setGreen(QRgba64* theWrappedObject, unsigned short _green); + void setRed(QRgba64* theWrappedObject, unsigned short _red); + uint toArgb32(QRgba64* theWrappedObject) const; + ushort toRgb16(QRgba64* theWrappedObject) const; + QRgba64 unpremultiplied(QRgba64* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QRubberBand : public QRubberBand +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initStyleOption(QStyleOptionRubberBand* option) const { this->initStyleOption(option); } +inline void promoted_moveEvent(QMoveEvent* arg__1) { this->moveEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QRubberBand::changeEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QRubberBand::event(e); } +inline void py_q_moveEvent(QMoveEvent* arg__1) { QRubberBand::moveEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QRubberBand::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QRubberBand::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QRubberBand::showEvent(arg__1); } +}; + +class PythonQtWrapper_QRubberBand : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Shape ) +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 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; + void move(QRubberBand* theWrappedObject, const QPoint& p); + void move(QRubberBand* theWrappedObject, int x, int y); + void py_q_moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_moveEvent(arg__1));} + void py_q_paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_paintEvent(arg__1));} + void resize(QRubberBand* theWrappedObject, const QSize& s); + void resize(QRubberBand* theWrappedObject, int w, int h); + void py_q_resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setGeometry(QRubberBand* theWrappedObject, const QRect& r); + void setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h); + QRubberBand::Shape shape(QRubberBand* theWrappedObject) const; + void py_q_showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_showEvent(arg__1));} +}; + + + + + +class PythonQtWrapper_QScreen : public QObject +{ Q_OBJECT +public: +public slots: +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; + QRect availableVirtualGeometry(QScreen* theWrappedObject) const; + QSize availableVirtualSize(QScreen* theWrappedObject) const; + int depth(QScreen* theWrappedObject) const; + qreal devicePixelRatio(QScreen* theWrappedObject) const; + QRect geometry(QScreen* theWrappedObject) const; + QPixmap grabWindow(QScreen* theWrappedObject, WId window, int x = 0, int y = 0, int w = -1, int h = -1); + bool isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; + bool isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; + qreal logicalDotsPerInch(QScreen* theWrappedObject) const; + qreal logicalDotsPerInchX(QScreen* theWrappedObject) const; + qreal logicalDotsPerInchY(QScreen* theWrappedObject) const; + QString manufacturer(QScreen* theWrappedObject) const; + QRect mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const; + QString model(QScreen* theWrappedObject) const; + QString name(QScreen* theWrappedObject) const; + Qt::ScreenOrientation nativeOrientation(QScreen* theWrappedObject) const; + Qt::ScreenOrientation orientation(QScreen* theWrappedObject) const; + Qt::ScreenOrientations orientationUpdateMask(QScreen* theWrappedObject) const; + qreal physicalDotsPerInch(QScreen* theWrappedObject) const; + qreal physicalDotsPerInchX(QScreen* theWrappedObject) const; + qreal physicalDotsPerInchY(QScreen* theWrappedObject) const; + QSizeF physicalSize(QScreen* theWrappedObject) const; + Qt::ScreenOrientation primaryOrientation(QScreen* theWrappedObject) const; + qreal refreshRate(QScreen* theWrappedObject) const; + QString serialNumber(QScreen* theWrappedObject) const; + void setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask); + QSize size(QScreen* theWrappedObject) const; + QTransform transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const; + QRect virtualGeometry(QScreen* theWrappedObject) const; + QScreen* virtualSiblingAt(QScreen* theWrappedObject, QPoint point); + QList virtualSiblings(QScreen* theWrappedObject) const; + QSize virtualSize(QScreen* theWrappedObject) const; + QString py_toString(QScreen*); +}; + + + + + +class PythonQtWrapper_QScreenOrientationChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QScreenOrientationChangeEvent* new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation); +void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } + Qt::ScreenOrientation orientation(QScreenOrientationChangeEvent* theWrappedObject) const; + QScreen* screen(QScreenOrientationChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollArea : public QScrollArea +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline bool py_q_event(QEvent* arg__1) { return QScrollArea::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); } +inline bool py_q_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); } +inline void py_q_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); } +inline QSize py_q_sizeHint() const { return QScrollArea::sizeHint(); } +inline QSize py_q_viewportSizeHint() const { return QScrollArea::viewportSizeHint(); } +}; + +class PythonQtWrapper_QScrollArea : public QObject +{ Q_OBJECT +public: +public slots: +QScrollArea* new_QScrollArea(QWidget* parent = nullptr); +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); + bool py_q_event(QScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + bool py_q_focusNextPrevChild(QScrollArea* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void py_q_scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1); + void setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable); + QSize py_q_sizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_sizeHint());} + QWidget* takeWidget(QScrollArea* theWrappedObject); + QSize py_q_viewportSizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_viewportSizeHint());} + QWidget* widget(QScrollArea* theWrappedObject) const; + bool widgetResizable(QScrollArea* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollBar : public QScrollBar +{ +public: + 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 +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionSlider* option) const { this->initStyleOption(option); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_sliderChange(int change) { this->sliderChange((QAbstractSlider::SliderChange)change); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QScrollBar::contextMenuEvent(arg__1); } +inline bool py_q_event(QEvent* event) { return QScrollBar::event(event); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QScrollBar::hideEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QScrollBar::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QScrollBar::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QScrollBar::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QScrollBar::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QScrollBar::sizeHint(); } +inline void py_q_sliderChange(int change) { QScrollBar::sliderChange((QAbstractSlider::SliderChange)change); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QScrollBar::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QScrollBar : public QObject +{ Q_OBJECT +public: +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 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));} + void initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const; + void py_q_mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + QSize sizeHint(QScrollBar* theWrappedObject) const; + QSize py_q_sizeHint(QScrollBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sizeHint());} + void py_q_sliderChange(QScrollBar* theWrappedObject, int change){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sliderChange(change));} + void py_q_wheelEvent(QScrollBar* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_wheelEvent(arg__1));} +}; + + + + + +class PythonQtWrapper_QScrollEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ScrollState ) +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; } + QPointF contentPos(QScrollEvent* theWrappedObject) const; + QPointF overshootDistance(QScrollEvent* theWrappedObject) const; + QScrollEvent::ScrollState scrollState(QScrollEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QScrollPrepareEvent : public QObject +{ Q_OBJECT +public: +public slots: +QScrollPrepareEvent* new_QScrollPrepareEvent(const QPointF& startPos); +void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } + QPointF contentPos(QScrollPrepareEvent* theWrappedObject) const; + QRectF contentPosRange(QScrollPrepareEvent* theWrappedObject) const; + void setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos); + void setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect); + void setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size); + QPointF startPos(QScrollPrepareEvent* theWrappedObject) const; + QSizeF viewportSize(QScrollPrepareEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QScroller : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Input ScrollerGestureType ) +enum Input{ + InputPress = QScroller::InputPress, InputMove = QScroller::InputMove, InputRelease = QScroller::InputRelease}; +enum ScrollerGestureType{ + TouchGesture = QScroller::TouchGesture, LeftMouseButtonGesture = QScroller::LeftMouseButtonGesture, RightMouseButtonGesture = QScroller::RightMouseButtonGesture, MiddleMouseButtonGesture = QScroller::MiddleMouseButtonGesture}; +public slots: + QList static_QScroller_activeScrollers(); + QPointF finalPosition(QScroller* theWrappedObject) const; + Qt::GestureType static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType = QScroller::TouchGesture); + Qt::GestureType static_QScroller_grabbedGesture(QObject* target); + bool handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp = 0); + bool static_QScroller_hasScroller(QObject* target); + QPointF pixelPerMeter(QScroller* theWrappedObject) const; + QScroller* static_QScroller_scroller(QObject* target); + const QScroller* static_QScroller_scroller(const QObject* target); + QScrollerProperties scrollerProperties(QScroller* theWrappedObject) const; + void setSnapPositionsX(QScroller* theWrappedObject, const QList& positions); + void setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval); + void setSnapPositionsY(QScroller* theWrappedObject, const QList& positions); + void setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval); + QScroller::State state(QScroller* theWrappedObject) const; + void stop(QScroller* theWrappedObject); + QObject* target(QScroller* theWrappedObject) const; + void static_QScroller_ungrabGesture(QObject* target); + QPointF velocity(QScroller* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollerProperties : public QScrollerProperties +{ +public: + PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(nullptr) {}; + PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollerProperties() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QScrollerProperties : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FrameRates OvershootPolicy ScrollMetric ) +enum FrameRates{ + Standard = QScrollerProperties::Standard, Fps60 = QScrollerProperties::Fps60, Fps30 = QScrollerProperties::Fps30, Fps20 = QScrollerProperties::Fps20}; +enum OvershootPolicy{ + OvershootWhenScrollable = QScrollerProperties::OvershootWhenScrollable, OvershootAlwaysOff = QScrollerProperties::OvershootAlwaysOff, OvershootAlwaysOn = QScrollerProperties::OvershootAlwaysOn}; +enum ScrollMetric{ + MousePressEventDelay = QScrollerProperties::MousePressEventDelay, DragStartDistance = QScrollerProperties::DragStartDistance, DragVelocitySmoothingFactor = QScrollerProperties::DragVelocitySmoothingFactor, AxisLockThreshold = QScrollerProperties::AxisLockThreshold, ScrollingCurve = QScrollerProperties::ScrollingCurve, DecelerationFactor = QScrollerProperties::DecelerationFactor, MinimumVelocity = QScrollerProperties::MinimumVelocity, MaximumVelocity = QScrollerProperties::MaximumVelocity, MaximumClickThroughVelocity = QScrollerProperties::MaximumClickThroughVelocity, AcceleratingFlickMaximumTime = QScrollerProperties::AcceleratingFlickMaximumTime, AcceleratingFlickSpeedupFactor = QScrollerProperties::AcceleratingFlickSpeedupFactor, SnapPositionRatio = QScrollerProperties::SnapPositionRatio, SnapTime = QScrollerProperties::SnapTime, OvershootDragResistanceFactor = QScrollerProperties::OvershootDragResistanceFactor, OvershootDragDistanceFactor = QScrollerProperties::OvershootDragDistanceFactor, OvershootScrollDistanceFactor = QScrollerProperties::OvershootScrollDistanceFactor, OvershootScrollTime = QScrollerProperties::OvershootScrollTime, HorizontalOvershootPolicy = QScrollerProperties::HorizontalOvershootPolicy, VerticalOvershootPolicy = QScrollerProperties::VerticalOvershootPolicy, FrameRate = QScrollerProperties::FrameRate, ScrollMetricCount = QScrollerProperties::ScrollMetricCount}; +public slots: +QScrollerProperties* new_QScrollerProperties(); +QScrollerProperties* new_QScrollerProperties(const QScrollerProperties& sp); +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; + QVariant scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const; + void static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp); + void setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value); + void static_QScrollerProperties_unsetDefaultScrollerProperties(); +}; + + + + + +class PythonQtShell_QShortcut : public QShortcut +{ +public: + 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 shortcutContext = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, shortcutContext),_wrapper(nullptr) {}; + + ~PythonQtShell_QShortcut() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QShortcut : public QShortcut +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool py_q_event(QEvent* e) { return QShortcut::event(e); } +}; + +class PythonQtWrapper_QShortcut : public QObject +{ Q_OBJECT +public: +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 shortcutContext = Qt::WindowShortcut); +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));} + int id(QShortcut* theWrappedObject) const; + bool isEnabled(QShortcut* theWrappedObject) const; + QKeySequence key(QShortcut* theWrappedObject) const; + QWidget* parentWidget(QShortcut* theWrappedObject) const; + void setAutoRepeat(QShortcut* theWrappedObject, bool on); + void setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context); + void setEnabled(QShortcut* theWrappedObject, bool enable); + void setKey(QShortcut* theWrappedObject, const QKeySequence& key); + void setWhatsThis(QShortcut* theWrappedObject, const QString& text); + QString whatsThis(QShortcut* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp new file mode 100644 index 00000000..9eb863a6 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -0,0 +1,16863 @@ +#include "com_trolltech_qt_gui8.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QShortcutEvent::~PythonQtShell_QShortcutEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QShortcutEvent* PythonQtWrapper_QShortcutEvent::new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous) +{ +return new PythonQtShell_QShortcutEvent(key, id, ambiguous); } + +bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const +{ + return ( theWrappedObject->isAmbiguous()); +} + +const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const +{ + return &( theWrappedObject->key()); +} + +int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const +{ + return ( theWrappedObject->shortcutId()); +} + + + +QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() +{ +return new QShowEvent(); } + + + +PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QSizeGrip::actionEvent(event0); +} +void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::changeEvent(arg__1); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::childEvent(event0); +} +void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QSizeGrip::closeEvent(event0); +} +void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QSizeGrip::contextMenuEvent(event0); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::customEvent(event0); +} +int PythonQtShell_QSizeGrip::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 QSizeGrip::devType(); +} +void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QSizeGrip::dragEnterEvent(event0); +} +void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QSizeGrip::dragLeaveEvent(event0); +} +void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QSizeGrip::dragMoveEvent(event0); +} +void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QSizeGrip::dropEvent(event0); +} +void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QSizeGrip::enterEvent(event0); +} +bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::event(arg__1); +} +bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +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*)&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, 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 QSizeGrip::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::focusInEvent(event0); +} +bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::focusNextPrevChild(next0); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::focusOutEvent(event0); +} +bool PythonQtShell_QSizeGrip::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::hasHeightForWidth(); +} +int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::heightForWidth(arg__1); +} +void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&hideEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::hideEvent(hideEvent0); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::initPainter(painter0); +} +void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::inputMethodQuery(arg__1); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::keyPressEvent(event0); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::keyReleaseEvent(event0); +} +void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QSizeGrip::leaveEvent(event0); +} +int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::metric(arg__1); +} +QSize PythonQtShell_QSizeGrip::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::minimumSizeHint(); +} +void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSizeGrip::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::mouseMoveEvent(arg__1); +} +void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::mousePressEvent(arg__1); +} +void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::mouseReleaseEvent(mouseEvent0); +} +void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&moveEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::moveEvent(moveEvent0); +} +bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::paintEngine(); +} +void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QSizeGrip::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 QSizeGrip::redirected(offset0); +} +void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QSizeGrip::resizeEvent(event0); +} +void PythonQtShell_QSizeGrip::setVisible(bool arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::setVisible(arg__1); +} +QPainter* PythonQtShell_QSizeGrip::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 QSizeGrip::sharedPainter(); +} +void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&showEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::showEvent(showEvent0); +} +QSize PythonQtShell_QSizeGrip::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::sizeHint(); +} +void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QSizeGrip::tabletEvent(event0); +} +void PythonQtShell_QSizeGrip::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(); + } + } +} + QSizeGrip::timerEvent(event0); +} +void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QSizeGrip::wheelEvent(event0); +} +QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) +{ +return new PythonQtShell_QSizeGrip(parent); } + +const QMetaObject* PythonQtShell_QSizeGrip::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSizeGrip::staticMetaObject); + } else { + return &QSizeGrip::staticMetaObject; + } +} +int PythonQtShell_QSizeGrip::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSizeGrip::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +PythonQtShell_QSlider::~PythonQtShell_QSlider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QSlider::actionEvent(event0); +} +void PythonQtShell_QSlider::changeEvent(QEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::changeEvent(e0); +} +void PythonQtShell_QSlider::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(); + } + } +} + QSlider::childEvent(event0); +} +void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QSlider::closeEvent(event0); +} +void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QSlider::contextMenuEvent(event0); +} +void PythonQtShell_QSlider::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(); + } + } +} + QSlider::customEvent(event0); +} +int PythonQtShell_QSlider::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 QSlider::devType(); +} +void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QSlider::dragEnterEvent(event0); +} +void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QSlider::dragLeaveEvent(event0); +} +void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QSlider::dragMoveEvent(event0); +} +void PythonQtShell_QSlider::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QSlider::dropEvent(event0); +} +void PythonQtShell_QSlider::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QSlider::enterEvent(event0); +} +bool PythonQtShell_QSlider::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 QSlider::event(event0); +} +bool PythonQtShell_QSlider::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 QSlider::eventFilter(watched0, event1); +} +void PythonQtShell_QSlider::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(); + } + } +} + QSlider::focusInEvent(event0); +} +bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::focusNextPrevChild(next0); +} +void PythonQtShell_QSlider::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(); + } + } +} + QSlider::focusOutEvent(event0); +} +bool PythonQtShell_QSlider::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::hasHeightForWidth(); +} +int PythonQtShell_QSlider::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::heightForWidth(arg__1); +} +void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::hideEvent(event0); +} +void PythonQtShell_QSlider::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(); + } + } +} + QSlider::initPainter(painter0); +} +void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::inputMethodQuery(arg__1); +} +void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) +{ +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*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::keyPressEvent(ev0); +} +void PythonQtShell_QSlider::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(); + } + } +} + QSlider::keyReleaseEvent(event0); +} +void PythonQtShell_QSlider::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QSlider::leaveEvent(event0); +} +int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::metric(arg__1); +} +QSize PythonQtShell_QSlider::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::minimumSizeHint(); +} +void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSlider::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::mouseMoveEvent(ev0); +} +void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::mousePressEvent(ev0); +} +void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::mouseReleaseEvent(ev0); +} +void PythonQtShell_QSlider::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QSlider::moveEvent(event0); +} +bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QSlider::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::paintEngine(); +} +void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::paintEvent(ev0); +} +QPaintDevice* PythonQtShell_QSlider::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 QSlider::redirected(offset0); +} +void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QSlider::resizeEvent(event0); +} +void PythonQtShell_QSlider::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::setVisible(visible0); +} +QPainter* PythonQtShell_QSlider::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 QSlider::sharedPainter(); +} +void PythonQtShell_QSlider::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QSlider::showEvent(event0); +} +QSize PythonQtShell_QSlider::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::sizeHint(); +} +void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sliderChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&change0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::sliderChange(change0); +} +void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QSlider::tabletEvent(event0); +} +void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::timerEvent(arg__1); +} +void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) +{ +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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QSlider::wheelEvent(e0); +} +QSlider* PythonQtWrapper_QSlider::new_QSlider(QWidget* parent) +{ +return new PythonQtShell_QSlider(parent); } + +QSlider* PythonQtWrapper_QSlider::new_QSlider(Qt::Orientation orientation, QWidget* parent) +{ +return new PythonQtShell_QSlider(orientation, parent); } + +const QMetaObject* PythonQtShell_QSlider::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSlider::staticMetaObject); + } else { + return &QSlider::staticMetaObject; + } +} +int PythonQtShell_QSlider::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSlider::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSlider::initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const +{ + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QSize PythonQtWrapper_QSlider::minimumSizeHint(QSlider* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QSlider::setTickInterval(QSlider* theWrappedObject, int ti) +{ + ( theWrappedObject->setTickInterval(ti)); +} + +void PythonQtWrapper_QSlider::setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position) +{ + ( theWrappedObject->setTickPosition(position)); +} + +QSize PythonQtWrapper_QSlider::sizeHint(QSlider* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +int PythonQtWrapper_QSlider::tickInterval(QSlider* theWrappedObject) const +{ + return ( theWrappedObject->tickInterval()); +} + +QSlider::TickPosition PythonQtWrapper_QSlider::tickPosition(QSlider* theWrappedObject) const +{ + return ( theWrappedObject->tickPosition()); +} + + + +PythonQtShell_QSortFilterProxyModel::~PythonQtShell_QSortFilterProxyModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::buddy(index0); +} +bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::canFetchMore(parent0); +} +void PythonQtShell_QSortFilterProxyModel::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(); + } + } +} + QSortFilterProxyModel::childEvent(event0); +} +int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::columnCount(parent0); +} +void PythonQtShell_QSortFilterProxyModel::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(); + } + } +} + QSortFilterProxyModel::customEvent(event0); +} +QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::data(index0, role1); +} +bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSortFilterProxyModel::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 QSortFilterProxyModel::event(event0); +} +bool PythonQtShell_QSortFilterProxyModel::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 QSortFilterProxyModel::eventFilter(watched0, event1); +} +void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSortFilterProxyModel::fetchMore(parent0); +} +bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("filterAcceptsColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsColumn", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::filterAcceptsColumn(source_column0, source_parent1); +} +bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("filterAcceptsRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsRow", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::filterAcceptsRow(source_row0, source_parent1); +} +Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::flags(index0); +} +bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::hasChildren(parent0); +} +QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::index(row0, column1, parent2); +} +bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::itemData(index0); +} +bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_left0, const QModelIndex& source_right1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lessThan"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lessThan", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::lessThan(source_left0, source_right1); +} +QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::mapFromSource(sourceIndex0); +} +QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::mapSelectionFromSource(sourceSelection0); +} +QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::mapSelectionToSource(proxySelection0); +} +QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::mapToSource(proxyIndex0); +} +QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::mimeData(indexes0); +} +QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::mimeTypes(); +} +bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::parent(child0); +} +bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QSortFilterProxyModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QSortFilterProxyModel::revert(); +} +QHash PythonQtShell_QSortFilterProxyModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::roleNames(); +} +int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::rowCount(parent0); +} +bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::setData(index0, value1, role2); +} +bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::setItemData(index0, roles1); +} +void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSourceModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&sourceModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSortFilterProxyModel::setSourceModel(sourceModel0); +} +QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSortFilterProxyModel::sort(column0, order1); +} +QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::span(index0); +} +bool PythonQtShell_QSortFilterProxyModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::submit(); +} +Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSortFilterProxyModel::supportedDropActions(); +} +void PythonQtShell_QSortFilterProxyModel::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(); + } + } +} + QSortFilterProxyModel::timerEvent(event0); +} +QSortFilterProxyModel* PythonQtWrapper_QSortFilterProxyModel::new_QSortFilterProxyModel(QObject* parent) +{ +return new PythonQtShell_QSortFilterProxyModel(parent); } + +const QMetaObject* PythonQtShell_QSortFilterProxyModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSortFilterProxyModel::staticMetaObject); + } else { + return &QSortFilterProxyModel::staticMetaObject; + } +} +int PythonQtShell_QSortFilterProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSortFilterProxyModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSortFilterProxyModel::dynamicSortFilter(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->dynamicSortFilter()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsColumn(QSortFilterProxyModel* theWrappedObject, int source_column, const QModelIndex& source_parent) const +{ + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsColumn(source_column, source_parent)); +} + +bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsRow(QSortFilterProxyModel* theWrappedObject, int source_row, const QModelIndex& source_parent) const +{ + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsRow(source_row, source_parent)); +} + +Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::filterCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterCaseSensitivity()); +} + +int PythonQtWrapper_QSortFilterProxyModel::filterKeyColumn(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterKeyColumn()); +} + +QRegExp PythonQtWrapper_QSortFilterProxyModel::filterRegExp(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterRegExp()); +} + +QRegularExpression PythonQtWrapper_QSortFilterProxyModel::filterRegularExpression(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterRegularExpression()); +} + +int PythonQtWrapper_QSortFilterProxyModel::filterRole(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterRole()); +} + +void PythonQtWrapper_QSortFilterProxyModel::invalidateFilter(QSortFilterProxyModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_invalidateFilter()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::isRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->isRecursiveFilteringEnabled()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::isSortLocaleAware(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->isSortLocaleAware()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::lessThan(QSortFilterProxyModel* theWrappedObject, const QModelIndex& source_left, const QModelIndex& source_right) const +{ + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_lessThan(source_left, source_right)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setDynamicSortFilter(QSortFilterProxyModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDynamicSortFilter(enable)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setFilterCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setFilterCaseSensitivity(cs)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setFilterKeyColumn(QSortFilterProxyModel* theWrappedObject, int column) +{ + ( theWrappedObject->setFilterKeyColumn(column)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setFilterRole(QSortFilterProxyModel* theWrappedObject, int role) +{ + ( theWrappedObject->setFilterRole(role)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject, bool recursive) +{ + ( theWrappedObject->setRecursiveFilteringEnabled(recursive)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setSortCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setSortCaseSensitivity(cs)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setSortLocaleAware(QSortFilterProxyModel* theWrappedObject, bool on) +{ + ( theWrappedObject->setSortLocaleAware(on)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setSortRole(QSortFilterProxyModel* theWrappedObject, int role) +{ + ( theWrappedObject->setSortRole(role)); +} + +Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::sortCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortCaseSensitivity()); +} + +int PythonQtWrapper_QSortFilterProxyModel::sortColumn(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortColumn()); +} + +Qt::SortOrder PythonQtWrapper_QSortFilterProxyModel::sortOrder(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortOrder()); +} + +int PythonQtWrapper_QSortFilterProxyModel::sortRole(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortRole()); +} + + + +PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::controlTypes(); +} +Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::expandingDirections(); +} +QRect PythonQtShell_QSpacerItem::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::geometry(); +} +bool PythonQtShell_QSpacerItem::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::hasHeightForWidth(); +} +int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::heightForWidth(arg__1); +} +void PythonQtShell_QSpacerItem::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(); + } + } +} + QSpacerItem::invalidate(); +} +bool PythonQtShell_QSpacerItem::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::isEmpty(); +} +QLayout* PythonQtShell_QSpacerItem::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::layout(); +} +QSize PythonQtShell_QSpacerItem::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::maximumSize(); +} +int PythonQtShell_QSpacerItem::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 QSpacerItem::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QSpacerItem::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::minimumSize(); +} +void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) +{ +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 QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpacerItem::setGeometry(arg__1); +} +QSize PythonQtShell_QSpacerItem::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::sizeHint(); +} +QSpacerItem* PythonQtShell_QSpacerItem::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 QSpacerItem::spacerItem(); +} +QWidget* PythonQtShell_QSpacerItem::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 QSpacerItem::widget(); +} +QSpacerItem* PythonQtWrapper_QSpacerItem::new_QSpacerItem(int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) +{ +return new PythonQtShell_QSpacerItem(w, h, hData, vData); } + +void PythonQtWrapper_QSpacerItem::changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) +{ + ( theWrappedObject->changeSize(w, h, hData, vData)); +} + +QSizePolicy PythonQtWrapper_QSpacerItem::sizePolicy(QSpacerItem* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + + + +PythonQtShell_QSpinBox::~PythonQtShell_QSpinBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QSpinBox::actionEvent(event0); +} +void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) +{ +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(); + } + } +} + QSpinBox::changeEvent(event0); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::childEvent(event0); +} +void PythonQtShell_QSpinBox::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QSpinBox::clear(); +} +void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QSpinBox::closeEvent(event0); +} +void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QSpinBox::contextMenuEvent(event0); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::customEvent(event0); +} +int PythonQtShell_QSpinBox::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 QSpinBox::devType(); +} +void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QSpinBox::dragEnterEvent(event0); +} +void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QSpinBox::dragLeaveEvent(event0); +} +void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QSpinBox::dragMoveEvent(event0); +} +void PythonQtShell_QSpinBox::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QSpinBox::dropEvent(event0); +} +void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QSpinBox::enterEvent(event0); +} +bool PythonQtShell_QSpinBox::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 QSpinBox::event(event0); +} +bool PythonQtShell_QSpinBox::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 QSpinBox::eventFilter(watched0, event1); +} +void PythonQtShell_QSpinBox::fixup(QString& str0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&str0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::fixup(str0); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::focusInEvent(event0); +} +bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::focusNextPrevChild(next0); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::focusOutEvent(event0); +} +bool PythonQtShell_QSpinBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::hasHeightForWidth(); +} +int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::heightForWidth(arg__1); +} +void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::hideEvent(event0); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::initPainter(painter0); +} +void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::keyPressEvent(event0); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::keyReleaseEvent(event0); +} +void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QSpinBox::leaveEvent(event0); +} +int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::metric(arg__1); +} +QSize PythonQtShell_QSpinBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::minimumSizeHint(); +} +void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSpinBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSpinBox::mouseMoveEvent(event0); +} +void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSpinBox::mousePressEvent(event0); +} +void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSpinBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QSpinBox::moveEvent(event0); +} +bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::paintEngine(); +} +void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QSpinBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QSpinBox::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 QSpinBox::redirected(offset0); +} +void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QSpinBox::resizeEvent(event0); +} +void PythonQtShell_QSpinBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::setVisible(visible0); +} +QPainter* PythonQtShell_QSpinBox::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 QSpinBox::sharedPainter(); +} +void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QSpinBox::showEvent(event0); +} +QSize PythonQtShell_QSpinBox::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::sizeHint(); +} +void PythonQtShell_QSpinBox::stepBy(int steps0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepBy"); + 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*)&steps0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::stepBy(steps0); +} +QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::stepEnabled(); +} +void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QSpinBox::tabletEvent(event0); +} +QString PythonQtShell_QSpinBox::textFromValue(int val0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textFromValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::textFromValue(val0); +} +void PythonQtShell_QSpinBox::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(); + } + } +} + QSpinBox::timerEvent(event0); +} +QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::validate(input0, pos1); +} +int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("valueFromText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpinBox::valueFromText(text0); +} +void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QSpinBox::wheelEvent(event0); +} +QSpinBox* PythonQtWrapper_QSpinBox::new_QSpinBox(QWidget* parent) +{ +return new PythonQtShell_QSpinBox(parent); } + +const QMetaObject* PythonQtShell_QSpinBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSpinBox::staticMetaObject); + } else { + return &QSpinBox::staticMetaObject; + } +} +int PythonQtShell_QSpinBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSpinBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QSpinBox::cleanText(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->cleanText()); +} + +int PythonQtWrapper_QSpinBox::displayIntegerBase(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->displayIntegerBase()); +} + +int PythonQtWrapper_QSpinBox::maximum(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QSpinBox::minimum(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +QString PythonQtWrapper_QSpinBox::prefix(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +void PythonQtWrapper_QSpinBox::setDisplayIntegerBase(QSpinBox* theWrappedObject, int base) +{ + ( theWrappedObject->setDisplayIntegerBase(base)); +} + +void PythonQtWrapper_QSpinBox::setMaximum(QSpinBox* theWrappedObject, int max) +{ + ( theWrappedObject->setMaximum(max)); +} + +void PythonQtWrapper_QSpinBox::setMinimum(QSpinBox* theWrappedObject, int min) +{ + ( theWrappedObject->setMinimum(min)); +} + +void PythonQtWrapper_QSpinBox::setPrefix(QSpinBox* theWrappedObject, const QString& prefix) +{ + ( theWrappedObject->setPrefix(prefix)); +} + +void PythonQtWrapper_QSpinBox::setRange(QSpinBox* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setRange(min, max)); +} + +void PythonQtWrapper_QSpinBox::setSingleStep(QSpinBox* theWrappedObject, int val) +{ + ( theWrappedObject->setSingleStep(val)); +} + +void PythonQtWrapper_QSpinBox::setStepType(QSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType) +{ + ( theWrappedObject->setStepType(stepType)); +} + +void PythonQtWrapper_QSpinBox::setSuffix(QSpinBox* theWrappedObject, const QString& suffix) +{ + ( theWrappedObject->setSuffix(suffix)); +} + +int PythonQtWrapper_QSpinBox::singleStep(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->singleStep()); +} + +QAbstractSpinBox::StepType PythonQtWrapper_QSpinBox::stepType(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->stepType()); +} + +QString PythonQtWrapper_QSpinBox::suffix(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->suffix()); +} + +QString PythonQtWrapper_QSpinBox::textFromValue(QSpinBox* theWrappedObject, int val) const +{ + return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_textFromValue(val)); +} + +int PythonQtWrapper_QSpinBox::value(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +int PythonQtWrapper_QSpinBox::valueFromText(QSpinBox* theWrappedObject, const QString& text) const +{ + return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_valueFromText(text)); +} + + + +PythonQtShell_QSplashScreen::~PythonQtShell_QSplashScreen() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QSplashScreen::actionEvent(event0); +} +void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplashScreen::changeEvent(arg__1); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::childEvent(event0); +} +void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QSplashScreen::closeEvent(event0); +} +void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QSplashScreen::contextMenuEvent(event0); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::customEvent(event0); +} +int PythonQtShell_QSplashScreen::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 QSplashScreen::devType(); +} +void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QSplashScreen::dragEnterEvent(event0); +} +void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QSplashScreen::dragLeaveEvent(event0); +} +void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QSplashScreen::dragMoveEvent(event0); +} +void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawContents"); + 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(); + } + } +} + QSplashScreen::drawContents(painter0); +} +void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QSplashScreen::dropEvent(event0); +} +void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QSplashScreen::enterEvent(event0); +} +bool PythonQtShell_QSplashScreen::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 QSplashScreen::event(e0); +} +bool PythonQtShell_QSplashScreen::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 QSplashScreen::eventFilter(watched0, event1); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::focusInEvent(event0); +} +bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::focusNextPrevChild(next0); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::focusOutEvent(event0); +} +bool PythonQtShell_QSplashScreen::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::hasHeightForWidth(); +} +int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::heightForWidth(arg__1); +} +void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplashScreen::hideEvent(event0); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::initPainter(painter0); +} +void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplashScreen::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::inputMethodQuery(arg__1); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::keyPressEvent(event0); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::keyReleaseEvent(event0); +} +void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QSplashScreen::leaveEvent(event0); +} +int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::metric(arg__1); +} +QSize PythonQtShell_QSplashScreen::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::minimumSizeHint(); +} +void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplashScreen::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplashScreen::mouseMoveEvent(event0); +} +void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplashScreen::mousePressEvent(arg__1); +} +void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplashScreen::mouseReleaseEvent(event0); +} +void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QSplashScreen::moveEvent(event0); +} +bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::paintEngine(); +} +void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QSplashScreen::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QSplashScreen::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 QSplashScreen::redirected(offset0); +} +void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QSplashScreen::resizeEvent(event0); +} +void PythonQtShell_QSplashScreen::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplashScreen::setVisible(visible0); +} +QPainter* PythonQtShell_QSplashScreen::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 QSplashScreen::sharedPainter(); +} +void PythonQtShell_QSplashScreen::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QSplashScreen::showEvent(event0); +} +QSize PythonQtShell_QSplashScreen::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::sizeHint(); +} +void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QSplashScreen::tabletEvent(event0); +} +void PythonQtShell_QSplashScreen::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(); + } + } +} + QSplashScreen::timerEvent(event0); +} +void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QSplashScreen::wheelEvent(event0); +} +QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(QScreen* screen, const QPixmap& pixmap, Qt::WindowFlags f) +{ +return new PythonQtShell_QSplashScreen(screen, pixmap, f); } + +QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(QWidget* parent, const QPixmap& pixmap, Qt::WindowFlags f) +{ +return new PythonQtShell_QSplashScreen(parent, pixmap, f); } + +QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(const QPixmap& pixmap, Qt::WindowFlags f) +{ +return new PythonQtShell_QSplashScreen(pixmap, f); } + +const QMetaObject* PythonQtShell_QSplashScreen::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplashScreen::staticMetaObject); + } else { + return &QSplashScreen::staticMetaObject; + } +} +int PythonQtShell_QSplashScreen::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSplashScreen::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSplashScreen::drawContents(QSplashScreen* theWrappedObject, QPainter* painter) +{ + ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_drawContents(painter)); +} + +void PythonQtWrapper_QSplashScreen::finish(QSplashScreen* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->finish(w)); +} + +QString PythonQtWrapper_QSplashScreen::message(QSplashScreen* theWrappedObject) const +{ + return ( theWrappedObject->message()); +} + +const QPixmap PythonQtWrapper_QSplashScreen::pixmap(QSplashScreen* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +void PythonQtWrapper_QSplashScreen::setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(pixmap)); +} + + + +PythonQtShell_QSplitter::~PythonQtShell_QSplitter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSplitter::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QSplitter::actionEvent(event0); +} +void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::changeEvent(arg__1); +} +void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::childEvent(arg__1); +} +void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QSplitter::closeEvent(event0); +} +void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QSplitter::contextMenuEvent(event0); +} +QSplitterHandle* PythonQtShell_QSplitter::createHandle() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createHandle"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSplitterHandle*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createHandle", methodInfo, result); + } else { + returnValue = *((QSplitterHandle**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::createHandle(); +} +void PythonQtShell_QSplitter::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(); + } + } +} + QSplitter::customEvent(event0); +} +int PythonQtShell_QSplitter::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 QSplitter::devType(); +} +void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QSplitter::dragEnterEvent(event0); +} +void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QSplitter::dragLeaveEvent(event0); +} +void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QSplitter::dragMoveEvent(event0); +} +void PythonQtShell_QSplitter::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QSplitter::dropEvent(event0); +} +void PythonQtShell_QSplitter::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QSplitter::enterEvent(event0); +} +bool PythonQtShell_QSplitter::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::event(arg__1); +} +bool PythonQtShell_QSplitter::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 QSplitter::eventFilter(watched0, event1); +} +void PythonQtShell_QSplitter::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(); + } + } +} + QSplitter::focusInEvent(event0); +} +bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::focusNextPrevChild(next0); +} +void PythonQtShell_QSplitter::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(); + } + } +} + QSplitter::focusOutEvent(event0); +} +bool PythonQtShell_QSplitter::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::hasHeightForWidth(); +} +int PythonQtShell_QSplitter::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::heightForWidth(arg__1); +} +void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::hideEvent(event0); +} +void PythonQtShell_QSplitter::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(); + } + } +} + QSplitter::initPainter(painter0); +} +void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::inputMethodQuery(arg__1); +} +void PythonQtShell_QSplitter::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(); + } + } +} + QSplitter::keyPressEvent(event0); +} +void PythonQtShell_QSplitter::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(); + } + } +} + QSplitter::keyReleaseEvent(event0); +} +void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QSplitter::leaveEvent(event0); +} +int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::metric(arg__1); +} +QSize PythonQtShell_QSplitter::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::minimumSizeHint(); +} +void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplitter::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplitter::mouseMoveEvent(event0); +} +void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplitter::mousePressEvent(event0); +} +void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplitter::mouseReleaseEvent(event0); +} +void PythonQtShell_QSplitter::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QSplitter::moveEvent(event0); +} +bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QSplitter::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::paintEngine(); +} +void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QSplitter::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 QSplitter::redirected(offset0); +} +void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::resizeEvent(arg__1); +} +void PythonQtShell_QSplitter::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::setVisible(visible0); +} +QPainter* PythonQtShell_QSplitter::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 QSplitter::sharedPainter(); +} +void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QSplitter::showEvent(event0); +} +QSize PythonQtShell_QSplitter::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitter::sizeHint(); +} +void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QSplitter::tabletEvent(event0); +} +void PythonQtShell_QSplitter::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(); + } + } +} + QSplitter::timerEvent(event0); +} +void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QSplitter::wheelEvent(event0); +} +QSplitter* PythonQtWrapper_QSplitter::new_QSplitter(QWidget* parent) +{ +return new PythonQtShell_QSplitter(parent); } + +QSplitter* PythonQtWrapper_QSplitter::new_QSplitter(Qt::Orientation arg__1, QWidget* parent) +{ +return new PythonQtShell_QSplitter(arg__1, parent); } + +const QMetaObject* PythonQtShell_QSplitter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplitter::staticMetaObject); + } else { + return &QSplitter::staticMetaObject; + } +} +int PythonQtShell_QSplitter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSplitter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSplitter::addWidget(QSplitter* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->addWidget(widget)); +} + +bool PythonQtWrapper_QSplitter::childrenCollapsible(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->childrenCollapsible()); +} + +int PythonQtWrapper_QSplitter::closestLegalPosition(QSplitter* theWrappedObject, int arg__1, int arg__2) +{ + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_closestLegalPosition(arg__1, arg__2)); +} + +int PythonQtWrapper_QSplitter::count(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QSplitterHandle* PythonQtWrapper_QSplitter::createHandle(QSplitter* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_createHandle()); +} + +QSplitterHandle* PythonQtWrapper_QSplitter::handle(QSplitter* theWrappedObject, int index) const +{ + return ( theWrappedObject->handle(index)); +} + +int PythonQtWrapper_QSplitter::handleWidth(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->handleWidth()); +} + +int PythonQtWrapper_QSplitter::indexOf(QSplitter* theWrappedObject, QWidget* w) const +{ + return ( theWrappedObject->indexOf(w)); +} + +void PythonQtWrapper_QSplitter::insertWidget(QSplitter* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->insertWidget(index, widget)); +} + +bool PythonQtWrapper_QSplitter::isCollapsible(QSplitter* theWrappedObject, int index) const +{ + return ( theWrappedObject->isCollapsible(index)); +} + +QSize PythonQtWrapper_QSplitter::minimumSizeHint(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QSplitter::moveSplitter(QSplitter* theWrappedObject, int pos, int index) +{ + ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_moveSplitter(pos, index)); +} + +bool PythonQtWrapper_QSplitter::opaqueResize(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->opaqueResize()); +} + +void PythonQtWrapper_QSplitter::writeTo(QSplitter* theWrappedObject, QTextStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QSplitter::readFrom(QSplitter* theWrappedObject, QTextStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +Qt::Orientation PythonQtWrapper_QSplitter::orientation(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QSplitter::refresh(QSplitter* theWrappedObject) +{ + ( theWrappedObject->refresh()); +} + +QWidget* PythonQtWrapper_QSplitter::replaceWidget(QSplitter* theWrappedObject, int index, QWidget* widget) +{ + return ( theWrappedObject->replaceWidget(index, widget)); +} + +bool PythonQtWrapper_QSplitter::restoreState(QSplitter* theWrappedObject, const QByteArray& state) +{ + return ( theWrappedObject->restoreState(state)); +} + +QByteArray PythonQtWrapper_QSplitter::saveState(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->saveState()); +} + +void PythonQtWrapper_QSplitter::setChildrenCollapsible(QSplitter* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setChildrenCollapsible(arg__1)); +} + +void PythonQtWrapper_QSplitter::setCollapsible(QSplitter* theWrappedObject, int index, bool arg__2) +{ + ( theWrappedObject->setCollapsible(index, arg__2)); +} + +void PythonQtWrapper_QSplitter::setHandleWidth(QSplitter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setHandleWidth(arg__1)); +} + +void PythonQtWrapper_QSplitter::setOpaqueResize(QSplitter* theWrappedObject, bool opaque) +{ + ( theWrappedObject->setOpaqueResize(opaque)); +} + +void PythonQtWrapper_QSplitter::setOrientation(QSplitter* theWrappedObject, Qt::Orientation arg__1) +{ + ( theWrappedObject->setOrientation(arg__1)); +} + +void PythonQtWrapper_QSplitter::setRubberBand(QSplitter* theWrappedObject, int position) +{ + ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_setRubberBand(position)); +} + +void PythonQtWrapper_QSplitter::setSizes(QSplitter* theWrappedObject, const QList& list) +{ + ( theWrappedObject->setSizes(list)); +} + +void PythonQtWrapper_QSplitter::setStretchFactor(QSplitter* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->setStretchFactor(index, stretch)); +} + +QList PythonQtWrapper_QSplitter::sizes(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->sizes()); +} + +QWidget* PythonQtWrapper_QSplitter::widget(QSplitter* theWrappedObject, int index) const +{ + return ( theWrappedObject->widget(index)); +} + + + +PythonQtShell_QSplitterHandle::~PythonQtShell_QSplitterHandle() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QSplitterHandle::actionEvent(event0); +} +void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::changeEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::childEvent(event0); +} +void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QSplitterHandle::closeEvent(event0); +} +void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QSplitterHandle::contextMenuEvent(event0); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::customEvent(event0); +} +int PythonQtShell_QSplitterHandle::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 QSplitterHandle::devType(); +} +void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QSplitterHandle::dragEnterEvent(event0); +} +void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QSplitterHandle::dragLeaveEvent(event0); +} +void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QSplitterHandle::dragMoveEvent(event0); +} +void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QSplitterHandle::dropEvent(event0); +} +void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QSplitterHandle::enterEvent(event0); +} +bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::event(arg__1); +} +bool PythonQtShell_QSplitterHandle::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 QSplitterHandle::eventFilter(watched0, event1); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::focusInEvent(event0); +} +bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::focusNextPrevChild(next0); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::focusOutEvent(event0); +} +bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::hasHeightForWidth(); +} +int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::heightForWidth(arg__1); +} +void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::hideEvent(event0); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::initPainter(painter0); +} +void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::inputMethodQuery(arg__1); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::keyPressEvent(event0); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::keyReleaseEvent(event0); +} +void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QSplitterHandle::leaveEvent(event0); +} +int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::metric(arg__1); +} +QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::minimumSizeHint(); +} +void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSplitterHandle::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::mouseMoveEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::mousePressEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QSplitterHandle::moveEvent(event0); +} +bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::paintEngine(); +} +void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QSplitterHandle::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 QSplitterHandle::redirected(offset0); +} +void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::resizeEvent(arg__1); +} +void PythonQtShell_QSplitterHandle::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitterHandle::setVisible(visible0); +} +QPainter* PythonQtShell_QSplitterHandle::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 QSplitterHandle::sharedPainter(); +} +void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QSplitterHandle::showEvent(event0); +} +QSize PythonQtShell_QSplitterHandle::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplitterHandle::sizeHint(); +} +void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QSplitterHandle::tabletEvent(event0); +} +void PythonQtShell_QSplitterHandle::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(); + } + } +} + QSplitterHandle::timerEvent(event0); +} +void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QSplitterHandle::wheelEvent(event0); +} +QSplitterHandle* PythonQtWrapper_QSplitterHandle::new_QSplitterHandle(Qt::Orientation o, QSplitter* parent) +{ +return new PythonQtShell_QSplitterHandle(o, parent); } + +const QMetaObject* PythonQtShell_QSplitterHandle::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplitterHandle::staticMetaObject); + } else { + return &QSplitterHandle::staticMetaObject; + } +} +int PythonQtShell_QSplitterHandle::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSplitterHandle::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QSplitterHandle::closestLegalPosition(QSplitterHandle* theWrappedObject, int p) +{ + return ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_closestLegalPosition(p)); +} + +void PythonQtWrapper_QSplitterHandle::moveSplitter(QSplitterHandle* theWrappedObject, int p) +{ + ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_moveSplitter(p)); +} + +bool PythonQtWrapper_QSplitterHandle::opaqueResize(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->opaqueResize()); +} + +Qt::Orientation PythonQtWrapper_QSplitterHandle::orientation(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QSplitterHandle::setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o) +{ + ( theWrappedObject->setOrientation(o)); +} + +QSize PythonQtWrapper_QSplitterHandle::sizeHint(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QSplitter* PythonQtWrapper_QSplitterHandle::splitter(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->splitter()); +} + + + +PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedLayout::addItem(item0); +} +void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) +{ +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*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::controlTypes(); +} +int PythonQtShell_QStackedLayout::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 QStackedLayout::count(); +} +void PythonQtShell_QStackedLayout::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(); + } + } +} + QStackedLayout::customEvent(event0); +} +bool PythonQtShell_QStackedLayout::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 QStackedLayout::event(event0); +} +bool PythonQtShell_QStackedLayout::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 QStackedLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::expandingDirections(); +} +QRect PythonQtShell_QStackedLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::geometry(); +} +bool PythonQtShell_QStackedLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::hasHeightForWidth(); +} +int PythonQtShell_QStackedLayout::heightForWidth(int width0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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*)&width0}; + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::heightForWidth(width0); +} +int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + 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("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::indexOf(arg__1); +} +void PythonQtShell_QStackedLayout::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(); + } + } +} + QStackedLayout::invalidate(); +} +bool PythonQtShell_QStackedLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) 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[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QStackedLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::layout(); +} +QSize PythonQtShell_QStackedLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::minimumSize(); +} +void PythonQtShell_QStackedLayout::setGeometry(const QRect& 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 QRect&"}; + 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(); + } + } +} + QStackedLayout::setGeometry(rect0); +} +QSize PythonQtShell_QStackedLayout::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::takeAt(arg__1); +} +void PythonQtShell_QStackedLayout::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(); + } + } +} + QStackedLayout::timerEvent(event0); +} +QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout() +{ +return new PythonQtShell_QStackedLayout(); } + +QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout(QLayout* parentLayout) +{ +return new PythonQtShell_QStackedLayout(parentLayout); } + +QStackedLayout* PythonQtWrapper_QStackedLayout::new_QStackedLayout(QWidget* parent) +{ +return new PythonQtShell_QStackedLayout(parent); } + +const QMetaObject* PythonQtShell_QStackedLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStackedLayout::staticMetaObject); + } else { + return &QStackedLayout::staticMetaObject; + } +} +int PythonQtShell_QStackedLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStackedLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QStackedLayout::addWidget(QStackedLayout* theWrappedObject, QWidget* w) +{ + return ( theWrappedObject->addWidget(w)); +} + +int PythonQtWrapper_QStackedLayout::currentIndex(QStackedLayout* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QStackedLayout::currentWidget(QStackedLayout* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +int PythonQtWrapper_QStackedLayout::insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w) +{ + return ( theWrappedObject->insertWidget(index, w)); +} + +void PythonQtWrapper_QStackedLayout::setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode) +{ + ( theWrappedObject->setStackingMode(stackingMode)); +} + +QStackedLayout::StackingMode PythonQtWrapper_QStackedLayout::stackingMode(QStackedLayout* theWrappedObject) const +{ + return ( theWrappedObject->stackingMode()); +} + +QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->widget(arg__1)); +} + + + +PythonQtShell_QStackedWidget::~PythonQtShell_QStackedWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStackedWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QStackedWidget::actionEvent(event0); +} +void PythonQtShell_QStackedWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::changeEvent(arg__1); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::childEvent(event0); +} +void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QStackedWidget::closeEvent(event0); +} +void PythonQtShell_QStackedWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QStackedWidget::contextMenuEvent(event0); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::customEvent(event0); +} +int PythonQtShell_QStackedWidget::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 QStackedWidget::devType(); +} +void PythonQtShell_QStackedWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QStackedWidget::dragEnterEvent(event0); +} +void PythonQtShell_QStackedWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QStackedWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QStackedWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QStackedWidget::dragMoveEvent(event0); +} +void PythonQtShell_QStackedWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QStackedWidget::dropEvent(event0); +} +void PythonQtShell_QStackedWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QStackedWidget::enterEvent(event0); +} +bool PythonQtShell_QStackedWidget::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 QStackedWidget::event(e0); +} +bool PythonQtShell_QStackedWidget::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 QStackedWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::focusInEvent(event0); +} +bool PythonQtShell_QStackedWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::focusOutEvent(event0); +} +bool PythonQtShell_QStackedWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::hasHeightForWidth(); +} +int PythonQtShell_QStackedWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::heightForWidth(arg__1); +} +void PythonQtShell_QStackedWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::hideEvent(event0); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::initPainter(painter0); +} +void PythonQtShell_QStackedWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QStackedWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::keyPressEvent(event0); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QStackedWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QStackedWidget::leaveEvent(event0); +} +int PythonQtShell_QStackedWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::metric(arg__1); +} +QSize PythonQtShell_QStackedWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::minimumSizeHint(); +} +void PythonQtShell_QStackedWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStackedWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QStackedWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStackedWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QStackedWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStackedWidget::mousePressEvent(event0); +} +void PythonQtShell_QStackedWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStackedWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QStackedWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QStackedWidget::moveEvent(event0); +} +bool PythonQtShell_QStackedWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QStackedWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::paintEngine(); +} +void PythonQtShell_QStackedWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QStackedWidget::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 QStackedWidget::redirected(offset0); +} +void PythonQtShell_QStackedWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QStackedWidget::resizeEvent(event0); +} +void PythonQtShell_QStackedWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QStackedWidget::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 QStackedWidget::sharedPainter(); +} +void PythonQtShell_QStackedWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QStackedWidget::showEvent(event0); +} +QSize PythonQtShell_QStackedWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::sizeHint(); +} +void PythonQtShell_QStackedWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QStackedWidget::tabletEvent(event0); +} +void PythonQtShell_QStackedWidget::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(); + } + } +} + QStackedWidget::timerEvent(event0); +} +void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QStackedWidget::wheelEvent(event0); +} +QStackedWidget* PythonQtWrapper_QStackedWidget::new_QStackedWidget(QWidget* parent) +{ +return new PythonQtShell_QStackedWidget(parent); } + +const QMetaObject* PythonQtShell_QStackedWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStackedWidget::staticMetaObject); + } else { + return &QStackedWidget::staticMetaObject; + } +} +int PythonQtShell_QStackedWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStackedWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QStackedWidget::addWidget(QStackedWidget* theWrappedObject, PythonQtPassOwnershipToCPP w) +{ + return ( theWrappedObject->addWidget(w)); +} + +int PythonQtWrapper_QStackedWidget::count(QStackedWidget* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QStackedWidget::currentIndex(QStackedWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QStackedWidget::currentWidget(QStackedWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +int PythonQtWrapper_QStackedWidget::indexOf(QStackedWidget* theWrappedObject, QWidget* arg__1) const +{ + return ( theWrappedObject->indexOf(arg__1)); +} + +int PythonQtWrapper_QStackedWidget::insertWidget(QStackedWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP w) +{ + return ( theWrappedObject->insertWidget(index, w)); +} + +void PythonQtWrapper_QStackedWidget::removeWidget(QStackedWidget* theWrappedObject, PythonQtPassOwnershipToPython w) +{ + ( theWrappedObject->removeWidget(w)); +} + +QWidget* PythonQtWrapper_QStackedWidget::widget(QStackedWidget* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->widget(arg__1)); +} + + + +PythonQtShell_QStandardItem::~PythonQtShell_QStandardItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStandardItem* PythonQtShell_QStandardItem::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStandardItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QStandardItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItem::clone(); +} +QVariant PythonQtShell_QStandardItem::data(int role0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItem::data(role0); +} +void PythonQtShell_QStandardItem::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&in0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItem::read(in0); +} +void PythonQtShell_QStandardItem::setData(const QVariant& value0, int role1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&value0, (void*)&role1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItem::setData(value0, role1); +} +int PythonQtShell_QStandardItem::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 QStandardItem::type(); +} +void PythonQtShell_QStandardItem::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&out0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItem::write(out0); +} +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem() +{ +return new PythonQtShell_QStandardItem(); } + +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QIcon& icon, const QString& text) +{ +return new PythonQtShell_QStandardItem(icon, text); } + +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QStandardItem& other) +{ +return new PythonQtShell_QStandardItem(other); } + +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(const QString& text) +{ +return new PythonQtShell_QStandardItem(text); } + +QStandardItem* PythonQtWrapper_QStandardItem::new_QStandardItem(int rows, int columns) +{ +return new PythonQtShell_QStandardItem(rows, columns); } + +QString PythonQtWrapper_QStandardItem::accessibleDescription(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->accessibleDescription()); +} + +QString PythonQtWrapper_QStandardItem::accessibleText(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->accessibleText()); +} + +void PythonQtWrapper_QStandardItem::appendColumn(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->appendColumn(items)); +} + +void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->appendRow(item)); +} + +void PythonQtWrapper_QStandardItem::appendRow(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->appendRow(items)); +} + +void PythonQtWrapper_QStandardItem::appendRows(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->appendRows(items)); +} + +QBrush PythonQtWrapper_QStandardItem::background(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +Qt::CheckState PythonQtWrapper_QStandardItem::checkState(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +QStandardItem* PythonQtWrapper_QStandardItem::child(QStandardItem* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->child(row, column)); +} + +void PythonQtWrapper_QStandardItem::clearData(QStandardItem* theWrappedObject) +{ + ( theWrappedObject->clearData()); +} + +QStandardItem* PythonQtWrapper_QStandardItem::clone(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +int PythonQtWrapper_QStandardItem::column(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +int PythonQtWrapper_QStandardItem::columnCount(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +QVariant PythonQtWrapper_QStandardItem::data(QStandardItem* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +void PythonQtWrapper_QStandardItem::emitDataChanged(QStandardItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->promoted_emitDataChanged()); +} + +Qt::ItemFlags PythonQtWrapper_QStandardItem::flags(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QStandardItem::font(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QStandardItem::foreground(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +bool PythonQtWrapper_QStandardItem::hasChildren(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->hasChildren()); +} + +QIcon PythonQtWrapper_QStandardItem::icon(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QModelIndex PythonQtWrapper_QStandardItem::index(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +void PythonQtWrapper_QStandardItem::insertColumn(QStandardItem* theWrappedObject, int column, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertColumn(column, items)); +} + +void PythonQtWrapper_QStandardItem::insertColumns(QStandardItem* theWrappedObject, int column, int count) +{ + ( theWrappedObject->insertColumns(column, count)); +} + +void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, QStandardItem* item) +{ + ( theWrappedObject->insertRow(row, item)); +} + +void PythonQtWrapper_QStandardItem::insertRow(QStandardItem* theWrappedObject, int row, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertRow(row, items)); +} + +void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertRows(row, items)); +} + +void PythonQtWrapper_QStandardItem::insertRows(QStandardItem* theWrappedObject, int row, int count) +{ + ( theWrappedObject->insertRows(row, count)); +} + +bool PythonQtWrapper_QStandardItem::isAutoTristate(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isAutoTristate()); +} + +bool PythonQtWrapper_QStandardItem::isCheckable(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QStandardItem::isDragEnabled(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isDragEnabled()); +} + +bool PythonQtWrapper_QStandardItem::isDropEnabled(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isDropEnabled()); +} + +bool PythonQtWrapper_QStandardItem::isEditable(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isEditable()); +} + +bool PythonQtWrapper_QStandardItem::isEnabled(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QStandardItem::isSelectable(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelectable()); +} + +bool PythonQtWrapper_QStandardItem::isTristate(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isTristate()); +} + +bool PythonQtWrapper_QStandardItem::isUserTristate(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->isUserTristate()); +} + +QStandardItemModel* PythonQtWrapper_QStandardItem::model(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +void PythonQtWrapper_QStandardItem::writeTo(QStandardItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QStandardItem::readFrom(QStandardItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +QStandardItem* PythonQtWrapper_QStandardItem::parent(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +void PythonQtWrapper_QStandardItem::read(QStandardItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +void PythonQtWrapper_QStandardItem::removeColumn(QStandardItem* theWrappedObject, int column) +{ + ( theWrappedObject->removeColumn(column)); +} + +void PythonQtWrapper_QStandardItem::removeColumns(QStandardItem* theWrappedObject, int column, int count) +{ + ( theWrappedObject->removeColumns(column, count)); +} + +void PythonQtWrapper_QStandardItem::removeRow(QStandardItem* theWrappedObject, int row) +{ + ( theWrappedObject->removeRow(row)); +} + +void PythonQtWrapper_QStandardItem::removeRows(QStandardItem* theWrappedObject, int row, int count) +{ + ( theWrappedObject->removeRows(row, count)); +} + +int PythonQtWrapper_QStandardItem::row(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +int PythonQtWrapper_QStandardItem::rowCount(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +void PythonQtWrapper_QStandardItem::setAccessibleDescription(QStandardItem* theWrappedObject, const QString& accessibleDescription) +{ + ( theWrappedObject->setAccessibleDescription(accessibleDescription)); +} + +void PythonQtWrapper_QStandardItem::setAccessibleText(QStandardItem* theWrappedObject, const QString& accessibleText) +{ + ( theWrappedObject->setAccessibleText(accessibleText)); +} + +void PythonQtWrapper_QStandardItem::setAutoTristate(QStandardItem* theWrappedObject, bool tristate) +{ + ( theWrappedObject->setAutoTristate(tristate)); +} + +void PythonQtWrapper_QStandardItem::setBackground(QStandardItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QStandardItem::setCheckState(QStandardItem* theWrappedObject, Qt::CheckState checkState) +{ + ( theWrappedObject->setCheckState(checkState)); +} + +void PythonQtWrapper_QStandardItem::setCheckable(QStandardItem* theWrappedObject, bool checkable) +{ + ( theWrappedObject->setCheckable(checkable)); +} + +void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setChild(row, item)); +} + +void PythonQtWrapper_QStandardItem::setChild(QStandardItem* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setChild(row, column, item)); +} + +void PythonQtWrapper_QStandardItem::setColumnCount(QStandardItem* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QStandardItem::setData(QStandardItem* theWrappedObject, const QVariant& value, int role) +{ + ( theWrappedObject->setData(value, role)); +} + +void PythonQtWrapper_QStandardItem::setDragEnabled(QStandardItem* theWrappedObject, bool dragEnabled) +{ + ( theWrappedObject->setDragEnabled(dragEnabled)); +} + +void PythonQtWrapper_QStandardItem::setDropEnabled(QStandardItem* theWrappedObject, bool dropEnabled) +{ + ( theWrappedObject->setDropEnabled(dropEnabled)); +} + +void PythonQtWrapper_QStandardItem::setEditable(QStandardItem* theWrappedObject, bool editable) +{ + ( theWrappedObject->setEditable(editable)); +} + +void PythonQtWrapper_QStandardItem::setEnabled(QStandardItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setEnabled(enabled)); +} + +void PythonQtWrapper_QStandardItem::setFlags(QStandardItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QStandardItem::setFont(QStandardItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QStandardItem::setForeground(QStandardItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QStandardItem::setIcon(QStandardItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QStandardItem::setRowCount(QStandardItem* theWrappedObject, int rows) +{ + ( theWrappedObject->setRowCount(rows)); +} + +void PythonQtWrapper_QStandardItem::setSelectable(QStandardItem* theWrappedObject, bool selectable) +{ + ( theWrappedObject->setSelectable(selectable)); +} + +void PythonQtWrapper_QStandardItem::setSizeHint(QStandardItem* theWrappedObject, const QSize& sizeHint) +{ + ( theWrappedObject->setSizeHint(sizeHint)); +} + +void PythonQtWrapper_QStandardItem::setStatusTip(QStandardItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QStandardItem::setText(QStandardItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QStandardItem::setTextAlignment(QStandardItem* theWrappedObject, Qt::Alignment textAlignment) +{ + ( theWrappedObject->setTextAlignment(textAlignment)); +} + +void PythonQtWrapper_QStandardItem::setToolTip(QStandardItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QStandardItem::setTristate(QStandardItem* theWrappedObject, bool tristate) +{ + ( theWrappedObject->setTristate(tristate)); +} + +void PythonQtWrapper_QStandardItem::setUserTristate(QStandardItem* theWrappedObject, bool tristate) +{ + ( theWrappedObject->setUserTristate(tristate)); +} + +void PythonQtWrapper_QStandardItem::setWhatsThis(QStandardItem* theWrappedObject, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(whatsThis)); +} + +QSize PythonQtWrapper_QStandardItem::sizeHint(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +void PythonQtWrapper_QStandardItem::sortChildren(QStandardItem* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortChildren(column, order)); +} + +QString PythonQtWrapper_QStandardItem::statusTip(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QStandardItem::takeChild(QStandardItem* theWrappedObject, int row, int column) +{ + return ( theWrappedObject->takeChild(row, column)); +} + +QList PythonQtWrapper_QStandardItem::takeColumn(QStandardItem* theWrappedObject, int column) +{ + return ( theWrappedObject->takeColumn(column)); +} + +QList PythonQtWrapper_QStandardItem::takeRow(QStandardItem* theWrappedObject, int row) +{ + return ( theWrappedObject->takeRow(row)); +} + +QString PythonQtWrapper_QStandardItem::text(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::Alignment PythonQtWrapper_QStandardItem::textAlignment(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); +} + +QString PythonQtWrapper_QStandardItem::toolTip(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QStandardItem::type(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QStandardItem::whatsThis(QStandardItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QStandardItem::write(QStandardItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); +} + + + +PythonQtShell_QStandardItemModel::~PythonQtShell_QStandardItemModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QStandardItemModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::buddy(index0); +} +bool PythonQtShell_QStandardItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QStandardItemModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::canFetchMore(parent0); +} +void PythonQtShell_QStandardItemModel::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(); + } + } +} + QStandardItemModel::childEvent(event0); +} +int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::columnCount(parent0); +} +void PythonQtShell_QStandardItemModel::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(); + } + } +} + QStandardItemModel::customEvent(event0); +} +QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::data(index0, role1); +} +bool PythonQtShell_QStandardItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QStandardItemModel::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 QStandardItemModel::event(event0); +} +bool PythonQtShell_QStandardItemModel::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 QStandardItemModel::eventFilter(watched0, event1); +} +void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItemModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QStandardItemModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::flags(index0); +} +bool PythonQtShell_QStandardItemModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::hasChildren(parent0); +} +QVariant PythonQtShell_QStandardItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QStandardItemModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::index(row0, column1, parent2); +} +bool PythonQtShell_QStandardItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QStandardItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QStandardItemModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::itemData(index0); +} +QList PythonQtShell_QStandardItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QStandardItemModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::mimeData(indexes0); +} +QStringList PythonQtShell_QStandardItemModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::mimeTypes(); +} +bool PythonQtShell_QStandardItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QStandardItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QStandardItemModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::parent(child0); +} +bool PythonQtShell_QStandardItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QStandardItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QStandardItemModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QStandardItemModel::revert(); +} +QHash PythonQtShell_QStandardItemModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::roleNames(); +} +int PythonQtShell_QStandardItemModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::rowCount(parent0); +} +bool PythonQtShell_QStandardItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::setData(index0, value1, role2); +} +bool PythonQtShell_QStandardItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QStandardItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QStandardItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QStandardItemModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItemModel::sort(column0, order1); +} +QSize PythonQtShell_QStandardItemModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::span(index0); +} +bool PythonQtShell_QStandardItemModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::submit(); +} +Qt::DropActions PythonQtShell_QStandardItemModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QStandardItemModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::supportedDropActions(); +} +void PythonQtShell_QStandardItemModel::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(); + } + } +} + QStandardItemModel::timerEvent(event0); +} +QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(QObject* parent) +{ +return new PythonQtShell_QStandardItemModel(parent); } + +QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(int rows, int columns, QObject* parent) +{ +return new PythonQtShell_QStandardItemModel(rows, columns, parent); } + +const QMetaObject* PythonQtShell_QStandardItemModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStandardItemModel::staticMetaObject); + } else { + return &QStandardItemModel::staticMetaObject; + } +} +int PythonQtShell_QStandardItemModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStandardItemModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QStandardItemModel::appendColumn(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->appendColumn(items)); +} + +void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->appendRow(item)); +} + +void PythonQtWrapper_QStandardItemModel::appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->appendRow(items)); +} + +void PythonQtWrapper_QStandardItemModel::clear(QStandardItemModel* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QStandardItemModel::clearItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index) +{ + return ( theWrappedObject->clearItemData(index)); +} + +QList PythonQtWrapper_QStandardItemModel::findItems(QStandardItemModel* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const +{ + return ( theWrappedObject->findItems(text, flags, column)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::horizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) const +{ + return ( theWrappedObject->horizontalHeaderItem(column)); +} + +QModelIndex PythonQtWrapper_QStandardItemModel::indexFromItem(QStandardItemModel* theWrappedObject, const QStandardItem* item) const +{ + return ( theWrappedObject->indexFromItem(item)); +} + +void PythonQtWrapper_QStandardItemModel::insertColumn(QStandardItemModel* theWrappedObject, int column, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertColumn(column, items)); +} + +void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertRow(row, item)); +} + +void PythonQtWrapper_QStandardItemModel::insertRow(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertRow(row, items)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::invisibleRootItem(QStandardItemModel* theWrappedObject) const +{ + return ( theWrappedObject->invisibleRootItem()); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::item(QStandardItemModel* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->item(row, column)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::itemFromIndex(QStandardItemModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->itemFromIndex(index)); +} + +const QStandardItem* PythonQtWrapper_QStandardItemModel::itemPrototype(QStandardItemModel* theWrappedObject) const +{ + return ( theWrappedObject->itemPrototype()); +} + +void PythonQtWrapper_QStandardItemModel::setColumnCount(QStandardItemModel* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setHorizontalHeaderItem(column, item)); +} + +void PythonQtWrapper_QStandardItemModel::setHorizontalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setHorizontalHeaderLabels(labels)); +} + +void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItem(row, item)); +} + +void PythonQtWrapper_QStandardItemModel::setItem(QStandardItemModel* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItem(row, column, item)); +} + +void PythonQtWrapper_QStandardItemModel::setItemPrototype(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItemPrototype(item)); +} + +void PythonQtWrapper_QStandardItemModel::setItemRoleNames(QStandardItemModel* theWrappedObject, const QHash& roleNames) +{ + ( theWrappedObject->setItemRoleNames(roleNames)); +} + +void PythonQtWrapper_QStandardItemModel::setRowCount(QStandardItemModel* theWrappedObject, int rows) +{ + ( theWrappedObject->setRowCount(rows)); +} + +void PythonQtWrapper_QStandardItemModel::setSortRole(QStandardItemModel* theWrappedObject, int role) +{ + ( theWrappedObject->setSortRole(role)); +} + +void PythonQtWrapper_QStandardItemModel::setVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setVerticalHeaderItem(row, item)); +} + +void PythonQtWrapper_QStandardItemModel::setVerticalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setVerticalHeaderLabels(labels)); +} + +int PythonQtWrapper_QStandardItemModel::sortRole(QStandardItemModel* theWrappedObject) const +{ + return ( theWrappedObject->sortRole()); +} + +PythonQtPassOwnershipToPython > PythonQtWrapper_QStandardItemModel::takeColumn(QStandardItemModel* theWrappedObject, int column) +{ + return ( theWrappedObject->takeColumn(column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QStandardItemModel::takeHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) +{ + return ( theWrappedObject->takeHorizontalHeaderItem(column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QStandardItemModel::takeItem(QStandardItemModel* theWrappedObject, int row, int column) +{ + return ( theWrappedObject->takeItem(row, column)); +} + +PythonQtPassOwnershipToPython > PythonQtWrapper_QStandardItemModel::takeRow(QStandardItemModel* theWrappedObject, int row) +{ + return ( theWrappedObject->takeRow(row)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QStandardItemModel::takeVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row) +{ + return ( theWrappedObject->takeVerticalHeaderItem(row)); +} + +QStandardItem* PythonQtWrapper_QStandardItemModel::verticalHeaderItem(QStandardItemModel* theWrappedObject, int row) const +{ + return ( theWrappedObject->verticalHeaderItem(row)); +} + + + +QStaticText* PythonQtWrapper_QStaticText::new_QStaticText() +{ +return new QStaticText(); } + +QStaticText* PythonQtWrapper_QStaticText::new_QStaticText(const QStaticText& other) +{ +return new QStaticText(other); } + +QStaticText* PythonQtWrapper_QStaticText::new_QStaticText(const QString& text) +{ +return new QStaticText(text); } + +bool PythonQtWrapper_QStaticText::__ne__(QStaticText* theWrappedObject, const QStaticText& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QStaticText* PythonQtWrapper_QStaticText::operator_assign(QStaticText* theWrappedObject, const QStaticText& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QStaticText::__eq__(QStaticText* theWrappedObject, const QStaticText& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QStaticText::PerformanceHint PythonQtWrapper_QStaticText::performanceHint(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->performanceHint()); +} + +void PythonQtWrapper_QStaticText::prepare(QStaticText* theWrappedObject, const QTransform& matrix, const QFont& font) +{ + ( theWrappedObject->prepare(matrix, font)); +} + +void PythonQtWrapper_QStaticText::setPerformanceHint(QStaticText* theWrappedObject, QStaticText::PerformanceHint performanceHint) +{ + ( theWrappedObject->setPerformanceHint(performanceHint)); +} + +void PythonQtWrapper_QStaticText::setText(QStaticText* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QStaticText::setTextFormat(QStaticText* theWrappedObject, Qt::TextFormat textFormat) +{ + ( theWrappedObject->setTextFormat(textFormat)); +} + +void PythonQtWrapper_QStaticText::setTextOption(QStaticText* theWrappedObject, const QTextOption& textOption) +{ + ( theWrappedObject->setTextOption(textOption)); +} + +void PythonQtWrapper_QStaticText::setTextWidth(QStaticText* theWrappedObject, qreal textWidth) +{ + ( theWrappedObject->setTextWidth(textWidth)); +} + +QSizeF PythonQtWrapper_QStaticText::size(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QStaticText::swap(QStaticText* theWrappedObject, QStaticText& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QStaticText::text(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::TextFormat PythonQtWrapper_QStaticText::textFormat(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->textFormat()); +} + +QTextOption PythonQtWrapper_QStaticText::textOption(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->textOption()); +} + +qreal PythonQtWrapper_QStaticText::textWidth(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->textWidth()); +} + + + +PythonQtShell_QStatusBar::~PythonQtShell_QStatusBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStatusBar::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QStatusBar::actionEvent(event0); +} +void PythonQtShell_QStatusBar::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::changeEvent(arg__1); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::childEvent(event0); +} +void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QStatusBar::closeEvent(event0); +} +void PythonQtShell_QStatusBar::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QStatusBar::contextMenuEvent(event0); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::customEvent(event0); +} +int PythonQtShell_QStatusBar::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 QStatusBar::devType(); +} +void PythonQtShell_QStatusBar::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QStatusBar::dragEnterEvent(event0); +} +void PythonQtShell_QStatusBar::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QStatusBar::dragLeaveEvent(event0); +} +void PythonQtShell_QStatusBar::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QStatusBar::dragMoveEvent(event0); +} +void PythonQtShell_QStatusBar::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QStatusBar::dropEvent(event0); +} +void PythonQtShell_QStatusBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QStatusBar::enterEvent(event0); +} +bool PythonQtShell_QStatusBar::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::event(arg__1); +} +bool PythonQtShell_QStatusBar::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 QStatusBar::eventFilter(watched0, event1); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::focusInEvent(event0); +} +bool PythonQtShell_QStatusBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::focusNextPrevChild(next0); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::focusOutEvent(event0); +} +bool PythonQtShell_QStatusBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::hasHeightForWidth(); +} +int PythonQtShell_QStatusBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::heightForWidth(arg__1); +} +void PythonQtShell_QStatusBar::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::hideEvent(event0); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::initPainter(painter0); +} +void PythonQtShell_QStatusBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QStatusBar::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::keyPressEvent(event0); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::keyReleaseEvent(event0); +} +void PythonQtShell_QStatusBar::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QStatusBar::leaveEvent(event0); +} +int PythonQtShell_QStatusBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::metric(arg__1); +} +QSize PythonQtShell_QStatusBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::minimumSizeHint(); +} +void PythonQtShell_QStatusBar::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStatusBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QStatusBar::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStatusBar::mouseMoveEvent(event0); +} +void PythonQtShell_QStatusBar::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStatusBar::mousePressEvent(event0); +} +void PythonQtShell_QStatusBar::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QStatusBar::mouseReleaseEvent(event0); +} +void PythonQtShell_QStatusBar::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QStatusBar::moveEvent(event0); +} +bool PythonQtShell_QStatusBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QStatusBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::paintEngine(); +} +void PythonQtShell_QStatusBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QStatusBar::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 QStatusBar::redirected(offset0); +} +void PythonQtShell_QStatusBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::resizeEvent(arg__1); +} +void PythonQtShell_QStatusBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::setVisible(visible0); +} +QPainter* PythonQtShell_QStatusBar::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 QStatusBar::sharedPainter(); +} +void PythonQtShell_QStatusBar::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::showEvent(arg__1); +} +QSize PythonQtShell_QStatusBar::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::sizeHint(); +} +void PythonQtShell_QStatusBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QStatusBar::tabletEvent(event0); +} +void PythonQtShell_QStatusBar::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(); + } + } +} + QStatusBar::timerEvent(event0); +} +void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QStatusBar::wheelEvent(event0); +} +QStatusBar* PythonQtWrapper_QStatusBar::new_QStatusBar(QWidget* parent) +{ +return new PythonQtShell_QStatusBar(parent); } + +const QMetaObject* PythonQtShell_QStatusBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStatusBar::staticMetaObject); + } else { + return &QStatusBar::staticMetaObject; + } +} +int PythonQtShell_QStatusBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStatusBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QStatusBar::addPermanentWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch) +{ + ( theWrappedObject->addPermanentWidget(widget, stretch)); +} + +void PythonQtWrapper_QStatusBar::addWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch) +{ + ( theWrappedObject->addWidget(widget, stretch)); +} + +QString PythonQtWrapper_QStatusBar::currentMessage(QStatusBar* theWrappedObject) const +{ + return ( theWrappedObject->currentMessage()); +} + +void PythonQtWrapper_QStatusBar::hideOrShow(QStatusBar* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_hideOrShow()); +} + +int PythonQtWrapper_QStatusBar::insertPermanentWidget(QStatusBar* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch) +{ + return ( theWrappedObject->insertPermanentWidget(index, widget, stretch)); +} + +int PythonQtWrapper_QStatusBar::insertWidget(QStatusBar* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch) +{ + return ( theWrappedObject->insertWidget(index, widget, stretch)); +} + +bool PythonQtWrapper_QStatusBar::isSizeGripEnabled(QStatusBar* theWrappedObject) const +{ + return ( theWrappedObject->isSizeGripEnabled()); +} + +void PythonQtWrapper_QStatusBar::reformat(QStatusBar* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->promoted_reformat()); +} + +void PythonQtWrapper_QStatusBar::removeWidget(QStatusBar* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeWidget(widget)); +} + +void PythonQtWrapper_QStatusBar::setSizeGripEnabled(QStatusBar* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSizeGripEnabled(arg__1)); +} + + + +QStatusTipEvent* PythonQtWrapper_QStatusTipEvent::new_QStatusTipEvent(const QString& tip) +{ +return new QStatusTipEvent(tip); } + +QString PythonQtWrapper_QStatusTipEvent::tip(QStatusTipEvent* theWrappedObject) const +{ + return ( theWrappedObject->tip()); +} + + + +PythonQtShell_QStringListModel::~PythonQtShell_QStringListModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QStringListModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::buddy(index0); +} +bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::canFetchMore(parent0); +} +void PythonQtShell_QStringListModel::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(); + } + } +} + QStringListModel::childEvent(event0); +} +void PythonQtShell_QStringListModel::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(); + } + } +} + QStringListModel::customEvent(event0); +} +QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::data(index0, role1); +} +bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QStringListModel::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 QStringListModel::event(event0); +} +bool PythonQtShell_QStringListModel::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 QStringListModel::eventFilter(watched0, event1); +} +void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStringListModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QStringListModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::flags(index0); +} +QVariant PythonQtShell_QStringListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QStringListModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::index(row0, column1, parent2); +} +bool PythonQtShell_QStringListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QStringListModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QStringListModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::itemData(index0); +} +QList PythonQtShell_QStringListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QStringListModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::mimeData(indexes0); +} +QStringList PythonQtShell_QStringListModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::mimeTypes(); +} +bool PythonQtShell_QStringListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QStringListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QStringListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QStringListModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QStringListModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QStringListModel::revert(); +} +QHash PythonQtShell_QStringListModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::roleNames(); +} +int PythonQtShell_QStringListModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::rowCount(parent0); +} +bool PythonQtShell_QStringListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::setData(index0, value1, role2); +} +bool PythonQtShell_QStringListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QStringListModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QStringListModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QStringListModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStringListModel::sort(column0, order1); +} +QSize PythonQtShell_QStringListModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::span(index0); +} +bool PythonQtShell_QStringListModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::submit(); +} +Qt::DropActions PythonQtShell_QStringListModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QStringListModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::supportedDropActions(); +} +void PythonQtShell_QStringListModel::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(); + } + } +} + QStringListModel::timerEvent(event0); +} +QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(QObject* parent) +{ +return new PythonQtShell_QStringListModel(parent); } + +QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(const QStringList& strings, QObject* parent) +{ +return new PythonQtShell_QStringListModel(strings, parent); } + +const QMetaObject* PythonQtShell_QStringListModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStringListModel::staticMetaObject); + } else { + return &QStringListModel::staticMetaObject; + } +} +int PythonQtShell_QStringListModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStringListModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QStringListModel::setStringList(QStringListModel* theWrappedObject, const QStringList& strings) +{ + ( theWrappedObject->setStringList(strings)); +} + +QStringList PythonQtWrapper_QStringListModel::stringList(QStringListModel* theWrappedObject) const +{ + return ( theWrappedObject->stringList()); +} + + + +QRect PythonQtWrapper_QStyle::static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle) +{ + return (QStyle::alignedRect(direction, alignment, size, rectangle)); +} + +int PythonQtWrapper_QStyle::combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option, QWidget* widget) const +{ + return ( theWrappedObject->combinedLayoutSpacing(controls1, controls2, orientation, option, widget)); +} + +void PythonQtWrapper_QStyle::drawComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget) const +{ + ( theWrappedObject->drawComplexControl(cc, opt, p, widget)); +} + +void PythonQtWrapper_QStyle::drawControl(QStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( theWrappedObject->drawControl(element, opt, p, w)); +} + +void PythonQtWrapper_QStyle::drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const +{ + ( theWrappedObject->drawItemPixmap(painter, rect, alignment, pixmap)); +} + +void PythonQtWrapper_QStyle::drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const +{ + ( theWrappedObject->drawItemText(painter, rect, flags, pal, enabled, text, textRole)); +} + +void PythonQtWrapper_QStyle::drawPrimitive(QStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w) const +{ + ( theWrappedObject->drawPrimitive(pe, opt, p, w)); +} + +QPixmap PythonQtWrapper_QStyle::generatedIconPixmap(QStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const +{ + return ( theWrappedObject->generatedIconPixmap(iconMode, pixmap, opt)); +} + +QStyle::SubControl PythonQtWrapper_QStyle::hitTestComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget) const +{ + return ( theWrappedObject->hitTestComplexControl(cc, opt, pt, widget)); +} + +QRect PythonQtWrapper_QStyle::itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const +{ + return ( theWrappedObject->itemPixmapRect(r, flags, pixmap)); +} + +int PythonQtWrapper_QStyle::layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option, const QWidget* widget) const +{ + return ( theWrappedObject->layoutSpacing(control1, control2, orientation, option, widget)); +} + +int PythonQtWrapper_QStyle::pixelMetric(QStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option, const QWidget* widget) const +{ + return ( theWrappedObject->pixelMetric(metric, option, widget)); +} + +void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QApplication* application) +{ + ( theWrappedObject->polish(application)); +} + +void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QPalette& palette) +{ + ( theWrappedObject->polish(palette)); +} + +void PythonQtWrapper_QStyle::polish(QStyle* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->polish(widget)); +} + +const QStyle* PythonQtWrapper_QStyle::proxy(QStyle* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +QSize PythonQtWrapper_QStyle::sizeFromContents(QStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w) const +{ + return ( theWrappedObject->sizeFromContents(ct, opt, contentsSize, w)); +} + +int PythonQtWrapper_QStyle::static_QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown) +{ + return (QStyle::sliderPositionFromValue(min, max, val, space, upsideDown)); +} + +int PythonQtWrapper_QStyle::static_QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown) +{ + return (QStyle::sliderValueFromPosition(min, max, pos, space, upsideDown)); +} + +QIcon PythonQtWrapper_QStyle::standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option, const QWidget* widget) const +{ + return ( theWrappedObject->standardIcon(standardIcon, option, widget)); +} + +QPalette PythonQtWrapper_QStyle::standardPalette(QStyle* theWrappedObject) const +{ + return ( theWrappedObject->standardPalette()); +} + +QPixmap PythonQtWrapper_QStyle::standardPixmap(QStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget) const +{ + return ( theWrappedObject->standardPixmap(standardPixmap, opt, widget)); +} + +int PythonQtWrapper_QStyle::styleHint(QStyle* theWrappedObject, QStyle::StyleHint stylehint, const QStyleOption* opt, const QWidget* widget, QStyleHintReturn* returnData) const +{ + return ( theWrappedObject->styleHint(stylehint, opt, widget, returnData)); +} + +QRect PythonQtWrapper_QStyle::subControlRect(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const +{ + return ( theWrappedObject->subControlRect(cc, opt, sc, widget)); +} + +QRect PythonQtWrapper_QStyle::subElementRect(QStyle* theWrappedObject, QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget) const +{ + return ( theWrappedObject->subElementRect(subElement, option, widget)); +} + +void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QApplication* application) +{ + ( theWrappedObject->unpolish(application)); +} + +void PythonQtWrapper_QStyle::unpolish(QStyle* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->unpolish(widget)); +} + +Qt::Alignment PythonQtWrapper_QStyle::static_QStyle_visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment) +{ + return (QStyle::visualAlignment(direction, alignment)); +} + +QPoint PythonQtWrapper_QStyle::static_QStyle_visualPos(Qt::LayoutDirection direction, const QRect& boundingRect, const QPoint& logicalPos) +{ + return (QStyle::visualPos(direction, boundingRect, logicalPos)); +} + +QRect PythonQtWrapper_QStyle::static_QStyle_visualRect(Qt::LayoutDirection direction, const QRect& boundingRect, const QRect& logicalRect) +{ + return (QStyle::visualRect(direction, boundingRect, logicalRect)); +} + + + +PythonQtShell_QStyleFactory::~PythonQtShell_QStyleFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleFactory* PythonQtWrapper_QStyleFactory::new_QStyleFactory() +{ +return new PythonQtShell_QStyleFactory(); } + +QStyle* PythonQtWrapper_QStyleFactory::static_QStyleFactory_create(const QString& arg__1) +{ + return (QStyleFactory::create(arg__1)); +} + +QStringList PythonQtWrapper_QStyleFactory::static_QStyleFactory_keys() +{ + return (QStyleFactory::keys()); +} + + + +PythonQtShell_QStyleHintReturn::~PythonQtShell_QStyleHintReturn() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int version, int type) +{ +return new PythonQtShell_QStyleHintReturn(version, type); } + + + +PythonQtShell_QStyleHintReturnMask::~PythonQtShell_QStyleHintReturnMask() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() +{ +return new PythonQtShell_QStyleHintReturnMask(); } + + + +PythonQtShell_QStyleHintReturnVariant::~PythonQtShell_QStyleHintReturnVariant() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() +{ +return new PythonQtShell_QStyleHintReturnVariant(); } + + + +int PythonQtWrapper_QStyleHints::cursorFlashTime(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->cursorFlashTime()); +} + +qreal PythonQtWrapper_QStyleHints::fontSmoothingGamma(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->fontSmoothingGamma()); +} + +int PythonQtWrapper_QStyleHints::keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->keyboardAutoRepeatRate()); +} + +int PythonQtWrapper_QStyleHints::keyboardInputInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->keyboardInputInterval()); +} + +int PythonQtWrapper_QStyleHints::mouseDoubleClickDistance(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mouseDoubleClickDistance()); +} + +int PythonQtWrapper_QStyleHints::mouseDoubleClickInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mouseDoubleClickInterval()); +} + +int PythonQtWrapper_QStyleHints::mousePressAndHoldInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mousePressAndHoldInterval()); +} + +int PythonQtWrapper_QStyleHints::mouseQuickSelectionThreshold(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mouseQuickSelectionThreshold()); +} + +QChar PythonQtWrapper_QStyleHints::passwordMaskCharacter(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->passwordMaskCharacter()); +} + +int PythonQtWrapper_QStyleHints::passwordMaskDelay(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->passwordMaskDelay()); +} + +void PythonQtWrapper_QStyleHints::setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime) +{ + ( theWrappedObject->setCursorFlashTime(cursorFlashTime)); +} + +bool PythonQtWrapper_QStyleHints::setFocusOnTouchRelease(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->setFocusOnTouchRelease()); +} + +void PythonQtWrapper_QStyleHints::setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval) +{ + ( theWrappedObject->setKeyboardInputInterval(keyboardInputInterval)); +} + +void PythonQtWrapper_QStyleHints::setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval) +{ + ( theWrappedObject->setMouseDoubleClickInterval(mouseDoubleClickInterval)); +} + +void PythonQtWrapper_QStyleHints::setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval) +{ + ( theWrappedObject->setMousePressAndHoldInterval(mousePressAndHoldInterval)); +} + +void PythonQtWrapper_QStyleHints::setMouseQuickSelectionThreshold(QStyleHints* theWrappedObject, int threshold) +{ + ( theWrappedObject->setMouseQuickSelectionThreshold(threshold)); +} + +void PythonQtWrapper_QStyleHints::setShowShortcutsInContextMenus(QStyleHints* theWrappedObject, bool showShortcutsInContextMenus) +{ + ( theWrappedObject->setShowShortcutsInContextMenus(showShortcutsInContextMenus)); +} + +void PythonQtWrapper_QStyleHints::setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance) +{ + ( theWrappedObject->setStartDragDistance(startDragDistance)); +} + +void PythonQtWrapper_QStyleHints::setStartDragTime(QStyleHints* theWrappedObject, int startDragTime) +{ + ( theWrappedObject->setStartDragTime(startDragTime)); +} + +void PythonQtWrapper_QStyleHints::setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior) +{ + ( theWrappedObject->setTabFocusBehavior(tabFocusBehavior)); +} + +void PythonQtWrapper_QStyleHints::setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects) +{ + ( theWrappedObject->setUseHoverEffects(useHoverEffects)); +} + +void PythonQtWrapper_QStyleHints::setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines) +{ + ( theWrappedObject->setWheelScrollLines(scrollLines)); +} + +bool PythonQtWrapper_QStyleHints::showIsFullScreen(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showIsFullScreen()); +} + +bool PythonQtWrapper_QStyleHints::showIsMaximized(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showIsMaximized()); +} + +bool PythonQtWrapper_QStyleHints::showShortcutsInContextMenus(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showShortcutsInContextMenus()); +} + +bool PythonQtWrapper_QStyleHints::singleClickActivation(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->singleClickActivation()); +} + +int PythonQtWrapper_QStyleHints::startDragDistance(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragDistance()); +} + +int PythonQtWrapper_QStyleHints::startDragTime(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragTime()); +} + +int PythonQtWrapper_QStyleHints::startDragVelocity(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragVelocity()); +} + +Qt::TabFocusBehavior PythonQtWrapper_QStyleHints::tabFocusBehavior(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->tabFocusBehavior()); +} + +int PythonQtWrapper_QStyleHints::touchDoubleTapDistance(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->touchDoubleTapDistance()); +} + +bool PythonQtWrapper_QStyleHints::useHoverEffects(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->useHoverEffects()); +} + +bool PythonQtWrapper_QStyleHints::useRtlExtensions(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->useRtlExtensions()); +} + +int PythonQtWrapper_QStyleHints::wheelScrollLines(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->wheelScrollLines()); +} + + + +PythonQtShell_QStyleOption::~PythonQtShell_QStyleOption() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(const QStyleOption& other) +{ +return new PythonQtShell_QStyleOption(other); } + +QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(int version, int type) +{ +return new PythonQtShell_QStyleOption(version, type); } + +void PythonQtWrapper_QStyleOption::initFrom(QStyleOption* theWrappedObject, const QWidget* w) +{ + ( theWrappedObject->initFrom(w)); +} + +QString PythonQtWrapper_QStyleOption::py_toString(QStyleOption* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QStyleOptionButton::~PythonQtShell_QStyleOptionButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() +{ +return new PythonQtShell_QStyleOptionButton(); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) +{ +return new PythonQtShell_QStyleOptionButton(other); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(int version) +{ +return new PythonQtShell_QStyleOptionButton(version); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::operator_assign(QStyleOptionButton* theWrappedObject, const QStyleOptionButton& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionComboBox::~PythonQtShell_QStyleOptionComboBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox() +{ +return new PythonQtShell_QStyleOptionComboBox(); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(const QStyleOptionComboBox& other) +{ +return new PythonQtShell_QStyleOptionComboBox(other); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(int version) +{ +return new PythonQtShell_QStyleOptionComboBox(version); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::operator_assign(QStyleOptionComboBox* theWrappedObject, const QStyleOptionComboBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionDockWidget::~PythonQtShell_QStyleOptionDockWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() +{ +return new PythonQtShell_QStyleOptionDockWidget(); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) +{ +return new PythonQtShell_QStyleOptionDockWidget(other); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(int version) +{ +return new PythonQtShell_QStyleOptionDockWidget(version); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::operator_assign(QStyleOptionDockWidget* theWrappedObject, const QStyleOptionDockWidget& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionDockWidgetV2::~PythonQtShell_QStyleOptionDockWidgetV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() +{ +return new PythonQtShell_QStyleOptionDockWidgetV2(); } + + + +PythonQtShell_QStyleOptionFocusRect::~PythonQtShell_QStyleOptionFocusRect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() +{ +return new PythonQtShell_QStyleOptionFocusRect(); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) +{ +return new PythonQtShell_QStyleOptionFocusRect(other); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(int version) +{ +return new PythonQtShell_QStyleOptionFocusRect(version); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::operator_assign(QStyleOptionFocusRect* theWrappedObject, const QStyleOptionFocusRect& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.h new file mode 100644 index 00000000..436a7257 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui8.h @@ -0,0 +1,2192 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QShortcutEvent : public QShortcutEvent +{ +public: + PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(nullptr) {}; + + ~PythonQtShell_QShortcutEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QShortcutEvent : public QObject +{ Q_OBJECT +public: +public slots: +QShortcutEvent* new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false); +void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } + bool isAmbiguous(QShortcutEvent* theWrappedObject) const; + const QKeySequence* key(QShortcutEvent* theWrappedObject) const; + int shortcutId(QShortcutEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QShowEvent : public QObject +{ Q_OBJECT +public: +public slots: +QShowEvent* new_QShowEvent(); +void delete_QShowEvent(QShowEvent* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QSizeGrip : public QSizeGrip +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } +inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline bool py_q_event(QEvent* arg__1) { return QSizeGrip::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QSizeGrip::eventFilter(arg__1, arg__2); } +inline void py_q_hideEvent(QHideEvent* hideEvent) { QSizeGrip::hideEvent(hideEvent); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QSizeGrip::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QSizeGrip::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QSizeGrip::mouseReleaseEvent(mouseEvent); } +inline void py_q_moveEvent(QMoveEvent* moveEvent) { QSizeGrip::moveEvent(moveEvent); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QSizeGrip::paintEvent(arg__1); } +inline void py_q_setVisible(bool arg__1) { QSizeGrip::setVisible(arg__1); } +inline void py_q_showEvent(QShowEvent* showEvent) { QSizeGrip::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QSizeGrip::sizeHint(); } +}; + +class PythonQtWrapper_QSizeGrip : public QObject +{ Q_OBJECT +public: +public slots: +QSizeGrip* new_QSizeGrip(QWidget* parent); +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));} + void py_q_mouseMoveEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QSizeGrip* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} + void py_q_moveEvent(QSizeGrip* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_moveEvent(moveEvent));} + void py_q_paintEvent(QSizeGrip* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_paintEvent(arg__1));} + void py_q_setVisible(QSizeGrip* theWrappedObject, bool arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_setVisible(arg__1));} + void py_q_showEvent(QSizeGrip* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize sizeHint(QSizeGrip* theWrappedObject) const; + QSize py_q_sizeHint(QSizeGrip* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtShell_QSlider : public QSlider +{ +public: + 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 +{ public: +inline void promoted_initStyleOption(QStyleOptionSlider* option) const { this->initStyleOption(option); } +inline void promoted_mouseMoveEvent(QMouseEvent* ev) { this->mouseMoveEvent(ev); } +inline void promoted_mousePressEvent(QMouseEvent* ev) { this->mousePressEvent(ev); } +inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { this->mouseReleaseEvent(ev); } +inline void promoted_paintEvent(QPaintEvent* ev) { this->paintEvent(ev); } +inline bool py_q_event(QEvent* event) { return QSlider::event(event); } +inline QSize py_q_minimumSizeHint() const { return QSlider::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* ev) { QSlider::mouseMoveEvent(ev); } +inline void py_q_mousePressEvent(QMouseEvent* ev) { QSlider::mousePressEvent(ev); } +inline void py_q_mouseReleaseEvent(QMouseEvent* ev) { QSlider::mouseReleaseEvent(ev); } +inline void py_q_paintEvent(QPaintEvent* ev) { QSlider::paintEvent(ev); } +inline QSize py_q_sizeHint() const { return QSlider::sizeHint(); } +}; + +class PythonQtWrapper_QSlider : public QObject +{ Q_OBJECT +public: +public slots: +QSlider* new_QSlider(QWidget* parent = nullptr); +QSlider* new_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr); +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; + QSize py_q_minimumSizeHint(QSlider* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QSlider* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_mouseMoveEvent(ev));} + void py_q_mousePressEvent(QSlider* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_mousePressEvent(ev));} + void py_q_mouseReleaseEvent(QSlider* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_mouseReleaseEvent(ev));} + void py_q_paintEvent(QSlider* theWrappedObject, QPaintEvent* ev){ (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_paintEvent(ev));} + void setTickInterval(QSlider* theWrappedObject, int ti); + void setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position); + QSize sizeHint(QSlider* theWrappedObject) const; + QSize py_q_sizeHint(QSlider* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_sizeHint());} + int tickInterval(QSlider* theWrappedObject) const; + QSlider::TickPosition tickPosition(QSlider* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSortFilterProxyModel : public QSortFilterProxyModel +{ +public: + 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 +{ public: +inline bool promoted_filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const { return this->filterAcceptsColumn(source_column, source_parent); } +inline bool promoted_filterAcceptsRow(int source_row, const QModelIndex& source_parent) const { return this->filterAcceptsRow(source_row, source_parent); } +inline void promoted_invalidateFilter() { this->invalidateFilter(); } +inline bool promoted_lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const { return this->lessThan(source_left, source_right); } +inline QModelIndex py_q_buddy(const QModelIndex& index) const { return QSortFilterProxyModel::buddy(index); } +inline bool py_q_canFetchMore(const QModelIndex& parent) const { return QSortFilterProxyModel::canFetchMore(parent); } +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QSortFilterProxyModel::columnCount(parent); } +inline QVariant py_q_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QSortFilterProxyModel::data(index, role); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QSortFilterProxyModel::dropMimeData(data, action, row, column, parent); } +inline void py_q_fetchMore(const QModelIndex& parent) { QSortFilterProxyModel::fetchMore(parent); } +inline bool py_q_filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const { return QSortFilterProxyModel::filterAcceptsColumn(source_column, source_parent); } +inline bool py_q_filterAcceptsRow(int source_row, const QModelIndex& source_parent) const { return QSortFilterProxyModel::filterAcceptsRow(source_row, source_parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QSortFilterProxyModel::flags(index); } +inline bool py_q_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QSortFilterProxyModel::hasChildren(parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QSortFilterProxyModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QSortFilterProxyModel::index(row, column, parent); } +inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSortFilterProxyModel::insertColumns(column, count, parent); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSortFilterProxyModel::insertRows(row, count, parent); } +inline bool py_q_lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const { return QSortFilterProxyModel::lessThan(source_left, source_right); } +inline QModelIndex py_q_mapFromSource(const QModelIndex& sourceIndex) const { return QSortFilterProxyModel::mapFromSource(sourceIndex); } +inline QItemSelection py_q_mapSelectionFromSource(const QItemSelection& sourceSelection) const { return QSortFilterProxyModel::mapSelectionFromSource(sourceSelection); } +inline QItemSelection py_q_mapSelectionToSource(const QItemSelection& proxySelection) const { return QSortFilterProxyModel::mapSelectionToSource(proxySelection); } +inline QModelIndex py_q_mapToSource(const QModelIndex& proxyIndex) const { return QSortFilterProxyModel::mapToSource(proxyIndex); } +inline QList py_q_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QSortFilterProxyModel::match(start, role, value, hits, flags); } +inline QMimeData* py_q_mimeData(const QList& indexes) const { return QSortFilterProxyModel::mimeData(indexes); } +inline QStringList py_q_mimeTypes() const { return QSortFilterProxyModel::mimeTypes(); } +inline QModelIndex py_q_parent(const QModelIndex& child) const { return QSortFilterProxyModel::parent(child); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSortFilterProxyModel::removeColumns(column, count, parent); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSortFilterProxyModel::removeRows(row, count, parent); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QSortFilterProxyModel::rowCount(parent); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QSortFilterProxyModel::setData(index, value, role); } +inline bool py_q_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QSortFilterProxyModel::setHeaderData(section, orientation, value, role); } +inline void py_q_setSourceModel(QAbstractItemModel* sourceModel) { QSortFilterProxyModel::setSourceModel(sourceModel); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QSortFilterProxyModel::sibling(row, column, idx); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QSortFilterProxyModel::sort(column, order); } +inline QSize py_q_span(const QModelIndex& index) const { return QSortFilterProxyModel::span(index); } +inline Qt::DropActions py_q_supportedDropActions() const { return QSortFilterProxyModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QSortFilterProxyModel : public QObject +{ Q_OBJECT +public: +public slots: +QSortFilterProxyModel* new_QSortFilterProxyModel(QObject* parent = nullptr); +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));} + QVariant py_q_data(QSortFilterProxyModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_data(index, role));} + bool py_q_dropMimeData(QSortFilterProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} + bool dynamicSortFilter(QSortFilterProxyModel* theWrappedObject) const; + void py_q_fetchMore(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent){ (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_fetchMore(parent));} + bool filterAcceptsColumn(QSortFilterProxyModel* theWrappedObject, int source_column, const QModelIndex& source_parent) const; + bool py_q_filterAcceptsColumn(QSortFilterProxyModel* theWrappedObject, int source_column, const QModelIndex& source_parent) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_filterAcceptsColumn(source_column, source_parent));} + bool filterAcceptsRow(QSortFilterProxyModel* theWrappedObject, int source_row, const QModelIndex& source_parent) const; + bool py_q_filterAcceptsRow(QSortFilterProxyModel* theWrappedObject, int source_row, const QModelIndex& source_parent) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_filterAcceptsRow(source_row, source_parent));} + Qt::CaseSensitivity filterCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const; + int filterKeyColumn(QSortFilterProxyModel* theWrappedObject) const; + QRegExp filterRegExp(QSortFilterProxyModel* theWrappedObject) const; + QRegularExpression filterRegularExpression(QSortFilterProxyModel* theWrappedObject) const; + int filterRole(QSortFilterProxyModel* theWrappedObject) const; + Qt::ItemFlags py_q_flags(QSortFilterProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_flags(index));} + bool py_q_hasChildren(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_hasChildren(parent));} + QVariant py_q_headerData(QSortFilterProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QModelIndex py_q_index(QSortFilterProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_index(row, column, parent));} + bool py_q_insertColumns(QSortFilterProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} + bool py_q_insertRows(QSortFilterProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} + void invalidateFilter(QSortFilterProxyModel* theWrappedObject); + bool isRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject) const; + bool isSortLocaleAware(QSortFilterProxyModel* theWrappedObject) const; + bool lessThan(QSortFilterProxyModel* theWrappedObject, const QModelIndex& source_left, const QModelIndex& source_right) const; + bool py_q_lessThan(QSortFilterProxyModel* theWrappedObject, const QModelIndex& source_left, const QModelIndex& source_right) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_lessThan(source_left, source_right));} + QModelIndex py_q_mapFromSource(QSortFilterProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_mapFromSource(sourceIndex));} + QItemSelection py_q_mapSelectionFromSource(QSortFilterProxyModel* theWrappedObject, const QItemSelection& sourceSelection) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_mapSelectionFromSource(sourceSelection));} + QItemSelection py_q_mapSelectionToSource(QSortFilterProxyModel* theWrappedObject, const QItemSelection& proxySelection) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_mapSelectionToSource(proxySelection));} + QModelIndex py_q_mapToSource(QSortFilterProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_mapToSource(proxyIndex));} + QList py_q_match(QSortFilterProxyModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_match(start, role, value, hits, flags));} + QMimeData* py_q_mimeData(QSortFilterProxyModel* theWrappedObject, const QList& indexes) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_mimeData(indexes));} + QStringList py_q_mimeTypes(QSortFilterProxyModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_mimeTypes());} + QModelIndex py_q_parent(QSortFilterProxyModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_parent(child));} + bool py_q_removeColumns(QSortFilterProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + bool py_q_removeRows(QSortFilterProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + int py_q_rowCount(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_setData(QSortFilterProxyModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_setData(index, value, role));} + void setDynamicSortFilter(QSortFilterProxyModel* theWrappedObject, bool enable); + void setFilterCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs); + void setFilterKeyColumn(QSortFilterProxyModel* theWrappedObject, int column); + void setFilterRole(QSortFilterProxyModel* theWrappedObject, int role); + bool py_q_setHeaderData(QSortFilterProxyModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_setHeaderData(section, orientation, value, role));} + void setRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject, bool recursive); + void setSortCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs); + void setSortLocaleAware(QSortFilterProxyModel* theWrappedObject, bool on); + void setSortRole(QSortFilterProxyModel* theWrappedObject, int role); + void py_q_setSourceModel(QSortFilterProxyModel* theWrappedObject, QAbstractItemModel* sourceModel){ (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_setSourceModel(sourceModel));} + QModelIndex py_q_sibling(QSortFilterProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_sibling(row, column, idx));} + void py_q_sort(QSortFilterProxyModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_sort(column, order));} + Qt::CaseSensitivity sortCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const; + int sortColumn(QSortFilterProxyModel* theWrappedObject) const; + Qt::SortOrder sortOrder(QSortFilterProxyModel* theWrappedObject) const; + int sortRole(QSortFilterProxyModel* theWrappedObject) const; + QSize py_q_span(QSortFilterProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_span(index));} + Qt::DropActions py_q_supportedDropActions(QSortFilterProxyModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_supportedDropActions());} +}; + + + + + +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(nullptr) {}; + + ~PythonQtShell_QSpacerItem() 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_QSpacerItem : public QSpacerItem +{ public: +inline Qt::Orientations py_q_expandingDirections() const { return QSpacerItem::expandingDirections(); } +inline QRect py_q_geometry() const { return QSpacerItem::geometry(); } +inline bool py_q_isEmpty() const { return QSpacerItem::isEmpty(); } +inline QSize py_q_maximumSize() const { return QSpacerItem::maximumSize(); } +inline QSize py_q_minimumSize() const { return QSpacerItem::minimumSize(); } +inline void py_q_setGeometry(const QRect& arg__1) { QSpacerItem::setGeometry(arg__1); } +inline QSize py_q_sizeHint() const { return QSpacerItem::sizeHint(); } +inline QSpacerItem* py_q_spacerItem() { return QSpacerItem::spacerItem(); } +}; + +class PythonQtWrapper_QSpacerItem : public QObject +{ Q_OBJECT +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 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());} + bool py_q_isEmpty(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_isEmpty());} + QSize py_q_maximumSize(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_maximumSize());} + QSize py_q_minimumSize(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_minimumSize());} + void py_q_setGeometry(QSpacerItem* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_setGeometry(arg__1));} + QSize py_q_sizeHint(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_sizeHint());} + QSizePolicy sizePolicy(QSpacerItem* theWrappedObject) const; + QSpacerItem* py_q_spacerItem(QSpacerItem* theWrappedObject){ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_spacerItem());} + bool __nonzero__(QSpacerItem* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QSpinBox : public QSpinBox +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_fixup(QString& str) const { this->fixup(str); } +inline QString promoted_textFromValue(int val) const { return this->textFromValue(val); } +inline QValidator::State promoted_validate(QString& input, int& pos) const { return this->validate(input, pos); } +inline int promoted_valueFromText(const QString& text) const { return this->valueFromText(text); } +inline bool py_q_event(QEvent* event) { return QSpinBox::event(event); } +inline void py_q_fixup(QString& str) const { QSpinBox::fixup(str); } +inline QString py_q_textFromValue(int val) const { return QSpinBox::textFromValue(val); } +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QSpinBox::validate(input, pos); } +inline int py_q_valueFromText(const QString& text) const { return QSpinBox::valueFromText(text); } +}; + +class PythonQtWrapper_QSpinBox : public QObject +{ Q_OBJECT +public: +public slots: +QSpinBox* new_QSpinBox(QWidget* parent = nullptr); +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));} + void py_q_fixup(QSpinBox* theWrappedObject, QString& str) const{ (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_fixup(str));} + int maximum(QSpinBox* theWrappedObject) const; + int minimum(QSpinBox* theWrappedObject) const; + QString prefix(QSpinBox* theWrappedObject) const; + void setDisplayIntegerBase(QSpinBox* theWrappedObject, int base); + void setMaximum(QSpinBox* theWrappedObject, int max); + void setMinimum(QSpinBox* theWrappedObject, int min); + void setPrefix(QSpinBox* theWrappedObject, const QString& prefix); + void setRange(QSpinBox* theWrappedObject, int min, int max); + void setSingleStep(QSpinBox* theWrappedObject, int val); + void setStepType(QSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType); + void setSuffix(QSpinBox* theWrappedObject, const QString& suffix); + int singleStep(QSpinBox* theWrappedObject) const; + QAbstractSpinBox::StepType stepType(QSpinBox* theWrappedObject) const; + QString suffix(QSpinBox* theWrappedObject) const; + QString textFromValue(QSpinBox* theWrappedObject, int val) const; + QString py_q_textFromValue(QSpinBox* theWrappedObject, int val) const{ return (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_textFromValue(val));} + QValidator::State py_q_validate(QSpinBox* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_validate(input, pos));} + int value(QSpinBox* theWrappedObject) const; + int valueFromText(QSpinBox* theWrappedObject, const QString& text) const; + int py_q_valueFromText(QSpinBox* theWrappedObject, const QString& text) const{ return (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_valueFromText(text));} +}; + + + + + +class PythonQtShell_QSplashScreen : public QSplashScreen +{ +public: + PythonQtShell_QSplashScreen(QScreen* screen, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(screen, pixmap, f),_wrapper(nullptr) {}; + 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 +{ public: +inline void promoted_drawContents(QPainter* painter) { this->drawContents(painter); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void py_q_drawContents(QPainter* painter) { QSplashScreen::drawContents(painter); } +inline bool py_q_event(QEvent* e) { return QSplashScreen::event(e); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QSplashScreen::mousePressEvent(arg__1); } +}; + +class PythonQtWrapper_QSplashScreen : public QObject +{ Q_OBJECT +public: +public slots: +QSplashScreen* new_QSplashScreen(QScreen* screen, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()); +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 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));} + void finish(QSplashScreen* theWrappedObject, QWidget* w); + QString message(QSplashScreen* theWrappedObject) const; + void py_q_mousePressEvent(QSplashScreen* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + const QPixmap pixmap(QSplashScreen* theWrappedObject) const; + void setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap); +}; + + + + + +class PythonQtShell_QSplitter : public QSplitter +{ +public: + 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 +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_childEvent(QChildEvent* arg__1) { this->childEvent(arg__1); } +inline int promoted_closestLegalPosition(int arg__1, int arg__2) { return this->closestLegalPosition(arg__1, arg__2); } +inline QSplitterHandle* promoted_createHandle() { return this->createHandle(); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_moveSplitter(int pos, int index) { this->moveSplitter(pos, index); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_setRubberBand(int position) { this->setRubberBand(position); } +inline void py_q_changeEvent(QEvent* arg__1) { QSplitter::changeEvent(arg__1); } +inline void py_q_childEvent(QChildEvent* arg__1) { QSplitter::childEvent(arg__1); } +inline QSplitterHandle* py_q_createHandle() { return QSplitter::createHandle(); } +inline bool py_q_event(QEvent* arg__1) { return QSplitter::event(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QSplitter::minimumSizeHint(); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QSplitter::resizeEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QSplitter::sizeHint(); } +}; + +class PythonQtWrapper_QSplitter : public QObject +{ Q_OBJECT +public: +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 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));} + bool childrenCollapsible(QSplitter* theWrappedObject) const; + int closestLegalPosition(QSplitter* theWrappedObject, int arg__1, int arg__2); + int count(QSplitter* theWrappedObject) const; + QSplitterHandle* createHandle(QSplitter* theWrappedObject); + QSplitterHandle* py_q_createHandle(QSplitter* theWrappedObject){ return (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_createHandle());} + bool py_q_event(QSplitter* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_event(arg__1));} + QSplitterHandle* handle(QSplitter* theWrappedObject, int index) const; + int handleWidth(QSplitter* theWrappedObject) const; + int indexOf(QSplitter* theWrappedObject, QWidget* w) const; + void insertWidget(QSplitter* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget); + bool isCollapsible(QSplitter* theWrappedObject, int index) const; + QSize minimumSizeHint(QSplitter* theWrappedObject) const; + QSize py_q_minimumSizeHint(QSplitter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_minimumSizeHint());} + void moveSplitter(QSplitter* theWrappedObject, int pos, int index); + bool opaqueResize(QSplitter* theWrappedObject) const; + void writeTo(QSplitter* theWrappedObject, QTextStream& arg__1); + void readFrom(QSplitter* theWrappedObject, QTextStream& arg__1); + Qt::Orientation orientation(QSplitter* theWrappedObject) const; + void refresh(QSplitter* theWrappedObject); + QWidget* replaceWidget(QSplitter* theWrappedObject, int index, QWidget* widget); + void py_q_resizeEvent(QSplitter* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_resizeEvent(arg__1));} + bool restoreState(QSplitter* theWrappedObject, const QByteArray& state); + QByteArray saveState(QSplitter* theWrappedObject) const; + void setChildrenCollapsible(QSplitter* theWrappedObject, bool arg__1); + void setCollapsible(QSplitter* theWrappedObject, int index, bool arg__2); + void setHandleWidth(QSplitter* theWrappedObject, int arg__1); + void setOpaqueResize(QSplitter* theWrappedObject, bool opaque = true); + void setOrientation(QSplitter* theWrappedObject, Qt::Orientation arg__1); + void setRubberBand(QSplitter* theWrappedObject, int position); + void setSizes(QSplitter* theWrappedObject, const QList& list); + void setStretchFactor(QSplitter* theWrappedObject, int index, int stretch); + QSize py_q_sizeHint(QSplitter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_sizeHint());} + QList sizes(QSplitter* theWrappedObject) const; + QWidget* widget(QSplitter* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QSplitterHandle : public QSplitterHandle +{ +public: + 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 +{ public: +inline int promoted_closestLegalPosition(int p) { return this->closestLegalPosition(p); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_moveSplitter(int p) { this->moveSplitter(p); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QSplitterHandle::event(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QSplitterHandle::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QSplitterHandle::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QSplitterHandle::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QSplitterHandle::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QSplitterHandle::resizeEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QSplitterHandle::sizeHint(); } +}; + +class PythonQtWrapper_QSplitterHandle : public QObject +{ Q_OBJECT +public: +public slots: +QSplitterHandle* new_QSplitterHandle(Qt::Orientation o, QSplitter* parent); +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));} + void py_q_mousePressEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void moveSplitter(QSplitterHandle* theWrappedObject, int p); + bool opaqueResize(QSplitterHandle* theWrappedObject) const; + Qt::Orientation orientation(QSplitterHandle* theWrappedObject) const; + void py_q_paintEvent(QSplitterHandle* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_paintEvent(arg__1));} + void py_q_resizeEvent(QSplitterHandle* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o); + QSize sizeHint(QSplitterHandle* theWrappedObject) const; + QSize py_q_sizeHint(QSplitterHandle* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_sizeHint());} + QSplitter* splitter(QSplitterHandle* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStackedLayout : public QStackedLayout +{ +public: + 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 +{ public: +inline void py_q_addItem(QLayoutItem* item) { QStackedLayout::addItem(item); } +inline int py_q_count() const { return QStackedLayout::count(); } +inline bool py_q_hasHeightForWidth() const { return QStackedLayout::hasHeightForWidth(); } +inline int py_q_heightForWidth(int width) const { return QStackedLayout::heightForWidth(width); } +inline QLayoutItem* py_q_itemAt(int arg__1) const { return QStackedLayout::itemAt(arg__1); } +inline QSize py_q_minimumSize() const { return QStackedLayout::minimumSize(); } +inline void py_q_setGeometry(const QRect& rect) { QStackedLayout::setGeometry(rect); } +inline QSize py_q_sizeHint() const { return QStackedLayout::sizeHint(); } +inline QLayoutItem* py_q_takeAt(int arg__1) { return QStackedLayout::takeAt(arg__1); } +}; + +class PythonQtWrapper_QStackedLayout : public QObject +{ Q_OBJECT +public: +public slots: +QStackedLayout* new_QStackedLayout(); +QStackedLayout* new_QStackedLayout(QLayout* parentLayout); +QStackedLayout* new_QStackedLayout(QWidget* parent); +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 py_q_hasHeightForWidth(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_hasHeightForWidth());} + 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 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));} + QWidget* widget(QStackedLayout* theWrappedObject, int arg__1) const; + bool __nonzero__(QStackedLayout* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QStackedWidget : public QStackedWidget +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool py_q_event(QEvent* e) { return QStackedWidget::event(e); } +}; + +class PythonQtWrapper_QStackedWidget : public QObject +{ Q_OBJECT +public: +public slots: +QStackedWidget* new_QStackedWidget(QWidget* parent = nullptr); +void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } + int addWidget(QStackedWidget* theWrappedObject, PythonQtPassOwnershipToCPP w); + int count(QStackedWidget* theWrappedObject) const; + int currentIndex(QStackedWidget* theWrappedObject) const; + QWidget* currentWidget(QStackedWidget* theWrappedObject) const; + bool py_q_event(QStackedWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QStackedWidget*)theWrappedObject)->py_q_event(e));} + int indexOf(QStackedWidget* theWrappedObject, QWidget* arg__1) const; + int insertWidget(QStackedWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP w); + void removeWidget(QStackedWidget* theWrappedObject, PythonQtPassOwnershipToPython w); + QWidget* widget(QStackedWidget* theWrappedObject, int arg__1) const; +}; + + + + + +class PythonQtShell_QStandardItem : public QStandardItem +{ +public: + 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() override; + +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; +}; + +class PythonQtPublicPromoter_QStandardItem : public QStandardItem +{ public: +inline void promoted_emitDataChanged() { this->emitDataChanged(); } +inline QStandardItem* py_q_clone() const { return QStandardItem::clone(); } +inline QVariant py_q_data(int role = Qt::UserRole + 1) const { return QStandardItem::data(role); } +inline void py_q_read(QDataStream& in) { QStandardItem::read(in); } +inline void py_q_setData(const QVariant& value, int role = Qt::UserRole + 1) { QStandardItem::setData(value, role); } +inline int py_q_type() const { return QStandardItem::type(); } +inline void py_q_write(QDataStream& out) const { QStandardItem::write(out); } +}; + +class PythonQtWrapper_QStandardItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ) +enum ItemType{ + Type = QStandardItem::Type, UserType = QStandardItem::UserType}; +public slots: +QStandardItem* new_QStandardItem(); +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; } + QString accessibleDescription(QStandardItem* theWrappedObject) const; + QString accessibleText(QStandardItem* theWrappedObject) const; + void appendColumn(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items); + void appendRow(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP item); + void appendRow(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items); + void appendRows(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items); + QBrush background(QStandardItem* theWrappedObject) const; + Qt::CheckState checkState(QStandardItem* theWrappedObject) const; + QStandardItem* child(QStandardItem* theWrappedObject, int row, int column = 0) const; + void clearData(QStandardItem* theWrappedObject); + QStandardItem* clone(QStandardItem* theWrappedObject) const; + QStandardItem* py_q_clone(QStandardItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->py_q_clone());} + int column(QStandardItem* theWrappedObject) const; + int columnCount(QStandardItem* theWrappedObject) const; + QVariant data(QStandardItem* theWrappedObject, int role = Qt::UserRole + 1) const; + QVariant py_q_data(QStandardItem* theWrappedObject, int role = Qt::UserRole + 1) const{ return (((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->py_q_data(role));} + void emitDataChanged(QStandardItem* theWrappedObject); + Qt::ItemFlags flags(QStandardItem* theWrappedObject) const; + QFont font(QStandardItem* theWrappedObject) const; + QBrush foreground(QStandardItem* theWrappedObject) const; + bool hasChildren(QStandardItem* theWrappedObject) const; + QIcon icon(QStandardItem* theWrappedObject) const; + QModelIndex index(QStandardItem* theWrappedObject) const; + void insertColumn(QStandardItem* theWrappedObject, int column, PythonQtPassOwnershipToCPP > items); + void insertColumns(QStandardItem* theWrappedObject, int column, int count); + void insertRow(QStandardItem* theWrappedObject, int row, QStandardItem* item); + void insertRow(QStandardItem* theWrappedObject, int row, PythonQtPassOwnershipToCPP > items); + void insertRows(QStandardItem* theWrappedObject, int row, PythonQtPassOwnershipToCPP > items); + void insertRows(QStandardItem* theWrappedObject, int row, int count); + bool isAutoTristate(QStandardItem* theWrappedObject) const; + bool isCheckable(QStandardItem* theWrappedObject) const; + bool isDragEnabled(QStandardItem* theWrappedObject) const; + bool isDropEnabled(QStandardItem* theWrappedObject) const; + bool isEditable(QStandardItem* theWrappedObject) const; + bool isEnabled(QStandardItem* theWrappedObject) const; + bool isSelectable(QStandardItem* theWrappedObject) const; + bool isTristate(QStandardItem* theWrappedObject) const; + bool isUserTristate(QStandardItem* theWrappedObject) const; + QStandardItemModel* model(QStandardItem* theWrappedObject) const; + void writeTo(QStandardItem* theWrappedObject, QDataStream& out); + void readFrom(QStandardItem* theWrappedObject, QDataStream& in); + QStandardItem* parent(QStandardItem* theWrappedObject) const; + void read(QStandardItem* theWrappedObject, QDataStream& in); + void py_q_read(QStandardItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->py_q_read(in));} + void removeColumn(QStandardItem* theWrappedObject, int column); + void removeColumns(QStandardItem* theWrappedObject, int column, int count); + void removeRow(QStandardItem* theWrappedObject, int row); + void removeRows(QStandardItem* theWrappedObject, int row, int count); + int row(QStandardItem* theWrappedObject) const; + int rowCount(QStandardItem* theWrappedObject) const; + void setAccessibleDescription(QStandardItem* theWrappedObject, const QString& accessibleDescription); + void setAccessibleText(QStandardItem* theWrappedObject, const QString& accessibleText); + void setAutoTristate(QStandardItem* theWrappedObject, bool tristate); + void setBackground(QStandardItem* theWrappedObject, const QBrush& brush); + void setCheckState(QStandardItem* theWrappedObject, Qt::CheckState checkState); + void setCheckable(QStandardItem* theWrappedObject, bool checkable); + void setChild(QStandardItem* theWrappedObject, int row, PythonQtPassOwnershipToCPP item); + void setChild(QStandardItem* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item); + void setColumnCount(QStandardItem* theWrappedObject, int columns); + void setData(QStandardItem* theWrappedObject, const QVariant& value, int role = Qt::UserRole + 1); + void py_q_setData(QStandardItem* theWrappedObject, const QVariant& value, int role = Qt::UserRole + 1){ (((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->py_q_setData(value, role));} + void setDragEnabled(QStandardItem* theWrappedObject, bool dragEnabled); + void setDropEnabled(QStandardItem* theWrappedObject, bool dropEnabled); + void setEditable(QStandardItem* theWrappedObject, bool editable); + void setEnabled(QStandardItem* theWrappedObject, bool enabled); + void setFlags(QStandardItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QStandardItem* theWrappedObject, const QFont& font); + void setForeground(QStandardItem* theWrappedObject, const QBrush& brush); + void setIcon(QStandardItem* theWrappedObject, const QIcon& icon); + void setRowCount(QStandardItem* theWrappedObject, int rows); + void setSelectable(QStandardItem* theWrappedObject, bool selectable); + void setSizeHint(QStandardItem* theWrappedObject, const QSize& sizeHint); + void setStatusTip(QStandardItem* theWrappedObject, const QString& statusTip); + void setText(QStandardItem* theWrappedObject, const QString& text); + void setTextAlignment(QStandardItem* theWrappedObject, Qt::Alignment textAlignment); + void setToolTip(QStandardItem* theWrappedObject, const QString& toolTip); + void setTristate(QStandardItem* theWrappedObject, bool tristate); + void setUserTristate(QStandardItem* theWrappedObject, bool tristate); + void setWhatsThis(QStandardItem* theWrappedObject, const QString& whatsThis); + QSize sizeHint(QStandardItem* theWrappedObject) const; + void sortChildren(QStandardItem* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); + QString statusTip(QStandardItem* theWrappedObject) const; + PythonQtPassOwnershipToPython takeChild(QStandardItem* theWrappedObject, int row, int column = 0); + QList takeColumn(QStandardItem* theWrappedObject, int column); + QList takeRow(QStandardItem* theWrappedObject, int row); + QString text(QStandardItem* theWrappedObject) const; + Qt::Alignment textAlignment(QStandardItem* theWrappedObject) const; + QString toolTip(QStandardItem* theWrappedObject) const; + int type(QStandardItem* theWrappedObject) const; + int py_q_type(QStandardItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->py_q_type());} + QString whatsThis(QStandardItem* theWrappedObject) const; + void write(QStandardItem* theWrappedObject, QDataStream& out) const; + void py_q_write(QStandardItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QStandardItem*)theWrappedObject)->py_q_write(out));} +}; + + + + + +class PythonQtShell_QStandardItemModel : public QStandardItemModel +{ +public: + 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 +{ public: +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::columnCount(parent); } +inline QVariant py_q_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QStandardItemModel::data(index, role); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QStandardItemModel::dropMimeData(data, action, row, column, parent); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QStandardItemModel::flags(index); } +inline bool py_q_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::hasChildren(parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QStandardItemModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::index(row, column, parent); } +inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::insertColumns(column, count, parent); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::insertRows(row, count, parent); } +inline QMap py_q_itemData(const QModelIndex& index) const { return QStandardItemModel::itemData(index); } +inline QMimeData* py_q_mimeData(const QList& indexes) const { return QStandardItemModel::mimeData(indexes); } +inline QStringList py_q_mimeTypes() const { return QStandardItemModel::mimeTypes(); } +inline QModelIndex py_q_parent(const QModelIndex& child) const { return QStandardItemModel::parent(child); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::removeColumns(column, count, parent); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStandardItemModel::removeRows(row, count, parent); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QStandardItemModel::rowCount(parent); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QStandardItemModel::setData(index, value, role); } +inline bool py_q_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QStandardItemModel::setHeaderData(section, orientation, value, role); } +inline bool py_q_setItemData(const QModelIndex& index, const QMap& roles) { return QStandardItemModel::setItemData(index, roles); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QStandardItemModel::sibling(row, column, idx); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QStandardItemModel::sort(column, order); } +inline Qt::DropActions py_q_supportedDropActions() const { return QStandardItemModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QStandardItemModel : public QObject +{ Q_OBJECT +public: +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 appendColumn(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); + void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP item); + void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); + void clear(QStandardItemModel* theWrappedObject); + bool clearItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index); + int py_q_columnCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_columnCount(parent));} + QVariant py_q_data(QStandardItemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_data(index, role));} + bool py_q_dropMimeData(QStandardItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} + QList findItems(QStandardItemModel* theWrappedObject, const QString& text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0) const; + Qt::ItemFlags py_q_flags(QStandardItemModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_flags(index));} + bool py_q_hasChildren(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_hasChildren(parent));} + QVariant py_q_headerData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QStandardItem* horizontalHeaderItem(QStandardItemModel* theWrappedObject, int column) const; + QModelIndex py_q_index(QStandardItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_index(row, column, parent));} + QModelIndex indexFromItem(QStandardItemModel* theWrappedObject, const QStandardItem* item) const; + void insertColumn(QStandardItemModel* theWrappedObject, int column, PythonQtPassOwnershipToCPP > items); + bool py_q_insertColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} + void insertRow(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP item); + void insertRow(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP > items); + bool py_q_insertRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} + QStandardItem* invisibleRootItem(QStandardItemModel* theWrappedObject) const; + QStandardItem* item(QStandardItemModel* theWrappedObject, int row, int column = 0) const; + QMap py_q_itemData(QStandardItemModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_itemData(index));} + QStandardItem* itemFromIndex(QStandardItemModel* theWrappedObject, const QModelIndex& index) const; + const QStandardItem* itemPrototype(QStandardItemModel* theWrappedObject) const; + QMimeData* py_q_mimeData(QStandardItemModel* theWrappedObject, const QList& indexes) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_mimeData(indexes));} + QStringList py_q_mimeTypes(QStandardItemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_mimeTypes());} + QModelIndex py_q_parent(QStandardItemModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_parent(child));} + bool py_q_removeColumns(QStandardItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + bool py_q_removeRows(QStandardItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + int py_q_rowCount(QStandardItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_rowCount(parent));} + void setColumnCount(QStandardItemModel* theWrappedObject, int columns); + bool py_q_setData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_setData(index, value, role));} + bool py_q_setHeaderData(QStandardItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_setHeaderData(section, orientation, value, role));} + void setHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column, PythonQtPassOwnershipToCPP item); + void setHorizontalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels); + void setItem(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP item); + void setItem(QStandardItemModel* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item); + bool py_q_setItemData(QStandardItemModel* theWrappedObject, const QModelIndex& index, const QMap& roles){ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_setItemData(index, roles));} + void setItemPrototype(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP item); + void setItemRoleNames(QStandardItemModel* theWrappedObject, const QHash& roleNames); + void setRowCount(QStandardItemModel* theWrappedObject, int rows); + void setSortRole(QStandardItemModel* theWrappedObject, int role); + void setVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row, PythonQtPassOwnershipToCPP item); + void setVerticalHeaderLabels(QStandardItemModel* theWrappedObject, const QStringList& labels); + QModelIndex py_q_sibling(QStandardItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_sibling(row, column, idx));} + void py_q_sort(QStandardItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_sort(column, order));} + int sortRole(QStandardItemModel* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QStandardItemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStandardItemModel*)theWrappedObject)->py_q_supportedDropActions());} + PythonQtPassOwnershipToPython > takeColumn(QStandardItemModel* theWrappedObject, int column); + PythonQtPassOwnershipToPython takeHorizontalHeaderItem(QStandardItemModel* theWrappedObject, int column); + PythonQtPassOwnershipToPython takeItem(QStandardItemModel* theWrappedObject, int row, int column = 0); + PythonQtPassOwnershipToPython > takeRow(QStandardItemModel* theWrappedObject, int row); + PythonQtPassOwnershipToPython takeVerticalHeaderItem(QStandardItemModel* theWrappedObject, int row); + QStandardItem* verticalHeaderItem(QStandardItemModel* theWrappedObject, int row) const; +}; + + + + + +class PythonQtWrapper_QStaticText : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PerformanceHint ) +enum PerformanceHint{ + ModerateCaching = QStaticText::ModerateCaching, AggressiveCaching = QStaticText::AggressiveCaching}; +public slots: +QStaticText* new_QStaticText(); +QStaticText* new_QStaticText(const QStaticText& other); +QStaticText* new_QStaticText(const QString& text); +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; + QStaticText::PerformanceHint performanceHint(QStaticText* theWrappedObject) const; + void prepare(QStaticText* theWrappedObject, const QTransform& matrix = QTransform(), const QFont& font = QFont()); + void setPerformanceHint(QStaticText* theWrappedObject, QStaticText::PerformanceHint performanceHint); + void setText(QStaticText* theWrappedObject, const QString& text); + void setTextFormat(QStaticText* theWrappedObject, Qt::TextFormat textFormat); + void setTextOption(QStaticText* theWrappedObject, const QTextOption& textOption); + void setTextWidth(QStaticText* theWrappedObject, qreal textWidth); + QSizeF size(QStaticText* theWrappedObject) const; + void swap(QStaticText* theWrappedObject, QStaticText& other); + QString text(QStaticText* theWrappedObject) const; + Qt::TextFormat textFormat(QStaticText* theWrappedObject) const; + QTextOption textOption(QStaticText* theWrappedObject) const; + qreal textWidth(QStaticText* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStatusBar : public QStatusBar +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_hideOrShow() { this->hideOrShow(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_reformat() { this->reformat(); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QStatusBar::event(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QStatusBar::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QStatusBar::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QStatusBar::showEvent(arg__1); } +}; + +class PythonQtWrapper_QStatusBar : public QObject +{ Q_OBJECT +public: +public slots: +QStatusBar* new_QStatusBar(QWidget* parent = nullptr); +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; + bool py_q_event(QStatusBar* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->py_q_event(arg__1));} + void hideOrShow(QStatusBar* theWrappedObject); + int insertPermanentWidget(QStatusBar* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch = 0); + int insertWidget(QStatusBar* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch = 0); + bool isSizeGripEnabled(QStatusBar* theWrappedObject) const; + void py_q_paintEvent(QStatusBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + void reformat(QStatusBar* theWrappedObject); + void removeWidget(QStatusBar* theWrappedObject, QWidget* widget); + void py_q_resizeEvent(QStatusBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setSizeGripEnabled(QStatusBar* theWrappedObject, bool arg__1); + void py_q_showEvent(QStatusBar* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QStatusBar*)theWrappedObject)->py_q_showEvent(arg__1));} +}; + + + + + +class PythonQtWrapper_QStatusTipEvent : public QObject +{ Q_OBJECT +public: +public slots: +QStatusTipEvent* new_QStatusTipEvent(const QString& tip); +void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } + QString tip(QStatusTipEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStringListModel : public QStringListModel +{ +public: + 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 +{ public: +inline QVariant py_q_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QStringListModel::data(index, role); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QStringListModel::flags(index); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStringListModel::insertRows(row, count, parent); } +inline QMap py_q_itemData(const QModelIndex& index) const { return QStringListModel::itemData(index); } +inline bool py_q_moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) { return QStringListModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QStringListModel::removeRows(row, count, parent); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QStringListModel::rowCount(parent); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QStringListModel::setData(index, value, role); } +inline bool py_q_setItemData(const QModelIndex& index, const QMap& roles) { return QStringListModel::setItemData(index, roles); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QStringListModel::sibling(row, column, idx); } +inline void py_q_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QStringListModel::sort(column, order); } +inline Qt::DropActions py_q_supportedDropActions() const { return QStringListModel::supportedDropActions(); } +}; + +class PythonQtWrapper_QStringListModel : public QObject +{ Q_OBJECT +public: +public slots: +QStringListModel* new_QStringListModel(QObject* parent = nullptr); +QStringListModel* new_QStringListModel(const QStringList& strings, QObject* parent = nullptr); +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));} + QMap py_q_itemData(QStringListModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_itemData(index));} + bool py_q_moveRows(QStringListModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild));} + bool py_q_removeRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + int py_q_rowCount(QStringListModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_setData(QStringListModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_setData(index, value, role));} + bool py_q_setItemData(QStringListModel* theWrappedObject, const QModelIndex& index, const QMap& roles){ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_setItemData(index, roles));} + void setStringList(QStringListModel* theWrappedObject, const QStringList& strings); + QModelIndex py_q_sibling(QStringListModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_sibling(row, column, idx));} + void py_q_sort(QStringListModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_sort(column, order));} + QStringList stringList(QStringListModel* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QStringListModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_supportedDropActions());} +}; + + + + + +class PythonQtPublicPromoter_QStyle : public QStyle +{ public: +inline void py_q_drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget = nullptr) const { this->drawComplexControl(cc, opt, p, widget); } +inline void py_q_drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const { this->drawControl(element, opt, p, w); } +inline void py_q_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QStyle::drawItemPixmap(painter, rect, alignment, pixmap); } +inline void py_q_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } +inline void py_q_drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const { this->drawPrimitive(pe, opt, p, w); } +inline QPixmap py_q_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return this->generatedIconPixmap(iconMode, pixmap, opt); } +inline QStyle::SubControl py_q_hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget = nullptr) const { return this->hitTestComplexControl(cc, opt, pt, widget); } +inline QRect py_q_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QStyle::itemPixmapRect(r, flags, pixmap); } +inline int py_q_layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return this->layoutSpacing(control1, control2, orientation, option, widget); } +inline int py_q_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return this->pixelMetric(metric, option, widget); } +inline void py_q_polish(QApplication* application) { QStyle::polish(application); } +inline void py_q_polish(QPalette& palette) { QStyle::polish(palette); } +inline void py_q_polish(QWidget* widget) { QStyle::polish(widget); } +inline QSize py_q_sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w = nullptr) const { return this->sizeFromContents(ct, opt, contentsSize, w); } +inline QIcon py_q_standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return this->standardIcon(standardIcon, option, widget); } +inline QPalette py_q_standardPalette() const { return QStyle::standardPalette(); } +inline QPixmap py_q_standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const { return this->standardPixmap(standardPixmap, opt, widget); } +inline int py_q_styleHint(QStyle::StyleHint stylehint, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const { return this->styleHint(stylehint, opt, widget, returnData); } +inline QRect py_q_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = nullptr) const { return this->subControlRect(cc, opt, sc, widget); } +inline QRect py_q_subElementRect(QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget = nullptr) const { return this->subElementRect(subElement, option, widget); } +inline void py_q_unpolish(QApplication* application) { QStyle::unpolish(application); } +inline void py_q_unpolish(QWidget* widget) { QStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QStyle : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StateFlag SubControl ) +Q_FLAGS(State SubControls ) +enum StateFlag{ + State_None = QStyle::State_None, State_Enabled = QStyle::State_Enabled, State_Raised = QStyle::State_Raised, State_Sunken = QStyle::State_Sunken, State_Off = QStyle::State_Off, State_NoChange = QStyle::State_NoChange, State_On = QStyle::State_On, State_DownArrow = QStyle::State_DownArrow, State_Horizontal = QStyle::State_Horizontal, State_HasFocus = QStyle::State_HasFocus, State_Top = QStyle::State_Top, State_Bottom = QStyle::State_Bottom, State_FocusAtBorder = QStyle::State_FocusAtBorder, State_AutoRaise = QStyle::State_AutoRaise, State_MouseOver = QStyle::State_MouseOver, State_UpArrow = QStyle::State_UpArrow, State_Selected = QStyle::State_Selected, State_Active = QStyle::State_Active, State_Window = QStyle::State_Window, State_Open = QStyle::State_Open, State_Children = QStyle::State_Children, State_Item = QStyle::State_Item, State_Sibling = QStyle::State_Sibling, State_Editing = QStyle::State_Editing, State_KeyboardFocusChange = QStyle::State_KeyboardFocusChange, State_ReadOnly = QStyle::State_ReadOnly, State_Small = QStyle::State_Small, State_Mini = QStyle::State_Mini}; +enum SubControl{ + SC_None = QStyle::SC_None, SC_ScrollBarAddLine = QStyle::SC_ScrollBarAddLine, SC_ScrollBarSubLine = QStyle::SC_ScrollBarSubLine, SC_ScrollBarAddPage = QStyle::SC_ScrollBarAddPage, SC_ScrollBarSubPage = QStyle::SC_ScrollBarSubPage, SC_ScrollBarFirst = QStyle::SC_ScrollBarFirst, SC_ScrollBarLast = QStyle::SC_ScrollBarLast, SC_ScrollBarSlider = QStyle::SC_ScrollBarSlider, SC_ScrollBarGroove = QStyle::SC_ScrollBarGroove, SC_SpinBoxUp = QStyle::SC_SpinBoxUp, SC_SpinBoxDown = QStyle::SC_SpinBoxDown, SC_SpinBoxFrame = QStyle::SC_SpinBoxFrame, SC_SpinBoxEditField = QStyle::SC_SpinBoxEditField, SC_ComboBoxFrame = QStyle::SC_ComboBoxFrame, SC_ComboBoxEditField = QStyle::SC_ComboBoxEditField, SC_ComboBoxArrow = QStyle::SC_ComboBoxArrow, SC_ComboBoxListBoxPopup = QStyle::SC_ComboBoxListBoxPopup, SC_SliderGroove = QStyle::SC_SliderGroove, SC_SliderHandle = QStyle::SC_SliderHandle, SC_SliderTickmarks = QStyle::SC_SliderTickmarks, SC_ToolButton = QStyle::SC_ToolButton, SC_ToolButtonMenu = QStyle::SC_ToolButtonMenu, SC_TitleBarSysMenu = QStyle::SC_TitleBarSysMenu, SC_TitleBarMinButton = QStyle::SC_TitleBarMinButton, SC_TitleBarMaxButton = QStyle::SC_TitleBarMaxButton, SC_TitleBarCloseButton = QStyle::SC_TitleBarCloseButton, SC_TitleBarNormalButton = QStyle::SC_TitleBarNormalButton, SC_TitleBarShadeButton = QStyle::SC_TitleBarShadeButton, SC_TitleBarUnshadeButton = QStyle::SC_TitleBarUnshadeButton, SC_TitleBarContextHelpButton = QStyle::SC_TitleBarContextHelpButton, SC_TitleBarLabel = QStyle::SC_TitleBarLabel, SC_DialGroove = QStyle::SC_DialGroove, SC_DialHandle = QStyle::SC_DialHandle, SC_DialTickmarks = QStyle::SC_DialTickmarks, SC_GroupBoxCheckBox = QStyle::SC_GroupBoxCheckBox, SC_GroupBoxLabel = QStyle::SC_GroupBoxLabel, SC_GroupBoxContents = QStyle::SC_GroupBoxContents, SC_GroupBoxFrame = QStyle::SC_GroupBoxFrame, SC_MdiMinButton = QStyle::SC_MdiMinButton, SC_MdiNormalButton = QStyle::SC_MdiNormalButton, SC_MdiCloseButton = QStyle::SC_MdiCloseButton, SC_CustomBase = QStyle::SC_CustomBase, SC_All = QStyle::SC_All}; +Q_DECLARE_FLAGS(State, StateFlag) +Q_DECLARE_FLAGS(SubControls, SubControl) +public slots: +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; + void py_q_drawComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_drawComplexControl(cc, opt, p, widget));} + void drawControl(QStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const; + void py_q_drawControl(QStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_drawControl(element, opt, p, w));} + void drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; + void py_q_drawItemPixmap(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const{ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_drawItemPixmap(painter, rect, alignment, pixmap));} + void drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; + void py_q_drawItemText(QStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const{ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_drawItemText(painter, rect, flags, pal, enabled, text, textRole));} + void drawPrimitive(QStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const; + void py_q_drawPrimitive(QStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_drawPrimitive(pe, opt, p, w));} + QPixmap generatedIconPixmap(QStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; + QPixmap py_q_generatedIconPixmap(QStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_generatedIconPixmap(iconMode, pixmap, opt));} + QStyle::SubControl hitTestComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget = nullptr) const; + QStyle::SubControl py_q_hitTestComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_hitTestComplexControl(cc, opt, pt, widget));} + QRect itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const; + QRect py_q_itemPixmapRect(QStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_itemPixmapRect(r, flags, pixmap));} + int layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; + int py_q_layoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_layoutSpacing(control1, control2, orientation, option, widget));} + int pixelMetric(QStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; + int py_q_pixelMetric(QStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_pixelMetric(metric, option, widget));} + void polish(QStyle* theWrappedObject, QApplication* application); + void py_q_polish(QStyle* theWrappedObject, QApplication* application){ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_polish(application));} + void polish(QStyle* theWrappedObject, QPalette& palette); + void py_q_polish(QStyle* theWrappedObject, QPalette& palette){ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_polish(palette));} + void polish(QStyle* theWrappedObject, QWidget* widget); + void py_q_polish(QStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_polish(widget));} + const QStyle* proxy(QStyle* theWrappedObject) const; + QSize sizeFromContents(QStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w = nullptr) const; + QSize py_q_sizeFromContents(QStyle* theWrappedObject, QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* w = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_sizeFromContents(ct, opt, contentsSize, w));} + int static_QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown = false); + int static_QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown = false); + QIcon standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; + QIcon py_q_standardIcon(QStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_standardIcon(standardIcon, option, widget));} + QPalette standardPalette(QStyle* theWrappedObject) const; + QPalette py_q_standardPalette(QStyle* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_standardPalette());} + QPixmap standardPixmap(QStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; + QPixmap py_q_standardPixmap(QStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_standardPixmap(standardPixmap, opt, widget));} + int styleHint(QStyle* theWrappedObject, QStyle::StyleHint stylehint, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const; + int py_q_styleHint(QStyle* theWrappedObject, QStyle::StyleHint stylehint, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_styleHint(stylehint, opt, widget, returnData));} + QRect subControlRect(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = nullptr) const; + QRect py_q_subControlRect(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_subControlRect(cc, opt, sc, widget));} + QRect subElementRect(QStyle* theWrappedObject, QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget = nullptr) const; + QRect py_q_subElementRect(QStyle* theWrappedObject, QStyle::SubElement subElement, const QStyleOption* option, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_subElementRect(subElement, option, widget));} + void unpolish(QStyle* theWrappedObject, QApplication* application); + void py_q_unpolish(QStyle* theWrappedObject, QApplication* application){ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_unpolish(application));} + void unpolish(QStyle* theWrappedObject, QWidget* widget); + void py_q_unpolish(QStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QStyle*)theWrappedObject)->py_q_unpolish(widget));} + Qt::Alignment static_QStyle_visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment); + QPoint static_QStyle_visualPos(Qt::LayoutDirection direction, const QRect& boundingRect, const QPoint& logicalPos); + QRect static_QStyle_visualRect(Qt::LayoutDirection direction, const QRect& boundingRect, const QRect& logicalRect); +}; + + + + + +class PythonQtShell_QStyleFactory : public QStyleFactory +{ +public: + PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleFactory(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleFactory : public QObject +{ Q_OBJECT +public: +public slots: +QStyleFactory* new_QStyleFactory(); +void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } + QStyle* static_QStyleFactory_create(const QString& arg__1); + QStringList static_QStyleFactory_keys(); +}; + + + + + +class PythonQtShell_QStyleHintReturn : public QStyleHintReturn +{ +public: + PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturn(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturn : public QObject +{ Q_OBJECT +public: +Q_ENUMS(HintReturnType StyleOptionType StyleOptionVersion ) +enum HintReturnType{ + SH_Default = QStyleHintReturn::SH_Default, SH_Mask = QStyleHintReturn::SH_Mask, SH_Variant = QStyleHintReturn::SH_Variant}; +enum StyleOptionType{ + Type = QStyleHintReturn::Type}; +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 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; } +int py_get_version(QStyleHintReturn* theWrappedObject){ return theWrappedObject->version; } +}; + + + + + +class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask +{ +public: + PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturnMask(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnMask : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleHintReturnMask::Type}; +enum StyleOptionVersion{ + Version = QStyleHintReturnMask::Version}; +public slots: +QStyleHintReturnMask* new_QStyleHintReturnMask(); +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; } +}; + + + + + +class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant +{ +public: + PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturnVariant(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnVariant : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleHintReturnVariant::Type}; +enum StyleOptionVersion{ + Version = QStyleHintReturnVariant::Version}; +public slots: +QStyleHintReturnVariant* new_QStyleHintReturnVariant(); +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; } +}; + + + + + +class PythonQtWrapper_QStyleHints : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QStyleHints(QStyleHints* obj) { delete obj; } + int cursorFlashTime(QStyleHints* theWrappedObject) const; + qreal fontSmoothingGamma(QStyleHints* theWrappedObject) const; + int keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const; + int keyboardInputInterval(QStyleHints* theWrappedObject) const; + int mouseDoubleClickDistance(QStyleHints* theWrappedObject) const; + int mouseDoubleClickInterval(QStyleHints* theWrappedObject) const; + int mousePressAndHoldInterval(QStyleHints* theWrappedObject) const; + int mouseQuickSelectionThreshold(QStyleHints* theWrappedObject) const; + QChar passwordMaskCharacter(QStyleHints* theWrappedObject) const; + int passwordMaskDelay(QStyleHints* theWrappedObject) const; + void setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime); + bool setFocusOnTouchRelease(QStyleHints* theWrappedObject) const; + void setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval); + void setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval); + void setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval); + void setMouseQuickSelectionThreshold(QStyleHints* theWrappedObject, int threshold); + void setShowShortcutsInContextMenus(QStyleHints* theWrappedObject, bool showShortcutsInContextMenus); + void setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance); + void setStartDragTime(QStyleHints* theWrappedObject, int startDragTime); + void setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior); + void setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects); + void setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines); + bool showIsFullScreen(QStyleHints* theWrappedObject) const; + bool showIsMaximized(QStyleHints* theWrappedObject) const; + bool showShortcutsInContextMenus(QStyleHints* theWrappedObject) const; + bool singleClickActivation(QStyleHints* theWrappedObject) const; + int startDragDistance(QStyleHints* theWrappedObject) const; + int startDragTime(QStyleHints* theWrappedObject) const; + int startDragVelocity(QStyleHints* theWrappedObject) const; + Qt::TabFocusBehavior tabFocusBehavior(QStyleHints* theWrappedObject) const; + int touchDoubleTapDistance(QStyleHints* theWrappedObject) const; + bool useHoverEffects(QStyleHints* theWrappedObject) const; + bool useRtlExtensions(QStyleHints* theWrappedObject) const; + int wheelScrollLines(QStyleHints* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStyleOption : public QStyleOption +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OptionType StyleOptionType StyleOptionVersion ) +enum OptionType{ + SO_Default = QStyleOption::SO_Default, SO_FocusRect = QStyleOption::SO_FocusRect, SO_Button = QStyleOption::SO_Button, SO_Tab = QStyleOption::SO_Tab, SO_MenuItem = QStyleOption::SO_MenuItem, SO_Frame = QStyleOption::SO_Frame, SO_ProgressBar = QStyleOption::SO_ProgressBar, SO_ToolBox = QStyleOption::SO_ToolBox, SO_Header = QStyleOption::SO_Header, SO_DockWidget = QStyleOption::SO_DockWidget, SO_ViewItem = QStyleOption::SO_ViewItem, SO_TabWidgetFrame = QStyleOption::SO_TabWidgetFrame, SO_TabBarBase = QStyleOption::SO_TabBarBase, SO_RubberBand = QStyleOption::SO_RubberBand, SO_ToolBar = QStyleOption::SO_ToolBar, SO_GraphicsItem = QStyleOption::SO_GraphicsItem, SO_Complex = QStyleOption::SO_Complex, SO_Slider = QStyleOption::SO_Slider, SO_SpinBox = QStyleOption::SO_SpinBox, SO_ToolButton = QStyleOption::SO_ToolButton, SO_ComboBox = QStyleOption::SO_ComboBox, SO_TitleBar = QStyleOption::SO_TitleBar, SO_GroupBox = QStyleOption::SO_GroupBox, SO_SizeGrip = QStyleOption::SO_SizeGrip, SO_CustomBase = QStyleOption::SO_CustomBase, SO_ComplexCustomBase = QStyleOption::SO_ComplexCustomBase}; +enum StyleOptionType{ + Type = QStyleOption::Type}; +enum StyleOptionVersion{ + Version = QStyleOption::Version}; +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 initFrom(QStyleOption* theWrappedObject, const QWidget* w); + QString py_toString(QStyleOption*); +void py_set_direction(QStyleOption* theWrappedObject, Qt::LayoutDirection direction){ theWrappedObject->direction = direction; } +Qt::LayoutDirection py_get_direction(QStyleOption* theWrappedObject){ return theWrappedObject->direction; } +void py_set_fontMetrics(QStyleOption* theWrappedObject, QFontMetrics fontMetrics){ theWrappedObject->fontMetrics = fontMetrics; } +QFontMetrics py_get_fontMetrics(QStyleOption* theWrappedObject){ return theWrappedObject->fontMetrics; } +void py_set_palette(QStyleOption* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } +QPalette py_get_palette(QStyleOption* theWrappedObject){ return theWrappedObject->palette; } +void py_set_rect(QStyleOption* theWrappedObject, QRect rect){ theWrappedObject->rect = rect; } +QRect py_get_rect(QStyleOption* theWrappedObject){ return theWrappedObject->rect; } +void py_set_state(QStyleOption* theWrappedObject, QStyle::State state){ theWrappedObject->state = state; } +QStyle::State py_get_state(QStyleOption* theWrappedObject){ return theWrappedObject->state; } +void py_set_styleObject(QStyleOption* theWrappedObject, QObject* styleObject){ theWrappedObject->styleObject = styleObject; } +QObject* py_get_styleObject(QStyleOption* theWrappedObject){ return theWrappedObject->styleObject; } +void py_set_type(QStyleOption* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QStyleOption* theWrappedObject){ return theWrappedObject->type; } +void py_set_version(QStyleOption* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QStyleOption* theWrappedObject){ return theWrappedObject->version; } +}; + + + + + +class PythonQtShell_QStyleOptionButton : public QStyleOptionButton +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonFeature StyleOptionType StyleOptionVersion ) +Q_FLAGS(ButtonFeatures ) +enum ButtonFeature{ + None = QStyleOptionButton::None, Flat = QStyleOptionButton::Flat, HasMenu = QStyleOptionButton::HasMenu, DefaultButton = QStyleOptionButton::DefaultButton, AutoDefaultButton = QStyleOptionButton::AutoDefaultButton, CommandLinkButton = QStyleOptionButton::CommandLinkButton}; +enum StyleOptionType{ + Type = QStyleOptionButton::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionButton::Version}; +Q_DECLARE_FLAGS(ButtonFeatures, ButtonFeature) +public slots: +QStyleOptionButton* new_QStyleOptionButton(); +QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); +QStyleOptionButton* new_QStyleOptionButton(int version); +void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } + QStyleOptionButton* operator_assign(QStyleOptionButton* theWrappedObject, const QStyleOptionButton& arg__1); +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; } +QIcon py_get_icon(QStyleOptionButton* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionButton* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_text(QStyleOptionButton* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionButton* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionComboBox : public QStyleOptionComboBox +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionComboBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionComboBox::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionComboBox::Version}; +public slots: +QStyleOptionComboBox* new_QStyleOptionComboBox(); +QStyleOptionComboBox* new_QStyleOptionComboBox(const QStyleOptionComboBox& other); +QStyleOptionComboBox* new_QStyleOptionComboBox(int version); +void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } + QStyleOptionComboBox* operator_assign(QStyleOptionComboBox* theWrappedObject, const QStyleOptionComboBox& arg__1); +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; } +QString py_get_currentText(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentText; } +void py_set_editable(QStyleOptionComboBox* theWrappedObject, bool editable){ theWrappedObject->editable = editable; } +bool py_get_editable(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->editable; } +void py_set_frame(QStyleOptionComboBox* theWrappedObject, bool frame){ theWrappedObject->frame = frame; } +bool py_get_frame(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->frame; } +void py_set_iconSize(QStyleOptionComboBox* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_popupRect(QStyleOptionComboBox* theWrappedObject, QRect popupRect){ theWrappedObject->popupRect = popupRect; } +QRect py_get_popupRect(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->popupRect; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionDockWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionDockWidget::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionDockWidget::Version}; +public slots: +QStyleOptionDockWidget* new_QStyleOptionDockWidget(); +QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); +QStyleOptionDockWidget* new_QStyleOptionDockWidget(int version); +void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } + QStyleOptionDockWidget* operator_assign(QStyleOptionDockWidget* theWrappedObject, const QStyleOptionDockWidget& arg__1); +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; } +bool py_get_floatable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->floatable; } +void py_set_movable(QStyleOptionDockWidget* theWrappedObject, bool movable){ theWrappedObject->movable = movable; } +bool py_get_movable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->movable; } +void py_set_title(QStyleOptionDockWidget* theWrappedObject, QString title){ theWrappedObject->title = title; } +QString py_get_title(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->title; } +void py_set_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject, bool verticalTitleBar){ theWrappedObject->verticalTitleBar = verticalTitleBar; } +bool py_get_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->verticalTitleBar; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 +{ +public: + PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionDockWidgetV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(); +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) { +PythonQtShell_QStyleOptionDockWidgetV2* a = new PythonQtShell_QStyleOptionDockWidgetV2(); +*((QStyleOptionDockWidgetV2*)a) = other; +return a; } +void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionFocusRect : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionFocusRect::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionFocusRect::Version}; +public slots: +QStyleOptionFocusRect* new_QStyleOptionFocusRect(); +QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); +QStyleOptionFocusRect* new_QStyleOptionFocusRect(int version); +void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } + QStyleOptionFocusRect* operator_assign(QStyleOptionFocusRect* theWrappedObject, const QStyleOptionFocusRect& arg__1); +void py_set_backgroundColor(QStyleOptionFocusRect* theWrappedObject, QColor backgroundColor){ theWrappedObject->backgroundColor = backgroundColor; } +QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return theWrappedObject->backgroundColor; } +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp new file mode 100644 index 00000000..7b384338 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -0,0 +1,616 @@ +#include "com_trolltech_qt_gui9.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QStyleOptionFrame::~PythonQtShell_QStyleOptionFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() +{ +return new PythonQtShell_QStyleOptionFrame(); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) +{ +return new PythonQtShell_QStyleOptionFrame(other); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(int version) +{ +return new PythonQtShell_QStyleOptionFrame(version); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::operator_assign(QStyleOptionFrame* theWrappedObject, const QStyleOptionFrame& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionFrameV2::~PythonQtShell_QStyleOptionFrameV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() +{ +return new PythonQtShell_QStyleOptionFrameV2(); } + + + +PythonQtShell_QStyleOptionFrameV3::~PythonQtShell_QStyleOptionFrameV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3() +{ +return new PythonQtShell_QStyleOptionFrameV3(); } + + + +PythonQtShell_QStyleOptionGraphicsItem::~PythonQtShell_QStyleOptionGraphicsItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() +{ +return new PythonQtShell_QStyleOptionGraphicsItem(); } + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) +{ +return new PythonQtShell_QStyleOptionGraphicsItem(other); } + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(int version) +{ +return new PythonQtShell_QStyleOptionGraphicsItem(version); } + +qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform) +{ + return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); +} + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::operator_assign(QStyleOptionGraphicsItem* theWrappedObject, const QStyleOptionGraphicsItem& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionGroupBox::~PythonQtShell_QStyleOptionGroupBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() +{ +return new PythonQtShell_QStyleOptionGroupBox(); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) +{ +return new PythonQtShell_QStyleOptionGroupBox(other); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(int version) +{ +return new PythonQtShell_QStyleOptionGroupBox(version); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::operator_assign(QStyleOptionGroupBox* theWrappedObject, const QStyleOptionGroupBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionHeader::~PythonQtShell_QStyleOptionHeader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() +{ +return new PythonQtShell_QStyleOptionHeader(); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) +{ +return new PythonQtShell_QStyleOptionHeader(other); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(int version) +{ +return new PythonQtShell_QStyleOptionHeader(version); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::operator_assign(QStyleOptionHeader* theWrappedObject, const QStyleOptionHeader& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionMenuItem::~PythonQtShell_QStyleOptionMenuItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() +{ +return new PythonQtShell_QStyleOptionMenuItem(); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) +{ +return new PythonQtShell_QStyleOptionMenuItem(other); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(int version) +{ +return new PythonQtShell_QStyleOptionMenuItem(version); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::operator_assign(QStyleOptionMenuItem* theWrappedObject, const QStyleOptionMenuItem& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionProgressBar::~PythonQtShell_QStyleOptionProgressBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar() +{ +return new PythonQtShell_QStyleOptionProgressBar(); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other) +{ +return new PythonQtShell_QStyleOptionProgressBar(other); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(int version) +{ +return new PythonQtShell_QStyleOptionProgressBar(version); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::operator_assign(QStyleOptionProgressBar* theWrappedObject, const QStyleOptionProgressBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionProgressBarV2::~PythonQtShell_QStyleOptionProgressBarV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() +{ +return new PythonQtShell_QStyleOptionProgressBarV2(); } + + + +PythonQtShell_QStyleOptionRubberBand::~PythonQtShell_QStyleOptionRubberBand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() +{ +return new PythonQtShell_QStyleOptionRubberBand(); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) +{ +return new PythonQtShell_QStyleOptionRubberBand(other); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(int version) +{ +return new PythonQtShell_QStyleOptionRubberBand(version); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::operator_assign(QStyleOptionRubberBand* theWrappedObject, const QStyleOptionRubberBand& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionSizeGrip::~PythonQtShell_QStyleOptionSizeGrip() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() +{ +return new PythonQtShell_QStyleOptionSizeGrip(); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) +{ +return new PythonQtShell_QStyleOptionSizeGrip(other); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(int version) +{ +return new PythonQtShell_QStyleOptionSizeGrip(version); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::operator_assign(QStyleOptionSizeGrip* theWrappedObject, const QStyleOptionSizeGrip& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionSlider::~PythonQtShell_QStyleOptionSlider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() +{ +return new PythonQtShell_QStyleOptionSlider(); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) +{ +return new PythonQtShell_QStyleOptionSlider(other); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(int version) +{ +return new PythonQtShell_QStyleOptionSlider(version); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::operator_assign(QStyleOptionSlider* theWrappedObject, const QStyleOptionSlider& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionSpinBox::~PythonQtShell_QStyleOptionSpinBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() +{ +return new PythonQtShell_QStyleOptionSpinBox(); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) +{ +return new PythonQtShell_QStyleOptionSpinBox(other); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(int version) +{ +return new PythonQtShell_QStyleOptionSpinBox(version); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::operator_assign(QStyleOptionSpinBox* theWrappedObject, const QStyleOptionSpinBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTab::~PythonQtShell_QStyleOptionTab() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab() +{ +return new PythonQtShell_QStyleOptionTab(); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(const QStyleOptionTab& other) +{ +return new PythonQtShell_QStyleOptionTab(other); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(int version) +{ +return new PythonQtShell_QStyleOptionTab(version); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::operator_assign(QStyleOptionTab* theWrappedObject, const QStyleOptionTab& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTabBarBase::~PythonQtShell_QStyleOptionTabBarBase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase() +{ +return new PythonQtShell_QStyleOptionTabBarBase(); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other) +{ +return new PythonQtShell_QStyleOptionTabBarBase(other); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(int version) +{ +return new PythonQtShell_QStyleOptionTabBarBase(version); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::operator_assign(QStyleOptionTabBarBase* theWrappedObject, const QStyleOptionTabBarBase& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTabBarBaseV2::~PythonQtShell_QStyleOptionTabBarBaseV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2() +{ +return new PythonQtShell_QStyleOptionTabBarBaseV2(); } + + + +PythonQtShell_QStyleOptionTabV2::~PythonQtShell_QStyleOptionTabV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2() +{ +return new PythonQtShell_QStyleOptionTabV2(); } + + + +PythonQtShell_QStyleOptionTabV3::~PythonQtShell_QStyleOptionTabV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3() +{ +return new PythonQtShell_QStyleOptionTabV3(); } + + + +PythonQtShell_QStyleOptionTabWidgetFrame::~PythonQtShell_QStyleOptionTabWidgetFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame() +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other) +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(other); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(int version) +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(version); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::operator_assign(QStyleOptionTabWidgetFrame* theWrappedObject, const QStyleOptionTabWidgetFrame& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTabWidgetFrameV2::~PythonQtShell_QStyleOptionTabWidgetFrameV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabWidgetFrameV2* PythonQtWrapper_QStyleOptionTabWidgetFrameV2::new_QStyleOptionTabWidgetFrameV2() +{ +return new PythonQtShell_QStyleOptionTabWidgetFrameV2(); } + + + +PythonQtShell_QStyleOptionTitleBar::~PythonQtShell_QStyleOptionTitleBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar() +{ +return new PythonQtShell_QStyleOptionTitleBar(); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other) +{ +return new PythonQtShell_QStyleOptionTitleBar(other); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(int version) +{ +return new PythonQtShell_QStyleOptionTitleBar(version); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::operator_assign(QStyleOptionTitleBar* theWrappedObject, const QStyleOptionTitleBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionToolBar::~PythonQtShell_QStyleOptionToolBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar() +{ +return new PythonQtShell_QStyleOptionToolBar(); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(const QStyleOptionToolBar& other) +{ +return new PythonQtShell_QStyleOptionToolBar(other); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(int version) +{ +return new PythonQtShell_QStyleOptionToolBar(version); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::operator_assign(QStyleOptionToolBar* theWrappedObject, const QStyleOptionToolBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionToolBox::~PythonQtShell_QStyleOptionToolBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox() +{ +return new PythonQtShell_QStyleOptionToolBox(); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(const QStyleOptionToolBox& other) +{ +return new PythonQtShell_QStyleOptionToolBox(other); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(int version) +{ +return new PythonQtShell_QStyleOptionToolBox(version); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::operator_assign(QStyleOptionToolBox* theWrappedObject, const QStyleOptionToolBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionToolBoxV2::~PythonQtShell_QStyleOptionToolBoxV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2() +{ +return new PythonQtShell_QStyleOptionToolBoxV2(); } + + + +PythonQtShell_QStyleOptionToolButton::~PythonQtShell_QStyleOptionToolButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton() +{ +return new PythonQtShell_QStyleOptionToolButton(); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(const QStyleOptionToolButton& other) +{ +return new PythonQtShell_QStyleOptionToolButton(other); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(int version) +{ +return new PythonQtShell_QStyleOptionToolButton(version); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::operator_assign(QStyleOptionToolButton* theWrappedObject, const QStyleOptionToolButton& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionViewItem::~PythonQtShell_QStyleOptionViewItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem() +{ +return new PythonQtShell_QStyleOptionViewItem(); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(const QStyleOptionViewItem& other) +{ +return new PythonQtShell_QStyleOptionViewItem(other); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(int version) +{ +return new PythonQtShell_QStyleOptionViewItem(version); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::operator_assign(QStyleOptionViewItem* theWrappedObject, const QStyleOptionViewItem& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionViewItemV2::~PythonQtShell_QStyleOptionViewItemV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2() +{ +return new PythonQtShell_QStyleOptionViewItemV2(); } + + + +PythonQtShell_QStyleOptionViewItemV3::~PythonQtShell_QStyleOptionViewItemV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3() +{ +return new PythonQtShell_QStyleOptionViewItemV3(); } + + + +PythonQtShell_QStyleOptionViewItemV4::~PythonQtShell_QStyleOptionViewItemV4() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() +{ +return new PythonQtShell_QStyleOptionViewItemV4(); } + + + +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter() +{ +return new QStylePainter(); } + +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QPaintDevice* pd, QWidget* w) +{ +return new QStylePainter(pd, w); } + +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QWidget* w) +{ +return new QStylePainter(w); } + +bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w) +{ + return ( theWrappedObject->begin(pd, w)); +} + +bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QWidget* w) +{ + return ( theWrappedObject->begin(w)); +} + +void PythonQtWrapper_QStylePainter::drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt) +{ + ( theWrappedObject->drawComplexControl(cc, opt)); +} + +void PythonQtWrapper_QStylePainter::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt) +{ + ( theWrappedObject->drawControl(ce, opt)); +} + +void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) +{ + ( theWrappedObject->drawItemPixmap(r, flags, pixmap)); +} + +void PythonQtWrapper_QStylePainter::drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) +{ + ( theWrappedObject->drawItemText(r, flags, pal, enabled, text, textRole)); +} + +void PythonQtWrapper_QStylePainter::drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt) +{ + ( theWrappedObject->drawPrimitive(pe, opt)); +} + +QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.h b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.h new file mode 100644 index 00000000..d22d020c --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui9.h @@ -0,0 +1,1233 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FrameFeature StyleOptionType StyleOptionVersion ) +Q_FLAGS(FrameFeatures ) +enum FrameFeature{ + None = QStyleOptionFrame::None, Flat = QStyleOptionFrame::Flat, Rounded = QStyleOptionFrame::Rounded}; +enum StyleOptionType{ + Type = QStyleOptionFrame::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionFrame::Version}; +Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) +public slots: +QStyleOptionFrame* new_QStyleOptionFrame(); +QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); +QStyleOptionFrame* new_QStyleOptionFrame(int version); +void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } + QStyleOptionFrame* operator_assign(QStyleOptionFrame* theWrappedObject, const QStyleOptionFrame& arg__1); +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; } +QFrame::Shape py_get_frameShape(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->frameShape; } +void py_set_lineWidth(QStyleOptionFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } +int py_get_lineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_midLineWidth(QStyleOptionFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } +}; + + + + + +class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 +{ +public: + PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFrameV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrameV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionFrameV2* new_QStyleOptionFrameV2(); +QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) { +PythonQtShell_QStyleOptionFrameV2* a = new PythonQtShell_QStyleOptionFrameV2(); +*((QStyleOptionFrameV2*)a) = other; +return a; } +void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionFrameV3 : public QStyleOptionFrameV3 +{ +public: + PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFrameV3(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrameV3 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionFrameV3* new_QStyleOptionFrameV3(); +QStyleOptionFrameV3* new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other) { +PythonQtShell_QStyleOptionFrameV3* a = new PythonQtShell_QStyleOptionFrameV3(); +*((QStyleOptionFrameV3*)a) = other; +return a; } +void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionGraphicsItem : public QStyleOptionGraphicsItem +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionGraphicsItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionGraphicsItem::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionGraphicsItem::Version}; +public slots: +QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(); +QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other); +QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(int version); +void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } + qreal static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform); + QStyleOptionGraphicsItem* operator_assign(QStyleOptionGraphicsItem* theWrappedObject, const QStyleOptionGraphicsItem& arg__1); +void py_set_exposedRect(QStyleOptionGraphicsItem* theWrappedObject, QRectF exposedRect){ theWrappedObject->exposedRect = exposedRect; } +QRectF py_get_exposedRect(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->exposedRect; } +void py_set_levelOfDetail(QStyleOptionGraphicsItem* theWrappedObject, qreal levelOfDetail){ theWrappedObject->levelOfDetail = levelOfDetail; } +qreal py_get_levelOfDetail(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->levelOfDetail; } +void py_set_matrix(QStyleOptionGraphicsItem* theWrappedObject, QMatrix matrix){ theWrappedObject->matrix = matrix; } +QMatrix py_get_matrix(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->matrix; } +}; + + + + + +class PythonQtShell_QStyleOptionGroupBox : public QStyleOptionGroupBox +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionGroupBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionGroupBox::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionGroupBox::Version}; +public slots: +QStyleOptionGroupBox* new_QStyleOptionGroupBox(); +QStyleOptionGroupBox* new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other); +QStyleOptionGroupBox* new_QStyleOptionGroupBox(int version); +void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } + QStyleOptionGroupBox* operator_assign(QStyleOptionGroupBox* theWrappedObject, const QStyleOptionGroupBox& arg__1); +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; } +int py_get_lineWidth(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_midLineWidth(QStyleOptionGroupBox* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->midLineWidth; } +void py_set_text(QStyleOptionGroupBox* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->text; } +void py_set_textAlignment(QStyleOptionGroupBox* theWrappedObject, Qt::Alignment textAlignment){ theWrappedObject->textAlignment = textAlignment; } +Qt::Alignment py_get_textAlignment(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->textAlignment; } +void py_set_textColor(QStyleOptionGroupBox* theWrappedObject, QColor textColor){ theWrappedObject->textColor = textColor; } +QColor py_get_textColor(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->textColor; } +}; + + + + + +class PythonQtShell_QStyleOptionHeader : public QStyleOptionHeader +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionHeader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SectionPosition SelectedPosition SortIndicator StyleOptionType StyleOptionVersion ) +enum SectionPosition{ + Beginning = QStyleOptionHeader::Beginning, Middle = QStyleOptionHeader::Middle, End = QStyleOptionHeader::End, OnlyOneSection = QStyleOptionHeader::OnlyOneSection}; +enum SelectedPosition{ + NotAdjacent = QStyleOptionHeader::NotAdjacent, NextIsSelected = QStyleOptionHeader::NextIsSelected, PreviousIsSelected = QStyleOptionHeader::PreviousIsSelected, NextAndPreviousAreSelected = QStyleOptionHeader::NextAndPreviousAreSelected}; +enum SortIndicator{ + None = QStyleOptionHeader::None, SortUp = QStyleOptionHeader::SortUp, SortDown = QStyleOptionHeader::SortDown}; +enum StyleOptionType{ + Type = QStyleOptionHeader::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionHeader::Version}; +public slots: +QStyleOptionHeader* new_QStyleOptionHeader(); +QStyleOptionHeader* new_QStyleOptionHeader(const QStyleOptionHeader& other); +QStyleOptionHeader* new_QStyleOptionHeader(int version); +void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } + QStyleOptionHeader* operator_assign(QStyleOptionHeader* theWrappedObject, const QStyleOptionHeader& arg__1); +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; } +Qt::Alignment py_get_iconAlignment(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->iconAlignment; } +void py_set_orientation(QStyleOptionHeader* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; } +Qt::Orientation py_get_orientation(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->orientation; } +void py_set_position(QStyleOptionHeader* theWrappedObject, QStyleOptionHeader::SectionPosition position){ theWrappedObject->position = position; } +QStyleOptionHeader::SectionPosition py_get_position(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->position; } +void py_set_section(QStyleOptionHeader* theWrappedObject, int section){ theWrappedObject->section = section; } +int py_get_section(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->section; } +void py_set_selectedPosition(QStyleOptionHeader* theWrappedObject, QStyleOptionHeader::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionHeader::SelectedPosition py_get_selectedPosition(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->selectedPosition; } +QStyleOptionHeader::SortIndicator* py_get_sortIndicator(QStyleOptionHeader* theWrappedObject){ return &theWrappedObject->sortIndicator; } +void py_set_text(QStyleOptionHeader* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->text; } +void py_set_textAlignment(QStyleOptionHeader* theWrappedObject, Qt::Alignment textAlignment){ theWrappedObject->textAlignment = textAlignment; } +Qt::Alignment py_get_textAlignment(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->textAlignment; } +}; + + + + + +class PythonQtShell_QStyleOptionMenuItem : public QStyleOptionMenuItem +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionMenuItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CheckType MenuItemType StyleOptionType StyleOptionVersion ) +enum CheckType{ + NotCheckable = QStyleOptionMenuItem::NotCheckable, Exclusive = QStyleOptionMenuItem::Exclusive, NonExclusive = QStyleOptionMenuItem::NonExclusive}; +enum MenuItemType{ + Normal = QStyleOptionMenuItem::Normal, DefaultItem = QStyleOptionMenuItem::DefaultItem, Separator = QStyleOptionMenuItem::Separator, SubMenu = QStyleOptionMenuItem::SubMenu, Scroller = QStyleOptionMenuItem::Scroller, TearOff = QStyleOptionMenuItem::TearOff, Margin = QStyleOptionMenuItem::Margin, EmptyArea = QStyleOptionMenuItem::EmptyArea}; +enum StyleOptionType{ + Type = QStyleOptionMenuItem::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionMenuItem::Version}; +public slots: +QStyleOptionMenuItem* new_QStyleOptionMenuItem(); +QStyleOptionMenuItem* new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other); +QStyleOptionMenuItem* new_QStyleOptionMenuItem(int version); +void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } + QStyleOptionMenuItem* operator_assign(QStyleOptionMenuItem* theWrappedObject, const QStyleOptionMenuItem& arg__1); +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; } +bool py_get_checked(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->checked; } +void py_set_font(QStyleOptionMenuItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->font; } +void py_set_icon(QStyleOptionMenuItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->icon; } +void py_set_maxIconWidth(QStyleOptionMenuItem* theWrappedObject, int maxIconWidth){ theWrappedObject->maxIconWidth = maxIconWidth; } +int py_get_maxIconWidth(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->maxIconWidth; } +void py_set_menuHasCheckableItems(QStyleOptionMenuItem* theWrappedObject, bool menuHasCheckableItems){ theWrappedObject->menuHasCheckableItems = menuHasCheckableItems; } +bool py_get_menuHasCheckableItems(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->menuHasCheckableItems; } +void py_set_menuItemType(QStyleOptionMenuItem* theWrappedObject, QStyleOptionMenuItem::MenuItemType menuItemType){ theWrappedObject->menuItemType = menuItemType; } +QStyleOptionMenuItem::MenuItemType py_get_menuItemType(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->menuItemType; } +void py_set_menuRect(QStyleOptionMenuItem* theWrappedObject, QRect menuRect){ theWrappedObject->menuRect = menuRect; } +QRect py_get_menuRect(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->menuRect; } +void py_set_tabWidth(QStyleOptionMenuItem* theWrappedObject, int tabWidth){ theWrappedObject->tabWidth = tabWidth; } +int py_get_tabWidth(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->tabWidth; } +void py_set_text(QStyleOptionMenuItem* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionProgressBar : public QStyleOptionProgressBar +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionProgressBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionProgressBar::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionProgressBar::Version}; +public slots: +QStyleOptionProgressBar* new_QStyleOptionProgressBar(); +QStyleOptionProgressBar* new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other); +QStyleOptionProgressBar* new_QStyleOptionProgressBar(int version); +void delete_QStyleOptionProgressBar(QStyleOptionProgressBar* obj) { delete obj; } + QStyleOptionProgressBar* operator_assign(QStyleOptionProgressBar* theWrappedObject, const QStyleOptionProgressBar& arg__1); +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; } +bool py_get_invertedAppearance(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->invertedAppearance; } +void py_set_maximum(QStyleOptionProgressBar* theWrappedObject, int maximum){ theWrappedObject->maximum = maximum; } +int py_get_maximum(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->maximum; } +void py_set_minimum(QStyleOptionProgressBar* theWrappedObject, int minimum){ theWrappedObject->minimum = minimum; } +int py_get_minimum(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->minimum; } +void py_set_orientation(QStyleOptionProgressBar* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; } +Qt::Orientation py_get_orientation(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->orientation; } +void py_set_progress(QStyleOptionProgressBar* theWrappedObject, int progress){ theWrappedObject->progress = progress; } +int py_get_progress(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->progress; } +void py_set_text(QStyleOptionProgressBar* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->text; } +void py_set_textAlignment(QStyleOptionProgressBar* theWrappedObject, Qt::Alignment textAlignment){ theWrappedObject->textAlignment = textAlignment; } +Qt::Alignment py_get_textAlignment(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->textAlignment; } +void py_set_textVisible(QStyleOptionProgressBar* theWrappedObject, bool textVisible){ theWrappedObject->textVisible = textVisible; } +bool py_get_textVisible(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->textVisible; } +}; + + + + + +class PythonQtShell_QStyleOptionProgressBarV2 : public QStyleOptionProgressBarV2 +{ +public: + PythonQtShell_QStyleOptionProgressBarV2():QStyleOptionProgressBarV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionProgressBarV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionProgressBarV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(); +QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgressBarV2& other) { +PythonQtShell_QStyleOptionProgressBarV2* a = new PythonQtShell_QStyleOptionProgressBarV2(); +*((QStyleOptionProgressBarV2*)a) = other; +return a; } +void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionRubberBand : public QStyleOptionRubberBand +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionRubberBand : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionRubberBand::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionRubberBand::Version}; +public slots: +QStyleOptionRubberBand* new_QStyleOptionRubberBand(); +QStyleOptionRubberBand* new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other); +QStyleOptionRubberBand* new_QStyleOptionRubberBand(int version); +void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } + QStyleOptionRubberBand* operator_assign(QStyleOptionRubberBand* theWrappedObject, const QStyleOptionRubberBand& arg__1); +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; } +QRubberBand::Shape py_get_shape(QStyleOptionRubberBand* theWrappedObject){ return theWrappedObject->shape; } +}; + + + + + +class PythonQtShell_QStyleOptionSizeGrip : public QStyleOptionSizeGrip +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionSizeGrip : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionSizeGrip::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionSizeGrip::Version}; +public slots: +QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(); +QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other); +QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(int version); +void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } + QStyleOptionSizeGrip* operator_assign(QStyleOptionSizeGrip* theWrappedObject, const QStyleOptionSizeGrip& arg__1); +void py_set_corner(QStyleOptionSizeGrip* theWrappedObject, Qt::Corner corner){ theWrappedObject->corner = corner; } +Qt::Corner py_get_corner(QStyleOptionSizeGrip* theWrappedObject){ return theWrappedObject->corner; } +}; + + + + + +class PythonQtShell_QStyleOptionSlider : public QStyleOptionSlider +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionSlider : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionSlider::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionSlider::Version}; +public slots: +QStyleOptionSlider* new_QStyleOptionSlider(); +QStyleOptionSlider* new_QStyleOptionSlider(const QStyleOptionSlider& other); +QStyleOptionSlider* new_QStyleOptionSlider(int version); +void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } + QStyleOptionSlider* operator_assign(QStyleOptionSlider* theWrappedObject, const QStyleOptionSlider& arg__1); +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; } +int py_get_maximum(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->maximum; } +void py_set_minimum(QStyleOptionSlider* theWrappedObject, int minimum){ theWrappedObject->minimum = minimum; } +int py_get_minimum(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->minimum; } +void py_set_notchTarget(QStyleOptionSlider* theWrappedObject, qreal notchTarget){ theWrappedObject->notchTarget = notchTarget; } +qreal py_get_notchTarget(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->notchTarget; } +void py_set_orientation(QStyleOptionSlider* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; } +Qt::Orientation py_get_orientation(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->orientation; } +void py_set_pageStep(QStyleOptionSlider* theWrappedObject, int pageStep){ theWrappedObject->pageStep = pageStep; } +int py_get_pageStep(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->pageStep; } +void py_set_singleStep(QStyleOptionSlider* theWrappedObject, int singleStep){ theWrappedObject->singleStep = singleStep; } +int py_get_singleStep(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->singleStep; } +void py_set_sliderPosition(QStyleOptionSlider* theWrappedObject, int sliderPosition){ theWrappedObject->sliderPosition = sliderPosition; } +int py_get_sliderPosition(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->sliderPosition; } +void py_set_sliderValue(QStyleOptionSlider* theWrappedObject, int sliderValue){ theWrappedObject->sliderValue = sliderValue; } +int py_get_sliderValue(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->sliderValue; } +void py_set_tickInterval(QStyleOptionSlider* theWrappedObject, int tickInterval){ theWrappedObject->tickInterval = tickInterval; } +int py_get_tickInterval(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->tickInterval; } +void py_set_tickPosition(QStyleOptionSlider* theWrappedObject, QSlider::TickPosition tickPosition){ theWrappedObject->tickPosition = tickPosition; } +QSlider::TickPosition py_get_tickPosition(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->tickPosition; } +void py_set_upsideDown(QStyleOptionSlider* theWrappedObject, bool upsideDown){ theWrappedObject->upsideDown = upsideDown; } +bool py_get_upsideDown(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->upsideDown; } +}; + + + + + +class PythonQtShell_QStyleOptionSpinBox : public QStyleOptionSpinBox +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionSpinBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionSpinBox::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionSpinBox::Version}; +public slots: +QStyleOptionSpinBox* new_QStyleOptionSpinBox(); +QStyleOptionSpinBox* new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other); +QStyleOptionSpinBox* new_QStyleOptionSpinBox(int version); +void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } + QStyleOptionSpinBox* operator_assign(QStyleOptionSpinBox* theWrappedObject, const QStyleOptionSpinBox& arg__1); +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; } +bool py_get_frame(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->frame; } +void py_set_stepEnabled(QStyleOptionSpinBox* theWrappedObject, QAbstractSpinBox::StepEnabled stepEnabled){ theWrappedObject->stepEnabled = stepEnabled; } +QAbstractSpinBox::StepEnabled py_get_stepEnabled(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->stepEnabled; } +}; + + + + + +class PythonQtShell_QStyleOptionTab : public QStyleOptionTab +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionTab : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CornerWidget SelectedPosition StyleOptionType StyleOptionVersion TabFeature TabPosition ) +Q_FLAGS(CornerWidgets TabFeatures ) +enum CornerWidget{ + NoCornerWidgets = QStyleOptionTab::NoCornerWidgets, LeftCornerWidget = QStyleOptionTab::LeftCornerWidget, RightCornerWidget = QStyleOptionTab::RightCornerWidget}; +enum SelectedPosition{ + NotAdjacent = QStyleOptionTab::NotAdjacent, NextIsSelected = QStyleOptionTab::NextIsSelected, PreviousIsSelected = QStyleOptionTab::PreviousIsSelected}; +enum StyleOptionType{ + Type = QStyleOptionTab::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionTab::Version}; +enum TabFeature{ + None = QStyleOptionTab::None, HasFrame = QStyleOptionTab::HasFrame}; +enum TabPosition{ + Beginning = QStyleOptionTab::Beginning, Middle = QStyleOptionTab::Middle, End = QStyleOptionTab::End, OnlyOneTab = QStyleOptionTab::OnlyOneTab}; +Q_DECLARE_FLAGS(CornerWidgets, CornerWidget) +Q_DECLARE_FLAGS(TabFeatures, TabFeature) +public slots: +QStyleOptionTab* new_QStyleOptionTab(); +QStyleOptionTab* new_QStyleOptionTab(const QStyleOptionTab& other); +QStyleOptionTab* new_QStyleOptionTab(int version); +void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; } + QStyleOptionTab* operator_assign(QStyleOptionTab* theWrappedObject, const QStyleOptionTab& arg__1); +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; } +bool py_get_documentMode(QStyleOptionTab* theWrappedObject){ return theWrappedObject->documentMode; } +void py_set_features(QStyleOptionTab* theWrappedObject, QStyleOptionTab::TabFeatures features){ theWrappedObject->features = features; } +QStyleOptionTab::TabFeatures py_get_features(QStyleOptionTab* theWrappedObject){ return theWrappedObject->features; } +void py_set_icon(QStyleOptionTab* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionTab* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionTab* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_leftButtonSize(QStyleOptionTab* theWrappedObject, QSize leftButtonSize){ theWrappedObject->leftButtonSize = leftButtonSize; } +QSize py_get_leftButtonSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->leftButtonSize; } +void py_set_position(QStyleOptionTab* theWrappedObject, QStyleOptionTab::TabPosition position){ theWrappedObject->position = position; } +QStyleOptionTab::TabPosition py_get_position(QStyleOptionTab* theWrappedObject){ return theWrappedObject->position; } +void py_set_rightButtonSize(QStyleOptionTab* theWrappedObject, QSize rightButtonSize){ theWrappedObject->rightButtonSize = rightButtonSize; } +QSize py_get_rightButtonSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->rightButtonSize; } +void py_set_row(QStyleOptionTab* theWrappedObject, int row){ theWrappedObject->row = row; } +int py_get_row(QStyleOptionTab* theWrappedObject){ return theWrappedObject->row; } +void py_set_selectedPosition(QStyleOptionTab* theWrappedObject, QStyleOptionTab::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionTab::SelectedPosition py_get_selectedPosition(QStyleOptionTab* theWrappedObject){ return theWrappedObject->selectedPosition; } +void py_set_shape(QStyleOptionTab* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } +QTabBar::Shape py_get_shape(QStyleOptionTab* theWrappedObject){ return theWrappedObject->shape; } +void py_set_text(QStyleOptionTab* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionTab* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionTabBarBase : public QStyleOptionTabBarBase +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionTabBarBase : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionTabBarBase::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionTabBarBase::Version}; +public slots: +QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(); +QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other); +QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(int version); +void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } + QStyleOptionTabBarBase* operator_assign(QStyleOptionTabBarBase* theWrappedObject, const QStyleOptionTabBarBase& arg__1); +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; } +QRect py_get_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->selectedTabRect; } +void py_set_shape(QStyleOptionTabBarBase* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } +QTabBar::Shape py_get_shape(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->shape; } +void py_set_tabBarRect(QStyleOptionTabBarBase* theWrappedObject, QRect tabBarRect){ theWrappedObject->tabBarRect = tabBarRect; } +QRect py_get_tabBarRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->tabBarRect; } +}; + + + + + +class PythonQtShell_QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBaseV2 +{ +public: + PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionTabBarBaseV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabBarBaseV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(); +QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2& other) { +PythonQtShell_QStyleOptionTabBarBaseV2* a = new PythonQtShell_QStyleOptionTabBarBaseV2(); +*((QStyleOptionTabBarBaseV2*)a) = other; +return a; } +void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 +{ +public: + PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionTabV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionTabV2* new_QStyleOptionTabV2(); +QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTabV2& other) { +PythonQtShell_QStyleOptionTabV2* a = new PythonQtShell_QStyleOptionTabV2(); +*((QStyleOptionTabV2*)a) = other; +return a; } +void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionTabV3 : public QStyleOptionTabV3 +{ +public: + PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionTabV3(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabV3 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionTabV3* new_QStyleOptionTabV3(); +QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV3& other) { +PythonQtShell_QStyleOptionTabV3* a = new PythonQtShell_QStyleOptionTabV3(); +*((QStyleOptionTabV3*)a) = other; +return a; } +void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFrame +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionTabWidgetFrame::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionTabWidgetFrame::Version}; +public slots: +QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(); +QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other); +QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(int version); +void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } + QStyleOptionTabWidgetFrame* operator_assign(QStyleOptionTabWidgetFrame* theWrappedObject, const QStyleOptionTabWidgetFrame& arg__1); +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; } +int py_get_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } +void py_set_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize rightCornerWidgetSize){ theWrappedObject->rightCornerWidgetSize = rightCornerWidgetSize; } +QSize py_get_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->rightCornerWidgetSize; } +void py_set_selectedTabRect(QStyleOptionTabWidgetFrame* theWrappedObject, QRect selectedTabRect){ theWrappedObject->selectedTabRect = selectedTabRect; } +QRect py_get_selectedTabRect(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->selectedTabRect; } +void py_set_shape(QStyleOptionTabWidgetFrame* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } +QTabBar::Shape py_get_shape(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->shape; } +void py_set_tabBarRect(QStyleOptionTabWidgetFrame* theWrappedObject, QRect tabBarRect){ theWrappedObject->tabBarRect = tabBarRect; } +QRect py_get_tabBarRect(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->tabBarRect; } +void py_set_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize tabBarSize){ theWrappedObject->tabBarSize = tabBarSize; } +QSize py_get_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->tabBarSize; } +}; + + + + + +class PythonQtShell_QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrameV2 +{ +public: + PythonQtShell_QStyleOptionTabWidgetFrameV2():QStyleOptionTabWidgetFrameV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionTabWidgetFrameV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTabWidgetFrameV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionTabWidgetFrameV2* new_QStyleOptionTabWidgetFrameV2(); +QStyleOptionTabWidgetFrameV2* new_QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2& other) { +PythonQtShell_QStyleOptionTabWidgetFrameV2* a = new PythonQtShell_QStyleOptionTabWidgetFrameV2(); +*((QStyleOptionTabWidgetFrameV2*)a) = other; +return a; } +void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionTitleBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionTitleBar::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionTitleBar::Version}; +public slots: +QStyleOptionTitleBar* new_QStyleOptionTitleBar(); +QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); +QStyleOptionTitleBar* new_QStyleOptionTitleBar(int version); +void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } + QStyleOptionTitleBar* operator_assign(QStyleOptionTitleBar* theWrappedObject, const QStyleOptionTitleBar& arg__1); +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; } +QString py_get_text(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->text; } +void py_set_titleBarFlags(QStyleOptionTitleBar* theWrappedObject, Qt::WindowFlags titleBarFlags){ theWrappedObject->titleBarFlags = titleBarFlags; } +Qt::WindowFlags py_get_titleBarFlags(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarFlags; } +void py_set_titleBarState(QStyleOptionTitleBar* theWrappedObject, int titleBarState){ theWrappedObject->titleBarState = titleBarState; } +int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarState; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionToolBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ToolBarFeature ToolBarPosition ) +Q_FLAGS(ToolBarFeatures ) +enum StyleOptionType{ + Type = QStyleOptionToolBar::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionToolBar::Version}; +enum ToolBarFeature{ + None = QStyleOptionToolBar::None, Movable = QStyleOptionToolBar::Movable}; +enum ToolBarPosition{ + Beginning = QStyleOptionToolBar::Beginning, Middle = QStyleOptionToolBar::Middle, End = QStyleOptionToolBar::End, OnlyOne = QStyleOptionToolBar::OnlyOne}; +Q_DECLARE_FLAGS(ToolBarFeatures, ToolBarFeature) +public slots: +QStyleOptionToolBar* new_QStyleOptionToolBar(); +QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); +QStyleOptionToolBar* new_QStyleOptionToolBar(int version); +void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } + QStyleOptionToolBar* operator_assign(QStyleOptionToolBar* theWrappedObject, const QStyleOptionToolBar& arg__1); +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; } +int py_get_lineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_midLineWidth(QStyleOptionToolBar* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->midLineWidth; } +void py_set_positionOfLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionOfLine){ theWrappedObject->positionOfLine = positionOfLine; } +QStyleOptionToolBar::ToolBarPosition py_get_positionOfLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionOfLine; } +void py_set_positionWithinLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionWithinLine){ theWrappedObject->positionWithinLine = positionWithinLine; } +QStyleOptionToolBar::ToolBarPosition py_get_positionWithinLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionWithinLine; } +void py_set_toolBarArea(QStyleOptionToolBar* theWrappedObject, Qt::ToolBarArea toolBarArea){ theWrappedObject->toolBarArea = toolBarArea; } +Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->toolBarArea; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionToolBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SelectedPosition StyleOptionType StyleOptionVersion TabPosition ) +enum SelectedPosition{ + NotAdjacent = QStyleOptionToolBox::NotAdjacent, NextIsSelected = QStyleOptionToolBox::NextIsSelected, PreviousIsSelected = QStyleOptionToolBox::PreviousIsSelected}; +enum StyleOptionType{ + Type = QStyleOptionToolBox::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionToolBox::Version}; +enum TabPosition{ + Beginning = QStyleOptionToolBox::Beginning, Middle = QStyleOptionToolBox::Middle, End = QStyleOptionToolBox::End, OnlyOneTab = QStyleOptionToolBox::OnlyOneTab}; +public slots: +QStyleOptionToolBox* new_QStyleOptionToolBox(); +QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); +QStyleOptionToolBox* new_QStyleOptionToolBox(int version); +void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } + QStyleOptionToolBox* operator_assign(QStyleOptionToolBox* theWrappedObject, const QStyleOptionToolBox& arg__1); +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; } +QStyleOptionToolBox::TabPosition py_get_position(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->position; } +void py_set_selectedPosition(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionToolBox::SelectedPosition py_get_selectedPosition(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->selectedPosition; } +void py_set_text(QStyleOptionToolBox* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 +{ +public: + PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionToolBoxV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(); +QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other) { +PythonQtShell_QStyleOptionToolBoxV2* a = new PythonQtShell_QStyleOptionToolBoxV2(); +*((QStyleOptionToolBoxV2*)a) = other; +return a; } +void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionToolButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ToolButtonFeature ) +Q_FLAGS(ToolButtonFeatures ) +enum StyleOptionType{ + Type = QStyleOptionToolButton::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionToolButton::Version}; +enum ToolButtonFeature{ + None = QStyleOptionToolButton::None, Arrow = QStyleOptionToolButton::Arrow, Menu = QStyleOptionToolButton::Menu, MenuButtonPopup = QStyleOptionToolButton::MenuButtonPopup, PopupDelay = QStyleOptionToolButton::PopupDelay, HasMenu = QStyleOptionToolButton::HasMenu}; +Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) +public slots: +QStyleOptionToolButton* new_QStyleOptionToolButton(); +QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); +QStyleOptionToolButton* new_QStyleOptionToolButton(int version); +void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } + QStyleOptionToolButton* operator_assign(QStyleOptionToolButton* theWrappedObject, const QStyleOptionToolButton& arg__1); +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; } +QStyleOptionToolButton::ToolButtonFeatures py_get_features(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->features; } +void py_set_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; } +void py_set_icon(QStyleOptionToolButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_pos(QStyleOptionToolButton* theWrappedObject, QPoint pos){ theWrappedObject->pos = pos; } +QPoint py_get_pos(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->pos; } +void py_set_text(QStyleOptionToolButton* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->text; } +void py_set_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; } +Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem +{ +public: + 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; +}; + +class PythonQtWrapper_QStyleOptionViewItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Position StyleOptionType StyleOptionVersion ViewItemFeature ViewItemPosition ) +Q_FLAGS(ViewItemFeatures ) +enum Position{ + Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; +enum StyleOptionType{ + Type = QStyleOptionViewItem::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionViewItem::Version}; +enum ViewItemFeature{ + None = QStyleOptionViewItem::None, WrapText = QStyleOptionViewItem::WrapText, Alternate = QStyleOptionViewItem::Alternate, HasCheckIndicator = QStyleOptionViewItem::HasCheckIndicator, HasDisplay = QStyleOptionViewItem::HasDisplay, HasDecoration = QStyleOptionViewItem::HasDecoration}; +enum ViewItemPosition{ + Invalid = QStyleOptionViewItem::Invalid, Beginning = QStyleOptionViewItem::Beginning, Middle = QStyleOptionViewItem::Middle, End = QStyleOptionViewItem::End, OnlyOne = QStyleOptionViewItem::OnlyOne}; +Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) +public slots: +QStyleOptionViewItem* new_QStyleOptionViewItem(); +QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); +QStyleOptionViewItem* new_QStyleOptionViewItem(int version); +void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } + QStyleOptionViewItem* operator_assign(QStyleOptionViewItem* theWrappedObject, const QStyleOptionViewItem& arg__1); +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; } +Qt::CheckState py_get_checkState(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->checkState; } +void py_set_decorationAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment decorationAlignment){ theWrappedObject->decorationAlignment = decorationAlignment; } +Qt::Alignment py_get_decorationAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationAlignment; } +void py_set_decorationPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::Position decorationPosition){ theWrappedObject->decorationPosition = decorationPosition; } +QStyleOptionViewItem::Position py_get_decorationPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationPosition; } +void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; } +QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; } +void py_set_displayAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment displayAlignment){ theWrappedObject->displayAlignment = displayAlignment; } +Qt::Alignment py_get_displayAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->displayAlignment; } +void py_set_features(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemFeatures features){ theWrappedObject->features = features; } +QStyleOptionViewItem::ViewItemFeatures py_get_features(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->features; } +void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; } +void py_set_icon(QStyleOptionViewItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->icon; } +void py_set_index(QStyleOptionViewItem* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; } +QModelIndex py_get_index(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->index; } +void py_set_locale(QStyleOptionViewItem* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; } +QLocale py_get_locale(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->locale; } +void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; } +bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; } +void py_set_text(QStyleOptionViewItem* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->text; } +void py_set_textElideMode(QStyleOptionViewItem* theWrappedObject, Qt::TextElideMode textElideMode){ theWrappedObject->textElideMode = textElideMode; } +Qt::TextElideMode py_get_textElideMode(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->textElideMode; } +void py_set_viewItemPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; } +QStyleOptionViewItem::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->viewItemPosition; } +const QWidget* py_get_widget(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->widget; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 +{ +public: + PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other) { +PythonQtShell_QStyleOptionViewItemV2* a = new PythonQtShell_QStyleOptionViewItemV2(); +*((QStyleOptionViewItemV2*)a) = other; +return a; } +void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 +{ +public: + PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV3(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other) { +PythonQtShell_QStyleOptionViewItemV3* a = new PythonQtShell_QStyleOptionViewItemV3(); +*((QStyleOptionViewItemV3*)a) = other; +return a; } +void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 +{ +public: + PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV4(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other) { +PythonQtShell_QStyleOptionViewItemV4* a = new PythonQtShell_QStyleOptionViewItemV4(); +*((QStyleOptionViewItemV4*)a) = other; +return a; } +void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QStylePainter : public QObject +{ Q_OBJECT +public: +public slots: +QStylePainter* new_QStylePainter(); +QStylePainter* new_QStylePainter(QPaintDevice* pd, QWidget* w); +QStylePainter* new_QStylePainter(QWidget* w); +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); + void drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt); + void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap); + void drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole); + void drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt); + QStyle* style(QStylePainter* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp new file mode 100644 index 00000000..2187b3db --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp @@ -0,0 +1,847 @@ +#include +#include +#include "com_trolltech_qt_gui0.h" +#include "com_trolltech_qt_gui1.h" +#include "com_trolltech_qt_gui2.h" +#include "com_trolltech_qt_gui3.h" +#include "com_trolltech_qt_gui4.h" +#include "com_trolltech_qt_gui5.h" +#include "com_trolltech_qt_gui6.h" +#include "com_trolltech_qt_gui7.h" +#include "com_trolltech_qt_gui8.h" +#include "com_trolltech_qt_gui9.h" +#include "com_trolltech_qt_gui10.h" +#include "com_trolltech_qt_gui11.h" +#include "com_trolltech_qt_gui12.h" + +static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != nullptr); + QEvent *object = (QEvent *)ptr; + if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) { + *class_name = "QActionEvent"; + return (QActionEvent*)object; + } + if (object->type() == QEvent::Close) { + *class_name = "QCloseEvent"; + return (QCloseEvent*)object; + } + if (object->type() == QEvent::ContextMenu) { + *class_name = "QContextMenuEvent"; + return (QContextMenuEvent*)object; + } + if (object->type() == QEvent::DragEnter) { + *class_name = "QDragEnterEvent"; + return (QDragEnterEvent*)object; + } + if (object->type() == QEvent::DragLeave) { + *class_name = "QDragLeaveEvent"; + return (QDragLeaveEvent*)object; + } + if (object->type() == QEvent::DragMove) { + *class_name = "QDragMoveEvent"; + return (QDragMoveEvent*)object; + } + if (object->type() == QEvent::Drop) { + *class_name = "QDropEvent"; + return (QDropEvent*)object; + } + if (object->type() == QEvent::Enter) { + *class_name = "QEnterEvent"; + return (QEnterEvent*)object; + } + if (object->type() == QEvent::Expose) { + *class_name = "QExposeEvent"; + return (QExposeEvent*)object; + } + if (object->type() == QEvent::FileOpen) { + *class_name = "QFileOpenEvent"; + return (QFileOpenEvent*)object; + } + if (object->type() == QEvent::FocusIn || object->type() == QEvent::FocusOut) { + *class_name = "QFocusEvent"; + return (QFocusEvent*)object; + } + if (object->type() == QEvent::Gesture || object->type() == QEvent::GestureOverride) { + *class_name = "QGestureEvent"; + return (QGestureEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneContextMenu) { + *class_name = "QGraphicsSceneContextMenuEvent"; + return (QGraphicsSceneContextMenuEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneDragEnter || object->type() == QEvent::GraphicsSceneDragLeave || object->type() == QEvent::GraphicsSceneDragMove || object->type() == QEvent::GraphicsSceneDrop) { + *class_name = "QGraphicsSceneDragDropEvent"; + return (QGraphicsSceneDragDropEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneHelp) { + *class_name = "QGraphicsSceneHelpEvent"; + return (QGraphicsSceneHelpEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneHoverEnter || object->type() == QEvent::GraphicsSceneHoverLeave || object->type() == QEvent::GraphicsSceneHoverMove) { + *class_name = "QGraphicsSceneHoverEvent"; + return (QGraphicsSceneHoverEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneMouseDoubleClick || object->type() == QEvent::GraphicsSceneMouseMove || object->type() == QEvent::GraphicsSceneMousePress || object->type() == QEvent::GraphicsSceneMouseRelease) { + *class_name = "QGraphicsSceneMouseEvent"; + return (QGraphicsSceneMouseEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneMove) { + *class_name = "QGraphicsSceneMoveEvent"; + return (QGraphicsSceneMoveEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneResize) { + *class_name = "QGraphicsSceneResizeEvent"; + return (QGraphicsSceneResizeEvent*)object; + } + if (object->type() == QEvent::GraphicsSceneWheel) { + *class_name = "QGraphicsSceneWheelEvent"; + return (QGraphicsSceneWheelEvent*)object; + } + if (object->type() == QEvent::ToolTip || object->type() == QEvent::WhatsThis) { + *class_name = "QHelpEvent"; + return (QHelpEvent*)object; + } + if (object->type() == QEvent::Hide) { + *class_name = "QHideEvent"; + return (QHideEvent*)object; + } + if (object->type() == QEvent::HoverEnter || object->type() == QEvent::HoverLeave || object->type() == QEvent::HoverMove) { + *class_name = "QHoverEvent"; + return (QHoverEvent*)object; + } + if (object->type() == QEvent::IconDrag) { + *class_name = "QIconDragEvent"; + return (QIconDragEvent*)object; + } + if (object->type() == QEvent::InputMethod) { + *class_name = "QInputMethodEvent"; + return (QInputMethodEvent*)object; + } + if (object->type() == QEvent::InputMethodQuery) { + *class_name = "QInputMethodQueryEvent"; + return (QInputMethodQueryEvent*)object; + } + if (object->type() == QEvent::KeyPress || object->type() == QEvent::KeyRelease || object->type() == QEvent::ShortcutOverride) { + *class_name = "QKeyEvent"; + return (QKeyEvent*)object; + } + if (object->type() == QEvent::MouseButtonDblClick || object->type() == QEvent::MouseButtonPress || object->type() == QEvent::MouseButtonRelease || object->type() == QEvent::MouseMove) { + *class_name = "QMouseEvent"; + return (QMouseEvent*)object; + } + if (object->type() == QEvent::Move) { + *class_name = "QMoveEvent"; + return (QMoveEvent*)object; + } + if (object->type() == QEvent::NativeGesture) { + *class_name = "QNativeGestureEvent"; + return (QNativeGestureEvent*)object; + } + if (object->type() == QEvent::Paint) { + *class_name = "QPaintEvent"; + return (QPaintEvent*)object; + } + if (object->type() == QEvent::PlatformSurface) { + *class_name = "QPlatformSurfaceEvent"; + return (QPlatformSurfaceEvent*)object; + } + if (object->type() == QEvent::Resize) { + *class_name = "QResizeEvent"; + return (QResizeEvent*)object; + } + if (object->type() == QEvent::OrientationChange) { + *class_name = "QScreenOrientationChangeEvent"; + return (QScreenOrientationChangeEvent*)object; + } + if (object->type() == QEvent::Scroll) { + *class_name = "QScrollEvent"; + return (QScrollEvent*)object; + } + if (object->type() == QEvent::ScrollPrepare) { + *class_name = "QScrollPrepareEvent"; + return (QScrollPrepareEvent*)object; + } + if (object->type() == QEvent::Shortcut) { + *class_name = "QShortcutEvent"; + return (QShortcutEvent*)object; + } + if (object->type() == QEvent::Show) { + *class_name = "QShowEvent"; + return (QShowEvent*)object; + } + if (object->type() == QEvent::StatusTip) { + *class_name = "QStatusTipEvent"; + return (QStatusTipEvent*)object; + } + if (object->type() == QEvent::TabletMove || object->type() == QEvent::TabletPress || object->type() == QEvent::TabletRelease || object->type() == QEvent::TabletEnterProximity || object->type() == QEvent::TabletLeaveProximity) { + *class_name = "QTabletEvent"; + return (QTabletEvent*)object; + } + if (object->type() == QEvent::ToolBarChange) { + *class_name = "QToolBarChangeEvent"; + return (QToolBarChangeEvent*)object; + } + if (object->type() == QEvent::TouchBegin || object->type() == QEvent::TouchUpdate || object->type() == QEvent::TouchEnd) { + *class_name = "QTouchEvent"; + return (QTouchEvent*)object; + } + if (object->type() == QEvent::WhatsThisClicked) { + *class_name = "QWhatsThisClickedEvent"; + return (QWhatsThisClickedEvent*)object; + } + if (object->type() == QEvent::Wheel) { + *class_name = "QWheelEvent"; + return (QWheelEvent*)object; + } + if (object->type() == QEvent::WindowStateChange) { + *class_name = "QWindowStateChangeEvent"; + return (QWindowStateChangeEvent*)object; + } + return nullptr; +} +static void* polymorphichandler_QGradient(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != nullptr); + QGradient *object = (QGradient *)ptr; + if (object->type() == QGradient::ConicalGradient) { + *class_name = "QConicalGradient"; + return (QConicalGradient*)object; + } + if (object->type() == QGradient::NoGradient) { + *class_name = "QGradient"; + return (QGradient*)object; + } + if (object->type() == QGradient::LinearGradient) { + *class_name = "QLinearGradient"; + return (QLinearGradient*)object; + } + if (object->type() == QGradient::RadialGradient) { + *class_name = "QRadialGradient"; + return (QRadialGradient*)object; + } + return nullptr; +} +static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != nullptr); + QGraphicsItem *object = (QGraphicsItem *)ptr; + if (object->type() == QGraphicsEllipseItem::Type) { + *class_name = "QGraphicsEllipseItem"; + return (QGraphicsEllipseItem*)object; + } + if (object->type() == QGraphicsItemGroup::Type) { + *class_name = "QGraphicsItemGroup"; + return (QGraphicsItemGroup*)object; + } + if (object->type() == QGraphicsLineItem::Type) { + *class_name = "QGraphicsLineItem"; + return (QGraphicsLineItem*)object; + } + if (object->type() == QGraphicsPathItem::Type) { + *class_name = "QGraphicsPathItem"; + return (QGraphicsPathItem*)object; + } + if (object->type() == QGraphicsPixmapItem::Type) { + *class_name = "QGraphicsPixmapItem"; + return (QGraphicsPixmapItem*)object; + } + if (object->type() == QGraphicsPolygonItem::Type) { + *class_name = "QGraphicsPolygonItem"; + return (QGraphicsPolygonItem*)object; + } + if (object->type() == QGraphicsRectItem::Type) { + *class_name = "QGraphicsRectItem"; + return (QGraphicsRectItem*)object; + } + if (object->type() == QGraphicsSimpleTextItem::Type) { + *class_name = "QGraphicsSimpleTextItem"; + return (QGraphicsSimpleTextItem*)object; + } + if (object->type() == QGraphicsTextItem::Type) { + *class_name = "QGraphicsTextItem"; + return (QGraphicsTextItem*)object; + } + if (object->isWidget()) { + *class_name = "QGraphicsWidget"; + return (QGraphicsWidget*)object; + } + return nullptr; +} +static void* polymorphichandler_QStyleOption(const void *ptr, const char **class_name) +{ + Q_ASSERT(ptr != nullptr); + QStyleOption *object = (QStyleOption *)ptr; + if (object->type == QStyleOption::SO_Default) { + *class_name = "QStyleOption"; + return (QStyleOption*)object; + } + if (object->type == QStyleOptionButton::Type && object->version == QStyleOptionButton::Version) { + *class_name = "QStyleOptionButton"; + return (QStyleOptionButton*)object; + } + if (object->type == QStyleOptionComboBox::Type && object->version == QStyleOptionComboBox::Version) { + *class_name = "QStyleOptionComboBox"; + return (QStyleOptionComboBox*)object; + } + if (object->type == QStyleOptionDockWidget::Type && object->version == QStyleOptionDockWidget::Version) { + *class_name = "QStyleOptionDockWidget"; + return (QStyleOptionDockWidget*)object; + } + if (object->type == QStyleOptionDockWidgetV2::Type && object->version == QStyleOptionDockWidgetV2::Version) { + *class_name = "QStyleOptionDockWidgetV2"; + return (QStyleOptionDockWidgetV2*)object; + } + if (object->type == QStyleOptionFocusRect::Type && object->version == QStyleOptionFocusRect::Version) { + *class_name = "QStyleOptionFocusRect"; + return (QStyleOptionFocusRect*)object; + } + if (object->type == QStyleOptionFrame::Type && object->version == QStyleOptionFrame::Version) { + *class_name = "QStyleOptionFrame"; + return (QStyleOptionFrame*)object; + } + if (object->type == QStyleOptionFrameV2::Type && object->version == QStyleOptionFrameV2::Version) { + *class_name = "QStyleOptionFrameV2"; + return (QStyleOptionFrameV2*)object; + } + if (object->type == QStyleOptionFrameV3::Type && object->version == QStyleOptionFrameV3::Version) { + *class_name = "QStyleOptionFrameV3"; + return (QStyleOptionFrameV3*)object; + } + if (object->type == QStyleOptionGraphicsItem::Type && object->version == QStyleOptionGraphicsItem::Version) { + *class_name = "QStyleOptionGraphicsItem"; + return (QStyleOptionGraphicsItem*)object; + } + if (object->type == QStyleOptionGroupBox::Type && object->version == QStyleOptionGroupBox::Version) { + *class_name = "QStyleOptionGroupBox"; + return (QStyleOptionGroupBox*)object; + } + if (object->type == QStyleOptionHeader::Type && object->version == QStyleOptionHeader::Version) { + *class_name = "QStyleOptionHeader"; + return (QStyleOptionHeader*)object; + } + if (object->type == QStyleOptionMenuItem::Type && object->version == QStyleOptionMenuItem::Version) { + *class_name = "QStyleOptionMenuItem"; + return (QStyleOptionMenuItem*)object; + } + if (object->type == QStyleOptionProgressBar::Type && object->version == QStyleOptionProgressBar::Version) { + *class_name = "QStyleOptionProgressBar"; + return (QStyleOptionProgressBar*)object; + } + if (object->type == QStyleOptionProgressBarV2::Type && object->version == QStyleOptionProgressBarV2::Version) { + *class_name = "QStyleOptionProgressBarV2"; + return (QStyleOptionProgressBarV2*)object; + } + if (object->type == QStyleOptionRubberBand::Type && object->version == QStyleOptionRubberBand::Version) { + *class_name = "QStyleOptionRubberBand"; + return (QStyleOptionRubberBand*)object; + } + if (object->type == QStyleOptionSizeGrip::Type && object->version == QStyleOptionSizeGrip::Version) { + *class_name = "QStyleOptionSizeGrip"; + return (QStyleOptionSizeGrip*)object; + } + if (object->type == QStyleOptionSlider::Type && object->version == QStyleOptionSlider::Version) { + *class_name = "QStyleOptionSlider"; + return (QStyleOptionSlider*)object; + } + if (object->type == QStyleOptionSpinBox::Type && object->version == QStyleOptionSpinBox::Version) { + *class_name = "QStyleOptionSpinBox"; + return (QStyleOptionSpinBox*)object; + } + if (object->type == QStyleOptionTab::Type && object->version == QStyleOptionTab::Version) { + *class_name = "QStyleOptionTab"; + return (QStyleOptionTab*)object; + } + if (object->type == QStyleOptionTabBarBase::Type && object->version == QStyleOptionTabBarBase::Version) { + *class_name = "QStyleOptionTabBarBase"; + return (QStyleOptionTabBarBase*)object; + } + if (object->type == QStyleOptionTabBarBaseV2::Type && object->version == QStyleOptionTabBarBaseV2::Version) { + *class_name = "QStyleOptionTabBarBaseV2"; + return (QStyleOptionTabBarBaseV2*)object; + } + if (object->type == QStyleOptionTabV2::Type && object->version == QStyleOptionTabV2::Version) { + *class_name = "QStyleOptionTabV2"; + return (QStyleOptionTabV2*)object; + } + if (object->type == QStyleOptionTabV3::Type && object->version == QStyleOptionTabV3::Version) { + *class_name = "QStyleOptionTabV3"; + return (QStyleOptionTabV3*)object; + } + if (object->type == QStyleOptionTabWidgetFrame::Type && object->version == QStyleOptionTabWidgetFrame::Version) { + *class_name = "QStyleOptionTabWidgetFrame"; + return (QStyleOptionTabWidgetFrame*)object; + } + if (object->type == QStyleOptionTabWidgetFrameV2::Type && object->version == QStyleOptionTabWidgetFrameV2::Version) { + *class_name = "QStyleOptionTabWidgetFrameV2"; + return (QStyleOptionTabWidgetFrameV2*)object; + } + if (object->type == QStyleOptionTitleBar::Type && object->version == QStyleOptionTitleBar::Version) { + *class_name = "QStyleOptionTitleBar"; + return (QStyleOptionTitleBar*)object; + } + if (object->type == QStyleOptionToolBar::Type && object->version == QStyleOptionToolBar::Version) { + *class_name = "QStyleOptionToolBar"; + return (QStyleOptionToolBar*)object; + } + if (object->type == QStyleOptionToolBox::Type && object->version == QStyleOptionToolBox::Version) { + *class_name = "QStyleOptionToolBox"; + return (QStyleOptionToolBox*)object; + } + if (object->type == QStyleOptionToolBoxV2::Type && object->version == QStyleOptionToolBoxV2::Version) { + *class_name = "QStyleOptionToolBoxV2"; + return (QStyleOptionToolBoxV2*)object; + } + if (object->type == QStyleOptionToolButton::Type && object->version == QStyleOptionToolButton::Version) { + *class_name = "QStyleOptionToolButton"; + return (QStyleOptionToolButton*)object; + } + if (object->type == QStyleOptionViewItem::Type && object->version == QStyleOptionViewItem::Version) { + *class_name = "QStyleOptionViewItem"; + return (QStyleOptionViewItem*)object; + } + if (object->type == QStyleOptionViewItemV2::Type && object->version == QStyleOptionViewItemV2::Version) { + *class_name = "QStyleOptionViewItemV2"; + return (QStyleOptionViewItemV2*)object; + } + if (object->type == QStyleOptionViewItemV3::Type && object->version == QStyleOptionViewItemV3::Version) { + *class_name = "QStyleOptionViewItemV3"; + return (QStyleOptionViewItemV3*)object; + } + if (object->type == QStyleOptionViewItemV4::Type && object->version == QStyleOptionViewItemV4::Version) { + *class_name = "QStyleOptionViewItemV4"; + return (QStyleOptionViewItemV4*)object; + } + return nullptr; +} + + +void PythonQt_init_QtGui(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAbstractGraphicsShapeItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QAbstractGraphicsShapeItem", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QAbstractItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractItemView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractProxyModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractTableModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractTextDocumentLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::PaintContext", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, 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()->registerCPPClass("QColorSpace", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QColorTransform", "", "QtGui", PythonQtCreateObject, nullptr, 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()->registerClass(&QConcatenateTablesProxyModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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); +PythonQt::priv()->registerClass(&QDateTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDesktopServices", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDesktopWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDial::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDialogButtonBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDirModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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); +PythonQt::priv()->registerClass(&QErrorMessage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QFileSystemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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()->registerCPPClass("QFormLayout::TakeRowResult", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGestureRecognizer", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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); +PythonQt::priv()->registerClass(&QGraphicsDropShadowEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsEllipseItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsGridLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsItemAnimation::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsItemGroup", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsItemGroup", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGraphicsLayout", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsLayout", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsLineItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsLineItem", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGraphicsLinearLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsObject", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QGraphicsOpacityEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsPathItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsPixmapItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsPixmapItem", "QGraphicsItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QGraphicsPolygonItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsProxyWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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); +PythonQt::priv()->registerClass(&QGraphicsView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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, 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, 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, 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, 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, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QItemSelectionModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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); +PythonQt::priv()->registerClass(&QLCDNumber::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QLabel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +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, 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, 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()->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); +PythonQt::priv()->registerClass(&QMenuBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMessageBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QMouseEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMouseEventTransition::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QMoveEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QOpenGLContext::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +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, 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, 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, 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, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPageSize", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPagedPaintDevice", "", "QtGui", PythonQtCreateObject, nullptr, 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, 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, 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); +PythonQt::priv()->registerClass(&QPdfWriter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QPdfWriter", "QPagedPaintDevice",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QPdfWriter", "QPaintDevice",PythonQtUpcastingOffset()); +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QPinchGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPixelFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPixmapCache", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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); +PythonQt::priv()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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, 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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, 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(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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); +PythonQt::priv()->registerCPPClass("QSpacerItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::self()->addParentClass("QSpacerItem", "QLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSplashScreen::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSplitter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSplitterHandle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QStackedLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +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, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QStatusBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, 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, 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); +PythonQt::priv()->registerCPPClass("QStyleOptionDockWidget", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionDockWidgetV2", "QStyleOptionDockWidget", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionFocusRect", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionFrameV2", "QStyleOptionFrame", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionFrameV3", "QStyleOptionFrame", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionGraphicsItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionGroupBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionHeader", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionMenuItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionProgressBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionProgressBarV2", "QStyleOptionProgressBar", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionRubberBand", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionSizeGrip", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionSlider", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionSpinBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTab", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabBarBase", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabBarBaseV2", "QStyleOptionTabBarBase", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabV2", "QStyleOptionTab", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabV3", "QStyleOptionTab", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabWidgetFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabWidgetFrameV2", "QStyleOptionTabWidgetFrame", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTitleBar", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolBox", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolBoxV2", "QStyleOptionToolBox", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionToolButton", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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); +PythonQt::priv()->registerClass(&QTabBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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, 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, 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, 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, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, 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, 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, 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, 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, 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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QTransposeProxyModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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); +PythonQt::priv()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QUndoGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QUndoStack::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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()); +PythonQt::priv()->registerClass(&QWidgetAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QWizard::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWizardPage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + +PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); +PythonQt::self()->addPolymorphicHandler("QGradient", polymorphichandler_QGradient); +PythonQt::self()->addPolymorphicHandler("QGraphicsItem", polymorphichandler_QGraphicsItem); +PythonQt::self()->addPolymorphicHandler("QStyleOption", polymorphichandler_QStyleOption); + +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QGlyphRun); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QInputMethodEvent::Attribute); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QItemSelectionRange); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QModelIndex); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QPageSize); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QPersistentModelIndex); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QPolygonF); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QPrinterInfo); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QTableWidgetSelectionRange); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextBlock); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextEdit::ExtraSelection); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextLayout::FormatRange); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextOption::Tab); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QTouchEvent::TouchPoint); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QItemSelectionRange); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QTextLayout::FormatRange); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri new file mode 100644 index 00000000..4aa1ce87 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_gui_builtin0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_gui_builtin0.cpp \ + $$PWD/com_trolltech_qt_gui_builtin_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp new file mode 100644 index 00000000..a271f7c8 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -0,0 +1,5195 @@ +#include "com_trolltech_qt_gui_builtin0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QBitmap::~PythonQtShell_QBitmap() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QBitmap::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 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) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::metric(arg__1); +} +QPaintEngine* PythonQtShell_QBitmap::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + 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(); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QBitmap& other) +{ +return new PythonQtShell_QBitmap(other); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QPixmap& arg__1) +{ +return new PythonQtShell_QBitmap(arg__1); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QSize& arg__1) +{ +return new PythonQtShell_QBitmap(arg__1); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QString& fileName, const char* format) +{ +return new PythonQtShell_QBitmap(fileName, format); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(int w, int h) +{ +return new PythonQtShell_QBitmap(w, h); } + +void PythonQtWrapper_QBitmap::clear(QBitmap* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QBitmap PythonQtWrapper_QBitmap::static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) +{ + return (QBitmap::fromImage(image, flags)); +} + +QBitmap* PythonQtWrapper_QBitmap::operator_assign(QBitmap* theWrappedObject, const QBitmap& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QBitmap::swap(QBitmap* theWrappedObject, QBitmap& other) +{ + ( theWrappedObject->swap(other)); +} + +QBitmap PythonQtWrapper_QBitmap::transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const +{ + return ( theWrappedObject->transformed(arg__1)); +} + +QBitmap PythonQtWrapper_QBitmap::transformed(QBitmap* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->transformed(matrix)); +} + + + +QBrush* PythonQtWrapper_QBrush::new_QBrush() +{ +return new QBrush(); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(Qt::BrushStyle bs) +{ +return new QBrush(bs); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(Qt::GlobalColor color, const QPixmap& pixmap) +{ +return new QBrush(color, pixmap); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(const QBrush& brush) +{ +return new QBrush(brush); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(const QColor& color, Qt::BrushStyle bs) +{ +return new QBrush(color, bs); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(const QColor& color, const QPixmap& pixmap) +{ +return new QBrush(color, pixmap); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(const QGradient& gradient) +{ +return new QBrush(gradient); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(const QImage& image) +{ +return new QBrush(image); } + +QBrush* PythonQtWrapper_QBrush::new_QBrush(const QPixmap& pixmap) +{ +return new QBrush(pixmap); } + +const QColor* PythonQtWrapper_QBrush::color(QBrush* theWrappedObject) const +{ + return &( theWrappedObject->color()); +} + +const QGradient* PythonQtWrapper_QBrush::gradient(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->gradient()); +} + +bool PythonQtWrapper_QBrush::isOpaque(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->isOpaque()); +} + +const QMatrix* PythonQtWrapper_QBrush::matrix(QBrush* theWrappedObject) const +{ + return &( theWrappedObject->matrix()); +} + +bool PythonQtWrapper_QBrush::__ne__(QBrush* theWrappedObject, const QBrush& b) const +{ + return ( (*theWrappedObject)!= b); +} + +void PythonQtWrapper_QBrush::writeTo(QBrush* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QBrush::__eq__(QBrush* theWrappedObject, const QBrush& b) const +{ + return ( (*theWrappedObject)== b); +} + +void PythonQtWrapper_QBrush::readFrom(QBrush* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QBrush::setColor(QBrush* theWrappedObject, Qt::GlobalColor color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QBrush::setColor(QBrush* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QBrush::setMatrix(QBrush* theWrappedObject, const QMatrix& mat) +{ + ( theWrappedObject->setMatrix(mat)); +} + +void PythonQtWrapper_QBrush::setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1) +{ + ( theWrappedObject->setStyle(arg__1)); +} + +void PythonQtWrapper_QBrush::setTexture(QBrush* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setTexture(pixmap)); +} + +void PythonQtWrapper_QBrush::setTextureImage(QBrush* theWrappedObject, const QImage& image) +{ + ( theWrappedObject->setTextureImage(image)); +} + +void PythonQtWrapper_QBrush::setTransform(QBrush* theWrappedObject, const QTransform& arg__1) +{ + ( theWrappedObject->setTransform(arg__1)); +} + +Qt::BrushStyle PythonQtWrapper_QBrush::style(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +void PythonQtWrapper_QBrush::swap(QBrush* theWrappedObject, QBrush& other) +{ + ( theWrappedObject->swap(other)); +} + +QPixmap PythonQtWrapper_QBrush::texture(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + +QImage PythonQtWrapper_QBrush::textureImage(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->textureImage()); +} + +QTransform PythonQtWrapper_QBrush::transform(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->transform()); +} + +QString PythonQtWrapper_QBrush::py_toString(QBrush* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QColor* PythonQtWrapper_QColor::new_QColor() +{ +return new QColor(); } + +QColor* PythonQtWrapper_QColor::new_QColor(QRgba64 rgba64) +{ +return new QColor(rgba64); } + +QColor* PythonQtWrapper_QColor::new_QColor(Qt::GlobalColor color) +{ +return new QColor(color); } + +QColor* PythonQtWrapper_QColor::new_QColor(const QColor& color) +{ +return new QColor(color); } + +QColor* PythonQtWrapper_QColor::new_QColor(const QString& name) +{ +return new QColor(name); } + +QColor* PythonQtWrapper_QColor::new_QColor(int r, int g, int b, int a) +{ +return new QColor(r, g, b, a); } + +QColor* PythonQtWrapper_QColor::new_QColor(unsigned int rgb) +{ +return new QColor(rgb); } + +int PythonQtWrapper_QColor::alpha(QColor* theWrappedObject) const +{ + return ( theWrappedObject->alpha()); +} + +qreal PythonQtWrapper_QColor::alphaF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->alphaF()); +} + +int PythonQtWrapper_QColor::black(QColor* theWrappedObject) const +{ + return ( theWrappedObject->black()); +} + +qreal PythonQtWrapper_QColor::blackF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->blackF()); +} + +int PythonQtWrapper_QColor::blue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->blue()); +} + +qreal PythonQtWrapper_QColor::blueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->blueF()); +} + +QStringList PythonQtWrapper_QColor::static_QColor_colorNames() +{ + return (QColor::colorNames()); +} + +QColor PythonQtWrapper_QColor::convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const +{ + return ( theWrappedObject->convertTo(colorSpec)); +} + +int PythonQtWrapper_QColor::cyan(QColor* theWrappedObject) const +{ + return ( theWrappedObject->cyan()); +} + +qreal PythonQtWrapper_QColor::cyanF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->cyanF()); +} + +QColor PythonQtWrapper_QColor::darker(QColor* theWrappedObject, int f) const +{ + return ( theWrappedObject->darker(f)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromCmyk(int c, int m, int y, int k, int a) +{ + return (QColor::fromCmyk(c, m, y, k, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a) +{ + return (QColor::fromCmykF(c, m, y, k, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromHsl(int h, int s, int l, int a) +{ + return (QColor::fromHsl(h, s, l, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromHslF(qreal h, qreal s, qreal l, qreal a) +{ + return (QColor::fromHslF(h, s, l, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromHsv(int h, int s, int v, int a) +{ + return (QColor::fromHsv(h, s, v, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a) +{ + return (QColor::fromHsvF(h, s, v, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgb(int r, int g, int b, int a) +{ + return (QColor::fromRgb(r, g, b, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgb(unsigned int rgb) +{ + return (QColor::fromRgb(rgb)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a) +{ + return (QColor::fromRgbF(r, g, b, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgba(unsigned int rgba) +{ + return (QColor::fromRgba(rgba)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgba64(QRgba64 rgba) +{ + return (QColor::fromRgba64(rgba)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgba64(ushort r, ushort g, ushort b, ushort a) +{ + return (QColor::fromRgba64(r, g, b, a)); +} + +void PythonQtWrapper_QColor::getCmyk(QColor* theWrappedObject, int* c, int* m, int* y, int* k, int* a) const +{ + ( theWrappedObject->getCmyk(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::getCmykF(QColor* theWrappedObject, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a) const +{ + ( theWrappedObject->getCmykF(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::getHsl(QColor* theWrappedObject, int* h, int* s, int* l, int* a) const +{ + ( theWrappedObject->getHsl(h, s, l, a)); +} + +void PythonQtWrapper_QColor::getHslF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* l, qreal* a) const +{ + ( theWrappedObject->getHslF(h, s, l, a)); +} + +int PythonQtWrapper_QColor::green(QColor* theWrappedObject) const +{ + return ( theWrappedObject->green()); +} + +qreal PythonQtWrapper_QColor::greenF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->greenF()); +} + +int PythonQtWrapper_QColor::hslHue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslHue()); +} + +qreal PythonQtWrapper_QColor::hslHueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslHueF()); +} + +int PythonQtWrapper_QColor::hslSaturation(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslSaturation()); +} + +qreal PythonQtWrapper_QColor::hslSaturationF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslSaturationF()); +} + +int PythonQtWrapper_QColor::hsvHue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvHue()); +} + +qreal PythonQtWrapper_QColor::hsvHueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvHueF()); +} + +int PythonQtWrapper_QColor::hsvSaturation(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvSaturation()); +} + +qreal PythonQtWrapper_QColor::hsvSaturationF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvSaturationF()); +} + +int PythonQtWrapper_QColor::hue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hue()); +} + +qreal PythonQtWrapper_QColor::hueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hueF()); +} + +bool PythonQtWrapper_QColor::isValid(QColor* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QColor::static_QColor_isValidColor(const QString& name) +{ + return (QColor::isValidColor(name)); +} + +QColor PythonQtWrapper_QColor::lighter(QColor* theWrappedObject, int f) const +{ + return ( theWrappedObject->lighter(f)); +} + +int PythonQtWrapper_QColor::lightness(QColor* theWrappedObject) const +{ + return ( theWrappedObject->lightness()); +} + +qreal PythonQtWrapper_QColor::lightnessF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->lightnessF()); +} + +int PythonQtWrapper_QColor::magenta(QColor* theWrappedObject) const +{ + return ( theWrappedObject->magenta()); +} + +qreal PythonQtWrapper_QColor::magentaF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->magentaF()); +} + +QString PythonQtWrapper_QColor::name(QColor* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QString PythonQtWrapper_QColor::name(QColor* theWrappedObject, QColor::NameFormat format) const +{ + return ( theWrappedObject->name(format)); +} + +bool PythonQtWrapper_QColor::__ne__(QColor* theWrappedObject, const QColor& c) const +{ + return ( (*theWrappedObject)!= c); +} + +void PythonQtWrapper_QColor::writeTo(QColor* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QColor::__eq__(QColor* theWrappedObject, const QColor& c) const +{ + return ( (*theWrappedObject)== c); +} + +void PythonQtWrapper_QColor::readFrom(QColor* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QColor::red(QColor* theWrappedObject) const +{ + return ( theWrappedObject->red()); +} + +qreal PythonQtWrapper_QColor::redF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->redF()); +} + +unsigned int PythonQtWrapper_QColor::rgb(QColor* theWrappedObject) const +{ + return ( theWrappedObject->rgb()); +} + +unsigned int PythonQtWrapper_QColor::rgba(QColor* theWrappedObject) const +{ + return ( theWrappedObject->rgba()); +} + +QRgba64 PythonQtWrapper_QColor::rgba64(QColor* theWrappedObject) const +{ + return ( theWrappedObject->rgba64()); +} + +int PythonQtWrapper_QColor::saturation(QColor* theWrappedObject) const +{ + return ( theWrappedObject->saturation()); +} + +qreal PythonQtWrapper_QColor::saturationF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->saturationF()); +} + +void PythonQtWrapper_QColor::setAlpha(QColor* theWrappedObject, int alpha) +{ + ( theWrappedObject->setAlpha(alpha)); +} + +void PythonQtWrapper_QColor::setAlphaF(QColor* theWrappedObject, qreal alpha) +{ + ( theWrappedObject->setAlphaF(alpha)); +} + +void PythonQtWrapper_QColor::setBlue(QColor* theWrappedObject, int blue) +{ + ( theWrappedObject->setBlue(blue)); +} + +void PythonQtWrapper_QColor::setBlueF(QColor* theWrappedObject, qreal blue) +{ + ( theWrappedObject->setBlueF(blue)); +} + +void PythonQtWrapper_QColor::setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a) +{ + ( theWrappedObject->setCmyk(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a) +{ + ( theWrappedObject->setCmykF(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::setGreen(QColor* theWrappedObject, int green) +{ + ( theWrappedObject->setGreen(green)); +} + +void PythonQtWrapper_QColor::setGreenF(QColor* theWrappedObject, qreal green) +{ + ( theWrappedObject->setGreenF(green)); +} + +void PythonQtWrapper_QColor::setHsl(QColor* theWrappedObject, int h, int s, int l, int a) +{ + ( theWrappedObject->setHsl(h, s, l, a)); +} + +void PythonQtWrapper_QColor::setHslF(QColor* theWrappedObject, qreal h, qreal s, qreal l, qreal a) +{ + ( theWrappedObject->setHslF(h, s, l, a)); +} + +void PythonQtWrapper_QColor::setHsv(QColor* theWrappedObject, int h, int s, int v, int a) +{ + ( theWrappedObject->setHsv(h, s, v, a)); +} + +void PythonQtWrapper_QColor::setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a) +{ + ( theWrappedObject->setHsvF(h, s, v, a)); +} + +void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setNamedColor(name)); +} + +void PythonQtWrapper_QColor::setRed(QColor* theWrappedObject, int red) +{ + ( theWrappedObject->setRed(red)); +} + +void PythonQtWrapper_QColor::setRedF(QColor* theWrappedObject, qreal red) +{ + ( theWrappedObject->setRedF(red)); +} + +void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, int r, int g, int b, int a) +{ + ( theWrappedObject->setRgb(r, g, b, a)); +} + +void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, unsigned int rgb) +{ + ( theWrappedObject->setRgb(rgb)); +} + +void PythonQtWrapper_QColor::setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a) +{ + ( theWrappedObject->setRgbF(r, g, b, a)); +} + +void PythonQtWrapper_QColor::setRgba(QColor* theWrappedObject, unsigned int rgba) +{ + ( theWrappedObject->setRgba(rgba)); +} + +void PythonQtWrapper_QColor::setRgba64(QColor* theWrappedObject, QRgba64 rgba) +{ + ( theWrappedObject->setRgba64(rgba)); +} + +QColor::Spec PythonQtWrapper_QColor::spec(QColor* theWrappedObject) const +{ + return ( theWrappedObject->spec()); +} + +QColor PythonQtWrapper_QColor::toCmyk(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toCmyk()); +} + +QColor PythonQtWrapper_QColor::toExtendedRgb(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toExtendedRgb()); +} + +QColor PythonQtWrapper_QColor::toHsl(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toHsl()); +} + +QColor PythonQtWrapper_QColor::toHsv(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toHsv()); +} + +QColor PythonQtWrapper_QColor::toRgb(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toRgb()); +} + +int PythonQtWrapper_QColor::value(QColor* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +qreal PythonQtWrapper_QColor::valueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->valueF()); +} + +int PythonQtWrapper_QColor::yellow(QColor* theWrappedObject) const +{ + return ( theWrappedObject->yellow()); +} + +qreal PythonQtWrapper_QColor::yellowF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->yellowF()); +} + +QString PythonQtWrapper_QColor::py_toString(QColor* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QCursor* PythonQtWrapper_QCursor::new_QCursor() +{ +return new QCursor(); } + +QCursor* PythonQtWrapper_QCursor::new_QCursor(Qt::CursorShape shape) +{ +return new QCursor(shape); } + +QCursor* PythonQtWrapper_QCursor::new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX, int hotY) +{ +return new QCursor(bitmap, mask, hotX, hotY); } + +QCursor* PythonQtWrapper_QCursor::new_QCursor(const QCursor& cursor) +{ +return new QCursor(cursor); } + +QCursor* PythonQtWrapper_QCursor::new_QCursor(const QPixmap& pixmap, int hotX, int hotY) +{ +return new QCursor(pixmap, hotX, hotY); } + +const QBitmap* PythonQtWrapper_QCursor::bitmap(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->bitmap()); +} + +QPoint PythonQtWrapper_QCursor::hotSpot(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->hotSpot()); +} + +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); +} + +bool PythonQtWrapper_QCursor::__eq__(QCursor* theWrappedObject, const QCursor& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QCursor::readFrom(QCursor* theWrappedObject, QDataStream& inS) +{ + inS >> (*theWrappedObject); +} + +QPixmap PythonQtWrapper_QCursor::pixmap(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +QPoint PythonQtWrapper_QCursor::static_QCursor_pos() +{ + return (QCursor::pos()); +} + +QPoint PythonQtWrapper_QCursor::static_QCursor_pos(const QScreen* screen) +{ + return (QCursor::pos(screen)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(QScreen* screen, const QPoint& p) +{ + (QCursor::setPos(screen, p)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(QScreen* screen, int x, int y) +{ + (QCursor::setPos(screen, x, y)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(const QPoint& p) +{ + (QCursor::setPos(p)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(int x, int y) +{ + (QCursor::setPos(x, y)); +} + +void PythonQtWrapper_QCursor::setShape(QCursor* theWrappedObject, Qt::CursorShape newShape) +{ + ( theWrappedObject->setShape(newShape)); +} + +Qt::CursorShape PythonQtWrapper_QCursor::shape(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +void PythonQtWrapper_QCursor::swap(QCursor* theWrappedObject, QCursor& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QCursor::py_toString(QCursor* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QFont* PythonQtWrapper_QFont::new_QFont() +{ +return new QFont(); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& font) +{ +return new QFont(font); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& font, QPaintDevice* pd) +{ +return new QFont(font, pd); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& font, const QPaintDevice* pd) +{ +return new QFont(font, pd); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QString& family, int pointSize, int weight, bool italic) +{ +return new QFont(family, pointSize, weight, italic); } + +bool PythonQtWrapper_QFont::bold(QFont* theWrappedObject) const +{ + return ( theWrappedObject->bold()); +} + +void PythonQtWrapper_QFont::static_QFont_cacheStatistics() +{ + (QFont::cacheStatistics()); +} + +QFont::Capitalization PythonQtWrapper_QFont::capitalization(QFont* theWrappedObject) const +{ + return ( theWrappedObject->capitalization()); +} + +void PythonQtWrapper_QFont::static_QFont_cleanup() +{ + (QFont::cleanup()); +} + +QString PythonQtWrapper_QFont::defaultFamily(QFont* theWrappedObject) const +{ + return ( theWrappedObject->defaultFamily()); +} + +bool PythonQtWrapper_QFont::exactMatch(QFont* theWrappedObject) const +{ + return ( theWrappedObject->exactMatch()); +} + +QStringList PythonQtWrapper_QFont::families(QFont* theWrappedObject) const +{ + return ( theWrappedObject->families()); +} + +QString PythonQtWrapper_QFont::family(QFont* theWrappedObject) const +{ + return ( theWrappedObject->family()); +} + +bool PythonQtWrapper_QFont::fixedPitch(QFont* theWrappedObject) const +{ + return ( theWrappedObject->fixedPitch()); +} + +bool PythonQtWrapper_QFont::fromString(QFont* theWrappedObject, const QString& arg__1) +{ + return ( theWrappedObject->fromString(arg__1)); +} + +QFont::HintingPreference PythonQtWrapper_QFont::hintingPreference(QFont* theWrappedObject) const +{ + return ( theWrappedObject->hintingPreference()); +} + +void PythonQtWrapper_QFont::static_QFont_initialize() +{ + (QFont::initialize()); +} + +void PythonQtWrapper_QFont::static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2) +{ + (QFont::insertSubstitution(arg__1, arg__2)); +} + +void PythonQtWrapper_QFont::static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2) +{ + (QFont::insertSubstitutions(arg__1, arg__2)); +} + +bool PythonQtWrapper_QFont::isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( theWrappedObject->isCopyOf(arg__1)); +} + +bool PythonQtWrapper_QFont::italic(QFont* theWrappedObject) const +{ + return ( theWrappedObject->italic()); +} + +bool PythonQtWrapper_QFont::kerning(QFont* theWrappedObject) const +{ + return ( theWrappedObject->kerning()); +} + +QString PythonQtWrapper_QFont::key(QFont* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +QString PythonQtWrapper_QFont::lastResortFamily(QFont* theWrappedObject) const +{ + return ( theWrappedObject->lastResortFamily()); +} + +QString PythonQtWrapper_QFont::lastResortFont(QFont* theWrappedObject) const +{ + return ( theWrappedObject->lastResortFont()); +} + +qreal PythonQtWrapper_QFont::letterSpacing(QFont* theWrappedObject) const +{ + return ( theWrappedObject->letterSpacing()); +} + +QFont::SpacingType PythonQtWrapper_QFont::letterSpacingType(QFont* theWrappedObject) const +{ + return ( theWrappedObject->letterSpacingType()); +} + +bool PythonQtWrapper_QFont::__ne__(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QFont::__lt__(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( (*theWrappedObject)< arg__1); +} + +void PythonQtWrapper_QFont::writeTo(QFont* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QFont::__eq__(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QFont::readFrom(QFont* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QFont::overline(QFont* theWrappedObject) const +{ + return ( theWrappedObject->overline()); +} + +int PythonQtWrapper_QFont::pixelSize(QFont* theWrappedObject) const +{ + return ( theWrappedObject->pixelSize()); +} + +int PythonQtWrapper_QFont::pointSize(QFont* theWrappedObject) const +{ + return ( theWrappedObject->pointSize()); +} + +qreal PythonQtWrapper_QFont::pointSizeF(QFont* theWrappedObject) const +{ + return ( theWrappedObject->pointSizeF()); +} + +bool PythonQtWrapper_QFont::rawMode(QFont* theWrappedObject) const +{ + return ( theWrappedObject->rawMode()); +} + +QString PythonQtWrapper_QFont::rawName(QFont* theWrappedObject) const +{ + return ( theWrappedObject->rawName()); +} + +void PythonQtWrapper_QFont::static_QFont_removeSubstitutions(const QString& arg__1) +{ + (QFont::removeSubstitutions(arg__1)); +} + +uint PythonQtWrapper_QFont::resolve(QFont* theWrappedObject) const +{ + return ( theWrappedObject->resolve()); +} + +QFont PythonQtWrapper_QFont::resolve(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( theWrappedObject->resolve(arg__1)); +} + +void PythonQtWrapper_QFont::resolve(QFont* theWrappedObject, uint mask) +{ + ( theWrappedObject->resolve(mask)); +} + +void PythonQtWrapper_QFont::setBold(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setBold(arg__1)); +} + +void PythonQtWrapper_QFont::setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1) +{ + ( theWrappedObject->setCapitalization(arg__1)); +} + +void PythonQtWrapper_QFont::setFamilies(QFont* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setFamilies(arg__1)); +} + +void PythonQtWrapper_QFont::setFamily(QFont* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setFamily(arg__1)); +} + +void PythonQtWrapper_QFont::setFixedPitch(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFixedPitch(arg__1)); +} + +void PythonQtWrapper_QFont::setHintingPreference(QFont* theWrappedObject, QFont::HintingPreference hintingPreference) +{ + ( theWrappedObject->setHintingPreference(hintingPreference)); +} + +void PythonQtWrapper_QFont::setItalic(QFont* theWrappedObject, bool b) +{ + ( theWrappedObject->setItalic(b)); +} + +void PythonQtWrapper_QFont::setKerning(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setKerning(arg__1)); +} + +void PythonQtWrapper_QFont::setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing) +{ + ( theWrappedObject->setLetterSpacing(type, spacing)); +} + +void PythonQtWrapper_QFont::setOverline(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setOverline(arg__1)); +} + +void PythonQtWrapper_QFont::setPixelSize(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setPixelSize(arg__1)); +} + +void PythonQtWrapper_QFont::setPointSize(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setPointSize(arg__1)); +} + +void PythonQtWrapper_QFont::setPointSizeF(QFont* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setPointSizeF(arg__1)); +} + +void PythonQtWrapper_QFont::setRawMode(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setRawMode(arg__1)); +} + +void PythonQtWrapper_QFont::setRawName(QFont* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setRawName(arg__1)); +} + +void PythonQtWrapper_QFont::setStretch(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setStretch(arg__1)); +} + +void PythonQtWrapper_QFont::setStrikeOut(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setStrikeOut(arg__1)); +} + +void PythonQtWrapper_QFont::setStyle(QFont* theWrappedObject, QFont::Style style) +{ + ( theWrappedObject->setStyle(style)); +} + +void PythonQtWrapper_QFont::setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2) +{ + ( theWrappedObject->setStyleHint(arg__1, arg__2)); +} + +void PythonQtWrapper_QFont::setStyleName(QFont* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setStyleName(arg__1)); +} + +void PythonQtWrapper_QFont::setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s) +{ + ( theWrappedObject->setStyleStrategy(s)); +} + +void PythonQtWrapper_QFont::setUnderline(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setUnderline(arg__1)); +} + +void PythonQtWrapper_QFont::setWeight(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setWeight(arg__1)); +} + +void PythonQtWrapper_QFont::setWordSpacing(QFont* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setWordSpacing(spacing)); +} + +int PythonQtWrapper_QFont::stretch(QFont* theWrappedObject) const +{ + return ( theWrappedObject->stretch()); +} + +bool PythonQtWrapper_QFont::strikeOut(QFont* theWrappedObject) const +{ + return ( theWrappedObject->strikeOut()); +} + +QFont::Style PythonQtWrapper_QFont::style(QFont* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +QFont::StyleHint PythonQtWrapper_QFont::styleHint(QFont* theWrappedObject) const +{ + return ( theWrappedObject->styleHint()); +} + +QString PythonQtWrapper_QFont::styleName(QFont* theWrappedObject) const +{ + return ( theWrappedObject->styleName()); +} + +QFont::StyleStrategy PythonQtWrapper_QFont::styleStrategy(QFont* theWrappedObject) const +{ + return ( theWrappedObject->styleStrategy()); +} + +QString PythonQtWrapper_QFont::static_QFont_substitute(const QString& arg__1) +{ + return (QFont::substitute(arg__1)); +} + +QStringList PythonQtWrapper_QFont::static_QFont_substitutes(const QString& arg__1) +{ + return (QFont::substitutes(arg__1)); +} + +QStringList PythonQtWrapper_QFont::static_QFont_substitutions() +{ + return (QFont::substitutions()); +} + +void PythonQtWrapper_QFont::swap(QFont* theWrappedObject, QFont& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QFont::toString(QFont* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +bool PythonQtWrapper_QFont::underline(QFont* theWrappedObject) const +{ + return ( theWrappedObject->underline()); +} + +int PythonQtWrapper_QFont::weight(QFont* theWrappedObject) const +{ + return ( theWrappedObject->weight()); +} + +qreal PythonQtWrapper_QFont::wordSpacing(QFont* theWrappedObject) const +{ + return ( theWrappedObject->wordSpacing()); +} + +QString PythonQtWrapper_QFont::py_toString(QFont* obj) { return obj->toString(); } + + +QIcon* PythonQtWrapper_QIcon::new_QIcon() +{ +return new QIcon(); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(PythonQtPassOwnershipToCPP engine) +{ +return new QIcon(engine); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(const QIcon& other) +{ +return new QIcon(other); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(const QPixmap& pixmap) +{ +return new QIcon(pixmap); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(const QString& fileName) +{ +return new QIcon(fileName); } + +QSize PythonQtWrapper_QIcon::actualSize(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->actualSize(window, size, mode, state)); +} + +QSize PythonQtWrapper_QIcon::actualSize(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->actualSize(size, mode, state)); +} + +void PythonQtWrapper_QIcon::addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addFile(fileName, size, mode, state)); +} + +void PythonQtWrapper_QIcon::addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addPixmap(pixmap, mode, state)); +} + +QList PythonQtWrapper_QIcon::availableSizes(QIcon* theWrappedObject, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->availableSizes(mode, state)); +} + +qint64 PythonQtWrapper_QIcon::cacheKey(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +QStringList PythonQtWrapper_QIcon::static_QIcon_fallbackSearchPaths() +{ + return (QIcon::fallbackSearchPaths()); +} + +QString PythonQtWrapper_QIcon::static_QIcon_fallbackThemeName() +{ + return (QIcon::fallbackThemeName()); +} + +QIcon PythonQtWrapper_QIcon::static_QIcon_fromTheme(const QString& name) +{ + return (QIcon::fromTheme(name)); +} + +QIcon PythonQtWrapper_QIcon::static_QIcon_fromTheme(const QString& name, const QIcon& fallback) +{ + return (QIcon::fromTheme(name, fallback)); +} + +bool PythonQtWrapper_QIcon::static_QIcon_hasThemeIcon(const QString& name) +{ + return (QIcon::hasThemeIcon(name)); +} + +bool PythonQtWrapper_QIcon::isMask(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->isMask()); +} + +bool PythonQtWrapper_QIcon::isNull(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QIcon::name(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QIcon::writeTo(QIcon* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QIcon::readFrom(QIcon* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QIcon::paint(QIcon* theWrappedObject, QPainter* painter, const QRect& rect, Qt::Alignment alignment, QIcon::Mode mode, QIcon::State state) const +{ + ( theWrappedObject->paint(painter, rect, alignment, mode, state)); +} + +void PythonQtWrapper_QIcon::paint(QIcon* theWrappedObject, QPainter* painter, int x, int y, int w, int h, Qt::Alignment alignment, QIcon::Mode mode, QIcon::State state) const +{ + ( theWrappedObject->paint(painter, x, y, w, h, alignment, mode, state)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(window, size, mode, state)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(size, mode, state)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(extent, mode, state)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(w, h, mode, state)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setFallbackSearchPaths(const QStringList& paths) +{ + (QIcon::setFallbackSearchPaths(paths)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setFallbackThemeName(const QString& name) +{ + (QIcon::setFallbackThemeName(name)); +} + +void PythonQtWrapper_QIcon::setIsMask(QIcon* theWrappedObject, bool isMask) +{ + ( theWrappedObject->setIsMask(isMask)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setThemeName(const QString& path) +{ + (QIcon::setThemeName(path)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setThemeSearchPaths(const QStringList& searchpath) +{ + (QIcon::setThemeSearchPaths(searchpath)); +} + +void PythonQtWrapper_QIcon::swap(QIcon* theWrappedObject, QIcon& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QIcon::static_QIcon_themeName() +{ + return (QIcon::themeName()); +} + +QStringList PythonQtWrapper_QIcon::static_QIcon_themeSearchPaths() +{ + return (QIcon::themeSearchPaths()); +} + +QString PythonQtWrapper_QIcon::py_toString(QIcon* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QImage::~PythonQtShell_QImage() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QImage::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 QImage::devType(); +} +void PythonQtShell_QImage::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(); + } + } +} + QImage::initPainter(painter0); +} +int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImage::metric(metric0); +} +QPaintEngine* PythonQtShell_QImage::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImage::paintEngine(); +} +QPaintDevice* PythonQtShell_QImage::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 QImage::redirected(offset0); +} +QPainter* PythonQtShell_QImage::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 QImage::sharedPainter(); +} +QImage* PythonQtWrapper_QImage::new_QImage() +{ +return new PythonQtShell_QImage(); } + +QImage* PythonQtWrapper_QImage::new_QImage(const QImage& arg__1) +{ +return new PythonQtShell_QImage(arg__1); } + +QImage* PythonQtWrapper_QImage::new_QImage(const QSize& size, QImage::Format format) +{ +return new PythonQtShell_QImage(size, format); } + +QImage* PythonQtWrapper_QImage::new_QImage(const QString& fileName, const char* format) +{ +return new PythonQtShell_QImage(fileName, format); } + +QImage* PythonQtWrapper_QImage::new_QImage(int width, int height, QImage::Format format) +{ +return new PythonQtShell_QImage(width, height, format); } + +bool PythonQtWrapper_QImage::allGray(QImage* theWrappedObject) const +{ + return ( theWrappedObject->allGray()); +} + +QImage PythonQtWrapper_QImage::alphaChannel(QImage* theWrappedObject) const +{ + return ( theWrappedObject->alphaChannel()); +} + +void PythonQtWrapper_QImage::applyColorTransform(QImage* theWrappedObject, const QColorTransform& transform) +{ + ( theWrappedObject->applyColorTransform(transform)); +} + +int PythonQtWrapper_QImage::bitPlaneCount(QImage* theWrappedObject) const +{ + return ( theWrappedObject->bitPlaneCount()); +} + +int PythonQtWrapper_QImage::byteCount(QImage* theWrappedObject) const +{ + return ( theWrappedObject->byteCount()); +} + +int PythonQtWrapper_QImage::bytesPerLine(QImage* theWrappedObject) const +{ + return ( theWrappedObject->bytesPerLine()); +} + +qint64 PythonQtWrapper_QImage::cacheKey(QImage* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +unsigned int PythonQtWrapper_QImage::color(QImage* theWrappedObject, int i) const +{ + return ( theWrappedObject->color(i)); +} + +int PythonQtWrapper_QImage::colorCount(QImage* theWrappedObject) const +{ + return ( theWrappedObject->colorCount()); +} + +QColorSpace PythonQtWrapper_QImage::colorSpace(QImage* theWrappedObject) const +{ + return ( theWrappedObject->colorSpace()); +} + +QVector PythonQtWrapper_QImage::colorTable(QImage* theWrappedObject) const +{ + return ( theWrappedObject->colorTable()); +} + +void PythonQtWrapper_QImage::convertTo(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->convertTo(f, flags)); +} + +void PythonQtWrapper_QImage::convertToColorSpace(QImage* theWrappedObject, const QColorSpace& arg__1) +{ + ( theWrappedObject->convertToColorSpace(arg__1)); +} + +QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags) const +{ + return ( theWrappedObject->convertToFormat(f, flags)); +} + +QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector& colorTable, Qt::ImageConversionFlags flags) const +{ + return ( theWrappedObject->convertToFormat(f, colorTable, flags)); +} + +QImage PythonQtWrapper_QImage::convertToFormat_helper(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_convertToFormat_helper(format, flags)); +} + +bool PythonQtWrapper_QImage::convertToFormat_inplace(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags) +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_convertToFormat_inplace(format, flags)); +} + +QImage PythonQtWrapper_QImage::convertedToColorSpace(QImage* theWrappedObject, const QColorSpace& arg__1) const +{ + return ( theWrappedObject->convertedToColorSpace(arg__1)); +} + +QImage PythonQtWrapper_QImage::copy(QImage* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->copy(rect)); +} + +QImage PythonQtWrapper_QImage::copy(QImage* theWrappedObject, int x, int y, int w, int h) const +{ + return ( theWrappedObject->copy(x, y, w, h)); +} + +QImage PythonQtWrapper_QImage::createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags) const +{ + return ( theWrappedObject->createAlphaMask(flags)); +} + +QImage PythonQtWrapper_QImage::createHeuristicMask(QImage* theWrappedObject, bool clipTight) const +{ + return ( theWrappedObject->createHeuristicMask(clipTight)); +} + +QImage PythonQtWrapper_QImage::createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode) const +{ + return ( theWrappedObject->createMaskFromColor(color, mode)); +} + +int PythonQtWrapper_QImage::depth(QImage* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +qreal PythonQtWrapper_QImage::devicePixelRatio(QImage* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +int PythonQtWrapper_QImage::dotsPerMeterX(QImage* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterX()); +} + +int PythonQtWrapper_QImage::dotsPerMeterY(QImage* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterY()); +} + +void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, Qt::GlobalColor color) +{ + ( theWrappedObject->fill(color)); +} + +void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->fill(color)); +} + +void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, uint pixel) +{ + ( theWrappedObject->fill(pixel)); +} + +QImage::Format PythonQtWrapper_QImage::format(QImage* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QImage PythonQtWrapper_QImage::static_QImage_fromData(const QByteArray& data, const char* format) +{ + return (QImage::fromData(data, format)); +} + +bool PythonQtWrapper_QImage::hasAlphaChannel(QImage* theWrappedObject) const +{ + return ( theWrappedObject->hasAlphaChannel()); +} + +int PythonQtWrapper_QImage::height(QImage* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +void PythonQtWrapper_QImage::invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1) +{ + ( theWrappedObject->invertPixels(arg__1)); +} + +bool PythonQtWrapper_QImage::isGrayscale(QImage* theWrappedObject) const +{ + return ( theWrappedObject->isGrayscale()); +} + +bool PythonQtWrapper_QImage::isNull(QImage* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, QIODevice* device, const char* format) +{ + return ( theWrappedObject->load(device, format)); +} + +bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, const QString& fileName, const char* format) +{ + return ( theWrappedObject->load(fileName, format)); +} + +bool PythonQtWrapper_QImage::loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat) +{ + return ( theWrappedObject->loadFromData(data, aformat)); +} + +QImage PythonQtWrapper_QImage::mirrored(QImage* theWrappedObject, bool horizontally, bool vertically) const +{ + return ( theWrappedObject->mirrored(horizontally, vertically)); +} + +QImage PythonQtWrapper_QImage::mirrored_helper(QImage* theWrappedObject, bool horizontal, bool vertical) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_mirrored_helper(horizontal, vertical)); +} + +void PythonQtWrapper_QImage::mirrored_inplace(QImage* theWrappedObject, bool horizontal, bool vertical) +{ + ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_mirrored_inplace(horizontal, vertical)); +} + +QPoint PythonQtWrapper_QImage::offset(QImage* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +bool PythonQtWrapper_QImage::__ne__(QImage* theWrappedObject, const QImage& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +void PythonQtWrapper_QImage::writeTo(QImage* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QImage::__eq__(QImage* theWrappedObject, const QImage& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QImage::readFrom(QImage* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->pixel(pt)); +} + +unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->pixel(x, y)); +} + +QColor PythonQtWrapper_QImage::pixelColor(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->pixelColor(pt)); +} + +QColor PythonQtWrapper_QImage::pixelColor(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->pixelColor(x, y)); +} + +QPixelFormat PythonQtWrapper_QImage::pixelFormat(QImage* theWrappedObject) const +{ + return ( theWrappedObject->pixelFormat()); +} + +int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->pixelIndex(pt)); +} + +int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->pixelIndex(x, y)); +} + +QRect PythonQtWrapper_QImage::rect(QImage* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +bool PythonQtWrapper_QImage::reinterpretAsFormat(QImage* theWrappedObject, QImage::Format f) +{ + return ( theWrappedObject->reinterpretAsFormat(f)); +} + +QImage PythonQtWrapper_QImage::rgbSwapped(QImage* theWrappedObject) const +{ + return ( theWrappedObject->rgbSwapped()); +} + +QImage PythonQtWrapper_QImage::rgbSwapped_helper(QImage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_rgbSwapped_helper()); +} + +void PythonQtWrapper_QImage::rgbSwapped_inplace(QImage* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_rgbSwapped_inplace()); +} + +bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, QIODevice* device, const char* format, int quality) const +{ + return ( theWrappedObject->save(device, format, quality)); +} + +bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, const QString& fileName, const char* format, int quality) const +{ + return ( theWrappedObject->save(fileName, format, quality)); +} + +QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaled(s, aspectMode, mode)); +} + +QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaled(w, h, aspectMode, mode)); +} + +QImage PythonQtWrapper_QImage::scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToHeight(h, mode)); +} + +QImage PythonQtWrapper_QImage::scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToWidth(w, mode)); +} + +void PythonQtWrapper_QImage::setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel) +{ + ( theWrappedObject->setAlphaChannel(alphaChannel)); +} + +void PythonQtWrapper_QImage::setColor(QImage* theWrappedObject, int i, unsigned int c) +{ + ( theWrappedObject->setColor(i, c)); +} + +void PythonQtWrapper_QImage::setColorCount(QImage* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setColorCount(arg__1)); +} + +void PythonQtWrapper_QImage::setColorSpace(QImage* theWrappedObject, const QColorSpace& arg__1) +{ + ( theWrappedObject->setColorSpace(arg__1)); +} + +void PythonQtWrapper_QImage::setDevicePixelRatio(QImage* theWrappedObject, qreal scaleFactor) +{ + ( theWrappedObject->setDevicePixelRatio(scaleFactor)); +} + +void PythonQtWrapper_QImage::setDotsPerMeterX(QImage* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setDotsPerMeterX(arg__1)); +} + +void PythonQtWrapper_QImage::setDotsPerMeterY(QImage* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setDotsPerMeterY(arg__1)); +} + +void PythonQtWrapper_QImage::setOffset(QImage* theWrappedObject, const QPoint& arg__1) +{ + ( theWrappedObject->setOffset(arg__1)); +} + +void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb) +{ + ( theWrappedObject->setPixel(pt, index_or_rgb)); +} + +void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb) +{ + ( theWrappedObject->setPixel(x, y, index_or_rgb)); +} + +void PythonQtWrapper_QImage::setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c) +{ + ( theWrappedObject->setPixelColor(pt, c)); +} + +void PythonQtWrapper_QImage::setPixelColor(QImage* theWrappedObject, int x, int y, const QColor& c) +{ + ( theWrappedObject->setPixelColor(x, y, c)); +} + +void PythonQtWrapper_QImage::setText(QImage* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->setText(key, value)); +} + +QSize PythonQtWrapper_QImage::size(QImage* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +qsizetype PythonQtWrapper_QImage::sizeInBytes(QImage* theWrappedObject) const +{ + return ( theWrappedObject->sizeInBytes()); +} + +QImage PythonQtWrapper_QImage::smoothScaled(QImage* theWrappedObject, int w, int h) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_smoothScaled(w, h)); +} + +void PythonQtWrapper_QImage::swap(QImage* theWrappedObject, QImage& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QImage::text(QImage* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->text(key)); +} + +QStringList PythonQtWrapper_QImage::textKeys(QImage* theWrappedObject) const +{ + return ( theWrappedObject->textKeys()); +} + +QImage::Format PythonQtWrapper_QImage::static_QImage_toImageFormat(QPixelFormat format) +{ + return (QImage::toImageFormat(format)); +} + +QPixelFormat PythonQtWrapper_QImage::static_QImage_toPixelFormat(QImage::Format format) +{ + return (QImage::toPixelFormat(format)); +} + +QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->transformed(matrix, mode)); +} + +QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->transformed(matrix, mode)); +} + +QMatrix PythonQtWrapper_QImage::static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h) +{ + return (QImage::trueMatrix(arg__1, w, h)); +} + +QTransform PythonQtWrapper_QImage::static_QImage_trueMatrix(const QTransform& arg__1, int w, int h) +{ + return (QImage::trueMatrix(arg__1, w, h)); +} + +bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->valid(pt)); +} + +bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->valid(x, y)); +} + +int PythonQtWrapper_QImage::width(QImage* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QImage::py_toString(QImage* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence() +{ +return new QKeySequence(); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(QKeySequence::StandardKey key) +{ +return new QKeySequence(key); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QKeySequence& ks) +{ +return new QKeySequence(ks); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(const QString& key, QKeySequence::SequenceFormat format) +{ +return new QKeySequence(key, format); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(int k1, int k2, int k3, int k4) +{ +return new QKeySequence(k1, k2, k3, k4); } + +int PythonQtWrapper_QKeySequence::count(QKeySequence* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format) +{ + return (QKeySequence::fromString(str, format)); +} + +bool PythonQtWrapper_QKeySequence::isEmpty(QKeySequence* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QList PythonQtWrapper_QKeySequence::static_QKeySequence_keyBindings(QKeySequence::StandardKey key) +{ + return (QKeySequence::keyBindings(key)); +} + +QList PythonQtWrapper_QKeySequence::static_QKeySequence_listFromString(const QString& str, QKeySequence::SequenceFormat format) +{ + return (QKeySequence::listFromString(str, format)); +} + +QString PythonQtWrapper_QKeySequence::static_QKeySequence_listToString(const QList& list, QKeySequence::SequenceFormat format) +{ + return (QKeySequence::listToString(list, format)); +} + +QKeySequence::SequenceMatch PythonQtWrapper_QKeySequence::matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const +{ + return ( theWrappedObject->matches(seq)); +} + +QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_mnemonic(const QString& text) +{ + return (QKeySequence::mnemonic(text)); +} + +bool PythonQtWrapper_QKeySequence::__ne__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QKeySequence::__lt__(QKeySequence* theWrappedObject, const QKeySequence& ks) const +{ + return ( (*theWrappedObject)< ks); +} + +void PythonQtWrapper_QKeySequence::writeTo(QKeySequence* theWrappedObject, QDataStream& in) +{ + in << (*theWrappedObject); +} + +bool PythonQtWrapper_QKeySequence::__le__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QKeySequence::__eq__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QKeySequence::__gt__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QKeySequence::__ge__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +int PythonQtWrapper_QKeySequence::operator_subscript(QKeySequence* theWrappedObject, uint i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QKeySequence::swap(QKeySequence* theWrappedObject, QKeySequence& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QKeySequence::toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QKeySequence::py_toString(QKeySequence* obj) { return obj->toString(); } + + +QMatrix* PythonQtWrapper_QMatrix::new_QMatrix() +{ +return new QMatrix(); } + +QMatrix* PythonQtWrapper_QMatrix::new_QMatrix(const QMatrix& other) +{ +return new QMatrix(other); } + +QMatrix* PythonQtWrapper_QMatrix::new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) +{ +return new QMatrix(m11, m12, m21, m22, dx, dy); } + +qreal PythonQtWrapper_QMatrix::determinant(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->determinant()); +} + +qreal PythonQtWrapper_QMatrix::dx(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +qreal PythonQtWrapper_QMatrix::dy(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +QMatrix PythonQtWrapper_QMatrix::inverted(QMatrix* theWrappedObject, bool* invertible) const +{ + return ( theWrappedObject->inverted(invertible)); +} + +bool PythonQtWrapper_QMatrix::isIdentity(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +bool PythonQtWrapper_QMatrix::isInvertible(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->isInvertible()); +} + +qreal PythonQtWrapper_QMatrix::m11(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m11()); +} + +qreal PythonQtWrapper_QMatrix::m12(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m12()); +} + +qreal PythonQtWrapper_QMatrix::m21(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m21()); +} + +qreal PythonQtWrapper_QMatrix::m22(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m22()); +} + +QLine PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QLine& l) const +{ + return ( theWrappedObject->map(l)); +} + +QLineF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QLineF& l) const +{ + return ( theWrappedObject->map(l)); +} + +QPainterPath PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPoint PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPointF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPolygon PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPolygon& a) const +{ + return ( theWrappedObject->map(a)); +} + +QPolygonF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPolygonF& a) const +{ + return ( theWrappedObject->map(a)); +} + +QRegion PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->map(r)); +} + +QRect PythonQtWrapper_QMatrix::mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QRectF PythonQtWrapper_QMatrix::mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QPolygon PythonQtWrapper_QMatrix::mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->mapToPolygon(r)); +} + +bool PythonQtWrapper_QMatrix::__ne__(QMatrix* theWrappedObject, const QMatrix& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QMatrix PythonQtWrapper_QMatrix::__mul__(QMatrix* theWrappedObject, const QMatrix& o) const +{ + return ( (*theWrappedObject)* o); +} + +QMatrix* PythonQtWrapper_QMatrix::__imul__(QMatrix* theWrappedObject, const QMatrix& arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +void PythonQtWrapper_QMatrix::writeTo(QMatrix* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMatrix::__eq__(QMatrix* theWrappedObject, const QMatrix& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QMatrix::readFrom(QMatrix* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QMatrix::reset(QMatrix* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QMatrix* PythonQtWrapper_QMatrix::rotate(QMatrix* theWrappedObject, qreal a) +{ + return &( theWrappedObject->rotate(a)); +} + +QMatrix* PythonQtWrapper_QMatrix::scale(QMatrix* theWrappedObject, qreal sx, qreal sy) +{ + return &( theWrappedObject->scale(sx, sy)); +} + +void PythonQtWrapper_QMatrix::setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) +{ + ( theWrappedObject->setMatrix(m11, m12, m21, m22, dx, dy)); +} + +QMatrix* PythonQtWrapper_QMatrix::shear(QMatrix* theWrappedObject, qreal sh, qreal sv) +{ + return &( theWrappedObject->shear(sh, sv)); +} + +QMatrix* PythonQtWrapper_QMatrix::translate(QMatrix* theWrappedObject, qreal dx, qreal dy) +{ + return &( theWrappedObject->translate(dx, dy)); +} + +QString PythonQtWrapper_QMatrix::py_toString(QMatrix* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4() +{ +return new QMatrix4x4(); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const QMatrix& matrix) +{ +return new QMatrix4x4(matrix); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const QTransform& transform) +{ +return new QMatrix4x4(transform); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const float* values) +{ +return new QMatrix4x4(values); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const float* values, int cols, int rows) +{ +return new QMatrix4x4(values, cols, rows); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44) +{ +return new QMatrix4x4(m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44); } + +QVector4D PythonQtWrapper_QMatrix4x4::column(QMatrix4x4* theWrappedObject, int index) const +{ + return ( theWrappedObject->column(index)); +} + +const float* PythonQtWrapper_QMatrix4x4::constData(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->constData()); +} + +void PythonQtWrapper_QMatrix4x4::copyDataTo(QMatrix4x4* theWrappedObject, float* values) const +{ + ( theWrappedObject->copyDataTo(values)); +} + +float* PythonQtWrapper_QMatrix4x4::data(QMatrix4x4* theWrappedObject) +{ + return ( theWrappedObject->data()); +} + +double PythonQtWrapper_QMatrix4x4::determinant(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->determinant()); +} + +void PythonQtWrapper_QMatrix4x4::fill(QMatrix4x4* theWrappedObject, float value) +{ + ( theWrappedObject->fill(value)); +} + +void PythonQtWrapper_QMatrix4x4::flipCoordinates(QMatrix4x4* theWrappedObject) +{ + ( theWrappedObject->flipCoordinates()); +} + +void PythonQtWrapper_QMatrix4x4::frustum(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +{ + ( theWrappedObject->frustum(left, right, bottom, top, nearPlane, farPlane)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::inverted(QMatrix4x4* theWrappedObject, bool* invertible) const +{ + return ( theWrappedObject->inverted(invertible)); +} + +bool PythonQtWrapper_QMatrix4x4::isAffine(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->isAffine()); +} + +bool PythonQtWrapper_QMatrix4x4::isIdentity(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +void PythonQtWrapper_QMatrix4x4::lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up) +{ + ( theWrappedObject->lookAt(eye, center, up)); +} + +QPoint PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->map(point)); +} + +QPointF PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->map(point)); +} + +QVector3D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector3D& point) const +{ + return ( theWrappedObject->map(point)); +} + +QVector4D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector4D& point) const +{ + return ( theWrappedObject->map(point)); +} + +QRect PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->mapRect(rect)); +} + +QRectF PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRect(rect)); +} + +QVector3D PythonQtWrapper_QMatrix4x4::mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const +{ + return ( theWrappedObject->mapVector(vector)); +} + +bool PythonQtWrapper_QMatrix4x4::__ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +{ + return ( (*theWrappedObject)!= other); +} + +float* PythonQtWrapper_QMatrix4x4::operator_cast_(QMatrix4x4* theWrappedObject, int row, int column) +{ + return &( theWrappedObject->operator()(row, column)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +{ + return ( (*theWrappedObject)* m2); +} + +QPoint PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPoint& point) +{ + return ( (*theWrappedObject)* point); +} + +QPointF PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPointF& point) +{ + return ( (*theWrappedObject)* point); +} + +QVector3D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector) +{ + return ( (*theWrappedObject)* vector); +} + +QVector4D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector) +{ + return ( (*theWrappedObject)* vector); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +{ + return &( (*theWrappedObject)*= other); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +{ + return ( (*theWrappedObject)+ m2); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +{ + return &( (*theWrappedObject)+= other); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__sub__(QMatrix4x4* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +{ + return ( (*theWrappedObject)- m2); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +{ + return &( (*theWrappedObject)-= other); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__div__(QMatrix4x4* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__idiv__(QMatrix4x4* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QMatrix4x4::writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMatrix4x4::__eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QMatrix4x4::readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QMatrix4x4::optimize(QMatrix4x4* theWrappedObject) +{ + ( theWrappedObject->optimize()); +} + +void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->ortho(rect)); +} + +void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->ortho(rect)); +} + +void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +{ + ( theWrappedObject->ortho(left, right, bottom, top, nearPlane, farPlane)); +} + +void PythonQtWrapper_QMatrix4x4::perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane) +{ + ( theWrappedObject->perspective(verticalAngle, aspectRatio, nearPlane, farPlane)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion) +{ + ( theWrappedObject->rotate(quaternion)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector) +{ + ( theWrappedObject->rotate(angle, vector)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z) +{ + ( theWrappedObject->rotate(angle, x, y, z)); +} + +QVector4D PythonQtWrapper_QMatrix4x4::row(QMatrix4x4* theWrappedObject, int index) const +{ + return ( theWrappedObject->row(index)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->scale(vector)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float factor) +{ + ( theWrappedObject->scale(factor)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y) +{ + ( theWrappedObject->scale(x, y)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y, float z) +{ + ( theWrappedObject->scale(x, y, z)); +} + +void PythonQtWrapper_QMatrix4x4::setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +{ + ( theWrappedObject->setColumn(index, value)); +} + +void PythonQtWrapper_QMatrix4x4::setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +{ + ( theWrappedObject->setRow(index, value)); +} + +void PythonQtWrapper_QMatrix4x4::setToIdentity(QMatrix4x4* theWrappedObject) +{ + ( theWrappedObject->setToIdentity()); +} + +QMatrix PythonQtWrapper_QMatrix4x4::toAffine(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->toAffine()); +} + +QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->toTransform()); +} + +QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const +{ + return ( theWrappedObject->toTransform(distanceToPlane)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->translate(vector)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y) +{ + ( theWrappedObject->translate(x, y)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y, float z) +{ + ( theWrappedObject->translate(x, y, z)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::transposed(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->viewport(rect)); +} + +void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane, float farPlane) +{ + ( theWrappedObject->viewport(left, bottom, width, height, nearPlane, farPlane)); +} + +QString PythonQtWrapper_QMatrix4x4::py_toString(QMatrix4x4* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPalette* PythonQtWrapper_QPalette::new_QPalette() +{ +return new QPalette(); } + +QPalette* PythonQtWrapper_QPalette::new_QPalette(Qt::GlobalColor button) +{ +return new QPalette(button); } + +QPalette* PythonQtWrapper_QPalette::new_QPalette(const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window) +{ +return new QPalette(windowText, button, light, dark, mid, text, bright_text, base, window); } + +QPalette* PythonQtWrapper_QPalette::new_QPalette(const QColor& button) +{ +return new QPalette(button); } + +QPalette* PythonQtWrapper_QPalette::new_QPalette(const QColor& button, const QColor& window) +{ +return new QPalette(button, window); } + +QPalette* PythonQtWrapper_QPalette::new_QPalette(const QPalette& palette) +{ +return new QPalette(palette); } + +const QBrush* PythonQtWrapper_QPalette::alternateBase(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->alternateBase()); +} + +const QBrush* PythonQtWrapper_QPalette::base(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->base()); +} + +const QBrush* PythonQtWrapper_QPalette::brightText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->brightText()); +} + +const QBrush* PythonQtWrapper_QPalette::brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->brush(cg, cr)); +} + +const QBrush* PythonQtWrapper_QPalette::brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->brush(cr)); +} + +const QBrush* PythonQtWrapper_QPalette::button(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->button()); +} + +const QBrush* PythonQtWrapper_QPalette::buttonText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->buttonText()); +} + +qint64 PythonQtWrapper_QPalette::cacheKey(QPalette* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +const QColor* PythonQtWrapper_QPalette::color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->color(cg, cr)); +} + +const QColor* PythonQtWrapper_QPalette::color(QPalette* theWrappedObject, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->color(cr)); +} + +QPalette::ColorGroup PythonQtWrapper_QPalette::currentColorGroup(QPalette* theWrappedObject) const +{ + return ( theWrappedObject->currentColorGroup()); +} + +const QBrush* PythonQtWrapper_QPalette::dark(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->dark()); +} + +const QBrush* PythonQtWrapper_QPalette::highlight(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->highlight()); +} + +const QBrush* PythonQtWrapper_QPalette::highlightedText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->highlightedText()); +} + +bool PythonQtWrapper_QPalette::isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const +{ + return ( theWrappedObject->isBrushSet(cg, cr)); +} + +bool PythonQtWrapper_QPalette::isCopyOf(QPalette* theWrappedObject, const QPalette& p) const +{ + return ( theWrappedObject->isCopyOf(p)); +} + +bool PythonQtWrapper_QPalette::isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const +{ + return ( theWrappedObject->isEqual(cr1, cr2)); +} + +const QBrush* PythonQtWrapper_QPalette::light(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->light()); +} + +const QBrush* PythonQtWrapper_QPalette::link(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->link()); +} + +const QBrush* PythonQtWrapper_QPalette::linkVisited(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->linkVisited()); +} + +const QBrush* PythonQtWrapper_QPalette::mid(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->mid()); +} + +const QBrush* PythonQtWrapper_QPalette::midlight(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->midlight()); +} + +bool PythonQtWrapper_QPalette::__ne__(QPalette* theWrappedObject, const QPalette& p) const +{ + return ( (*theWrappedObject)!= p); +} + +void PythonQtWrapper_QPalette::writeTo(QPalette* theWrappedObject, QDataStream& ds) +{ + ds << (*theWrappedObject); +} + +bool PythonQtWrapper_QPalette::__eq__(QPalette* theWrappedObject, const QPalette& p) const +{ + return ( (*theWrappedObject)== p); +} + +void PythonQtWrapper_QPalette::readFrom(QPalette* theWrappedObject, QDataStream& ds) +{ + ds >> (*theWrappedObject); +} + +const QBrush* PythonQtWrapper_QPalette::placeholderText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->placeholderText()); +} + +uint PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject) const +{ + return ( theWrappedObject->resolve()); +} + +QPalette PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject, const QPalette& arg__1) const +{ + return ( theWrappedObject->resolve(arg__1)); +} + +void PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject, uint mask) +{ + ( theWrappedObject->resolve(mask)); +} + +void PythonQtWrapper_QPalette::setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush) +{ + ( theWrappedObject->setBrush(cg, cr, brush)); +} + +void PythonQtWrapper_QPalette::setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush) +{ + ( theWrappedObject->setBrush(cr, brush)); +} + +void PythonQtWrapper_QPalette::setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color) +{ + ( theWrappedObject->setColor(cg, cr, color)); +} + +void PythonQtWrapper_QPalette::setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color) +{ + ( theWrappedObject->setColor(cr, color)); +} + +void PythonQtWrapper_QPalette::setColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cr, const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window) +{ + ( theWrappedObject->setColorGroup(cr, windowText, button, light, dark, mid, text, bright_text, base, window)); +} + +void PythonQtWrapper_QPalette::setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg) +{ + ( theWrappedObject->setCurrentColorGroup(cg)); +} + +const QBrush* PythonQtWrapper_QPalette::shadow(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->shadow()); +} + +void PythonQtWrapper_QPalette::swap(QPalette* theWrappedObject, QPalette& other) +{ + ( theWrappedObject->swap(other)); +} + +const QBrush* PythonQtWrapper_QPalette::text(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->text()); +} + +const QBrush* PythonQtWrapper_QPalette::toolTipBase(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->toolTipBase()); +} + +const QBrush* PythonQtWrapper_QPalette::toolTipText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->toolTipText()); +} + +const QBrush* PythonQtWrapper_QPalette::window(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->window()); +} + +const QBrush* PythonQtWrapper_QPalette::windowText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->windowText()); +} + +QString PythonQtWrapper_QPalette::py_toString(QPalette* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPen* PythonQtWrapper_QPen::new_QPen() +{ +return new QPen(); } + +QPen* PythonQtWrapper_QPen::new_QPen(Qt::PenStyle arg__1) +{ +return new QPen(arg__1); } + +QPen* PythonQtWrapper_QPen::new_QPen(const QBrush& brush, qreal width, Qt::PenStyle s, Qt::PenCapStyle c, Qt::PenJoinStyle j) +{ +return new QPen(brush, width, s, c, j); } + +QPen* PythonQtWrapper_QPen::new_QPen(const QColor& color) +{ +return new QPen(color); } + +QPen* PythonQtWrapper_QPen::new_QPen(const QPen& pen) +{ +return new QPen(pen); } + +QBrush PythonQtWrapper_QPen::brush(QPen* theWrappedObject) const +{ + return ( theWrappedObject->brush()); +} + +Qt::PenCapStyle PythonQtWrapper_QPen::capStyle(QPen* theWrappedObject) const +{ + return ( theWrappedObject->capStyle()); +} + +QColor PythonQtWrapper_QPen::color(QPen* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +qreal PythonQtWrapper_QPen::dashOffset(QPen* theWrappedObject) const +{ + return ( theWrappedObject->dashOffset()); +} + +QVector PythonQtWrapper_QPen::dashPattern(QPen* theWrappedObject) const +{ + return ( theWrappedObject->dashPattern()); +} + +bool PythonQtWrapper_QPen::isCosmetic(QPen* theWrappedObject) const +{ + return ( theWrappedObject->isCosmetic()); +} + +bool PythonQtWrapper_QPen::isSolid(QPen* theWrappedObject) const +{ + return ( theWrappedObject->isSolid()); +} + +Qt::PenJoinStyle PythonQtWrapper_QPen::joinStyle(QPen* theWrappedObject) const +{ + return ( theWrappedObject->joinStyle()); +} + +qreal PythonQtWrapper_QPen::miterLimit(QPen* theWrappedObject) const +{ + return ( theWrappedObject->miterLimit()); +} + +bool PythonQtWrapper_QPen::__ne__(QPen* theWrappedObject, const QPen& p) const +{ + return ( (*theWrappedObject)!= p); +} + +void PythonQtWrapper_QPen::writeTo(QPen* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPen::__eq__(QPen* theWrappedObject, const QPen& p) const +{ + return ( (*theWrappedObject)== p); +} + +void PythonQtWrapper_QPen::readFrom(QPen* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QPen::setBrush(QPen* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBrush(brush)); +} + +void PythonQtWrapper_QPen::setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs) +{ + ( theWrappedObject->setCapStyle(pcs)); +} + +void PythonQtWrapper_QPen::setColor(QPen* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QPen::setCosmetic(QPen* theWrappedObject, bool cosmetic) +{ + ( theWrappedObject->setCosmetic(cosmetic)); +} + +void PythonQtWrapper_QPen::setDashOffset(QPen* theWrappedObject, qreal doffset) +{ + ( theWrappedObject->setDashOffset(doffset)); +} + +void PythonQtWrapper_QPen::setDashPattern(QPen* theWrappedObject, const QVector& pattern) +{ + ( theWrappedObject->setDashPattern(pattern)); +} + +void PythonQtWrapper_QPen::setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs) +{ + ( theWrappedObject->setJoinStyle(pcs)); +} + +void PythonQtWrapper_QPen::setMiterLimit(QPen* theWrappedObject, qreal limit) +{ + ( theWrappedObject->setMiterLimit(limit)); +} + +void PythonQtWrapper_QPen::setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1) +{ + ( theWrappedObject->setStyle(arg__1)); +} + +void PythonQtWrapper_QPen::setWidth(QPen* theWrappedObject, int width) +{ + ( theWrappedObject->setWidth(width)); +} + +void PythonQtWrapper_QPen::setWidthF(QPen* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidthF(width)); +} + +Qt::PenStyle PythonQtWrapper_QPen::style(QPen* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +void PythonQtWrapper_QPen::swap(QPen* theWrappedObject, QPen& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QPen::width(QPen* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +qreal PythonQtWrapper_QPen::widthF(QPen* theWrappedObject) const +{ + return ( theWrappedObject->widthF()); +} + +QString PythonQtWrapper_QPen::py_toString(QPen* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QPixmap::~PythonQtShell_QPixmap() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPixmap::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 QPixmap::devType(); +} +void PythonQtShell_QPixmap::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(); + } + } +} + QPixmap::initPainter(painter0); +} +int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPixmap::metric(arg__1); +} +QPaintEngine* PythonQtShell_QPixmap::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPixmap::paintEngine(); +} +QPaintDevice* PythonQtShell_QPixmap::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 QPixmap::redirected(offset0); +} +QPainter* PythonQtShell_QPixmap::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 QPixmap::sharedPainter(); +} +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap() +{ +return new PythonQtShell_QPixmap(); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QPixmap& arg__1) +{ +return new PythonQtShell_QPixmap(arg__1); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QSize& arg__1) +{ +return new PythonQtShell_QPixmap(arg__1); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(const QString& fileName, const char* format, Qt::ImageConversionFlags flags) +{ +return new PythonQtShell_QPixmap(fileName, format, flags); } + +QPixmap* PythonQtWrapper_QPixmap::new_QPixmap(int w, int h) +{ +return new PythonQtShell_QPixmap(w, h); } + +qint64 PythonQtWrapper_QPixmap::cacheKey(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +bool PythonQtWrapper_QPixmap::convertFromImage(QPixmap* theWrappedObject, const QImage& img, Qt::ImageConversionFlags flags) +{ + return ( theWrappedObject->convertFromImage(img, flags)); +} + +QPixmap PythonQtWrapper_QPixmap::copy(QPixmap* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->copy(rect)); +} + +QPixmap PythonQtWrapper_QPixmap::copy(QPixmap* theWrappedObject, int x, int y, int width, int height) const +{ + return ( theWrappedObject->copy(x, y, width, height)); +} + +QBitmap PythonQtWrapper_QPixmap::createHeuristicMask(QPixmap* theWrappedObject, bool clipTight) const +{ + return ( theWrappedObject->createHeuristicMask(clipTight)); +} + +QBitmap PythonQtWrapper_QPixmap::createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode) const +{ + return ( theWrappedObject->createMaskFromColor(maskColor, mode)); +} + +int PythonQtWrapper_QPixmap::static_QPixmap_defaultDepth() +{ + return (QPixmap::defaultDepth()); +} + +int PythonQtWrapper_QPixmap::depth(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +qreal PythonQtWrapper_QPixmap::devicePixelRatio(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QColor& fillColor) +{ + ( theWrappedObject->fill(fillColor)); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QPaintDevice* device, const QPoint& ofs) +{ + ( theWrappedObject->fill(device, ofs)); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QPaintDevice* device, int xofs, int yofs) +{ + ( theWrappedObject->fill(device, xofs, yofs)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) +{ + return (QPixmap::fromImage(image, flags)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_fromImageReader(QImageReader* imageReader, Qt::ImageConversionFlags flags) +{ + return (QPixmap::fromImageReader(imageReader, flags)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QObject* widget, const QRect& rect) +{ + return (QPixmap::grabWidget(widget, rect)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QObject* widget, int x, int y, int w, int h) +{ + return (QPixmap::grabWidget(widget, x, y, w, h)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWindow(WId arg__1, int x, int y, int w, int h) +{ + return (QPixmap::grabWindow(arg__1, x, y, w, h)); +} + +bool PythonQtWrapper_QPixmap::hasAlpha(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->hasAlpha()); +} + +bool PythonQtWrapper_QPixmap::hasAlphaChannel(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->hasAlphaChannel()); +} + +int PythonQtWrapper_QPixmap::height(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QPixmap::isNull(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QPixmap::isQBitmap(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->isQBitmap()); +} + +bool PythonQtWrapper_QPixmap::load(QPixmap* theWrappedObject, const QString& fileName, const char* format, Qt::ImageConversionFlags flags) +{ + return ( theWrappedObject->load(fileName, format, flags)); +} + +bool PythonQtWrapper_QPixmap::loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format, Qt::ImageConversionFlags flags) +{ + return ( theWrappedObject->loadFromData(data, format, flags)); +} + +QBitmap PythonQtWrapper_QPixmap::mask(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->mask()); +} + +void PythonQtWrapper_QPixmap::writeTo(QPixmap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QPixmap::readFrom(QPixmap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QRect PythonQtWrapper_QPixmap::rect(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +bool PythonQtWrapper_QPixmap::save(QPixmap* theWrappedObject, QIODevice* device, const char* format, int quality) const +{ + return ( theWrappedObject->save(device, format, quality)); +} + +bool PythonQtWrapper_QPixmap::save(QPixmap* theWrappedObject, const QString& fileName, const char* format, int quality) const +{ + return ( theWrappedObject->save(fileName, format, quality)); +} + +QPixmap PythonQtWrapper_QPixmap::scaled(QPixmap* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaled(s, aspectMode, mode)); +} + +QPixmap PythonQtWrapper_QPixmap::scaled(QPixmap* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaled(w, h, aspectMode, mode)); +} + +QPixmap PythonQtWrapper_QPixmap::scaledToHeight(QPixmap* theWrappedObject, int h, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToHeight(h, mode)); +} + +QPixmap PythonQtWrapper_QPixmap::scaledToWidth(QPixmap* theWrappedObject, int w, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToWidth(w, mode)); +} + +void PythonQtWrapper_QPixmap::scroll(QPixmap* theWrappedObject, int dx, int dy, const QRect& rect, QRegion* exposed) +{ + ( theWrappedObject->scroll(dx, dy, rect, exposed)); +} + +void PythonQtWrapper_QPixmap::scroll(QPixmap* theWrappedObject, int dx, int dy, int x, int y, int width, int height, QRegion* exposed) +{ + ( theWrappedObject->scroll(dx, dy, x, y, width, height, exposed)); +} + +void PythonQtWrapper_QPixmap::setDevicePixelRatio(QPixmap* theWrappedObject, qreal scaleFactor) +{ + ( theWrappedObject->setDevicePixelRatio(scaleFactor)); +} + +void PythonQtWrapper_QPixmap::setMask(QPixmap* theWrappedObject, const QBitmap& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); +} + +QSize PythonQtWrapper_QPixmap::size(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPixmap::swap(QPixmap* theWrappedObject, QPixmap& other) +{ + ( theWrappedObject->swap(other)); +} + +QImage PythonQtWrapper_QPixmap::toImage(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + +QPixmap PythonQtWrapper_QPixmap::transformed(QPixmap* theWrappedObject, const QMatrix& arg__1, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->transformed(arg__1, mode)); +} + +QPixmap PythonQtWrapper_QPixmap::transformed(QPixmap* theWrappedObject, const QTransform& arg__1, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->transformed(arg__1, mode)); +} + +QMatrix PythonQtWrapper_QPixmap::static_QPixmap_trueMatrix(const QMatrix& m, int w, int h) +{ + return (QPixmap::trueMatrix(m, w, h)); +} + +QTransform PythonQtWrapper_QPixmap::static_QPixmap_trueMatrix(const QTransform& m, int w, int h) +{ + return (QPixmap::trueMatrix(m, w, h)); +} + +int PythonQtWrapper_QPixmap::width(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QPixmap::py_toString(QPixmap* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon() +{ +return new QPolygon(); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QPolygon& other) +{ +return new QPolygon(other); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QRect& r, bool closed) +{ +return new QPolygon(r, closed); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QVector& v) +{ +return new QPolygon(v); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(int size) +{ +return new QPolygon(size); } + +void PythonQtWrapper_QPolygon::append(QPolygon* theWrappedObject, const QPoint& t) +{ + ( theWrappedObject->append(t)); +} + +void PythonQtWrapper_QPolygon::append(QPolygon* theWrappedObject, const QVector& l) +{ + ( theWrappedObject->append(l)); +} + +const QPoint* PythonQtWrapper_QPolygon::at(QPolygon* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +QRect PythonQtWrapper_QPolygon::boundingRect(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +int PythonQtWrapper_QPolygon::capacity(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QPolygon::clear(QPolygon* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QPoint* PythonQtWrapper_QPolygon::constFirst(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QPoint* PythonQtWrapper_QPolygon::constLast(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QPolygon::contains(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->contains(t)); +} + +bool PythonQtWrapper_QPolygon::containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const +{ + return ( theWrappedObject->containsPoint(pt, fillRule)); +} + +int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->count(t)); +} + +bool PythonQtWrapper_QPolygon::empty(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QPolygon::endsWith(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +QVector* PythonQtWrapper_QPolygon::fill(QPolygon* theWrappedObject, const QPoint& t, int size) +{ + return &( theWrappedObject->fill(t, size)); +} + +const QPoint* PythonQtWrapper_QPolygon::first(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QVector PythonQtWrapper_QPolygon::static_QPolygon_fromList(const QList& list) +{ + return (QPolygon::fromList(list)); +} + +int PythonQtWrapper_QPolygon::indexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +QPolygon PythonQtWrapper_QPolygon::intersected(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QPolygon::intersects(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QPolygon::isEmpty(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QPolygon::isSharedWith(QPolygon* theWrappedObject, const QVector& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QPoint* PythonQtWrapper_QPolygon::last(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QPolygon::lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QPolygon::length(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QVector PythonQtWrapper_QPolygon::mid(QPolygon* theWrappedObject, int pos, int len) const +{ + return ( theWrappedObject->mid(pos, len)); +} + +void PythonQtWrapper_QPolygon::move(QPolygon* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QPolygon::__ne__(QPolygon* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)!= v); +} + +QPolygon PythonQtWrapper_QPolygon::__mul__(QPolygon* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPolygon PythonQtWrapper_QPolygon::__mul__(QPolygon* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QPolygon::writeTo(QPolygon* theWrappedObject, QDataStream& stream) +{ + stream << (*theWrappedObject); +} + +QPolygon* PythonQtWrapper_QPolygon::operator_assign(QPolygon* theWrappedObject, const QPolygon& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPolygon::__eq__(QPolygon* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)== v); +} + +void PythonQtWrapper_QPolygon::readFrom(QPolygon* theWrappedObject, QDataStream& stream) +{ + stream >> (*theWrappedObject); +} + +void PythonQtWrapper_QPolygon::pop_back(QPolygon* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QPolygon::pop_front(QPolygon* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QPolygon::prepend(QPolygon* theWrappedObject, const QPoint& t) +{ + ( theWrappedObject->prepend(t)); +} + +void PythonQtWrapper_QPolygon::push_back(QPolygon* theWrappedObject, const QPoint& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QPolygon::push_front(QPolygon* theWrappedObject, const QPoint& t) +{ + ( theWrappedObject->push_front(t)); +} + +void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); +} + +void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i, int n) +{ + ( theWrappedObject->remove(i, n)); +} + +int PythonQtWrapper_QPolygon::removeAll(QPolygon* theWrappedObject, const QPoint& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QPolygon::removeAt(QPolygon* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QPolygon::removeFirst(QPolygon* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QPolygon::removeLast(QPolygon* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QPolygon::removeOne(QPolygon* theWrappedObject, const QPoint& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QPolygon::replace(QPolygon* theWrappedObject, int i, const QPoint& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QPolygon::reserve(QPolygon* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QPolygon::resize(QPolygon* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QPolygon::setSharable(QPolygon* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +void PythonQtWrapper_QPolygon::shrink_to_fit(QPolygon* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +int PythonQtWrapper_QPolygon::size(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPolygon::squeeze(QPolygon* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QPolygon::startsWith(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +QPolygon PythonQtWrapper_QPolygon::subtracted(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +void PythonQtWrapper_QPolygon::swap(QPolygon* theWrappedObject, QPolygon& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QPolygon::swapItemsAt(QPolygon* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swapItemsAt(i, j)); +} + +QPoint PythonQtWrapper_QPolygon::takeAt(QPolygon* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QPoint PythonQtWrapper_QPolygon::takeFirst(QPolygon* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QPoint PythonQtWrapper_QPolygon::takeLast(QPolygon* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QList PythonQtWrapper_QPolygon::toList(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->toList()); +} + +void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, const QPoint& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QPolygon PythonQtWrapper_QPolygon::translated(QPolygon* theWrappedObject, const QPoint& offset) const +{ + return ( theWrappedObject->translated(offset)); +} + +QPolygon PythonQtWrapper_QPolygon::translated(QPolygon* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QPolygon PythonQtWrapper_QPolygon::united(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->united(r)); +} + +QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const +{ + return ( theWrappedObject->value(i, defaultValue)); +} + +QString PythonQtWrapper_QPolygon::py_toString(QPolygon* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRegion* PythonQtWrapper_QRegion::new_QRegion() +{ +return new QRegion(); } + +QRegion* PythonQtWrapper_QRegion::new_QRegion(const QBitmap& bitmap) +{ +return new QRegion(bitmap); } + +QRegion* PythonQtWrapper_QRegion::new_QRegion(const QPolygon& pa, Qt::FillRule fillRule) +{ +return new QRegion(pa, fillRule); } + +QRegion* PythonQtWrapper_QRegion::new_QRegion(const QRect& r, QRegion::RegionType t) +{ +return new QRegion(r, t); } + +QRegion* PythonQtWrapper_QRegion::new_QRegion(const QRegion& region) +{ +return new QRegion(region); } + +QRegion* PythonQtWrapper_QRegion::new_QRegion(int x, int y, int w, int h, QRegion::RegionType t) +{ +return new QRegion(x, y, w, h, t); } + +const QRect* PythonQtWrapper_QRegion::begin(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +QRect PythonQtWrapper_QRegion::boundingRect(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +const QRect* PythonQtWrapper_QRegion::cbegin(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->cbegin()); +} + +const QRect* PythonQtWrapper_QRegion::cend(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->cend()); +} + +bool PythonQtWrapper_QRegion::contains(QRegion* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->contains(p)); +} + +bool PythonQtWrapper_QRegion::contains(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->contains(r)); +} + +const QRect* PythonQtWrapper_QRegion::end(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QRegion PythonQtWrapper_QRegion::intersected(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +QRegion PythonQtWrapper_QRegion::intersected(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QRegion::intersects(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRegion::intersects(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRegion::isEmpty(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRegion::isNull(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QRegion::__ne__(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( (*theWrappedObject)!= r); +} + +QRegion PythonQtWrapper_QRegion::__and__(QRegion* theWrappedObject, const QRect& r) const +{ + return ( (*theWrappedObject)& r); +} + +QRegion PythonQtWrapper_QRegion::__mul__(QRegion* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QRegion PythonQtWrapper_QRegion::__mul__(QRegion* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +QRegion PythonQtWrapper_QRegion::__add__(QRegion* theWrappedObject, const QRect& r) const +{ + return ( (*theWrappedObject)+ r); +} + +void PythonQtWrapper_QRegion::writeTo(QRegion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QRegion::__eq__(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( (*theWrappedObject)== r); +} + +void PythonQtWrapper_QRegion::readFrom(QRegion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QRegion::rectCount(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->rectCount()); +} + +QVector PythonQtWrapper_QRegion::rects(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->rects()); +} + +void PythonQtWrapper_QRegion::setRects(QRegion* theWrappedObject, const QRect* rect, int num) +{ + ( theWrappedObject->setRects(rect, num)); +} + +QRegion PythonQtWrapper_QRegion::subtracted(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +void PythonQtWrapper_QRegion::swap(QRegion* theWrappedObject, QRegion& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QRegion::translate(QRegion* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QRegion::translate(QRegion* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QRegion PythonQtWrapper_QRegion::translated(QRegion* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QRegion PythonQtWrapper_QRegion::translated(QRegion* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QRegion PythonQtWrapper_QRegion::united(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->united(r)); +} + +QRegion PythonQtWrapper_QRegion::united(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->united(r)); +} + +QRegion PythonQtWrapper_QRegion::xored(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->xored(r)); +} + +QString PythonQtWrapper_QRegion::py_toString(QRegion* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSizePolicy* PythonQtWrapper_QSizePolicy::new_QSizePolicy() +{ +return new QSizePolicy(); } + +QSizePolicy* PythonQtWrapper_QSizePolicy::new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type) +{ +return new QSizePolicy(horizontal, vertical, type); } + +QSizePolicy::ControlType PythonQtWrapper_QSizePolicy::controlType(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->controlType()); +} + +Qt::Orientations PythonQtWrapper_QSizePolicy::expandingDirections(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->expandingDirections()); +} + +bool PythonQtWrapper_QSizePolicy::hasHeightForWidth(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +bool PythonQtWrapper_QSizePolicy::hasWidthForHeight(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->hasWidthForHeight()); +} + +QSizePolicy::Policy PythonQtWrapper_QSizePolicy::horizontalPolicy(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->horizontalPolicy()); +} + +int PythonQtWrapper_QSizePolicy::horizontalStretch(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->horizontalStretch()); +} + +bool PythonQtWrapper_QSizePolicy::__ne__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const +{ + return ( (*theWrappedObject)!= s); +} + +void PythonQtWrapper_QSizePolicy::writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QSizePolicy::__eq__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const +{ + return ( (*theWrappedObject)== s); +} + +void PythonQtWrapper_QSizePolicy::readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QSizePolicy::retainSizeWhenHidden(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->retainSizeWhenHidden()); +} + +void PythonQtWrapper_QSizePolicy::setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type) +{ + ( theWrappedObject->setControlType(type)); +} + +void PythonQtWrapper_QSizePolicy::setHeightForWidth(QSizePolicy* theWrappedObject, bool b) +{ + ( theWrappedObject->setHeightForWidth(b)); +} + +void PythonQtWrapper_QSizePolicy::setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d) +{ + ( theWrappedObject->setHorizontalPolicy(d)); +} + +void PythonQtWrapper_QSizePolicy::setHorizontalStretch(QSizePolicy* theWrappedObject, int stretchFactor) +{ + ( theWrappedObject->setHorizontalStretch(stretchFactor)); +} + +void PythonQtWrapper_QSizePolicy::setRetainSizeWhenHidden(QSizePolicy* theWrappedObject, bool retainSize) +{ + ( theWrappedObject->setRetainSizeWhenHidden(retainSize)); +} + +void PythonQtWrapper_QSizePolicy::setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d) +{ + ( theWrappedObject->setVerticalPolicy(d)); +} + +void PythonQtWrapper_QSizePolicy::setVerticalStretch(QSizePolicy* theWrappedObject, int stretchFactor) +{ + ( theWrappedObject->setVerticalStretch(stretchFactor)); +} + +void PythonQtWrapper_QSizePolicy::setWidthForHeight(QSizePolicy* theWrappedObject, bool b) +{ + ( theWrappedObject->setWidthForHeight(b)); +} + +void PythonQtWrapper_QSizePolicy::transpose(QSizePolicy* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +QSizePolicy PythonQtWrapper_QSizePolicy::transposed(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QSizePolicy::Policy PythonQtWrapper_QSizePolicy::verticalPolicy(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->verticalPolicy()); +} + +int PythonQtWrapper_QSizePolicy::verticalStretch(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->verticalStretch()); +} + +QString PythonQtWrapper_QSizePolicy::py_toString(QSizePolicy* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat() +{ +return new QTextFormat(); } + +QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(const QTextFormat& rhs) +{ +return new QTextFormat(rhs); } + +QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(int type) +{ +return new QTextFormat(type); } + +QBrush PythonQtWrapper_QTextFormat::background(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +bool PythonQtWrapper_QTextFormat::boolProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->boolProperty(propertyId)); +} + +QBrush PythonQtWrapper_QTextFormat::brushProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->brushProperty(propertyId)); +} + +void PythonQtWrapper_QTextFormat::clearBackground(QTextFormat* theWrappedObject) +{ + ( theWrappedObject->clearBackground()); +} + +void PythonQtWrapper_QTextFormat::clearForeground(QTextFormat* theWrappedObject) +{ + ( theWrappedObject->clearForeground()); +} + +void PythonQtWrapper_QTextFormat::clearProperty(QTextFormat* theWrappedObject, int propertyId) +{ + ( theWrappedObject->clearProperty(propertyId)); +} + +QColor PythonQtWrapper_QTextFormat::colorProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->colorProperty(propertyId)); +} + +qreal PythonQtWrapper_QTextFormat::doubleProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->doubleProperty(propertyId)); +} + +QBrush PythonQtWrapper_QTextFormat::foreground(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +bool PythonQtWrapper_QTextFormat::hasProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->hasProperty(propertyId)); +} + +int PythonQtWrapper_QTextFormat::intProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->intProperty(propertyId)); +} + +bool PythonQtWrapper_QTextFormat::isBlockFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isBlockFormat()); +} + +bool PythonQtWrapper_QTextFormat::isCharFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isCharFormat()); +} + +bool PythonQtWrapper_QTextFormat::isEmpty(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QTextFormat::isFrameFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isFrameFormat()); +} + +bool PythonQtWrapper_QTextFormat::isImageFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isImageFormat()); +} + +bool PythonQtWrapper_QTextFormat::isListFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isListFormat()); +} + +bool PythonQtWrapper_QTextFormat::isTableCellFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isTableCellFormat()); +} + +bool PythonQtWrapper_QTextFormat::isTableFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isTableFormat()); +} + +bool PythonQtWrapper_QTextFormat::isValid(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +Qt::LayoutDirection PythonQtWrapper_QTextFormat::layoutDirection(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +QTextLength PythonQtWrapper_QTextFormat::lengthProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->lengthProperty(propertyId)); +} + +QVector PythonQtWrapper_QTextFormat::lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->lengthVectorProperty(propertyId)); +} + +void PythonQtWrapper_QTextFormat::merge(QTextFormat* theWrappedObject, const QTextFormat& other) +{ + ( theWrappedObject->merge(other)); +} + +int PythonQtWrapper_QTextFormat::objectIndex(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->objectIndex()); +} + +int PythonQtWrapper_QTextFormat::objectType(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->objectType()); +} + +bool PythonQtWrapper_QTextFormat::__ne__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const +{ + return ( (*theWrappedObject)!= rhs); +} + +void PythonQtWrapper_QTextFormat::writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTextFormat::__eq__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QTextFormat::readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPen PythonQtWrapper_QTextFormat::penProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->penProperty(propertyId)); +} + +QMap PythonQtWrapper_QTextFormat::properties(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->properties()); +} + +QVariant PythonQtWrapper_QTextFormat::property(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->property(propertyId)); +} + +int PythonQtWrapper_QTextFormat::propertyCount(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->propertyCount()); +} + +void PythonQtWrapper_QTextFormat::setBackground(QTextFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QTextFormat::setForeground(QTextFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QTextFormat::setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QTextFormat::setObjectIndex(QTextFormat* theWrappedObject, int object) +{ + ( theWrappedObject->setObjectIndex(object)); +} + +void PythonQtWrapper_QTextFormat::setObjectType(QTextFormat* theWrappedObject, int type) +{ + ( theWrappedObject->setObjectType(type)); +} + +void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value) +{ + ( theWrappedObject->setProperty(propertyId, value)); +} + +void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths) +{ + ( theWrappedObject->setProperty(propertyId, lengths)); +} + +QString PythonQtWrapper_QTextFormat::stringProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->stringProperty(propertyId)); +} + +void PythonQtWrapper_QTextFormat::swap(QTextFormat* theWrappedObject, QTextFormat& other) +{ + ( theWrappedObject->swap(other)); +} + +QTextBlockFormat PythonQtWrapper_QTextFormat::toBlockFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toBlockFormat()); +} + +QTextCharFormat PythonQtWrapper_QTextFormat::toCharFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toCharFormat()); +} + +QTextFrameFormat PythonQtWrapper_QTextFormat::toFrameFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toFrameFormat()); +} + +QTextImageFormat PythonQtWrapper_QTextFormat::toImageFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toImageFormat()); +} + +QTextListFormat PythonQtWrapper_QTextFormat::toListFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toListFormat()); +} + +QTextTableCellFormat PythonQtWrapper_QTextFormat::toTableCellFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toTableCellFormat()); +} + +QTextTableFormat PythonQtWrapper_QTextFormat::toTableFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toTableFormat()); +} + +int PythonQtWrapper_QTextFormat::type(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTextFormat::py_toString(QTextFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QTextLength* PythonQtWrapper_QTextLength::new_QTextLength() +{ +return new QTextLength(); } + +QTextLength* PythonQtWrapper_QTextLength::new_QTextLength(QTextLength::Type type, qreal value) +{ +return new QTextLength(type, value); } + +bool PythonQtWrapper_QTextLength::__ne__(QTextLength* theWrappedObject, const QTextLength& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QTextLength::writeTo(QTextLength* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTextLength::__eq__(QTextLength* theWrappedObject, const QTextLength& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QTextLength::readFrom(QTextLength* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +qreal PythonQtWrapper_QTextLength::rawValue(QTextLength* theWrappedObject) const +{ + return ( theWrappedObject->rawValue()); +} + +QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const +{ + return ( theWrappedObject->value(maximumLength)); +} + +QString PythonQtWrapper_QTextLength::py_toString(QTextLength* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QTransform* PythonQtWrapper_QTransform::new_QTransform() +{ +return new QTransform(); } + +QTransform* PythonQtWrapper_QTransform::new_QTransform(const QMatrix& mtx) +{ +return new QTransform(mtx); } + +QTransform* PythonQtWrapper_QTransform::new_QTransform(const QTransform& other) +{ +return new QTransform(other); } + +QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33) +{ +return new QTransform(h11, h12, h13, h21, h22, h23, h31, h32, h33); } + +QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy) +{ +return new QTransform(h11, h12, h21, h22, dx, dy); } + +QTransform PythonQtWrapper_QTransform::adjoint(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->adjoint()); +} + +qreal PythonQtWrapper_QTransform::det(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->det()); +} + +qreal PythonQtWrapper_QTransform::determinant(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->determinant()); +} + +qreal PythonQtWrapper_QTransform::dx(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +qreal PythonQtWrapper_QTransform::dy(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +QTransform PythonQtWrapper_QTransform::static_QTransform_fromScale(qreal dx, qreal dy) +{ + return (QTransform::fromScale(dx, dy)); +} + +QTransform PythonQtWrapper_QTransform::static_QTransform_fromTranslate(qreal dx, qreal dy) +{ + return (QTransform::fromTranslate(dx, dy)); +} + +QTransform PythonQtWrapper_QTransform::inverted(QTransform* theWrappedObject, bool* invertible) const +{ + return ( theWrappedObject->inverted(invertible)); +} + +bool PythonQtWrapper_QTransform::isAffine(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isAffine()); +} + +bool PythonQtWrapper_QTransform::isIdentity(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +bool PythonQtWrapper_QTransform::isInvertible(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isInvertible()); +} + +bool PythonQtWrapper_QTransform::isRotating(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isRotating()); +} + +bool PythonQtWrapper_QTransform::isScaling(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isScaling()); +} + +bool PythonQtWrapper_QTransform::isTranslating(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isTranslating()); +} + +qreal PythonQtWrapper_QTransform::m11(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m11()); +} + +qreal PythonQtWrapper_QTransform::m12(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m12()); +} + +qreal PythonQtWrapper_QTransform::m13(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m13()); +} + +qreal PythonQtWrapper_QTransform::m21(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m21()); +} + +qreal PythonQtWrapper_QTransform::m22(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m22()); +} + +qreal PythonQtWrapper_QTransform::m23(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m23()); +} + +qreal PythonQtWrapper_QTransform::m31(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m31()); +} + +qreal PythonQtWrapper_QTransform::m32(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m32()); +} + +qreal PythonQtWrapper_QTransform::m33(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m33()); +} + +QLine PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLine& l) const +{ + return ( theWrappedObject->map(l)); +} + +QLineF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLineF& l) const +{ + return ( theWrappedObject->map(l)); +} + +QPainterPath PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPoint PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPointF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPolygon PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygon& a) const +{ + return ( theWrappedObject->map(a)); +} + +QPolygonF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygonF& a) const +{ + return ( theWrappedObject->map(a)); +} + +QRegion PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->map(r)); +} + +QRect PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRect& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QRectF PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QPolygon PythonQtWrapper_QTransform::mapToPolygon(QTransform* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->mapToPolygon(r)); +} + +bool PythonQtWrapper_QTransform::__ne__(QTransform* theWrappedObject, const QTransform& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QTransform PythonQtWrapper_QTransform::multiplied(QTransform* theWrappedObject, const QTransform& o) const +{ + return ( (*theWrappedObject)* o); +} + +QTransform PythonQtWrapper_QTransform::__mul__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)* n); +} + +QTransform* PythonQtWrapper_QTransform::__imul__(QTransform* theWrappedObject, const QTransform& arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +QTransform* PythonQtWrapper_QTransform::__imul__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)*= div); +} + +QTransform PythonQtWrapper_QTransform::__add__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)+ n); +} + +QTransform* PythonQtWrapper_QTransform::__iadd__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)+= div); +} + +QTransform PythonQtWrapper_QTransform::__sub__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)- n); +} + +QTransform* PythonQtWrapper_QTransform::__isub__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)-= div); +} + +QTransform PythonQtWrapper_QTransform::__div__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)/ n); +} + +QTransform* PythonQtWrapper_QTransform::__idiv__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)/= div); +} + +void PythonQtWrapper_QTransform::writeTo(QTransform* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTransform::__eq__(QTransform* theWrappedObject, const QTransform& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QTransform::readFrom(QTransform* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QTransform::static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result) +{ + return (QTransform::quadToQuad(one, two, result)); +} + +bool PythonQtWrapper_QTransform::static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result) +{ + return (QTransform::quadToSquare(quad, result)); +} + +void PythonQtWrapper_QTransform::reset(QTransform* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QTransform* PythonQtWrapper_QTransform::rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis) +{ + return &( theWrappedObject->rotate(a, axis)); +} + +QTransform* PythonQtWrapper_QTransform::rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis) +{ + return &( theWrappedObject->rotateRadians(a, axis)); +} + +QTransform* PythonQtWrapper_QTransform::scale(QTransform* theWrappedObject, qreal sx, qreal sy) +{ + return &( theWrappedObject->scale(sx, sy)); +} + +void PythonQtWrapper_QTransform::setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33) +{ + ( theWrappedObject->setMatrix(m11, m12, m13, m21, m22, m23, m31, m32, m33)); +} + +QTransform* PythonQtWrapper_QTransform::shear(QTransform* theWrappedObject, qreal sh, qreal sv) +{ + return &( theWrappedObject->shear(sh, sv)); +} + +bool PythonQtWrapper_QTransform::static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result) +{ + return (QTransform::squareToQuad(square, result)); +} + +const QMatrix* PythonQtWrapper_QTransform::toAffine(QTransform* theWrappedObject) const +{ + return &( theWrappedObject->toAffine()); +} + +QTransform* PythonQtWrapper_QTransform::translate(QTransform* theWrappedObject, qreal dx, qreal dy) +{ + return &( theWrappedObject->translate(dx, dy)); +} + +QTransform PythonQtWrapper_QTransform::transposed(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QTransform::TransformationType PythonQtWrapper_QTransform::type(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTransform::py_toString(QTransform* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h new file mode 100644 index 00000000..b370f9ee --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h @@ -0,0 +1,1406 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QBitmap : public QBitmap +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QBitmap* new_QBitmap(); +QBitmap* new_QBitmap(const QBitmap& other); +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 clear(QBitmap* theWrappedObject); + QBitmap static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); + QBitmap* operator_assign(QBitmap* theWrappedObject, const QBitmap& other); + void swap(QBitmap* theWrappedObject, QBitmap& other); + QBitmap transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const; + QBitmap transformed(QBitmap* theWrappedObject, const QTransform& matrix) const; + bool __nonzero__(QBitmap* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QBrush : public QObject +{ Q_OBJECT +public: +public slots: +QBrush* new_QBrush(); +QBrush* new_QBrush(Qt::BrushStyle bs); +QBrush* new_QBrush(Qt::GlobalColor color, const QPixmap& pixmap); +QBrush* new_QBrush(const QBrush& brush); +QBrush* new_QBrush(const QColor& color, Qt::BrushStyle bs = Qt::SolidPattern); +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; } + const QColor* color(QBrush* theWrappedObject) const; + const QGradient* gradient(QBrush* theWrappedObject) const; + bool isOpaque(QBrush* theWrappedObject) const; + const QMatrix* matrix(QBrush* theWrappedObject) const; + bool __ne__(QBrush* theWrappedObject, const QBrush& b) const; + void writeTo(QBrush* theWrappedObject, QDataStream& arg__1); + bool __eq__(QBrush* theWrappedObject, const QBrush& b) const; + void readFrom(QBrush* theWrappedObject, QDataStream& arg__1); + void setColor(QBrush* theWrappedObject, Qt::GlobalColor color); + void setColor(QBrush* theWrappedObject, const QColor& color); + void setMatrix(QBrush* theWrappedObject, const QMatrix& mat); + void setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1); + void setTexture(QBrush* theWrappedObject, const QPixmap& pixmap); + void setTextureImage(QBrush* theWrappedObject, const QImage& image); + void setTransform(QBrush* theWrappedObject, const QTransform& arg__1); + Qt::BrushStyle style(QBrush* theWrappedObject) const; + void swap(QBrush* theWrappedObject, QBrush& other); + QPixmap texture(QBrush* theWrappedObject) const; + QImage textureImage(QBrush* theWrappedObject) const; + QTransform transform(QBrush* theWrappedObject) const; + QString py_toString(QBrush*); +}; + + + + + +class PythonQtWrapper_QColor : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NameFormat Spec ) +enum NameFormat{ + HexRgb = QColor::HexRgb, HexArgb = QColor::HexArgb}; +enum Spec{ + Invalid = QColor::Invalid, Rgb = QColor::Rgb, Hsv = QColor::Hsv, Cmyk = QColor::Cmyk, Hsl = QColor::Hsl, ExtendedRgb = QColor::ExtendedRgb}; +public slots: +QColor* new_QColor(); +QColor* new_QColor(QRgba64 rgba64); +QColor* new_QColor(Qt::GlobalColor color); +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; } + int alpha(QColor* theWrappedObject) const; + qreal alphaF(QColor* theWrappedObject) const; + int black(QColor* theWrappedObject) const; + qreal blackF(QColor* theWrappedObject) const; + int blue(QColor* theWrappedObject) const; + qreal blueF(QColor* theWrappedObject) const; + QStringList static_QColor_colorNames(); + QColor convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const; + int cyan(QColor* theWrappedObject) const; + qreal cyanF(QColor* theWrappedObject) const; + QColor darker(QColor* theWrappedObject, int f = 200) const; + QColor static_QColor_fromCmyk(int c, int m, int y, int k, int a = 255); + QColor static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a = 1.0); + QColor static_QColor_fromHsl(int h, int s, int l, int a = 255); + QColor static_QColor_fromHslF(qreal h, qreal s, qreal l, qreal a = 1.0); + QColor static_QColor_fromHsv(int h, int s, int v, int a = 255); + QColor static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a = 1.0); + QColor static_QColor_fromRgb(int r, int g, int b, int a = 255); + QColor static_QColor_fromRgb(unsigned int rgb); + QColor static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a = 1.0); + QColor static_QColor_fromRgba(unsigned int rgba); + QColor static_QColor_fromRgba64(QRgba64 rgba); + QColor static_QColor_fromRgba64(ushort r, ushort g, ushort b, ushort a = 65535); + void getCmyk(QColor* theWrappedObject, int* c, int* m, int* y, int* k, int* a = nullptr) const; + void getCmykF(QColor* theWrappedObject, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a = nullptr) const; + void getHsl(QColor* theWrappedObject, int* h, int* s, int* l, int* a = nullptr) const; + void getHslF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* l, qreal* a = nullptr) const; + int green(QColor* theWrappedObject) const; + qreal greenF(QColor* theWrappedObject) const; + int hslHue(QColor* theWrappedObject) const; + qreal hslHueF(QColor* theWrappedObject) const; + int hslSaturation(QColor* theWrappedObject) const; + qreal hslSaturationF(QColor* theWrappedObject) const; + int hsvHue(QColor* theWrappedObject) const; + qreal hsvHueF(QColor* theWrappedObject) const; + int hsvSaturation(QColor* theWrappedObject) const; + qreal hsvSaturationF(QColor* theWrappedObject) const; + int hue(QColor* theWrappedObject) const; + qreal hueF(QColor* theWrappedObject) const; + bool isValid(QColor* theWrappedObject) const; + bool static_QColor_isValidColor(const QString& name); + QColor lighter(QColor* theWrappedObject, int f = 150) const; + int lightness(QColor* theWrappedObject) const; + qreal lightnessF(QColor* theWrappedObject) const; + int magenta(QColor* theWrappedObject) const; + qreal magentaF(QColor* theWrappedObject) const; + QString name(QColor* theWrappedObject) const; + QString name(QColor* theWrappedObject, QColor::NameFormat format) const; + bool __ne__(QColor* theWrappedObject, const QColor& c) const; + void writeTo(QColor* theWrappedObject, QDataStream& arg__1); + bool __eq__(QColor* theWrappedObject, const QColor& c) const; + void readFrom(QColor* theWrappedObject, QDataStream& arg__1); + int red(QColor* theWrappedObject) const; + qreal redF(QColor* theWrappedObject) const; + unsigned int rgb(QColor* theWrappedObject) const; + unsigned int rgba(QColor* theWrappedObject) const; + QRgba64 rgba64(QColor* theWrappedObject) const; + int saturation(QColor* theWrappedObject) const; + qreal saturationF(QColor* theWrappedObject) const; + void setAlpha(QColor* theWrappedObject, int alpha); + void setAlphaF(QColor* theWrappedObject, qreal alpha); + void setBlue(QColor* theWrappedObject, int blue); + void setBlueF(QColor* theWrappedObject, qreal blue); + void setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a = 255); + void setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a = 1.0); + void setGreen(QColor* theWrappedObject, int green); + void setGreenF(QColor* theWrappedObject, qreal green); + void setHsl(QColor* theWrappedObject, int h, int s, int l, int a = 255); + void setHslF(QColor* theWrappedObject, qreal h, qreal s, qreal l, qreal a = 1.0); + void setHsv(QColor* theWrappedObject, int h, int s, int v, int a = 255); + void setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a = 1.0); + void setNamedColor(QColor* theWrappedObject, const QString& name); + void setRed(QColor* theWrappedObject, int red); + void setRedF(QColor* theWrappedObject, qreal red); + void setRgb(QColor* theWrappedObject, int r, int g, int b, int a = 255); + void setRgb(QColor* theWrappedObject, unsigned int rgb); + void setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a = 1.0); + void setRgba(QColor* theWrappedObject, unsigned int rgba); + void setRgba64(QColor* theWrappedObject, QRgba64 rgba); + QColor::Spec spec(QColor* theWrappedObject) const; + QColor toCmyk(QColor* theWrappedObject) const; + QColor toExtendedRgb(QColor* theWrappedObject) const; + QColor toHsl(QColor* theWrappedObject) const; + QColor toHsv(QColor* theWrappedObject) const; + QColor toRgb(QColor* theWrappedObject) const; + int value(QColor* theWrappedObject) const; + qreal valueF(QColor* theWrappedObject) const; + int yellow(QColor* theWrappedObject) const; + qreal yellowF(QColor* theWrappedObject) const; + QString py_toString(QColor*); + bool __nonzero__(QColor* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QCursor : public QObject +{ Q_OBJECT +public: +public slots: +QCursor* new_QCursor(); +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; } + 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); + QPixmap pixmap(QCursor* theWrappedObject) const; + QPoint static_QCursor_pos(); + QPoint static_QCursor_pos(const QScreen* screen); + void static_QCursor_setPos(QScreen* screen, const QPoint& p); + void static_QCursor_setPos(QScreen* screen, int x, int y); + void static_QCursor_setPos(const QPoint& p); + void static_QCursor_setPos(int x, int y); + void setShape(QCursor* theWrappedObject, Qt::CursorShape newShape); + Qt::CursorShape shape(QCursor* theWrappedObject) const; + void swap(QCursor* theWrappedObject, QCursor& other); + QString py_toString(QCursor*); +}; + + + + + +class PythonQtWrapper_QFont : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Capitalization HintingPreference SpacingType Stretch Style StyleHint StyleStrategy Weight ) +enum Capitalization{ + MixedCase = QFont::MixedCase, AllUppercase = QFont::AllUppercase, AllLowercase = QFont::AllLowercase, SmallCaps = QFont::SmallCaps, Capitalize = QFont::Capitalize}; +enum HintingPreference{ + PreferDefaultHinting = QFont::PreferDefaultHinting, PreferNoHinting = QFont::PreferNoHinting, PreferVerticalHinting = QFont::PreferVerticalHinting, PreferFullHinting = QFont::PreferFullHinting}; +enum SpacingType{ + PercentageSpacing = QFont::PercentageSpacing, AbsoluteSpacing = QFont::AbsoluteSpacing}; +enum Stretch{ + AnyStretch = QFont::AnyStretch, UltraCondensed = QFont::UltraCondensed, ExtraCondensed = QFont::ExtraCondensed, Condensed = QFont::Condensed, SemiCondensed = QFont::SemiCondensed, Unstretched = QFont::Unstretched, SemiExpanded = QFont::SemiExpanded, Expanded = QFont::Expanded, ExtraExpanded = QFont::ExtraExpanded, UltraExpanded = QFont::UltraExpanded}; +enum Style{ + StyleNormal = QFont::StyleNormal, StyleItalic = QFont::StyleItalic, StyleOblique = QFont::StyleOblique}; +enum StyleHint{ + Helvetica = QFont::Helvetica, SansSerif = QFont::SansSerif, Times = QFont::Times, Serif = QFont::Serif, Courier = QFont::Courier, TypeWriter = QFont::TypeWriter, OldEnglish = QFont::OldEnglish, Decorative = QFont::Decorative, System = QFont::System, AnyStyle = QFont::AnyStyle, Cursive = QFont::Cursive, Monospace = QFont::Monospace, Fantasy = QFont::Fantasy}; +enum StyleStrategy{ + PreferDefault = QFont::PreferDefault, PreferBitmap = QFont::PreferBitmap, PreferDevice = QFont::PreferDevice, PreferOutline = QFont::PreferOutline, ForceOutline = QFont::ForceOutline, PreferMatch = QFont::PreferMatch, PreferQuality = QFont::PreferQuality, PreferAntialias = QFont::PreferAntialias, NoAntialias = QFont::NoAntialias, OpenGLCompatible = QFont::OpenGLCompatible, ForceIntegerMetrics = QFont::ForceIntegerMetrics, NoSubpixelAntialias = QFont::NoSubpixelAntialias, PreferNoShaping = QFont::PreferNoShaping, NoFontMerging = QFont::NoFontMerging}; +enum Weight{ + Thin = QFont::Thin, ExtraLight = QFont::ExtraLight, Light = QFont::Light, Normal = QFont::Normal, Medium = QFont::Medium, DemiBold = QFont::DemiBold, Bold = QFont::Bold, ExtraBold = QFont::ExtraBold, Black = QFont::Black}; +public slots: +QFont* new_QFont(); +QFont* new_QFont(const QFont& font); +QFont* new_QFont(const QFont& font, QPaintDevice* pd); +QFont* new_QFont(const QFont& font, const QPaintDevice* pd); +QFont* new_QFont(const QString& family, int pointSize = -1, int weight = -1, bool italic = false); +void delete_QFont(QFont* obj) { delete obj; } + bool bold(QFont* theWrappedObject) const; + void static_QFont_cacheStatistics(); + QFont::Capitalization capitalization(QFont* theWrappedObject) const; + void static_QFont_cleanup(); + QString defaultFamily(QFont* theWrappedObject) const; + bool exactMatch(QFont* theWrappedObject) const; + QStringList families(QFont* theWrappedObject) const; + QString family(QFont* theWrappedObject) const; + bool fixedPitch(QFont* theWrappedObject) const; + bool fromString(QFont* theWrappedObject, const QString& arg__1); + QFont::HintingPreference hintingPreference(QFont* theWrappedObject) const; + void static_QFont_initialize(); + void static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2); + void static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2); + bool isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const; + bool italic(QFont* theWrappedObject) const; + bool kerning(QFont* theWrappedObject) const; + QString key(QFont* theWrappedObject) const; + QString lastResortFamily(QFont* theWrappedObject) const; + QString lastResortFont(QFont* theWrappedObject) const; + qreal letterSpacing(QFont* theWrappedObject) const; + QFont::SpacingType letterSpacingType(QFont* theWrappedObject) const; + bool __ne__(QFont* theWrappedObject, const QFont& arg__1) const; + bool __lt__(QFont* theWrappedObject, const QFont& arg__1) const; + void writeTo(QFont* theWrappedObject, QDataStream& arg__1); + bool __eq__(QFont* theWrappedObject, const QFont& arg__1) const; + void readFrom(QFont* theWrappedObject, QDataStream& arg__1); + bool overline(QFont* theWrappedObject) const; + int pixelSize(QFont* theWrappedObject) const; + int pointSize(QFont* theWrappedObject) const; + qreal pointSizeF(QFont* theWrappedObject) const; + bool rawMode(QFont* theWrappedObject) const; + QString rawName(QFont* theWrappedObject) const; + void static_QFont_removeSubstitutions(const QString& arg__1); + uint resolve(QFont* theWrappedObject) const; + QFont resolve(QFont* theWrappedObject, const QFont& arg__1) const; + void resolve(QFont* theWrappedObject, uint mask); + void setBold(QFont* theWrappedObject, bool arg__1); + void setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1); + void setFamilies(QFont* theWrappedObject, const QStringList& arg__1); + void setFamily(QFont* theWrappedObject, const QString& arg__1); + void setFixedPitch(QFont* theWrappedObject, bool arg__1); + void setHintingPreference(QFont* theWrappedObject, QFont::HintingPreference hintingPreference); + void setItalic(QFont* theWrappedObject, bool b); + void setKerning(QFont* theWrappedObject, bool arg__1); + void setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing); + void setOverline(QFont* theWrappedObject, bool arg__1); + void setPixelSize(QFont* theWrappedObject, int arg__1); + void setPointSize(QFont* theWrappedObject, int arg__1); + void setPointSizeF(QFont* theWrappedObject, qreal arg__1); + void setRawMode(QFont* theWrappedObject, bool arg__1); + void setRawName(QFont* theWrappedObject, const QString& arg__1); + void setStretch(QFont* theWrappedObject, int arg__1); + void setStrikeOut(QFont* theWrappedObject, bool arg__1); + void setStyle(QFont* theWrappedObject, QFont::Style style); + void setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2 = QFont::PreferDefault); + void setStyleName(QFont* theWrappedObject, const QString& arg__1); + void setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s); + void setUnderline(QFont* theWrappedObject, bool arg__1); + void setWeight(QFont* theWrappedObject, int arg__1); + void setWordSpacing(QFont* theWrappedObject, qreal spacing); + int stretch(QFont* theWrappedObject) const; + bool strikeOut(QFont* theWrappedObject) const; + QFont::Style style(QFont* theWrappedObject) const; + QFont::StyleHint styleHint(QFont* theWrappedObject) const; + QString styleName(QFont* theWrappedObject) const; + QFont::StyleStrategy styleStrategy(QFont* theWrappedObject) const; + QString static_QFont_substitute(const QString& arg__1); + QStringList static_QFont_substitutes(const QString& arg__1); + QStringList static_QFont_substitutions(); + void swap(QFont* theWrappedObject, QFont& other); + QString toString(QFont* theWrappedObject) const; + bool underline(QFont* theWrappedObject) const; + int weight(QFont* theWrappedObject) const; + qreal wordSpacing(QFont* theWrappedObject) const; + QString py_toString(QFont*); +}; + + + + + +class PythonQtWrapper_QIcon : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Mode State ) +enum Mode{ + Normal = QIcon::Normal, Disabled = QIcon::Disabled, Active = QIcon::Active, Selected = QIcon::Selected}; +enum State{ + On = QIcon::On, Off = QIcon::Off}; +public slots: +QIcon* new_QIcon(); +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; } + 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); + void addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off); + QList availableSizes(QIcon* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + qint64 cacheKey(QIcon* theWrappedObject) const; + QStringList static_QIcon_fallbackSearchPaths(); + QString static_QIcon_fallbackThemeName(); + QIcon static_QIcon_fromTheme(const QString& name); + QIcon static_QIcon_fromTheme(const QString& name, const QIcon& fallback); + bool static_QIcon_hasThemeIcon(const QString& name); + bool isMask(QIcon* theWrappedObject) const; + bool isNull(QIcon* theWrappedObject) const; + QString name(QIcon* theWrappedObject) const; + void writeTo(QIcon* theWrappedObject, QDataStream& arg__1); + void readFrom(QIcon* theWrappedObject, QDataStream& arg__1); + void paint(QIcon* theWrappedObject, QPainter* painter, const QRect& rect, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + void paint(QIcon* theWrappedObject, QPainter* painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + void static_QIcon_setFallbackSearchPaths(const QStringList& paths); + void static_QIcon_setFallbackThemeName(const QString& name); + void setIsMask(QIcon* theWrappedObject, bool isMask); + void static_QIcon_setThemeName(const QString& path); + void static_QIcon_setThemeSearchPaths(const QStringList& searchpath); + void swap(QIcon* theWrappedObject, QIcon& other); + QString static_QIcon_themeName(); + QStringList static_QIcon_themeSearchPaths(); + QString py_toString(QIcon*); + bool __nonzero__(QIcon* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QImage : public QImage +{ +public: + 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 +{ public: +inline QImage promoted_convertToFormat_helper(QImage::Format format, Qt::ImageConversionFlags flags) const { return this->convertToFormat_helper(format, flags); } +inline bool promoted_convertToFormat_inplace(QImage::Format format, Qt::ImageConversionFlags flags) { return this->convertToFormat_inplace(format, flags); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QImage promoted_mirrored_helper(bool horizontal, bool vertical) const { return this->mirrored_helper(horizontal, vertical); } +inline void promoted_mirrored_inplace(bool horizontal, bool vertical) { this->mirrored_inplace(horizontal, vertical); } +inline QImage promoted_rgbSwapped_helper() const { return this->rgbSwapped_helper(); } +inline void promoted_rgbSwapped_inplace() { this->rgbSwapped_inplace(); } +inline QImage promoted_smoothScaled(int w, int h) const { return this->smoothScaled(w, h); } +inline int py_q_devType() const { return QImage::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QImage::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return QImage::paintEngine(); } +}; + +class PythonQtWrapper_QImage : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Format InvertMode ) +enum Format{ + Format_Invalid = QImage::Format_Invalid, Format_Mono = QImage::Format_Mono, Format_MonoLSB = QImage::Format_MonoLSB, Format_Indexed8 = QImage::Format_Indexed8, Format_RGB32 = QImage::Format_RGB32, Format_ARGB32 = QImage::Format_ARGB32, Format_ARGB32_Premultiplied = QImage::Format_ARGB32_Premultiplied, Format_RGB16 = QImage::Format_RGB16, Format_ARGB8565_Premultiplied = QImage::Format_ARGB8565_Premultiplied, Format_RGB666 = QImage::Format_RGB666, Format_ARGB6666_Premultiplied = QImage::Format_ARGB6666_Premultiplied, Format_RGB555 = QImage::Format_RGB555, Format_ARGB8555_Premultiplied = QImage::Format_ARGB8555_Premultiplied, Format_RGB888 = QImage::Format_RGB888, Format_RGB444 = QImage::Format_RGB444, Format_ARGB4444_Premultiplied = QImage::Format_ARGB4444_Premultiplied, Format_RGBX8888 = QImage::Format_RGBX8888, Format_RGBA8888 = QImage::Format_RGBA8888, Format_RGBA8888_Premultiplied = QImage::Format_RGBA8888_Premultiplied, Format_BGR30 = QImage::Format_BGR30, Format_A2BGR30_Premultiplied = QImage::Format_A2BGR30_Premultiplied, Format_RGB30 = QImage::Format_RGB30, Format_A2RGB30_Premultiplied = QImage::Format_A2RGB30_Premultiplied, Format_Alpha8 = QImage::Format_Alpha8, Format_Grayscale8 = QImage::Format_Grayscale8, Format_RGBX64 = QImage::Format_RGBX64, Format_RGBA64 = QImage::Format_RGBA64, Format_RGBA64_Premultiplied = QImage::Format_RGBA64_Premultiplied, Format_Grayscale16 = QImage::Format_Grayscale16, Format_BGR888 = QImage::Format_BGR888, NImageFormats = QImage::NImageFormats}; +enum InvertMode{ + InvertRgb = QImage::InvertRgb, InvertRgba = QImage::InvertRgba}; +public slots: +QImage* new_QImage(); +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; } + bool allGray(QImage* theWrappedObject) const; + QImage alphaChannel(QImage* theWrappedObject) const; + void applyColorTransform(QImage* theWrappedObject, const QColorTransform& transform); + int bitPlaneCount(QImage* theWrappedObject) const; + int byteCount(QImage* theWrappedObject) const; + int bytesPerLine(QImage* theWrappedObject) const; + qint64 cacheKey(QImage* theWrappedObject) const; + unsigned int color(QImage* theWrappedObject, int i) const; + int colorCount(QImage* theWrappedObject) const; + QColorSpace colorSpace(QImage* theWrappedObject) const; + QVector colorTable(QImage* theWrappedObject) const; + void convertTo(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags = Qt::AutoColor); + void convertToColorSpace(QImage* theWrappedObject, const QColorSpace& arg__1); + QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const; + QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector& colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const; + QImage convertToFormat_helper(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags) const; + bool convertToFormat_inplace(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags); + QImage convertedToColorSpace(QImage* theWrappedObject, const QColorSpace& arg__1) const; + QImage copy(QImage* theWrappedObject, const QRect& rect = QRect()) const; + QImage copy(QImage* theWrappedObject, int x, int y, int w, int h) const; + QImage createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags = Qt::AutoColor) const; + QImage createHeuristicMask(QImage* theWrappedObject, bool clipTight = true) const; + QImage createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode = Qt::MaskInColor) const; + int depth(QImage* theWrappedObject) const; + int py_q_devType(QImage* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImage*)theWrappedObject)->py_q_devType());} + qreal devicePixelRatio(QImage* theWrappedObject) const; + int dotsPerMeterX(QImage* theWrappedObject) const; + int dotsPerMeterY(QImage* theWrappedObject) const; + void fill(QImage* theWrappedObject, Qt::GlobalColor color); + void fill(QImage* theWrappedObject, const QColor& color); + void fill(QImage* theWrappedObject, uint pixel); + QImage::Format format(QImage* theWrappedObject) const; + QImage static_QImage_fromData(const QByteArray& data, const char* format = nullptr); + bool hasAlphaChannel(QImage* theWrappedObject) const; + int height(QImage* theWrappedObject) const; + void invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1 = QImage::InvertRgb); + bool isGrayscale(QImage* theWrappedObject) const; + bool isNull(QImage* theWrappedObject) const; + bool load(QImage* theWrappedObject, QIODevice* device, const char* format); + bool load(QImage* theWrappedObject, const QString& fileName, const char* format = nullptr); + bool loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat = nullptr); + int py_q_metric(QImage* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QImage*)theWrappedObject)->py_q_metric(metric));} + QImage mirrored(QImage* theWrappedObject, bool horizontally = false, bool vertically = true) const; + QImage mirrored_helper(QImage* theWrappedObject, bool horizontal, bool vertical) const; + void mirrored_inplace(QImage* theWrappedObject, bool horizontal, bool vertical); + QPoint offset(QImage* theWrappedObject) const; + bool __ne__(QImage* theWrappedObject, const QImage& arg__1) const; + void writeTo(QImage* theWrappedObject, QDataStream& arg__1); + bool __eq__(QImage* theWrappedObject, const QImage& arg__1) const; + void readFrom(QImage* theWrappedObject, QDataStream& arg__1); + QPaintEngine* py_q_paintEngine(QImage* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImage*)theWrappedObject)->py_q_paintEngine());} + unsigned int pixel(QImage* theWrappedObject, const QPoint& pt) const; + unsigned int pixel(QImage* theWrappedObject, int x, int y) const; + QColor pixelColor(QImage* theWrappedObject, const QPoint& pt) const; + QColor pixelColor(QImage* theWrappedObject, int x, int y) const; + QPixelFormat pixelFormat(QImage* theWrappedObject) const; + int pixelIndex(QImage* theWrappedObject, const QPoint& pt) const; + int pixelIndex(QImage* theWrappedObject, int x, int y) const; + QRect rect(QImage* theWrappedObject) const; + bool reinterpretAsFormat(QImage* theWrappedObject, QImage::Format f); + QImage rgbSwapped(QImage* theWrappedObject) const; + QImage rgbSwapped_helper(QImage* theWrappedObject) const; + void rgbSwapped_inplace(QImage* theWrappedObject); + bool save(QImage* theWrappedObject, QIODevice* device, const char* format = nullptr, int quality = -1) const; + bool save(QImage* theWrappedObject, const QString& fileName, const char* format = nullptr, int quality = -1) const; + QImage scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const; + void setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel); + void setColor(QImage* theWrappedObject, int i, unsigned int c); + void setColorCount(QImage* theWrappedObject, int arg__1); + void setColorSpace(QImage* theWrappedObject, const QColorSpace& arg__1); + void setDevicePixelRatio(QImage* theWrappedObject, qreal scaleFactor); + void setDotsPerMeterX(QImage* theWrappedObject, int arg__1); + void setDotsPerMeterY(QImage* theWrappedObject, int arg__1); + void setOffset(QImage* theWrappedObject, const QPoint& arg__1); + void setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb); + void setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb); + void setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c); + void setPixelColor(QImage* theWrappedObject, int x, int y, const QColor& c); + void setText(QImage* theWrappedObject, const QString& key, const QString& value); + QSize size(QImage* theWrappedObject) const; + qsizetype sizeInBytes(QImage* theWrappedObject) const; + QImage smoothScaled(QImage* theWrappedObject, int w, int h) const; + void swap(QImage* theWrappedObject, QImage& other); + QString text(QImage* theWrappedObject, const QString& key = QString()) const; + QStringList textKeys(QImage* theWrappedObject) const; + QImage::Format static_QImage_toImageFormat(QPixelFormat format); + QPixelFormat static_QImage_toPixelFormat(QImage::Format format); + QImage transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; + QMatrix static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h); + QTransform static_QImage_trueMatrix(const QTransform& arg__1, int w, int h); + bool valid(QImage* theWrappedObject, const QPoint& pt) const; + bool valid(QImage* theWrappedObject, int x, int y) const; + int width(QImage* theWrappedObject) const; + QString py_toString(QImage*); + bool __nonzero__(QImage* obj) { return !obj->isNull(); } + +QImage* new_QImage( const uchar * data, int width, int height, QImage::Format format ) +{ + QImage* image = new QImage(width, height, format); +#if QT_VERSION >= QT_VERSION_CHECK(5,10,0) + memcpy(image->bits(), data, image->sizeInBytes()); +#else + memcpy(image->bits(), data, image->byteCount()); +#endif + return image; +} + +PyObject* bits(QImage* image) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->bits(), image->bytesPerLine()* image->height()); +} + +#if QT_VERSION >= QT_VERSION_CHECK(5,10,0) +PyObject* constBits(QImage* image) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->constBits(), image->sizeInBytes()); +} +#elif QT_VERSION >= QT_VERSION_CHECK(4,7,0) +PyObject* constBits(QImage* image) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->constBits(), image->byteCount()); +} +#endif + +PyObject* scanLine(QImage* image, int line) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->scanLine(line), image->bytesPerLine()); +} + +#if QT_VERSION >= QT_VERSION_CHECK(4,7,0) +PyObject* constScanLine(QImage* image, int line) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->constScanLine(line), image->bytesPerLine()); +} +#endif + + +}; + + + + + +class PythonQtWrapper_QKeySequence : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SequenceFormat SequenceMatch StandardKey ) +enum SequenceFormat{ + NativeText = QKeySequence::NativeText, PortableText = QKeySequence::PortableText}; +enum SequenceMatch{ + NoMatch = QKeySequence::NoMatch, PartialMatch = QKeySequence::PartialMatch, ExactMatch = QKeySequence::ExactMatch}; +enum StandardKey{ + UnknownKey = QKeySequence::UnknownKey, HelpContents = QKeySequence::HelpContents, WhatsThis = QKeySequence::WhatsThis, Open = QKeySequence::Open, Close = QKeySequence::Close, Save = QKeySequence::Save, New = QKeySequence::New, Delete = QKeySequence::Delete, Cut = QKeySequence::Cut, Copy = QKeySequence::Copy, Paste = QKeySequence::Paste, Undo = QKeySequence::Undo, Redo = QKeySequence::Redo, Back = QKeySequence::Back, Forward = QKeySequence::Forward, Refresh = QKeySequence::Refresh, ZoomIn = QKeySequence::ZoomIn, ZoomOut = QKeySequence::ZoomOut, Print = QKeySequence::Print, AddTab = QKeySequence::AddTab, NextChild = QKeySequence::NextChild, PreviousChild = QKeySequence::PreviousChild, Find = QKeySequence::Find, FindNext = QKeySequence::FindNext, FindPrevious = QKeySequence::FindPrevious, Replace = QKeySequence::Replace, SelectAll = QKeySequence::SelectAll, Bold = QKeySequence::Bold, Italic = QKeySequence::Italic, Underline = QKeySequence::Underline, MoveToNextChar = QKeySequence::MoveToNextChar, MoveToPreviousChar = QKeySequence::MoveToPreviousChar, MoveToNextWord = QKeySequence::MoveToNextWord, MoveToPreviousWord = QKeySequence::MoveToPreviousWord, MoveToNextLine = QKeySequence::MoveToNextLine, MoveToPreviousLine = QKeySequence::MoveToPreviousLine, MoveToNextPage = QKeySequence::MoveToNextPage, MoveToPreviousPage = QKeySequence::MoveToPreviousPage, MoveToStartOfLine = QKeySequence::MoveToStartOfLine, MoveToEndOfLine = QKeySequence::MoveToEndOfLine, MoveToStartOfBlock = QKeySequence::MoveToStartOfBlock, MoveToEndOfBlock = QKeySequence::MoveToEndOfBlock, MoveToStartOfDocument = QKeySequence::MoveToStartOfDocument, MoveToEndOfDocument = QKeySequence::MoveToEndOfDocument, SelectNextChar = QKeySequence::SelectNextChar, SelectPreviousChar = QKeySequence::SelectPreviousChar, SelectNextWord = QKeySequence::SelectNextWord, SelectPreviousWord = QKeySequence::SelectPreviousWord, SelectNextLine = QKeySequence::SelectNextLine, SelectPreviousLine = QKeySequence::SelectPreviousLine, SelectNextPage = QKeySequence::SelectNextPage, SelectPreviousPage = QKeySequence::SelectPreviousPage, SelectStartOfLine = QKeySequence::SelectStartOfLine, SelectEndOfLine = QKeySequence::SelectEndOfLine, SelectStartOfBlock = QKeySequence::SelectStartOfBlock, SelectEndOfBlock = QKeySequence::SelectEndOfBlock, SelectStartOfDocument = QKeySequence::SelectStartOfDocument, SelectEndOfDocument = QKeySequence::SelectEndOfDocument, DeleteStartOfWord = QKeySequence::DeleteStartOfWord, DeleteEndOfWord = QKeySequence::DeleteEndOfWord, DeleteEndOfLine = QKeySequence::DeleteEndOfLine, InsertParagraphSeparator = QKeySequence::InsertParagraphSeparator, InsertLineSeparator = QKeySequence::InsertLineSeparator, SaveAs = QKeySequence::SaveAs, Preferences = QKeySequence::Preferences, Quit = QKeySequence::Quit, FullScreen = QKeySequence::FullScreen, Deselect = QKeySequence::Deselect, DeleteCompleteLine = QKeySequence::DeleteCompleteLine, Backspace = QKeySequence::Backspace, Cancel = QKeySequence::Cancel}; +public slots: +QKeySequence* new_QKeySequence(); +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; } + int count(QKeySequence* theWrappedObject) const; + QKeySequence static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); + bool isEmpty(QKeySequence* theWrappedObject) const; + QList static_QKeySequence_keyBindings(QKeySequence::StandardKey key); + QList static_QKeySequence_listFromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); + QString static_QKeySequence_listToString(const QList& list, QKeySequence::SequenceFormat format = QKeySequence::PortableText); + QKeySequence::SequenceMatch matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const; + QKeySequence static_QKeySequence_mnemonic(const QString& text); + bool __ne__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __lt__(QKeySequence* theWrappedObject, const QKeySequence& ks) const; + void writeTo(QKeySequence* theWrappedObject, QDataStream& in); + bool __le__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __eq__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __gt__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __ge__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + void readFrom(QKeySequence* theWrappedObject, QDataStream& in); + int operator_subscript(QKeySequence* theWrappedObject, uint i) const; + void swap(QKeySequence* theWrappedObject, QKeySequence& other); + QString toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format = QKeySequence::PortableText) const; + QString py_toString(QKeySequence*); + bool __nonzero__(QKeySequence* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QMatrix : public QObject +{ Q_OBJECT +public: +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; } + qreal determinant(QMatrix* theWrappedObject) const; + qreal dx(QMatrix* theWrappedObject) const; + qreal dy(QMatrix* theWrappedObject) const; + QMatrix inverted(QMatrix* theWrappedObject, bool* invertible = nullptr) const; + bool isIdentity(QMatrix* theWrappedObject) const; + bool isInvertible(QMatrix* theWrappedObject) const; + qreal m11(QMatrix* theWrappedObject) const; + qreal m12(QMatrix* theWrappedObject) const; + qreal m21(QMatrix* theWrappedObject) const; + qreal m22(QMatrix* theWrappedObject) const; + QLine map(QMatrix* theWrappedObject, const QLine& l) const; + QLineF map(QMatrix* theWrappedObject, const QLineF& l) const; + QPainterPath map(QMatrix* theWrappedObject, const QPainterPath& p) const; + QPoint map(QMatrix* theWrappedObject, const QPoint& p) const; + QPointF map(QMatrix* theWrappedObject, const QPointF& p) const; + QPolygon map(QMatrix* theWrappedObject, const QPolygon& a) const; + QPolygonF map(QMatrix* theWrappedObject, const QPolygonF& a) const; + QRegion map(QMatrix* theWrappedObject, const QRegion& r) const; + QRect mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const; + QRectF mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const; + QPolygon mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const; + bool __ne__(QMatrix* theWrappedObject, const QMatrix& arg__1) const; + QMatrix __mul__(QMatrix* theWrappedObject, const QMatrix& o) const; + QMatrix* __imul__(QMatrix* theWrappedObject, const QMatrix& arg__1); + void writeTo(QMatrix* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMatrix* theWrappedObject, const QMatrix& arg__1) const; + void readFrom(QMatrix* theWrappedObject, QDataStream& arg__1); + void reset(QMatrix* theWrappedObject); + QMatrix* rotate(QMatrix* theWrappedObject, qreal a); + QMatrix* scale(QMatrix* theWrappedObject, qreal sx, qreal sy); + void setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); + QMatrix* shear(QMatrix* theWrappedObject, qreal sh, qreal sv); + QMatrix* translate(QMatrix* theWrappedObject, qreal dx, qreal dy); + QString py_toString(QMatrix*); +}; + + + + + +class PythonQtWrapper_QMatrix4x4 : public QObject +{ Q_OBJECT +public: +public slots: +QMatrix4x4* new_QMatrix4x4(); +QMatrix4x4* new_QMatrix4x4(const QMatrix& matrix); +QMatrix4x4* new_QMatrix4x4(const QTransform& transform); +QMatrix4x4* new_QMatrix4x4(const float* values); +QMatrix4x4* new_QMatrix4x4(const float* values, int cols, int rows); +QMatrix4x4* new_QMatrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44); +QMatrix4x4* new_QMatrix4x4(const QMatrix4x4& other) { +QMatrix4x4* a = new QMatrix4x4(); +*((QMatrix4x4*)a) = other; +return a; } +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; + float* data(QMatrix4x4* theWrappedObject); + double determinant(QMatrix4x4* theWrappedObject) const; + void fill(QMatrix4x4* theWrappedObject, float value); + void flipCoordinates(QMatrix4x4* theWrappedObject); + void frustum(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane); + QMatrix4x4 inverted(QMatrix4x4* theWrappedObject, bool* invertible = nullptr) const; + bool isAffine(QMatrix4x4* theWrappedObject) const; + bool isIdentity(QMatrix4x4* theWrappedObject) const; + void lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up); + QPoint map(QMatrix4x4* theWrappedObject, const QPoint& point) const; + QPointF map(QMatrix4x4* theWrappedObject, const QPointF& point) const; + QVector3D map(QMatrix4x4* theWrappedObject, const QVector3D& point) const; + QVector4D map(QMatrix4x4* theWrappedObject, const QVector4D& point) const; + QRect mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const; + QRectF mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const; + QVector3D mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const; + bool __ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const; + float* operator_cast_(QMatrix4x4* theWrappedObject, int row, int column); + QMatrix4x4 __mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); + QPoint __mul__(QMatrix4x4* theWrappedObject, const QPoint& point); + QPointF __mul__(QMatrix4x4* theWrappedObject, const QPointF& point); + QVector3D __mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector); + QVector4D __mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector); + QMatrix4x4 __mul__(QMatrix4x4* theWrappedObject, float factor); + QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); + QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, float factor); + QMatrix4x4 __add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); + QMatrix4x4* __iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); + QMatrix4x4 __sub__(QMatrix4x4* theWrappedObject); + QMatrix4x4 __sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); + QMatrix4x4* __isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); + QMatrix4x4 __div__(QMatrix4x4* theWrappedObject, float divisor); + QMatrix4x4* __idiv__(QMatrix4x4* theWrappedObject, float divisor); + void writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const; + void readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1); + void optimize(QMatrix4x4* theWrappedObject); + void ortho(QMatrix4x4* theWrappedObject, const QRect& rect); + void ortho(QMatrix4x4* theWrappedObject, const QRectF& rect); + void ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane); + void perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane); + void rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion); + void rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector); + void rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z = 0.0f); + QVector4D row(QMatrix4x4* theWrappedObject, int index) const; + void scale(QMatrix4x4* theWrappedObject, const QVector3D& vector); + void scale(QMatrix4x4* theWrappedObject, float factor); + void scale(QMatrix4x4* theWrappedObject, float x, float y); + void scale(QMatrix4x4* theWrappedObject, float x, float y, float z); + void setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value); + void setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value); + void setToIdentity(QMatrix4x4* theWrappedObject); + QMatrix toAffine(QMatrix4x4* theWrappedObject) const; + QTransform toTransform(QMatrix4x4* theWrappedObject) const; + QTransform toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const; + void translate(QMatrix4x4* theWrappedObject, const QVector3D& vector); + void translate(QMatrix4x4* theWrappedObject, float x, float y); + void translate(QMatrix4x4* theWrappedObject, float x, float y, float z); + QMatrix4x4 transposed(QMatrix4x4* theWrappedObject) const; + void viewport(QMatrix4x4* theWrappedObject, const QRectF& rect); + void viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane = 0.0f, float farPlane = 1.0f); + QString py_toString(QMatrix4x4*); +}; + + + + + +class PythonQtWrapper_QPalette : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ColorGroup ColorRole ) +enum ColorGroup{ + Active = QPalette::Active, Disabled = QPalette::Disabled, Inactive = QPalette::Inactive, NColorGroups = QPalette::NColorGroups, Current = QPalette::Current, All = QPalette::All, Normal = QPalette::Normal}; +enum ColorRole{ + WindowText = QPalette::WindowText, Button = QPalette::Button, Light = QPalette::Light, Midlight = QPalette::Midlight, Dark = QPalette::Dark, Mid = QPalette::Mid, Text = QPalette::Text, BrightText = QPalette::BrightText, ButtonText = QPalette::ButtonText, Base = QPalette::Base, Window = QPalette::Window, Shadow = QPalette::Shadow, Highlight = QPalette::Highlight, HighlightedText = QPalette::HighlightedText, Link = QPalette::Link, LinkVisited = QPalette::LinkVisited, AlternateBase = QPalette::AlternateBase, NoRole = QPalette::NoRole, ToolTipBase = QPalette::ToolTipBase, ToolTipText = QPalette::ToolTipText, PlaceholderText = QPalette::PlaceholderText, NColorRoles = QPalette::NColorRoles, Foreground = QPalette::Foreground, Background = QPalette::Background}; +public slots: +QPalette* new_QPalette(); +QPalette* new_QPalette(Qt::GlobalColor button); +QPalette* new_QPalette(const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window); +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; } + const QBrush* alternateBase(QPalette* theWrappedObject) const; + const QBrush* base(QPalette* theWrappedObject) const; + const QBrush* brightText(QPalette* theWrappedObject) const; + const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const; + const QBrush* button(QPalette* theWrappedObject) const; + const QBrush* buttonText(QPalette* theWrappedObject) const; + qint64 cacheKey(QPalette* theWrappedObject) const; + const QColor* color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + const QColor* color(QPalette* theWrappedObject, QPalette::ColorRole cr) const; + QPalette::ColorGroup currentColorGroup(QPalette* theWrappedObject) const; + const QBrush* dark(QPalette* theWrappedObject) const; + const QBrush* highlight(QPalette* theWrappedObject) const; + const QBrush* highlightedText(QPalette* theWrappedObject) const; + bool isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + bool isCopyOf(QPalette* theWrappedObject, const QPalette& p) const; + bool isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const; + const QBrush* light(QPalette* theWrappedObject) const; + const QBrush* link(QPalette* theWrappedObject) const; + const QBrush* linkVisited(QPalette* theWrappedObject) const; + const QBrush* mid(QPalette* theWrappedObject) const; + const QBrush* midlight(QPalette* theWrappedObject) const; + bool __ne__(QPalette* theWrappedObject, const QPalette& p) const; + void writeTo(QPalette* theWrappedObject, QDataStream& ds); + bool __eq__(QPalette* theWrappedObject, const QPalette& p) const; + void readFrom(QPalette* theWrappedObject, QDataStream& ds); + const QBrush* placeholderText(QPalette* theWrappedObject) const; + uint resolve(QPalette* theWrappedObject) const; + QPalette resolve(QPalette* theWrappedObject, const QPalette& arg__1) const; + void resolve(QPalette* theWrappedObject, uint mask); + void setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush); + void setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush); + void setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color); + void setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color); + void setColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cr, const QBrush& windowText, const QBrush& button, const QBrush& light, const QBrush& dark, const QBrush& mid, const QBrush& text, const QBrush& bright_text, const QBrush& base, const QBrush& window); + void setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg); + const QBrush* shadow(QPalette* theWrappedObject) const; + void swap(QPalette* theWrappedObject, QPalette& other); + const QBrush* text(QPalette* theWrappedObject) const; + const QBrush* toolTipBase(QPalette* theWrappedObject) const; + const QBrush* toolTipText(QPalette* theWrappedObject) const; + const QBrush* window(QPalette* theWrappedObject) const; + const QBrush* windowText(QPalette* theWrappedObject) const; + QString py_toString(QPalette*); +}; + + + + + +class PythonQtWrapper_QPen : public QObject +{ Q_OBJECT +public: +public slots: +QPen* new_QPen(); +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; } + QBrush brush(QPen* theWrappedObject) const; + Qt::PenCapStyle capStyle(QPen* theWrappedObject) const; + QColor color(QPen* theWrappedObject) const; + qreal dashOffset(QPen* theWrappedObject) const; + QVector dashPattern(QPen* theWrappedObject) const; + bool isCosmetic(QPen* theWrappedObject) const; + bool isSolid(QPen* theWrappedObject) const; + Qt::PenJoinStyle joinStyle(QPen* theWrappedObject) const; + qreal miterLimit(QPen* theWrappedObject) const; + bool __ne__(QPen* theWrappedObject, const QPen& p) const; + void writeTo(QPen* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPen* theWrappedObject, const QPen& p) const; + void readFrom(QPen* theWrappedObject, QDataStream& arg__1); + void setBrush(QPen* theWrappedObject, const QBrush& brush); + void setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs); + void setColor(QPen* theWrappedObject, const QColor& color); + void setCosmetic(QPen* theWrappedObject, bool cosmetic); + void setDashOffset(QPen* theWrappedObject, qreal doffset); + void setDashPattern(QPen* theWrappedObject, const QVector& pattern); + void setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs); + void setMiterLimit(QPen* theWrappedObject, qreal limit); + void setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1); + void setWidth(QPen* theWrappedObject, int width); + void setWidthF(QPen* theWrappedObject, qreal width); + Qt::PenStyle style(QPen* theWrappedObject) const; + void swap(QPen* theWrappedObject, QPen& other); + int width(QPen* theWrappedObject) const; + qreal widthF(QPen* theWrappedObject) const; + QString py_toString(QPen*); +}; + + + + + +class PythonQtShell_QPixmap : public QPixmap +{ +public: + 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 +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline int py_q_devType() const { return QPixmap::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPixmap::metric(arg__1); } +inline QPaintEngine* py_q_paintEngine() const { return QPixmap::paintEngine(); } +}; + +class PythonQtWrapper_QPixmap : public QObject +{ Q_OBJECT +public: +public slots: +QPixmap* new_QPixmap(); +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; } + 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; + QPixmap copy(QPixmap* theWrappedObject, int x, int y, int width, int height) const; + QBitmap createHeuristicMask(QPixmap* theWrappedObject, bool clipTight = true) const; + QBitmap createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode = Qt::MaskInColor) const; + int static_QPixmap_defaultDepth(); + int depth(QPixmap* theWrappedObject) const; + int py_q_devType(QPixmap* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->py_q_devType());} + qreal devicePixelRatio(QPixmap* theWrappedObject) const; + void fill(QPixmap* theWrappedObject, const QColor& fillColor = Qt::white); + void fill(QPixmap* theWrappedObject, const QPaintDevice* device, const QPoint& ofs); + void fill(QPixmap* theWrappedObject, const QPaintDevice* device, int xofs, int yofs); + QPixmap static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); + QPixmap static_QPixmap_fromImageReader(QImageReader* imageReader, Qt::ImageConversionFlags flags = Qt::AutoColor); + QPixmap static_QPixmap_grabWidget(QObject* widget, const QRect& rect); + QPixmap static_QPixmap_grabWidget(QObject* widget, int x = 0, int y = 0, int w = -1, int h = -1); + QPixmap static_QPixmap_grabWindow(WId arg__1, int x = 0, int y = 0, int w = -1, int h = -1); + bool hasAlpha(QPixmap* theWrappedObject) const; + bool hasAlphaChannel(QPixmap* theWrappedObject) const; + int height(QPixmap* theWrappedObject) const; + bool isNull(QPixmap* theWrappedObject) const; + bool isQBitmap(QPixmap* theWrappedObject) const; + bool load(QPixmap* theWrappedObject, const QString& fileName, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); + QBitmap mask(QPixmap* theWrappedObject) const; + int py_q_metric(QPixmap* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->py_q_metric(arg__1));} + void writeTo(QPixmap* theWrappedObject, QDataStream& arg__1); + void readFrom(QPixmap* theWrappedObject, QDataStream& arg__1); + QPaintEngine* py_q_paintEngine(QPixmap* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->py_q_paintEngine());} + QRect rect(QPixmap* theWrappedObject) const; + bool save(QPixmap* theWrappedObject, QIODevice* device, const char* format = nullptr, int quality = -1) const; + bool save(QPixmap* theWrappedObject, const QString& fileName, const char* format = nullptr, int quality = -1) const; + QPixmap scaled(QPixmap* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap scaled(QPixmap* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap scaledToHeight(QPixmap* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap scaledToWidth(QPixmap* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const; + void scroll(QPixmap* theWrappedObject, int dx, int dy, const QRect& rect, QRegion* exposed = nullptr); + void scroll(QPixmap* theWrappedObject, int dx, int dy, int x, int y, int width, int height, QRegion* exposed = nullptr); + void setDevicePixelRatio(QPixmap* theWrappedObject, qreal scaleFactor); + void setMask(QPixmap* theWrappedObject, const QBitmap& arg__1); + QSize size(QPixmap* theWrappedObject) const; + void swap(QPixmap* theWrappedObject, QPixmap& other); + QImage toImage(QPixmap* theWrappedObject) const; + QPixmap transformed(QPixmap* theWrappedObject, const QMatrix& arg__1, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap transformed(QPixmap* theWrappedObject, const QTransform& arg__1, Qt::TransformationMode mode = Qt::FastTransformation) const; + QMatrix static_QPixmap_trueMatrix(const QMatrix& m, int w, int h); + QTransform static_QPixmap_trueMatrix(const QTransform& m, int w, int h); + int width(QPixmap* theWrappedObject) const; + QString py_toString(QPixmap*); + bool __nonzero__(QPixmap* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QPolygon : public QObject +{ Q_OBJECT +public: +public slots: +QPolygon* new_QPolygon(); +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 append(QPolygon* theWrappedObject, const QPoint& t); + void append(QPolygon* theWrappedObject, const QVector& l); + const QPoint* at(QPolygon* theWrappedObject, int i) const; + QRect boundingRect(QPolygon* theWrappedObject) const; + int capacity(QPolygon* theWrappedObject) const; + void clear(QPolygon* theWrappedObject); + const QPoint* constFirst(QPolygon* theWrappedObject) const; + const QPoint* constLast(QPolygon* theWrappedObject) const; + bool contains(QPolygon* theWrappedObject, const QPoint& t) const; + bool containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const; + int count(QPolygon* theWrappedObject) const; + int count(QPolygon* theWrappedObject, const QPoint& t) const; + bool empty(QPolygon* theWrappedObject) const; + bool endsWith(QPolygon* theWrappedObject, const QPoint& t) const; + QVector* fill(QPolygon* theWrappedObject, const QPoint& t, int size = -1); + const QPoint* first(QPolygon* theWrappedObject) const; + QVector static_QPolygon_fromList(const QList& list); + int indexOf(QPolygon* theWrappedObject, const QPoint& t, int from = 0) const; + QPolygon intersected(QPolygon* theWrappedObject, const QPolygon& r) const; + bool intersects(QPolygon* theWrappedObject, const QPolygon& r) const; + bool isEmpty(QPolygon* theWrappedObject) const; + bool isSharedWith(QPolygon* theWrappedObject, const QVector& other) const; + const QPoint* last(QPolygon* theWrappedObject) const; + int lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from = -1) const; + int length(QPolygon* theWrappedObject) const; + QVector mid(QPolygon* theWrappedObject, int pos, int len = -1) const; + void move(QPolygon* theWrappedObject, int from, int to); + bool __ne__(QPolygon* theWrappedObject, const QVector& v) const; + QPolygon __mul__(QPolygon* theWrappedObject, const QMatrix& m); + QPolygon __mul__(QPolygon* theWrappedObject, const QTransform& m); + void writeTo(QPolygon* theWrappedObject, QDataStream& stream); + QPolygon* operator_assign(QPolygon* theWrappedObject, const QPolygon& other); + bool __eq__(QPolygon* theWrappedObject, const QVector& v) const; + void readFrom(QPolygon* theWrappedObject, QDataStream& stream); + void pop_back(QPolygon* theWrappedObject); + void pop_front(QPolygon* theWrappedObject); + void prepend(QPolygon* theWrappedObject, const QPoint& t); + void push_back(QPolygon* theWrappedObject, const QPoint& t); + void push_front(QPolygon* theWrappedObject, const QPoint& t); + void remove(QPolygon* theWrappedObject, int i); + void remove(QPolygon* theWrappedObject, int i, int n); + int removeAll(QPolygon* theWrappedObject, const QPoint& t); + void removeAt(QPolygon* theWrappedObject, int i); + void removeFirst(QPolygon* theWrappedObject); + void removeLast(QPolygon* theWrappedObject); + bool removeOne(QPolygon* theWrappedObject, const QPoint& t); + void replace(QPolygon* theWrappedObject, int i, const QPoint& t); + void reserve(QPolygon* theWrappedObject, int size); + void resize(QPolygon* theWrappedObject, int size); + void setSharable(QPolygon* theWrappedObject, bool sharable); + void shrink_to_fit(QPolygon* theWrappedObject); + int size(QPolygon* theWrappedObject) const; + void squeeze(QPolygon* theWrappedObject); + bool startsWith(QPolygon* theWrappedObject, const QPoint& t) const; + QPolygon subtracted(QPolygon* theWrappedObject, const QPolygon& r) const; + void swap(QPolygon* theWrappedObject, QPolygon& other); + void swapItemsAt(QPolygon* theWrappedObject, int i, int j); + QPoint takeAt(QPolygon* theWrappedObject, int i); + QPoint takeFirst(QPolygon* theWrappedObject); + QPoint takeLast(QPolygon* theWrappedObject); + QList toList(QPolygon* theWrappedObject) const; + void translate(QPolygon* theWrappedObject, const QPoint& offset); + void translate(QPolygon* theWrappedObject, int dx, int dy); + QPolygon translated(QPolygon* theWrappedObject, const QPoint& offset) const; + QPolygon translated(QPolygon* theWrappedObject, int dx, int dy) const; + QPolygon united(QPolygon* theWrappedObject, const QPolygon& r) const; + QPoint value(QPolygon* theWrappedObject, int i) const; + QPoint value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const; + QString py_toString(QPolygon*); + bool __nonzero__(QPolygon* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QRegion : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RegionType ) +enum RegionType{ + Rectangle = QRegion::Rectangle, Ellipse = QRegion::Ellipse}; +public slots: +QRegion* new_QRegion(); +QRegion* new_QRegion(const QBitmap& bitmap); +QRegion* new_QRegion(const QPolygon& pa, Qt::FillRule fillRule = Qt::OddEvenFill); +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; } + const QRect* begin(QRegion* theWrappedObject) const; + QRect boundingRect(QRegion* theWrappedObject) const; + const QRect* cbegin(QRegion* theWrappedObject) const; + const QRect* cend(QRegion* theWrappedObject) const; + bool contains(QRegion* theWrappedObject, const QPoint& p) const; + bool contains(QRegion* theWrappedObject, const QRect& r) const; + const QRect* end(QRegion* theWrappedObject) const; + QRegion intersected(QRegion* theWrappedObject, const QRect& r) const; + QRegion intersected(QRegion* theWrappedObject, const QRegion& r) const; + bool intersects(QRegion* theWrappedObject, const QRect& r) const; + bool intersects(QRegion* theWrappedObject, const QRegion& r) const; + bool isEmpty(QRegion* theWrappedObject) const; + bool isNull(QRegion* theWrappedObject) const; + bool __ne__(QRegion* theWrappedObject, const QRegion& r) const; + QRegion __and__(QRegion* theWrappedObject, const QRect& r) const; + QRegion __mul__(QRegion* theWrappedObject, const QMatrix& m); + QRegion __mul__(QRegion* theWrappedObject, const QTransform& m); + QRegion __add__(QRegion* theWrappedObject, const QRect& r) const; + void writeTo(QRegion* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRegion* theWrappedObject, const QRegion& r) const; + void readFrom(QRegion* theWrappedObject, QDataStream& arg__1); + int rectCount(QRegion* theWrappedObject) const; + QVector rects(QRegion* theWrappedObject) const; + void setRects(QRegion* theWrappedObject, const QRect* rect, int num); + QRegion subtracted(QRegion* theWrappedObject, const QRegion& r) const; + void swap(QRegion* theWrappedObject, QRegion& other); + void translate(QRegion* theWrappedObject, const QPoint& p); + void translate(QRegion* theWrappedObject, int dx, int dy); + QRegion translated(QRegion* theWrappedObject, const QPoint& p) const; + QRegion translated(QRegion* theWrappedObject, int dx, int dy) const; + QRegion united(QRegion* theWrappedObject, const QRect& r) const; + QRegion united(QRegion* theWrappedObject, const QRegion& r) const; + QRegion xored(QRegion* theWrappedObject, const QRegion& r) const; + QString py_toString(QRegion*); + bool __nonzero__(QRegion* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QSizePolicy : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ControlType Policy PolicyFlag ) +Q_FLAGS(ControlTypes ) +enum ControlType{ + DefaultType = QSizePolicy::DefaultType, ButtonBox = QSizePolicy::ButtonBox, CheckBox = QSizePolicy::CheckBox, ComboBox = QSizePolicy::ComboBox, Frame = QSizePolicy::Frame, GroupBox = QSizePolicy::GroupBox, Label = QSizePolicy::Label, Line = QSizePolicy::Line, LineEdit = QSizePolicy::LineEdit, PushButton = QSizePolicy::PushButton, RadioButton = QSizePolicy::RadioButton, Slider = QSizePolicy::Slider, SpinBox = QSizePolicy::SpinBox, TabWidget = QSizePolicy::TabWidget, ToolButton = QSizePolicy::ToolButton}; +enum Policy{ + Fixed = QSizePolicy::Fixed, Minimum = QSizePolicy::Minimum, Maximum = QSizePolicy::Maximum, Preferred = QSizePolicy::Preferred, MinimumExpanding = QSizePolicy::MinimumExpanding, Expanding = QSizePolicy::Expanding, Ignored = QSizePolicy::Ignored}; +enum PolicyFlag{ + GrowFlag = QSizePolicy::GrowFlag, ExpandFlag = QSizePolicy::ExpandFlag, ShrinkFlag = QSizePolicy::ShrinkFlag, IgnoreFlag = QSizePolicy::IgnoreFlag}; +Q_DECLARE_FLAGS(ControlTypes, ControlType) +public slots: +QSizePolicy* new_QSizePolicy(); +QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type = QSizePolicy::DefaultType); +QSizePolicy* new_QSizePolicy(const QSizePolicy& other) { +QSizePolicy* a = new QSizePolicy(); +*((QSizePolicy*)a) = other; +return a; } +void delete_QSizePolicy(QSizePolicy* obj) { delete obj; } + QSizePolicy::ControlType controlType(QSizePolicy* theWrappedObject) const; + Qt::Orientations expandingDirections(QSizePolicy* theWrappedObject) const; + bool hasHeightForWidth(QSizePolicy* theWrappedObject) const; + bool hasWidthForHeight(QSizePolicy* theWrappedObject) const; + QSizePolicy::Policy horizontalPolicy(QSizePolicy* theWrappedObject) const; + int horizontalStretch(QSizePolicy* theWrappedObject) const; + bool __ne__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const; + void writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1); + bool __eq__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const; + void readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1); + bool retainSizeWhenHidden(QSizePolicy* theWrappedObject) const; + void setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type); + void setHeightForWidth(QSizePolicy* theWrappedObject, bool b); + void setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); + void setHorizontalStretch(QSizePolicy* theWrappedObject, int stretchFactor); + void setRetainSizeWhenHidden(QSizePolicy* theWrappedObject, bool retainSize); + void setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); + void setVerticalStretch(QSizePolicy* theWrappedObject, int stretchFactor); + void setWidthForHeight(QSizePolicy* theWrappedObject, bool b); + void transpose(QSizePolicy* theWrappedObject); + QSizePolicy transposed(QSizePolicy* theWrappedObject) const; + QSizePolicy::Policy verticalPolicy(QSizePolicy* theWrappedObject) const; + int verticalStretch(QSizePolicy* theWrappedObject) const; + QString py_toString(QSizePolicy*); +}; + + + + + +class PythonQtWrapper_QTextFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FormatType ObjectTypes PageBreakFlag Property ) +Q_FLAGS(PageBreakFlags ) +enum FormatType{ + InvalidFormat = QTextFormat::InvalidFormat, BlockFormat = QTextFormat::BlockFormat, CharFormat = QTextFormat::CharFormat, ListFormat = QTextFormat::ListFormat, TableFormat = QTextFormat::TableFormat, FrameFormat = QTextFormat::FrameFormat, UserFormat = QTextFormat::UserFormat}; +enum ObjectTypes{ + NoObject = QTextFormat::NoObject, ImageObject = QTextFormat::ImageObject, TableObject = QTextFormat::TableObject, TableCellObject = QTextFormat::TableCellObject, UserObject = QTextFormat::UserObject}; +enum PageBreakFlag{ + PageBreak_Auto = QTextFormat::PageBreak_Auto, PageBreak_AlwaysBefore = QTextFormat::PageBreak_AlwaysBefore, PageBreak_AlwaysAfter = QTextFormat::PageBreak_AlwaysAfter}; +enum Property{ + ObjectIndex = QTextFormat::ObjectIndex, CssFloat = QTextFormat::CssFloat, LayoutDirection = QTextFormat::LayoutDirection, OutlinePen = QTextFormat::OutlinePen, BackgroundBrush = QTextFormat::BackgroundBrush, ForegroundBrush = QTextFormat::ForegroundBrush, BackgroundImageUrl = QTextFormat::BackgroundImageUrl, BlockAlignment = QTextFormat::BlockAlignment, BlockTopMargin = QTextFormat::BlockTopMargin, BlockBottomMargin = QTextFormat::BlockBottomMargin, BlockLeftMargin = QTextFormat::BlockLeftMargin, BlockRightMargin = QTextFormat::BlockRightMargin, TextIndent = QTextFormat::TextIndent, TabPositions = QTextFormat::TabPositions, BlockIndent = QTextFormat::BlockIndent, LineHeight = QTextFormat::LineHeight, LineHeightType = QTextFormat::LineHeightType, BlockNonBreakableLines = QTextFormat::BlockNonBreakableLines, BlockTrailingHorizontalRulerWidth = QTextFormat::BlockTrailingHorizontalRulerWidth, HeadingLevel = QTextFormat::HeadingLevel, BlockQuoteLevel = QTextFormat::BlockQuoteLevel, BlockCodeLanguage = QTextFormat::BlockCodeLanguage, BlockCodeFence = QTextFormat::BlockCodeFence, BlockMarker = QTextFormat::BlockMarker, FirstFontProperty = QTextFormat::FirstFontProperty, FontCapitalization = QTextFormat::FontCapitalization, FontLetterSpacingType = QTextFormat::FontLetterSpacingType, FontLetterSpacing = QTextFormat::FontLetterSpacing, FontWordSpacing = QTextFormat::FontWordSpacing, FontStretch = QTextFormat::FontStretch, FontStyleHint = QTextFormat::FontStyleHint, FontStyleStrategy = QTextFormat::FontStyleStrategy, FontKerning = QTextFormat::FontKerning, FontHintingPreference = QTextFormat::FontHintingPreference, FontFamilies = QTextFormat::FontFamilies, FontStyleName = QTextFormat::FontStyleName, FontFamily = QTextFormat::FontFamily, FontPointSize = QTextFormat::FontPointSize, FontSizeAdjustment = QTextFormat::FontSizeAdjustment, FontSizeIncrement = QTextFormat::FontSizeIncrement, FontWeight = QTextFormat::FontWeight, FontItalic = QTextFormat::FontItalic, FontUnderline = QTextFormat::FontUnderline, FontOverline = QTextFormat::FontOverline, FontStrikeOut = QTextFormat::FontStrikeOut, FontFixedPitch = QTextFormat::FontFixedPitch, FontPixelSize = QTextFormat::FontPixelSize, LastFontProperty = QTextFormat::LastFontProperty, TextUnderlineColor = QTextFormat::TextUnderlineColor, TextVerticalAlignment = QTextFormat::TextVerticalAlignment, TextOutline = QTextFormat::TextOutline, TextUnderlineStyle = QTextFormat::TextUnderlineStyle, TextToolTip = QTextFormat::TextToolTip, IsAnchor = QTextFormat::IsAnchor, AnchorHref = QTextFormat::AnchorHref, AnchorName = QTextFormat::AnchorName, ObjectType = QTextFormat::ObjectType, ListStyle = QTextFormat::ListStyle, ListIndent = QTextFormat::ListIndent, ListNumberPrefix = QTextFormat::ListNumberPrefix, ListNumberSuffix = QTextFormat::ListNumberSuffix, FrameBorder = QTextFormat::FrameBorder, FrameMargin = QTextFormat::FrameMargin, FramePadding = QTextFormat::FramePadding, FrameWidth = QTextFormat::FrameWidth, FrameHeight = QTextFormat::FrameHeight, FrameTopMargin = QTextFormat::FrameTopMargin, FrameBottomMargin = QTextFormat::FrameBottomMargin, FrameLeftMargin = QTextFormat::FrameLeftMargin, FrameRightMargin = QTextFormat::FrameRightMargin, FrameBorderBrush = QTextFormat::FrameBorderBrush, FrameBorderStyle = QTextFormat::FrameBorderStyle, TableColumns = QTextFormat::TableColumns, TableColumnWidthConstraints = QTextFormat::TableColumnWidthConstraints, TableCellSpacing = QTextFormat::TableCellSpacing, TableCellPadding = QTextFormat::TableCellPadding, TableHeaderRowCount = QTextFormat::TableHeaderRowCount, TableBorderCollapse = QTextFormat::TableBorderCollapse, TableCellRowSpan = QTextFormat::TableCellRowSpan, TableCellColumnSpan = QTextFormat::TableCellColumnSpan, TableCellTopPadding = QTextFormat::TableCellTopPadding, TableCellBottomPadding = QTextFormat::TableCellBottomPadding, TableCellLeftPadding = QTextFormat::TableCellLeftPadding, TableCellRightPadding = QTextFormat::TableCellRightPadding, TableCellTopBorder = QTextFormat::TableCellTopBorder, TableCellBottomBorder = QTextFormat::TableCellBottomBorder, TableCellLeftBorder = QTextFormat::TableCellLeftBorder, TableCellRightBorder = QTextFormat::TableCellRightBorder, TableCellTopBorderStyle = QTextFormat::TableCellTopBorderStyle, TableCellBottomBorderStyle = QTextFormat::TableCellBottomBorderStyle, TableCellLeftBorderStyle = QTextFormat::TableCellLeftBorderStyle, TableCellRightBorderStyle = QTextFormat::TableCellRightBorderStyle, TableCellTopBorderBrush = QTextFormat::TableCellTopBorderBrush, TableCellBottomBorderBrush = QTextFormat::TableCellBottomBorderBrush, TableCellLeftBorderBrush = QTextFormat::TableCellLeftBorderBrush, TableCellRightBorderBrush = QTextFormat::TableCellRightBorderBrush, ImageName = QTextFormat::ImageName, ImageTitle = QTextFormat::ImageTitle, ImageAltText = QTextFormat::ImageAltText, ImageWidth = QTextFormat::ImageWidth, ImageHeight = QTextFormat::ImageHeight, ImageQuality = QTextFormat::ImageQuality, FullWidthSelection = QTextFormat::FullWidthSelection, PageBreakPolicy = QTextFormat::PageBreakPolicy, UserProperty = QTextFormat::UserProperty}; +Q_DECLARE_FLAGS(PageBreakFlags, PageBreakFlag) +public slots: +QTextFormat* new_QTextFormat(); +QTextFormat* new_QTextFormat(const QTextFormat& rhs); +QTextFormat* new_QTextFormat(int type); +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; + void clearBackground(QTextFormat* theWrappedObject); + void clearForeground(QTextFormat* theWrappedObject); + void clearProperty(QTextFormat* theWrappedObject, int propertyId); + QColor colorProperty(QTextFormat* theWrappedObject, int propertyId) const; + qreal doubleProperty(QTextFormat* theWrappedObject, int propertyId) const; + QBrush foreground(QTextFormat* theWrappedObject) const; + bool hasProperty(QTextFormat* theWrappedObject, int propertyId) const; + int intProperty(QTextFormat* theWrappedObject, int propertyId) const; + bool isBlockFormat(QTextFormat* theWrappedObject) const; + bool isCharFormat(QTextFormat* theWrappedObject) const; + bool isEmpty(QTextFormat* theWrappedObject) const; + bool isFrameFormat(QTextFormat* theWrappedObject) const; + bool isImageFormat(QTextFormat* theWrappedObject) const; + bool isListFormat(QTextFormat* theWrappedObject) const; + bool isTableCellFormat(QTextFormat* theWrappedObject) const; + bool isTableFormat(QTextFormat* theWrappedObject) const; + bool isValid(QTextFormat* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QTextFormat* theWrappedObject) const; + QTextLength lengthProperty(QTextFormat* theWrappedObject, int propertyId) const; + QVector lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const; + void merge(QTextFormat* theWrappedObject, const QTextFormat& other); + int objectIndex(QTextFormat* theWrappedObject) const; + int objectType(QTextFormat* theWrappedObject) const; + bool __ne__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const; + void writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1); + bool __eq__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const; + void readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1); + QPen penProperty(QTextFormat* theWrappedObject, int propertyId) const; + QMap properties(QTextFormat* theWrappedObject) const; + QVariant property(QTextFormat* theWrappedObject, int propertyId) const; + int propertyCount(QTextFormat* theWrappedObject) const; + void setBackground(QTextFormat* theWrappedObject, const QBrush& brush); + void setForeground(QTextFormat* theWrappedObject, const QBrush& brush); + void setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction); + void setObjectIndex(QTextFormat* theWrappedObject, int object); + void setObjectType(QTextFormat* theWrappedObject, int type); + void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value); + void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths); + QString stringProperty(QTextFormat* theWrappedObject, int propertyId) const; + void swap(QTextFormat* theWrappedObject, QTextFormat& other); + QTextBlockFormat toBlockFormat(QTextFormat* theWrappedObject) const; + QTextCharFormat toCharFormat(QTextFormat* theWrappedObject) const; + QTextFrameFormat toFrameFormat(QTextFormat* theWrappedObject) const; + QTextImageFormat toImageFormat(QTextFormat* theWrappedObject) const; + QTextListFormat toListFormat(QTextFormat* theWrappedObject) const; + QTextTableCellFormat toTableCellFormat(QTextFormat* theWrappedObject) const; + QTextTableFormat toTableFormat(QTextFormat* theWrappedObject) const; + int type(QTextFormat* theWrappedObject) const; + QString py_toString(QTextFormat*); + bool __nonzero__(QTextFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextLength : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + VariableLength = QTextLength::VariableLength, FixedLength = QTextLength::FixedLength, PercentageLength = QTextLength::PercentageLength}; +public slots: +QTextLength* new_QTextLength(); +QTextLength* new_QTextLength(QTextLength::Type type, qreal value); +QTextLength* new_QTextLength(const QTextLength& other) { +QTextLength* a = new QTextLength(); +*((QTextLength*)a) = other; +return a; } +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; + void readFrom(QTextLength* theWrappedObject, QDataStream& arg__1); + qreal rawValue(QTextLength* theWrappedObject) const; + QTextLength::Type type(QTextLength* theWrappedObject) const; + qreal value(QTextLength* theWrappedObject, qreal maximumLength) const; + QString py_toString(QTextLength*); +}; + + + + + +class PythonQtWrapper_QTransform : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TransformationType ) +enum TransformationType{ + TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject}; +public slots: +QTransform* new_QTransform(); +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; } + QTransform adjoint(QTransform* theWrappedObject) const; + qreal det(QTransform* theWrappedObject) const; + qreal determinant(QTransform* theWrappedObject) const; + qreal dx(QTransform* theWrappedObject) const; + qreal dy(QTransform* theWrappedObject) const; + QTransform static_QTransform_fromScale(qreal dx, qreal dy); + QTransform static_QTransform_fromTranslate(qreal dx, qreal dy); + QTransform inverted(QTransform* theWrappedObject, bool* invertible = nullptr) const; + bool isAffine(QTransform* theWrappedObject) const; + bool isIdentity(QTransform* theWrappedObject) const; + bool isInvertible(QTransform* theWrappedObject) const; + bool isRotating(QTransform* theWrappedObject) const; + bool isScaling(QTransform* theWrappedObject) const; + bool isTranslating(QTransform* theWrappedObject) const; + qreal m11(QTransform* theWrappedObject) const; + qreal m12(QTransform* theWrappedObject) const; + qreal m13(QTransform* theWrappedObject) const; + qreal m21(QTransform* theWrappedObject) const; + qreal m22(QTransform* theWrappedObject) const; + qreal m23(QTransform* theWrappedObject) const; + qreal m31(QTransform* theWrappedObject) const; + qreal m32(QTransform* theWrappedObject) const; + qreal m33(QTransform* theWrappedObject) const; + QLine map(QTransform* theWrappedObject, const QLine& l) const; + QLineF map(QTransform* theWrappedObject, const QLineF& l) const; + QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const; + QPoint map(QTransform* theWrappedObject, const QPoint& p) const; + QPointF map(QTransform* theWrappedObject, const QPointF& p) const; + QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const; + QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const; + QRegion map(QTransform* theWrappedObject, const QRegion& r) const; + QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const; + QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const; + QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const; + bool __ne__(QTransform* theWrappedObject, const QTransform& arg__1) const; + QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const; + QTransform __mul__(QTransform* theWrappedObject, qreal n); + QTransform* __imul__(QTransform* theWrappedObject, const QTransform& arg__1); + QTransform* __imul__(QTransform* theWrappedObject, qreal div); + QTransform __add__(QTransform* theWrappedObject, qreal n); + QTransform* __iadd__(QTransform* theWrappedObject, qreal div); + QTransform __sub__(QTransform* theWrappedObject, qreal n); + QTransform* __isub__(QTransform* theWrappedObject, qreal div); + QTransform __div__(QTransform* theWrappedObject, qreal n); + QTransform* __idiv__(QTransform* theWrappedObject, qreal div); + void writeTo(QTransform* theWrappedObject, QDataStream& arg__1); + bool __eq__(QTransform* theWrappedObject, const QTransform& arg__1) const; + void readFrom(QTransform* theWrappedObject, QDataStream& arg__1); + bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result); + bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result); + void reset(QTransform* theWrappedObject); + QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); + QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); + QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy); + void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); + QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv); + bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result); + const QMatrix* toAffine(QTransform* theWrappedObject) const; + QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy); + QTransform transposed(QTransform* theWrappedObject) const; + QTransform::TransformationType type(QTransform* theWrappedObject) const; + QString py_toString(QTransform*); +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp new file mode 100644 index 00000000..4e48e23b --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp @@ -0,0 +1,30 @@ +#include +#include +#include "com_trolltech_qt_gui_builtin0.h" + + +void PythonQt_init_QtGuiBuiltin(PyObject* module) { +PythonQt::priv()->registerCPPClass("QBitmap", "QPixmap", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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, 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("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()->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, 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); +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); + + +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri new file mode 100644 index 00000000..10659826 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri @@ -0,0 +1,12 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_multimedia0.h \ + $$PWD/com_trolltech_qt_multimedia1.h \ + $$PWD/com_trolltech_qt_multimedia2.h \ + $$PWD/com_trolltech_qt_multimedia3.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_multimedia0.cpp \ + $$PWD/com_trolltech_qt_multimedia1.cpp \ + $$PWD/com_trolltech_qt_multimedia2.cpp \ + $$PWD/com_trolltech_qt_multimedia3.cpp \ + $$PWD/com_trolltech_qt_multimedia_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp new file mode 100644 index 00000000..77f25cb4 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -0,0 +1,9159 @@ +#include "com_trolltech_qt_multimedia0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QAbstractAudioDeviceInfo::~PythonQtShell_QAbstractAudioDeviceInfo() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractAudioDeviceInfo::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(); + } + } +} + QAbstractAudioDeviceInfo::childEvent(event0); +} +void PythonQtShell_QAbstractAudioDeviceInfo::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(); + } + } +} + QAbstractAudioDeviceInfo::customEvent(event0); +} +QString PythonQtShell_QAbstractAudioDeviceInfo::deviceName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deviceName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QAbstractAudioDeviceInfo::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 QAbstractAudioDeviceInfo::event(event0); +} +bool PythonQtShell_QAbstractAudioDeviceInfo::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 QAbstractAudioDeviceInfo::eventFilter(watched0, event1); +} +bool PythonQtShell_QAbstractAudioDeviceInfo::isFormatSupported(const QAudioFormat& format0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFormatSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QAudioFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QAudioFormat PythonQtShell_QAbstractAudioDeviceInfo::preferredFormat() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preferredFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudioFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("preferredFormat", methodInfo, result); + } else { + returnValue = *((QAudioFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioFormat(); +} +QList PythonQtShell_QAbstractAudioDeviceInfo::supportedByteOrders() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedByteOrders"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedByteOrders", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QList PythonQtShell_QAbstractAudioDeviceInfo::supportedChannelCounts() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedChannelCounts"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedChannelCounts", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QStringList PythonQtShell_QAbstractAudioDeviceInfo::supportedCodecs() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedCodecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedCodecs", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleRates() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedSampleRates"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleSizes() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedSampleSizes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleSizes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QList PythonQtShell_QAbstractAudioDeviceInfo::supportedSampleTypes() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedSampleTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleTypes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QAbstractAudioDeviceInfo::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(); + } + } +} + QAbstractAudioDeviceInfo::timerEvent(event0); +} +QAbstractAudioDeviceInfo* PythonQtWrapper_QAbstractAudioDeviceInfo::new_QAbstractAudioDeviceInfo() +{ +return new PythonQtShell_QAbstractAudioDeviceInfo(); } + +const QMetaObject* PythonQtShell_QAbstractAudioDeviceInfo::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractAudioDeviceInfo::staticMetaObject); + } else { + return &QAbstractAudioDeviceInfo::staticMetaObject; + } +} +int PythonQtShell_QAbstractAudioDeviceInfo::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractAudioDeviceInfo::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QAbstractAudioDeviceInfo::deviceName(QAbstractAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->deviceName()); +} + +bool PythonQtWrapper_QAbstractAudioDeviceInfo::isFormatSupported(QAbstractAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const +{ + return ( theWrappedObject->isFormatSupported(format)); +} + +QAudioFormat PythonQtWrapper_QAbstractAudioDeviceInfo::preferredFormat(QAbstractAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->preferredFormat()); +} + +QList PythonQtWrapper_QAbstractAudioDeviceInfo::supportedByteOrders(QAbstractAudioDeviceInfo* theWrappedObject) +{ + return ( theWrappedObject->supportedByteOrders()); +} + +QList PythonQtWrapper_QAbstractAudioDeviceInfo::supportedChannelCounts(QAbstractAudioDeviceInfo* theWrappedObject) +{ + return ( theWrappedObject->supportedChannelCounts()); +} + +QStringList PythonQtWrapper_QAbstractAudioDeviceInfo::supportedCodecs(QAbstractAudioDeviceInfo* theWrappedObject) +{ + return ( theWrappedObject->supportedCodecs()); +} + +QList PythonQtWrapper_QAbstractAudioDeviceInfo::supportedSampleRates(QAbstractAudioDeviceInfo* theWrappedObject) +{ + return ( theWrappedObject->supportedSampleRates()); +} + +QList PythonQtWrapper_QAbstractAudioDeviceInfo::supportedSampleSizes(QAbstractAudioDeviceInfo* theWrappedObject) +{ + return ( theWrappedObject->supportedSampleSizes()); +} + +QList PythonQtWrapper_QAbstractAudioDeviceInfo::supportedSampleTypes(QAbstractAudioDeviceInfo* theWrappedObject) +{ + return ( theWrappedObject->supportedSampleTypes()); +} + + + +PythonQtShell_QAbstractAudioInput::~PythonQtShell_QAbstractAudioInput() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QAbstractAudioInput::bufferSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bufferSize"); + 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("bufferSize", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QAbstractAudioInput::bytesReady() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesReady"); + 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("bytesReady", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QAbstractAudioInput::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(); + } + } +} + QAbstractAudioInput::childEvent(event0); +} +void PythonQtShell_QAbstractAudioInput::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(); + } + } +} + QAbstractAudioInput::customEvent(event0); +} +qint64 PythonQtShell_QAbstractAudioInput::elapsedUSecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("elapsedUSecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +QAudio::Error PythonQtShell_QAbstractAudioInput::error() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("error"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudio::Error"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((QAudio::Error*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudio::Error(); +} +bool PythonQtShell_QAbstractAudioInput::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 QAbstractAudioInput::event(event0); +} +bool PythonQtShell_QAbstractAudioInput::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 QAbstractAudioInput::eventFilter(watched0, event1); +} +QAudioFormat PythonQtShell_QAbstractAudioInput::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudioFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QAudioFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioFormat(); +} +int PythonQtShell_QAbstractAudioInput::notifyInterval() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("notifyInterval"); + 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("notifyInterval", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QAbstractAudioInput::periodSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("periodSize"); + 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("periodSize", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +qint64 PythonQtShell_QAbstractAudioInput::processedUSecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("processedUSecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +void PythonQtShell_QAbstractAudioInput::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioInput::resume() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resume"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioInput::setBufferSize(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBufferSize"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractAudioInput::setFormat(const QAudioFormat& fmt0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QAudioFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&fmt0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractAudioInput::setNotifyInterval(int milliSeconds0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setNotifyInterval"); + 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*)&milliSeconds0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractAudioInput::setVolume(qreal arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVolume"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QIODevice* PythonQtShell_QAbstractAudioInput::start() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("start"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QAbstractAudioInput::start(QIODevice* device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("start"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&device0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QAudio::State PythonQtShell_QAbstractAudioInput::state() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("state"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudio::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAudio::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudio::State(); +} +void PythonQtShell_QAbstractAudioInput::stop() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stop"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioInput::suspend() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("suspend"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioInput::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(); + } + } +} + QAbstractAudioInput::timerEvent(event0); +} +qreal PythonQtShell_QAbstractAudioInput::volume() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("volume"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +QAbstractAudioInput* PythonQtWrapper_QAbstractAudioInput::new_QAbstractAudioInput() +{ +return new PythonQtShell_QAbstractAudioInput(); } + +const QMetaObject* PythonQtShell_QAbstractAudioInput::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractAudioInput::staticMetaObject); + } else { + return &QAbstractAudioInput::staticMetaObject; + } +} +int PythonQtShell_QAbstractAudioInput::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractAudioInput::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QAbstractAudioInput::bufferSize(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->bufferSize()); +} + +int PythonQtWrapper_QAbstractAudioInput::bytesReady(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->bytesReady()); +} + +qint64 PythonQtWrapper_QAbstractAudioInput::elapsedUSecs(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->elapsedUSecs()); +} + +QAudio::Error PythonQtWrapper_QAbstractAudioInput::error(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QAudioFormat PythonQtWrapper_QAbstractAudioInput::format(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QAbstractAudioInput::notifyInterval(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->notifyInterval()); +} + +int PythonQtWrapper_QAbstractAudioInput::periodSize(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->periodSize()); +} + +qint64 PythonQtWrapper_QAbstractAudioInput::processedUSecs(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->processedUSecs()); +} + +void PythonQtWrapper_QAbstractAudioInput::reset(QAbstractAudioInput* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QAbstractAudioInput::resume(QAbstractAudioInput* theWrappedObject) +{ + ( theWrappedObject->resume()); +} + +void PythonQtWrapper_QAbstractAudioInput::setBufferSize(QAbstractAudioInput* theWrappedObject, int value) +{ + ( theWrappedObject->setBufferSize(value)); +} + +void PythonQtWrapper_QAbstractAudioInput::setFormat(QAbstractAudioInput* theWrappedObject, const QAudioFormat& fmt) +{ + ( theWrappedObject->setFormat(fmt)); +} + +void PythonQtWrapper_QAbstractAudioInput::setNotifyInterval(QAbstractAudioInput* theWrappedObject, int milliSeconds) +{ + ( theWrappedObject->setNotifyInterval(milliSeconds)); +} + +void PythonQtWrapper_QAbstractAudioInput::setVolume(QAbstractAudioInput* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setVolume(arg__1)); +} + +QIODevice* PythonQtWrapper_QAbstractAudioInput::start(QAbstractAudioInput* theWrappedObject) +{ + return ( theWrappedObject->start()); +} + +void PythonQtWrapper_QAbstractAudioInput::start(QAbstractAudioInput* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->start(device)); +} + +QAudio::State PythonQtWrapper_QAbstractAudioInput::state(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QAbstractAudioInput::stop(QAbstractAudioInput* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +void PythonQtWrapper_QAbstractAudioInput::suspend(QAbstractAudioInput* theWrappedObject) +{ + ( theWrappedObject->suspend()); +} + +qreal PythonQtWrapper_QAbstractAudioInput::volume(QAbstractAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QAbstractAudioOutput::~PythonQtShell_QAbstractAudioOutput() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QAbstractAudioOutput::bufferSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bufferSize"); + 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("bufferSize", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QAbstractAudioOutput::bytesFree() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesFree"); + 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("bytesFree", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QString PythonQtShell_QAbstractAudioOutput::category() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("category"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("category", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractAudioOutput::category(); +} +void PythonQtShell_QAbstractAudioOutput::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(); + } + } +} + QAbstractAudioOutput::childEvent(event0); +} +void PythonQtShell_QAbstractAudioOutput::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(); + } + } +} + QAbstractAudioOutput::customEvent(event0); +} +qint64 PythonQtShell_QAbstractAudioOutput::elapsedUSecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("elapsedUSecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +QAudio::Error PythonQtShell_QAbstractAudioOutput::error() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("error"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudio::Error"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((QAudio::Error*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudio::Error(); +} +bool PythonQtShell_QAbstractAudioOutput::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 QAbstractAudioOutput::event(event0); +} +bool PythonQtShell_QAbstractAudioOutput::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 QAbstractAudioOutput::eventFilter(watched0, event1); +} +QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudioFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QAudioFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioFormat(); +} +int PythonQtShell_QAbstractAudioOutput::notifyInterval() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("notifyInterval"); + 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("notifyInterval", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QAbstractAudioOutput::periodSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("periodSize"); + 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("periodSize", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +qint64 PythonQtShell_QAbstractAudioOutput::processedUSecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("processedUSecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +void PythonQtShell_QAbstractAudioOutput::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioOutput::resume() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resume"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioOutput::setBufferSize(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBufferSize"); + 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*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractAudioOutput::setCategory(const QString& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCategory"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioOutput::setCategory(arg__1); +} +void PythonQtShell_QAbstractAudioOutput::setFormat(const QAudioFormat& fmt0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QAudioFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&fmt0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractAudioOutput::setNotifyInterval(int milliSeconds0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setNotifyInterval"); + 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*)&milliSeconds0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractAudioOutput::setVolume(qreal arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVolume"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioOutput::setVolume(arg__1); +} +QIODevice* PythonQtShell_QAbstractAudioOutput::start() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("start"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QAbstractAudioOutput::start(QIODevice* device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("start"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&device0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QAudio::State PythonQtShell_QAbstractAudioOutput::state() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("state"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudio::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAudio::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudio::State(); +} +void PythonQtShell_QAbstractAudioOutput::stop() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stop"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioOutput::suspend() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("suspend"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractAudioOutput::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(); + } + } +} + QAbstractAudioOutput::timerEvent(event0); +} +qreal PythonQtShell_QAbstractAudioOutput::volume() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("volume"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractAudioOutput::volume(); +} +QAbstractAudioOutput* PythonQtWrapper_QAbstractAudioOutput::new_QAbstractAudioOutput() +{ +return new PythonQtShell_QAbstractAudioOutput(); } + +const QMetaObject* PythonQtShell_QAbstractAudioOutput::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractAudioOutput::staticMetaObject); + } else { + return &QAbstractAudioOutput::staticMetaObject; + } +} +int PythonQtShell_QAbstractAudioOutput::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractAudioOutput::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QAbstractAudioOutput::bufferSize(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->bufferSize()); +} + +int PythonQtWrapper_QAbstractAudioOutput::bytesFree(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->bytesFree()); +} + +QString PythonQtWrapper_QAbstractAudioOutput::category(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->category()); +} + +qint64 PythonQtWrapper_QAbstractAudioOutput::elapsedUSecs(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->elapsedUSecs()); +} + +QAudio::Error PythonQtWrapper_QAbstractAudioOutput::error(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QAudioFormat PythonQtWrapper_QAbstractAudioOutput::format(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QAbstractAudioOutput::notifyInterval(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->notifyInterval()); +} + +int PythonQtWrapper_QAbstractAudioOutput::periodSize(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->periodSize()); +} + +qint64 PythonQtWrapper_QAbstractAudioOutput::processedUSecs(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->processedUSecs()); +} + +void PythonQtWrapper_QAbstractAudioOutput::reset(QAbstractAudioOutput* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QAbstractAudioOutput::resume(QAbstractAudioOutput* theWrappedObject) +{ + ( theWrappedObject->resume()); +} + +void PythonQtWrapper_QAbstractAudioOutput::setBufferSize(QAbstractAudioOutput* theWrappedObject, int value) +{ + ( theWrappedObject->setBufferSize(value)); +} + +void PythonQtWrapper_QAbstractAudioOutput::setCategory(QAbstractAudioOutput* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setCategory(arg__1)); +} + +void PythonQtWrapper_QAbstractAudioOutput::setFormat(QAbstractAudioOutput* theWrappedObject, const QAudioFormat& fmt) +{ + ( theWrappedObject->setFormat(fmt)); +} + +void PythonQtWrapper_QAbstractAudioOutput::setNotifyInterval(QAbstractAudioOutput* theWrappedObject, int milliSeconds) +{ + ( theWrappedObject->setNotifyInterval(milliSeconds)); +} + +void PythonQtWrapper_QAbstractAudioOutput::setVolume(QAbstractAudioOutput* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setVolume(arg__1)); +} + +QIODevice* PythonQtWrapper_QAbstractAudioOutput::start(QAbstractAudioOutput* theWrappedObject) +{ + return ( theWrappedObject->start()); +} + +void PythonQtWrapper_QAbstractAudioOutput::start(QAbstractAudioOutput* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->start(device)); +} + +QAudio::State PythonQtWrapper_QAbstractAudioOutput::state(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QAbstractAudioOutput::stop(QAbstractAudioOutput* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +void PythonQtWrapper_QAbstractAudioOutput::suspend(QAbstractAudioOutput* theWrappedObject) +{ + ( theWrappedObject->suspend()); +} + +qreal PythonQtWrapper_QAbstractAudioOutput::volume(QAbstractAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QAbstractVideoBuffer::~PythonQtShell_QAbstractVideoBuffer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVariant PythonQtShell_QAbstractVideoBuffer::handle() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("handle"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractVideoBuffer::handle(); +} +uchar* PythonQtShell_QAbstractVideoBuffer::map(QAbstractVideoBuffer::MapMode mode0, int* numBytes1, int* bytesPerLine2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("map"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"uchar*" , "QAbstractVideoBuffer::MapMode" , "int*" , "int*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("map", methodInfo, result); + } else { + returnValue = *((uchar**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractVideoBuffer::MapMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapMode", methodInfo, result); + } else { + returnValue = *((QAbstractVideoBuffer::MapMode*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractVideoBuffer::MapMode(); +} +void PythonQtShell_QAbstractVideoBuffer::release() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("release"); + 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(); + } + } +} + QAbstractVideoBuffer::release(); +} +void PythonQtShell_QAbstractVideoBuffer::unmap() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unmap"); + 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(); + } + } +} + +} +QAbstractVideoBuffer* PythonQtWrapper_QAbstractVideoBuffer::new_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type) +{ +return new PythonQtShell_QAbstractVideoBuffer(type); } + +QVariant PythonQtWrapper_QAbstractVideoBuffer::handle(QAbstractVideoBuffer* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +QAbstractVideoBuffer::HandleType PythonQtWrapper_QAbstractVideoBuffer::handleType(QAbstractVideoBuffer* theWrappedObject) const +{ + return ( theWrappedObject->handleType()); +} + +uchar* PythonQtWrapper_QAbstractVideoBuffer::map(QAbstractVideoBuffer* theWrappedObject, QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine) +{ + return ( theWrappedObject->map(mode, numBytes, bytesPerLine)); +} + +QAbstractVideoBuffer::MapMode PythonQtWrapper_QAbstractVideoBuffer::mapMode(QAbstractVideoBuffer* theWrappedObject) const +{ + return ( theWrappedObject->mapMode()); +} + +void PythonQtWrapper_QAbstractVideoBuffer::release(QAbstractVideoBuffer* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QAbstractVideoBuffer::unmap(QAbstractVideoBuffer* theWrappedObject) +{ + ( theWrappedObject->unmap()); +} + + + +PythonQtShell_QAbstractVideoSurface::~PythonQtShell_QAbstractVideoSurface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractVideoSurface::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(); + } + } +} + QAbstractVideoSurface::childEvent(event0); +} +void PythonQtShell_QAbstractVideoSurface::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(); + } + } +} + QAbstractVideoSurface::customEvent(event0); +} +bool PythonQtShell_QAbstractVideoSurface::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 QAbstractVideoSurface::event(event0); +} +bool PythonQtShell_QAbstractVideoSurface::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 QAbstractVideoSurface::eventFilter(watched0, event1); +} +bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurfaceFormat& format0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFormatSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractVideoSurface::isFormatSupported(format0); +} +QVideoSurfaceFormat PythonQtShell_QAbstractVideoSurface::nearestFormat(const QVideoSurfaceFormat& format0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nearestFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVideoSurfaceFormat" , "const QVideoSurfaceFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nearestFormat", methodInfo, result); + } else { + returnValue = *((QVideoSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractVideoSurface::nearestFormat(format0); +} +bool PythonQtShell_QAbstractVideoSurface::present(const QVideoFrame& frame0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("present"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QVideoFrame&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("present", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QAbstractVideoSurface::start(const QVideoSurfaceFormat& format0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("start"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractVideoSurface::start(format0); +} +void PythonQtShell_QAbstractVideoSurface::stop() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stop"); + 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(); + } + } +} + QAbstractVideoSurface::stop(); +} +QList PythonQtShell_QAbstractVideoSurface::supportedPixelFormats(QAbstractVideoBuffer::HandleType type0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedPixelFormats"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "QAbstractVideoBuffer::HandleType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedPixelFormats", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QAbstractVideoSurface::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(); + } + } +} + QAbstractVideoSurface::timerEvent(event0); +} +QAbstractVideoSurface* PythonQtWrapper_QAbstractVideoSurface::new_QAbstractVideoSurface(QObject* parent) +{ +return new PythonQtShell_QAbstractVideoSurface(parent); } + +const QMetaObject* PythonQtShell_QAbstractVideoSurface::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractVideoSurface::staticMetaObject); + } else { + return &QAbstractVideoSurface::staticMetaObject; + } +} +int PythonQtShell_QAbstractVideoSurface::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractVideoSurface::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAbstractVideoSurface::Error PythonQtWrapper_QAbstractVideoSurface::error(QAbstractVideoSurface* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QAbstractVideoSurface::isActive(QAbstractVideoSurface* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QAbstractVideoSurface::isFormatSupported(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const +{ + return ( theWrappedObject->isFormatSupported(format)); +} + +QSize PythonQtWrapper_QAbstractVideoSurface::nativeResolution(QAbstractVideoSurface* theWrappedObject) const +{ + return ( theWrappedObject->nativeResolution()); +} + +QVideoSurfaceFormat PythonQtWrapper_QAbstractVideoSurface::nearestFormat(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const +{ + return ( theWrappedObject->nearestFormat(format)); +} + +bool PythonQtWrapper_QAbstractVideoSurface::present(QAbstractVideoSurface* theWrappedObject, const QVideoFrame& frame) +{ + return ( theWrappedObject->present(frame)); +} + +void PythonQtWrapper_QAbstractVideoSurface::setError(QAbstractVideoSurface* theWrappedObject, QAbstractVideoSurface::Error error) +{ + ( ((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->promoted_setError(error)); +} + +void PythonQtWrapper_QAbstractVideoSurface::setNativeResolution(QAbstractVideoSurface* theWrappedObject, const QSize& resolution) +{ + ( ((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->promoted_setNativeResolution(resolution)); +} + +bool PythonQtWrapper_QAbstractVideoSurface::start(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) +{ + return ( theWrappedObject->start(format)); +} + +void PythonQtWrapper_QAbstractVideoSurface::stop(QAbstractVideoSurface* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +QList PythonQtWrapper_QAbstractVideoSurface::supportedPixelFormats(QAbstractVideoSurface* theWrappedObject, QAbstractVideoBuffer::HandleType type) const +{ + return ( theWrappedObject->supportedPixelFormats(type)); +} + +QVideoSurfaceFormat PythonQtWrapper_QAbstractVideoSurface::surfaceFormat(QAbstractVideoSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceFormat()); +} + + + +qreal PythonQtWrapper_QAudio::static_QAudio_convertVolume(qreal volume, QAudio::VolumeScale from, QAudio::VolumeScale to) +{ + return (QAudio::convertVolume(volume, from, to)); +} + + + +QAudioBuffer* PythonQtWrapper_QAudioBuffer::new_QAudioBuffer() +{ +return new QAudioBuffer(); } + +QAudioBuffer* PythonQtWrapper_QAudioBuffer::new_QAudioBuffer(const QAudioBuffer& other) +{ +return new QAudioBuffer(other); } + +QAudioBuffer* PythonQtWrapper_QAudioBuffer::new_QAudioBuffer(const QByteArray& data, const QAudioFormat& format, qint64 startTime) +{ +return new QAudioBuffer(data, format, startTime); } + +QAudioBuffer* PythonQtWrapper_QAudioBuffer::new_QAudioBuffer(int numFrames, const QAudioFormat& format, qint64 startTime) +{ +return new QAudioBuffer(numFrames, format, startTime); } + +int PythonQtWrapper_QAudioBuffer::byteCount(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->byteCount()); +} + +const void* PythonQtWrapper_QAudioBuffer::constData(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->constData()); +} + +void* PythonQtWrapper_QAudioBuffer::data(QAudioBuffer* theWrappedObject) +{ + return ( theWrappedObject->data()); +} + +const void* PythonQtWrapper_QAudioBuffer::data(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +qint64 PythonQtWrapper_QAudioBuffer::duration(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +QAudioFormat PythonQtWrapper_QAudioBuffer::format(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QAudioBuffer::frameCount(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->frameCount()); +} + +bool PythonQtWrapper_QAudioBuffer::isValid(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QAudioBuffer* PythonQtWrapper_QAudioBuffer::operator_assign(QAudioBuffer* theWrappedObject, const QAudioBuffer& other) +{ + return &( (*theWrappedObject)= other); +} + +int PythonQtWrapper_QAudioBuffer::sampleCount(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->sampleCount()); +} + +qint64 PythonQtWrapper_QAudioBuffer::startTime(QAudioBuffer* theWrappedObject) const +{ + return ( theWrappedObject->startTime()); +} + + + +PythonQtShell_QAudioDecoder::~PythonQtShell_QAudioDecoder() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::AvailabilityStatus PythonQtShell_QAudioDecoder::availability() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availability"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoder::availability(); +} +bool PythonQtShell_QAudioDecoder::bind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoder::bind(arg__1); +} +void PythonQtShell_QAudioDecoder::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(); + } + } +} + QAudioDecoder::childEvent(event0); +} +void PythonQtShell_QAudioDecoder::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(); + } + } +} + QAudioDecoder::customEvent(event0); +} +bool PythonQtShell_QAudioDecoder::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 QAudioDecoder::event(event0); +} +bool PythonQtShell_QAudioDecoder::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 QAudioDecoder::eventFilter(watched0, event1); +} +bool PythonQtShell_QAudioDecoder::isAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoder::isAvailable(); +} +QMediaService* PythonQtShell_QAudioDecoder::service() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("service"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaService*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); + } else { + returnValue = *((QMediaService**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoder::service(); +} +void PythonQtShell_QAudioDecoder::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(); + } + } +} + QAudioDecoder::timerEvent(event0); +} +void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unbind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioDecoder::unbind(arg__1); +} +QAudioDecoder* PythonQtWrapper_QAudioDecoder::new_QAudioDecoder(QObject* parent) +{ +return new PythonQtShell_QAudioDecoder(parent); } + +const QMetaObject* PythonQtShell_QAudioDecoder::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioDecoder::staticMetaObject); + } else { + return &QAudioDecoder::staticMetaObject; + } +} +int PythonQtShell_QAudioDecoder::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioDecoder::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAudioFormat PythonQtWrapper_QAudioDecoder::audioFormat(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->audioFormat()); +} + +bool PythonQtWrapper_QAudioDecoder::bufferAvailable(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->bufferAvailable()); +} + +qint64 PythonQtWrapper_QAudioDecoder::duration(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +QAudioDecoder::Error PythonQtWrapper_QAudioDecoder::error(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QAudioDecoder::errorString(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QMultimedia::SupportEstimate PythonQtWrapper_QAudioDecoder::static_QAudioDecoder_hasSupport(const QString& mimeType, const QStringList& codecs) +{ + return (QAudioDecoder::hasSupport(mimeType, codecs)); +} + +qint64 PythonQtWrapper_QAudioDecoder::position(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QAudioBuffer PythonQtWrapper_QAudioDecoder::read(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->read()); +} + +void PythonQtWrapper_QAudioDecoder::setAudioFormat(QAudioDecoder* theWrappedObject, const QAudioFormat& format) +{ + ( theWrappedObject->setAudioFormat(format)); +} + +void PythonQtWrapper_QAudioDecoder::setSourceDevice(QAudioDecoder* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setSourceDevice(device)); +} + +void PythonQtWrapper_QAudioDecoder::setSourceFilename(QAudioDecoder* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setSourceFilename(fileName)); +} + +QIODevice* PythonQtWrapper_QAudioDecoder::sourceDevice(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->sourceDevice()); +} + +QString PythonQtWrapper_QAudioDecoder::sourceFilename(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->sourceFilename()); +} + +QAudioDecoder::State PythonQtWrapper_QAudioDecoder::state(QAudioDecoder* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + + + +PythonQtShell_QAudioDecoderControl::~PythonQtShell_QAudioDecoderControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QAudioFormat PythonQtShell_QAudioDecoderControl::audioFormat() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("audioFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudioFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("audioFormat", methodInfo, result); + } else { + returnValue = *((QAudioFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioFormat(); +} +bool PythonQtShell_QAudioDecoderControl::bufferAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bufferAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bufferAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QAudioDecoderControl::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(); + } + } +} + QAudioDecoderControl::childEvent(event0); +} +void PythonQtShell_QAudioDecoderControl::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(); + } + } +} + QAudioDecoderControl::customEvent(event0); +} +qint64 PythonQtShell_QAudioDecoderControl::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +bool PythonQtShell_QAudioDecoderControl::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 QAudioDecoderControl::event(event0); +} +bool PythonQtShell_QAudioDecoderControl::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 QAudioDecoderControl::eventFilter(watched0, event1); +} +qint64 PythonQtShell_QAudioDecoderControl::position() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("position"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +QAudioBuffer PythonQtShell_QAudioDecoderControl::read() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudioBuffer"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + } else { + returnValue = *((QAudioBuffer*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioBuffer(); +} +void PythonQtShell_QAudioDecoderControl::setAudioFormat(const QAudioFormat& format0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setAudioFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QAudioFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&format0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAudioDecoderControl::setSourceDevice(QIODevice* device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSourceDevice"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&device0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAudioDecoderControl::setSourceFilename(const QString& fileName0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSourceFilename"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&fileName0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QIODevice* PythonQtShell_QAudioDecoderControl::sourceDevice() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceDevice"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sourceDevice", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QString PythonQtShell_QAudioDecoderControl::sourceFilename() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceFilename"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sourceFilename", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +void PythonQtShell_QAudioDecoderControl::start() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("start"); + 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(); + } + } +} + +} +QAudioDecoder::State PythonQtShell_QAudioDecoderControl::state() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("state"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudioDecoder::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QAudioDecoder::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoder::State(); +} +void PythonQtShell_QAudioDecoderControl::stop() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stop"); + 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(); + } + } +} + +} +void PythonQtShell_QAudioDecoderControl::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(); + } + } +} + QAudioDecoderControl::timerEvent(event0); +} +QAudioDecoderControl* PythonQtWrapper_QAudioDecoderControl::new_QAudioDecoderControl(QObject* parent) +{ +return new PythonQtShell_QAudioDecoderControl(parent); } + +const QMetaObject* PythonQtShell_QAudioDecoderControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioDecoderControl::staticMetaObject); + } else { + return &QAudioDecoderControl::staticMetaObject; + } +} +int PythonQtShell_QAudioDecoderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioDecoderControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAudioFormat PythonQtWrapper_QAudioDecoderControl::audioFormat(QAudioDecoderControl* theWrappedObject) const +{ + return ( theWrappedObject->audioFormat()); +} + +bool PythonQtWrapper_QAudioDecoderControl::bufferAvailable(QAudioDecoderControl* theWrappedObject) const +{ + return ( theWrappedObject->bufferAvailable()); +} + +qint64 PythonQtWrapper_QAudioDecoderControl::duration(QAudioDecoderControl* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +qint64 PythonQtWrapper_QAudioDecoderControl::position(QAudioDecoderControl* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QAudioBuffer PythonQtWrapper_QAudioDecoderControl::read(QAudioDecoderControl* theWrappedObject) +{ + return ( theWrappedObject->read()); +} + +void PythonQtWrapper_QAudioDecoderControl::setAudioFormat(QAudioDecoderControl* theWrappedObject, const QAudioFormat& format) +{ + ( theWrappedObject->setAudioFormat(format)); +} + +void PythonQtWrapper_QAudioDecoderControl::setSourceDevice(QAudioDecoderControl* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setSourceDevice(device)); +} + +void PythonQtWrapper_QAudioDecoderControl::setSourceFilename(QAudioDecoderControl* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setSourceFilename(fileName)); +} + +QIODevice* PythonQtWrapper_QAudioDecoderControl::sourceDevice(QAudioDecoderControl* theWrappedObject) const +{ + return ( theWrappedObject->sourceDevice()); +} + +QString PythonQtWrapper_QAudioDecoderControl::sourceFilename(QAudioDecoderControl* theWrappedObject) const +{ + return ( theWrappedObject->sourceFilename()); +} + +void PythonQtWrapper_QAudioDecoderControl::start(QAudioDecoderControl* theWrappedObject) +{ + ( theWrappedObject->start()); +} + +QAudioDecoder::State PythonQtWrapper_QAudioDecoderControl::state(QAudioDecoderControl* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QAudioDecoderControl::stop(QAudioDecoderControl* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + + + +QAudioDeviceInfo* PythonQtWrapper_QAudioDeviceInfo::new_QAudioDeviceInfo() +{ +return new QAudioDeviceInfo(); } + +QAudioDeviceInfo* PythonQtWrapper_QAudioDeviceInfo::new_QAudioDeviceInfo(const QAudioDeviceInfo& other) +{ +return new QAudioDeviceInfo(other); } + +QList PythonQtWrapper_QAudioDeviceInfo::static_QAudioDeviceInfo_availableDevices(QAudio::Mode mode) +{ + return (QAudioDeviceInfo::availableDevices(mode)); +} + +QAudioDeviceInfo PythonQtWrapper_QAudioDeviceInfo::static_QAudioDeviceInfo_defaultInputDevice() +{ + return (QAudioDeviceInfo::defaultInputDevice()); +} + +QAudioDeviceInfo PythonQtWrapper_QAudioDeviceInfo::static_QAudioDeviceInfo_defaultOutputDevice() +{ + return (QAudioDeviceInfo::defaultOutputDevice()); +} + +QString PythonQtWrapper_QAudioDeviceInfo::deviceName(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->deviceName()); +} + +bool PythonQtWrapper_QAudioDeviceInfo::isFormatSupported(QAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const +{ + return ( theWrappedObject->isFormatSupported(format)); +} + +bool PythonQtWrapper_QAudioDeviceInfo::isNull(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QAudioFormat PythonQtWrapper_QAudioDeviceInfo::nearestFormat(QAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const +{ + return ( theWrappedObject->nearestFormat(format)); +} + +bool PythonQtWrapper_QAudioDeviceInfo::__ne__(QAudioDeviceInfo* theWrappedObject, const QAudioDeviceInfo& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QAudioDeviceInfo* PythonQtWrapper_QAudioDeviceInfo::operator_assign(QAudioDeviceInfo* theWrappedObject, const QAudioDeviceInfo& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QAudioDeviceInfo::__eq__(QAudioDeviceInfo* theWrappedObject, const QAudioDeviceInfo& other) const +{ + return ( (*theWrappedObject)== other); +} + +QAudioFormat PythonQtWrapper_QAudioDeviceInfo::preferredFormat(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->preferredFormat()); +} + +QString PythonQtWrapper_QAudioDeviceInfo::realm(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->realm()); +} + +QList PythonQtWrapper_QAudioDeviceInfo::supportedByteOrders(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedByteOrders()); +} + +QList PythonQtWrapper_QAudioDeviceInfo::supportedChannelCounts(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedChannelCounts()); +} + +QStringList PythonQtWrapper_QAudioDeviceInfo::supportedCodecs(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedCodecs()); +} + +QList PythonQtWrapper_QAudioDeviceInfo::supportedSampleRates(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedSampleRates()); +} + +QList PythonQtWrapper_QAudioDeviceInfo::supportedSampleSizes(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedSampleSizes()); +} + +QList PythonQtWrapper_QAudioDeviceInfo::supportedSampleTypes(QAudioDeviceInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedSampleTypes()); +} + + + +QAudioEncoderSettings* PythonQtWrapper_QAudioEncoderSettings::new_QAudioEncoderSettings() +{ +return new QAudioEncoderSettings(); } + +QAudioEncoderSettings* PythonQtWrapper_QAudioEncoderSettings::new_QAudioEncoderSettings(const QAudioEncoderSettings& other) +{ +return new QAudioEncoderSettings(other); } + +int PythonQtWrapper_QAudioEncoderSettings::bitRate(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->bitRate()); +} + +int PythonQtWrapper_QAudioEncoderSettings::channelCount(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->channelCount()); +} + +QString PythonQtWrapper_QAudioEncoderSettings::codec(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QMultimedia::EncodingMode PythonQtWrapper_QAudioEncoderSettings::encodingMode(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->encodingMode()); +} + +QVariant PythonQtWrapper_QAudioEncoderSettings::encodingOption(QAudioEncoderSettings* theWrappedObject, const QString& option) const +{ + return ( theWrappedObject->encodingOption(option)); +} + +QMap PythonQtWrapper_QAudioEncoderSettings::encodingOptions(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->encodingOptions()); +} + +bool PythonQtWrapper_QAudioEncoderSettings::isNull(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QAudioEncoderSettings::__ne__(QAudioEncoderSettings* theWrappedObject, const QAudioEncoderSettings& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QAudioEncoderSettings* PythonQtWrapper_QAudioEncoderSettings::operator_assign(QAudioEncoderSettings* theWrappedObject, const QAudioEncoderSettings& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QAudioEncoderSettings::__eq__(QAudioEncoderSettings* theWrappedObject, const QAudioEncoderSettings& other) const +{ + return ( (*theWrappedObject)== other); +} + +QMultimedia::EncodingQuality PythonQtWrapper_QAudioEncoderSettings::quality(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +int PythonQtWrapper_QAudioEncoderSettings::sampleRate(QAudioEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->sampleRate()); +} + +void PythonQtWrapper_QAudioEncoderSettings::setBitRate(QAudioEncoderSettings* theWrappedObject, int bitrate) +{ + ( theWrappedObject->setBitRate(bitrate)); +} + +void PythonQtWrapper_QAudioEncoderSettings::setChannelCount(QAudioEncoderSettings* theWrappedObject, int channels) +{ + ( theWrappedObject->setChannelCount(channels)); +} + +void PythonQtWrapper_QAudioEncoderSettings::setCodec(QAudioEncoderSettings* theWrappedObject, const QString& codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QAudioEncoderSettings::setEncodingMode(QAudioEncoderSettings* theWrappedObject, QMultimedia::EncodingMode arg__1) +{ + ( theWrappedObject->setEncodingMode(arg__1)); +} + +void PythonQtWrapper_QAudioEncoderSettings::setEncodingOption(QAudioEncoderSettings* theWrappedObject, const QString& option, const QVariant& value) +{ + ( theWrappedObject->setEncodingOption(option, value)); +} + +void PythonQtWrapper_QAudioEncoderSettings::setEncodingOptions(QAudioEncoderSettings* theWrappedObject, const QMap& options) +{ + ( theWrappedObject->setEncodingOptions(options)); +} + +void PythonQtWrapper_QAudioEncoderSettings::setQuality(QAudioEncoderSettings* theWrappedObject, QMultimedia::EncodingQuality quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QAudioEncoderSettings::setSampleRate(QAudioEncoderSettings* theWrappedObject, int rate) +{ + ( theWrappedObject->setSampleRate(rate)); +} + + + +PythonQtShell_QAudioEncoderSettingsControl::~PythonQtShell_QAudioEncoderSettingsControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QAudioEncoderSettings PythonQtShell_QAudioEncoderSettingsControl::audioSettings() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("audioSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudioEncoderSettings"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("audioSettings", methodInfo, result); + } else { + returnValue = *((QAudioEncoderSettings*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioEncoderSettings(); +} +void PythonQtShell_QAudioEncoderSettingsControl::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(); + } + } +} + QAudioEncoderSettingsControl::childEvent(event0); +} +QString PythonQtShell_QAudioEncoderSettingsControl::codecDescription(const QString& codecName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("codecDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("codecDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +void PythonQtShell_QAudioEncoderSettingsControl::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(); + } + } +} + QAudioEncoderSettingsControl::customEvent(event0); +} +bool PythonQtShell_QAudioEncoderSettingsControl::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 QAudioEncoderSettingsControl::event(event0); +} +bool PythonQtShell_QAudioEncoderSettingsControl::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 QAudioEncoderSettingsControl::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioEncoderSettingsControl::setAudioSettings(const QAudioEncoderSettings& settings0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setAudioSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QAudioEncoderSettings&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&settings0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QStringList PythonQtShell_QAudioEncoderSettingsControl::supportedAudioCodecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedAudioCodecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioCodecs", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +QList PythonQtShell_QAudioEncoderSettingsControl::supportedSampleRates(const QAudioEncoderSettings& settings0, bool* continuous1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedSampleRates"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QAudioEncoderSettings&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QAudioEncoderSettingsControl::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(); + } + } +} + QAudioEncoderSettingsControl::timerEvent(event0); +} +QAudioEncoderSettingsControl* PythonQtWrapper_QAudioEncoderSettingsControl::new_QAudioEncoderSettingsControl(QObject* parent) +{ +return new PythonQtShell_QAudioEncoderSettingsControl(parent); } + +const QMetaObject* PythonQtShell_QAudioEncoderSettingsControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioEncoderSettingsControl::staticMetaObject); + } else { + return &QAudioEncoderSettingsControl::staticMetaObject; + } +} +int PythonQtShell_QAudioEncoderSettingsControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioEncoderSettingsControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAudioEncoderSettings PythonQtWrapper_QAudioEncoderSettingsControl::audioSettings(QAudioEncoderSettingsControl* theWrappedObject) const +{ + return ( theWrappedObject->audioSettings()); +} + +QString PythonQtWrapper_QAudioEncoderSettingsControl::codecDescription(QAudioEncoderSettingsControl* theWrappedObject, const QString& codecName) const +{ + return ( theWrappedObject->codecDescription(codecName)); +} + +void PythonQtWrapper_QAudioEncoderSettingsControl::setAudioSettings(QAudioEncoderSettingsControl* theWrappedObject, const QAudioEncoderSettings& settings) +{ + ( theWrappedObject->setAudioSettings(settings)); +} + +QStringList PythonQtWrapper_QAudioEncoderSettingsControl::supportedAudioCodecs(QAudioEncoderSettingsControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedAudioCodecs()); +} + +QList PythonQtWrapper_QAudioEncoderSettingsControl::supportedSampleRates(QAudioEncoderSettingsControl* theWrappedObject, const QAudioEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedSampleRates(settings, continuous)); +} + + + +QAudioFormat* PythonQtWrapper_QAudioFormat::new_QAudioFormat() +{ +return new QAudioFormat(); } + +QAudioFormat* PythonQtWrapper_QAudioFormat::new_QAudioFormat(const QAudioFormat& other) +{ +return new QAudioFormat(other); } + +QAudioFormat::Endian PythonQtWrapper_QAudioFormat::byteOrder(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->byteOrder()); +} + +int PythonQtWrapper_QAudioFormat::bytesForDuration(QAudioFormat* theWrappedObject, qint64 duration) const +{ + return ( theWrappedObject->bytesForDuration(duration)); +} + +int PythonQtWrapper_QAudioFormat::bytesForFrames(QAudioFormat* theWrappedObject, int frameCount) const +{ + return ( theWrappedObject->bytesForFrames(frameCount)); +} + +int PythonQtWrapper_QAudioFormat::bytesPerFrame(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->bytesPerFrame()); +} + +int PythonQtWrapper_QAudioFormat::channelCount(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->channelCount()); +} + +QString PythonQtWrapper_QAudioFormat::codec(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +qint64 PythonQtWrapper_QAudioFormat::durationForBytes(QAudioFormat* theWrappedObject, int byteCount) const +{ + return ( theWrappedObject->durationForBytes(byteCount)); +} + +qint64 PythonQtWrapper_QAudioFormat::durationForFrames(QAudioFormat* theWrappedObject, int frameCount) const +{ + return ( theWrappedObject->durationForFrames(frameCount)); +} + +int PythonQtWrapper_QAudioFormat::framesForBytes(QAudioFormat* theWrappedObject, int byteCount) const +{ + return ( theWrappedObject->framesForBytes(byteCount)); +} + +int PythonQtWrapper_QAudioFormat::framesForDuration(QAudioFormat* theWrappedObject, qint64 duration) const +{ + return ( theWrappedObject->framesForDuration(duration)); +} + +bool PythonQtWrapper_QAudioFormat::isValid(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QAudioFormat::__ne__(QAudioFormat* theWrappedObject, const QAudioFormat& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QAudioFormat* PythonQtWrapper_QAudioFormat::operator_assign(QAudioFormat* theWrappedObject, const QAudioFormat& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QAudioFormat::__eq__(QAudioFormat* theWrappedObject, const QAudioFormat& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QAudioFormat::sampleRate(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->sampleRate()); +} + +int PythonQtWrapper_QAudioFormat::sampleSize(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->sampleSize()); +} + +QAudioFormat::SampleType PythonQtWrapper_QAudioFormat::sampleType(QAudioFormat* theWrappedObject) const +{ + return ( theWrappedObject->sampleType()); +} + +void PythonQtWrapper_QAudioFormat::setByteOrder(QAudioFormat* theWrappedObject, QAudioFormat::Endian byteOrder) +{ + ( theWrappedObject->setByteOrder(byteOrder)); +} + +void PythonQtWrapper_QAudioFormat::setChannelCount(QAudioFormat* theWrappedObject, int channelCount) +{ + ( theWrappedObject->setChannelCount(channelCount)); +} + +void PythonQtWrapper_QAudioFormat::setCodec(QAudioFormat* theWrappedObject, const QString& codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QAudioFormat::setSampleRate(QAudioFormat* theWrappedObject, int sampleRate) +{ + ( theWrappedObject->setSampleRate(sampleRate)); +} + +void PythonQtWrapper_QAudioFormat::setSampleSize(QAudioFormat* theWrappedObject, int sampleSize) +{ + ( theWrappedObject->setSampleSize(sampleSize)); +} + +void PythonQtWrapper_QAudioFormat::setSampleType(QAudioFormat* theWrappedObject, QAudioFormat::SampleType sampleType) +{ + ( theWrappedObject->setSampleType(sampleType)); +} + +QString PythonQtWrapper_QAudioFormat::py_toString(QAudioFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QAudioInput::~PythonQtShell_QAudioInput() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAudioInput::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(); + } + } +} + QAudioInput::childEvent(event0); +} +void PythonQtShell_QAudioInput::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(); + } + } +} + QAudioInput::customEvent(event0); +} +bool PythonQtShell_QAudioInput::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 QAudioInput::event(event0); +} +bool PythonQtShell_QAudioInput::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 QAudioInput::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioInput::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(); + } + } +} + QAudioInput::timerEvent(event0); +} +QAudioInput* PythonQtWrapper_QAudioInput::new_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format, QObject* parent) +{ +return new PythonQtShell_QAudioInput(audioDeviceInfo, format, parent); } + +QAudioInput* PythonQtWrapper_QAudioInput::new_QAudioInput(const QAudioFormat& format, QObject* parent) +{ +return new PythonQtShell_QAudioInput(format, parent); } + +const QMetaObject* PythonQtShell_QAudioInput::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioInput::staticMetaObject); + } else { + return &QAudioInput::staticMetaObject; + } +} +int PythonQtShell_QAudioInput::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioInput::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QAudioInput::bufferSize(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->bufferSize()); +} + +int PythonQtWrapper_QAudioInput::bytesReady(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->bytesReady()); +} + +qint64 PythonQtWrapper_QAudioInput::elapsedUSecs(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->elapsedUSecs()); +} + +QAudio::Error PythonQtWrapper_QAudioInput::error(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QAudioFormat PythonQtWrapper_QAudioInput::format(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QAudioInput::notifyInterval(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->notifyInterval()); +} + +int PythonQtWrapper_QAudioInput::periodSize(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->periodSize()); +} + +qint64 PythonQtWrapper_QAudioInput::processedUSecs(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->processedUSecs()); +} + +void PythonQtWrapper_QAudioInput::reset(QAudioInput* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QAudioInput::resume(QAudioInput* theWrappedObject) +{ + ( theWrappedObject->resume()); +} + +void PythonQtWrapper_QAudioInput::setBufferSize(QAudioInput* theWrappedObject, int bytes) +{ + ( theWrappedObject->setBufferSize(bytes)); +} + +void PythonQtWrapper_QAudioInput::setNotifyInterval(QAudioInput* theWrappedObject, int milliSeconds) +{ + ( theWrappedObject->setNotifyInterval(milliSeconds)); +} + +void PythonQtWrapper_QAudioInput::setVolume(QAudioInput* theWrappedObject, qreal volume) +{ + ( theWrappedObject->setVolume(volume)); +} + +QIODevice* PythonQtWrapper_QAudioInput::start(QAudioInput* theWrappedObject) +{ + return ( theWrappedObject->start()); +} + +void PythonQtWrapper_QAudioInput::start(QAudioInput* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->start(device)); +} + +QAudio::State PythonQtWrapper_QAudioInput::state(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QAudioInput::stop(QAudioInput* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +void PythonQtWrapper_QAudioInput::suspend(QAudioInput* theWrappedObject) +{ + ( theWrappedObject->suspend()); +} + +qreal PythonQtWrapper_QAudioInput::volume(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QAudioInputSelectorControl::~PythonQtShell_QAudioInputSelectorControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QString PythonQtShell_QAudioInputSelectorControl::activeInput() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("activeInput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("activeInput", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QList PythonQtShell_QAudioInputSelectorControl::availableInputs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availableInputs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableInputs", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QAudioInputSelectorControl::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(); + } + } +} + QAudioInputSelectorControl::childEvent(event0); +} +void PythonQtShell_QAudioInputSelectorControl::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(); + } + } +} + QAudioInputSelectorControl::customEvent(event0); +} +QString PythonQtShell_QAudioInputSelectorControl::defaultInput() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("defaultInput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("defaultInput", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QAudioInputSelectorControl::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 QAudioInputSelectorControl::event(event0); +} +bool PythonQtShell_QAudioInputSelectorControl::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 QAudioInputSelectorControl::eventFilter(watched0, event1); +} +QString PythonQtShell_QAudioInputSelectorControl::inputDescription(const QString& name0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +void PythonQtShell_QAudioInputSelectorControl::setActiveInput(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setActiveInput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAudioInputSelectorControl::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(); + } + } +} + QAudioInputSelectorControl::timerEvent(event0); +} +QAudioInputSelectorControl* PythonQtWrapper_QAudioInputSelectorControl::new_QAudioInputSelectorControl(QObject* parent) +{ +return new PythonQtShell_QAudioInputSelectorControl(parent); } + +const QMetaObject* PythonQtShell_QAudioInputSelectorControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioInputSelectorControl::staticMetaObject); + } else { + return &QAudioInputSelectorControl::staticMetaObject; + } +} +int PythonQtShell_QAudioInputSelectorControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioInputSelectorControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QAudioInputSelectorControl::activeInput(QAudioInputSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->activeInput()); +} + +QList PythonQtWrapper_QAudioInputSelectorControl::availableInputs(QAudioInputSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->availableInputs()); +} + +QString PythonQtWrapper_QAudioInputSelectorControl::defaultInput(QAudioInputSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->defaultInput()); +} + +QString PythonQtWrapper_QAudioInputSelectorControl::inputDescription(QAudioInputSelectorControl* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->inputDescription(name)); +} + + + +PythonQtShell_QAudioOutput::~PythonQtShell_QAudioOutput() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAudioOutput::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(); + } + } +} + QAudioOutput::childEvent(event0); +} +void PythonQtShell_QAudioOutput::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(); + } + } +} + QAudioOutput::customEvent(event0); +} +bool PythonQtShell_QAudioOutput::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 QAudioOutput::event(event0); +} +bool PythonQtShell_QAudioOutput::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 QAudioOutput::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioOutput::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(); + } + } +} + QAudioOutput::timerEvent(event0); +} +QAudioOutput* PythonQtWrapper_QAudioOutput::new_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format, QObject* parent) +{ +return new PythonQtShell_QAudioOutput(audioDeviceInfo, format, parent); } + +QAudioOutput* PythonQtWrapper_QAudioOutput::new_QAudioOutput(const QAudioFormat& format, QObject* parent) +{ +return new PythonQtShell_QAudioOutput(format, parent); } + +const QMetaObject* PythonQtShell_QAudioOutput::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioOutput::staticMetaObject); + } else { + return &QAudioOutput::staticMetaObject; + } +} +int PythonQtShell_QAudioOutput::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioOutput::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QAudioOutput::bufferSize(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->bufferSize()); +} + +int PythonQtWrapper_QAudioOutput::bytesFree(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->bytesFree()); +} + +QString PythonQtWrapper_QAudioOutput::category(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->category()); +} + +qint64 PythonQtWrapper_QAudioOutput::elapsedUSecs(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->elapsedUSecs()); +} + +QAudio::Error PythonQtWrapper_QAudioOutput::error(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QAudioFormat PythonQtWrapper_QAudioOutput::format(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QAudioOutput::notifyInterval(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->notifyInterval()); +} + +int PythonQtWrapper_QAudioOutput::periodSize(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->periodSize()); +} + +qint64 PythonQtWrapper_QAudioOutput::processedUSecs(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->processedUSecs()); +} + +void PythonQtWrapper_QAudioOutput::reset(QAudioOutput* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QAudioOutput::resume(QAudioOutput* theWrappedObject) +{ + ( theWrappedObject->resume()); +} + +void PythonQtWrapper_QAudioOutput::setBufferSize(QAudioOutput* theWrappedObject, int bytes) +{ + ( theWrappedObject->setBufferSize(bytes)); +} + +void PythonQtWrapper_QAudioOutput::setCategory(QAudioOutput* theWrappedObject, const QString& category) +{ + ( theWrappedObject->setCategory(category)); +} + +void PythonQtWrapper_QAudioOutput::setNotifyInterval(QAudioOutput* theWrappedObject, int milliSeconds) +{ + ( theWrappedObject->setNotifyInterval(milliSeconds)); +} + +void PythonQtWrapper_QAudioOutput::setVolume(QAudioOutput* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setVolume(arg__1)); +} + +QIODevice* PythonQtWrapper_QAudioOutput::start(QAudioOutput* theWrappedObject) +{ + return ( theWrappedObject->start()); +} + +void PythonQtWrapper_QAudioOutput::start(QAudioOutput* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->start(device)); +} + +QAudio::State PythonQtWrapper_QAudioOutput::state(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QAudioOutput::stop(QAudioOutput* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +void PythonQtWrapper_QAudioOutput::suspend(QAudioOutput* theWrappedObject) +{ + ( theWrappedObject->suspend()); +} + +qreal PythonQtWrapper_QAudioOutput::volume(QAudioOutput* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QAudioOutputSelectorControl::~PythonQtShell_QAudioOutputSelectorControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QString PythonQtShell_QAudioOutputSelectorControl::activeOutput() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("activeOutput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("activeOutput", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QList PythonQtShell_QAudioOutputSelectorControl::availableOutputs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availableOutputs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableOutputs", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QAudioOutputSelectorControl::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(); + } + } +} + QAudioOutputSelectorControl::childEvent(event0); +} +void PythonQtShell_QAudioOutputSelectorControl::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(); + } + } +} + QAudioOutputSelectorControl::customEvent(event0); +} +QString PythonQtShell_QAudioOutputSelectorControl::defaultOutput() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("defaultOutput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("defaultOutput", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QAudioOutputSelectorControl::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 QAudioOutputSelectorControl::event(event0); +} +bool PythonQtShell_QAudioOutputSelectorControl::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 QAudioOutputSelectorControl::eventFilter(watched0, event1); +} +QString PythonQtShell_QAudioOutputSelectorControl::outputDescription(const QString& name0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("outputDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("outputDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +void PythonQtShell_QAudioOutputSelectorControl::setActiveOutput(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setActiveOutput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAudioOutputSelectorControl::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(); + } + } +} + QAudioOutputSelectorControl::timerEvent(event0); +} +QAudioOutputSelectorControl* PythonQtWrapper_QAudioOutputSelectorControl::new_QAudioOutputSelectorControl(QObject* parent) +{ +return new PythonQtShell_QAudioOutputSelectorControl(parent); } + +const QMetaObject* PythonQtShell_QAudioOutputSelectorControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioOutputSelectorControl::staticMetaObject); + } else { + return &QAudioOutputSelectorControl::staticMetaObject; + } +} +int PythonQtShell_QAudioOutputSelectorControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioOutputSelectorControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QAudioOutputSelectorControl::activeOutput(QAudioOutputSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->activeOutput()); +} + +QList PythonQtWrapper_QAudioOutputSelectorControl::availableOutputs(QAudioOutputSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->availableOutputs()); +} + +QString PythonQtWrapper_QAudioOutputSelectorControl::defaultOutput(QAudioOutputSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->defaultOutput()); +} + +QString PythonQtWrapper_QAudioOutputSelectorControl::outputDescription(QAudioOutputSelectorControl* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->outputDescription(name)); +} + + + +PythonQtShell_QAudioProbe::~PythonQtShell_QAudioProbe() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAudioProbe::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(); + } + } +} + QAudioProbe::childEvent(event0); +} +void PythonQtShell_QAudioProbe::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(); + } + } +} + QAudioProbe::customEvent(event0); +} +bool PythonQtShell_QAudioProbe::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 QAudioProbe::event(event0); +} +bool PythonQtShell_QAudioProbe::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 QAudioProbe::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioProbe::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(); + } + } +} + QAudioProbe::timerEvent(event0); +} +QAudioProbe* PythonQtWrapper_QAudioProbe::new_QAudioProbe(QObject* parent) +{ +return new PythonQtShell_QAudioProbe(parent); } + +const QMetaObject* PythonQtShell_QAudioProbe::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioProbe::staticMetaObject); + } else { + return &QAudioProbe::staticMetaObject; + } +} +int PythonQtShell_QAudioProbe::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioProbe::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QAudioProbe::isActive(QAudioProbe* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaObject* source) +{ + return ( theWrappedObject->setSource(source)); +} + +bool PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source) +{ + return ( theWrappedObject->setSource(source)); +} + + + +PythonQtShell_QAudioRecorder::~PythonQtShell_QAudioRecorder() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAudioRecorder::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(); + } + } +} + QAudioRecorder::childEvent(event0); +} +void PythonQtShell_QAudioRecorder::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(); + } + } +} + QAudioRecorder::customEvent(event0); +} +bool PythonQtShell_QAudioRecorder::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 QAudioRecorder::event(event0); +} +bool PythonQtShell_QAudioRecorder::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 QAudioRecorder::eventFilter(watched0, event1); +} +QMediaObject* PythonQtShell_QAudioRecorder::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 QAudioRecorder::mediaObject(); +} +bool PythonQtShell_QAudioRecorder::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 QAudioRecorder::setMediaObject(object0); +} +void PythonQtShell_QAudioRecorder::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(); + } + } +} + QAudioRecorder::timerEvent(event0); +} +QAudioRecorder* PythonQtWrapper_QAudioRecorder::new_QAudioRecorder(QObject* parent) +{ +return new PythonQtShell_QAudioRecorder(parent); } + +const QMetaObject* PythonQtShell_QAudioRecorder::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioRecorder::staticMetaObject); + } else { + return &QAudioRecorder::staticMetaObject; + } +} +int PythonQtShell_QAudioRecorder::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioRecorder::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QAudioRecorder::audioInput(QAudioRecorder* theWrappedObject) const +{ + return ( theWrappedObject->audioInput()); +} + +QString PythonQtWrapper_QAudioRecorder::audioInputDescription(QAudioRecorder* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->audioInputDescription(name)); +} + +QStringList PythonQtWrapper_QAudioRecorder::audioInputs(QAudioRecorder* theWrappedObject) const +{ + return ( theWrappedObject->audioInputs()); +} + +QString PythonQtWrapper_QAudioRecorder::defaultAudioInput(QAudioRecorder* theWrappedObject) const +{ + return ( theWrappedObject->defaultAudioInput()); +} + + + +PythonQtShell_QAudioRoleControl::~PythonQtShell_QAudioRoleControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QAudio::Role PythonQtShell_QAudioRoleControl::audioRole() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("audioRole"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAudio::Role"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("audioRole", methodInfo, result); + } else { + returnValue = *((QAudio::Role*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudio::Role(); +} +void PythonQtShell_QAudioRoleControl::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(); + } + } +} + QAudioRoleControl::childEvent(event0); +} +void PythonQtShell_QAudioRoleControl::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(); + } + } +} + QAudioRoleControl::customEvent(event0); +} +bool PythonQtShell_QAudioRoleControl::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 QAudioRoleControl::event(event0); +} +bool PythonQtShell_QAudioRoleControl::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 QAudioRoleControl::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioRoleControl::setAudioRole(QAudio::Role role0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setAudioRole"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAudio::Role"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&role0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QList PythonQtShell_QAudioRoleControl::supportedAudioRoles() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedAudioRoles"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioRoles", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QAudioRoleControl::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(); + } + } +} + QAudioRoleControl::timerEvent(event0); +} +QAudioRoleControl* PythonQtWrapper_QAudioRoleControl::new_QAudioRoleControl(QObject* parent) +{ +return new PythonQtShell_QAudioRoleControl(parent); } + +const QMetaObject* PythonQtShell_QAudioRoleControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioRoleControl::staticMetaObject); + } else { + return &QAudioRoleControl::staticMetaObject; + } +} +int PythonQtShell_QAudioRoleControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioRoleControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAudio::Role PythonQtWrapper_QAudioRoleControl::audioRole(QAudioRoleControl* theWrappedObject) const +{ + return ( theWrappedObject->audioRole()); +} + +void PythonQtWrapper_QAudioRoleControl::setAudioRole(QAudioRoleControl* theWrappedObject, QAudio::Role role) +{ + ( theWrappedObject->setAudioRole(role)); +} + +QList PythonQtWrapper_QAudioRoleControl::supportedAudioRoles(QAudioRoleControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedAudioRoles()); +} + + + +PythonQtShell_QAudioSystemFactoryInterface::~PythonQtShell_QAudioSystemFactoryInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QList PythonQtShell_QAudioSystemFactoryInterface::availableDevices(QAudio::Mode arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availableDevices"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "QAudio::Mode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemFactoryInterface::createDeviceInfo(const QByteArray& device0, QAudio::Mode mode1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createDeviceInfo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); + } else { + returnValue = *((QAbstractAudioDeviceInfo**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QAbstractAudioInput* PythonQtShell_QAudioSystemFactoryInterface::createInput(const QByteArray& device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createInput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); + } else { + returnValue = *((QAbstractAudioInput**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QAbstractAudioOutput* PythonQtShell_QAudioSystemFactoryInterface::createOutput(const QByteArray& device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createOutput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); + } else { + returnValue = *((QAbstractAudioOutput**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QAudioSystemFactoryInterface* PythonQtWrapper_QAudioSystemFactoryInterface::new_QAudioSystemFactoryInterface() +{ +return new PythonQtShell_QAudioSystemFactoryInterface(); } + +QList PythonQtWrapper_QAudioSystemFactoryInterface::availableDevices(QAudioSystemFactoryInterface* theWrappedObject, QAudio::Mode arg__1) const +{ + return ( theWrappedObject->availableDevices(arg__1)); +} + +QAbstractAudioDeviceInfo* PythonQtWrapper_QAudioSystemFactoryInterface::createDeviceInfo(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device, QAudio::Mode mode) +{ + return ( theWrappedObject->createDeviceInfo(device, mode)); +} + +QAbstractAudioInput* PythonQtWrapper_QAudioSystemFactoryInterface::createInput(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device) +{ + return ( theWrappedObject->createInput(device)); +} + +QAbstractAudioOutput* PythonQtWrapper_QAudioSystemFactoryInterface::createOutput(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device) +{ + return ( theWrappedObject->createOutput(device)); +} + + + +PythonQtShell_QAudioSystemPlugin::~PythonQtShell_QAudioSystemPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QList PythonQtShell_QAudioSystemPlugin::availableDevices(QAudio::Mode arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availableDevices"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "QAudio::Mode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QAbstractAudioDeviceInfo* PythonQtShell_QAudioSystemPlugin::createDeviceInfo(const QByteArray& device0, QAudio::Mode mode1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createDeviceInfo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); + } else { + returnValue = *((QAbstractAudioDeviceInfo**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QAbstractAudioInput* PythonQtShell_QAudioSystemPlugin::createInput(const QByteArray& device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createInput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); + } else { + returnValue = *((QAbstractAudioInput**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QAbstractAudioOutput* PythonQtShell_QAudioSystemPlugin::createOutput(const QByteArray& device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createOutput"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); + } else { + returnValue = *((QAbstractAudioOutput**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QAudioSystemPlugin* PythonQtWrapper_QAudioSystemPlugin::new_QAudioSystemPlugin(QObject* parent) +{ +return new PythonQtShell_QAudioSystemPlugin(parent); } + +const QMetaObject* PythonQtShell_QAudioSystemPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioSystemPlugin::staticMetaObject); + } else { + return &QAudioSystemPlugin::staticMetaObject; + } +} +int PythonQtShell_QAudioSystemPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioSystemPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QAudioSystemPlugin::availableDevices(QAudioSystemPlugin* theWrappedObject, QAudio::Mode arg__1) const +{ + return ( theWrappedObject->availableDevices(arg__1)); +} + +QAbstractAudioDeviceInfo* PythonQtWrapper_QAudioSystemPlugin::createDeviceInfo(QAudioSystemPlugin* theWrappedObject, const QByteArray& device, QAudio::Mode mode) +{ + return ( theWrappedObject->createDeviceInfo(device, mode)); +} + +QAbstractAudioInput* PythonQtWrapper_QAudioSystemPlugin::createInput(QAudioSystemPlugin* theWrappedObject, const QByteArray& device) +{ + return ( theWrappedObject->createInput(device)); +} + +QAbstractAudioOutput* PythonQtWrapper_QAudioSystemPlugin::createOutput(QAudioSystemPlugin* theWrappedObject, const QByteArray& device) +{ + return ( theWrappedObject->createOutput(device)); +} + + + +PythonQtShell_QCamera::~PythonQtShell_QCamera() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::AvailabilityStatus PythonQtShell_QCamera::availability() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availability"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::availability(); +} +bool PythonQtShell_QCamera::bind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::bind(arg__1); +} +void PythonQtShell_QCamera::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(); + } + } +} + QCamera::childEvent(event0); +} +void PythonQtShell_QCamera::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(); + } + } +} + QCamera::customEvent(event0); +} +bool PythonQtShell_QCamera::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 QCamera::event(event0); +} +bool PythonQtShell_QCamera::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 QCamera::eventFilter(watched0, event1); +} +bool PythonQtShell_QCamera::isAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::isAvailable(); +} +QMediaService* PythonQtShell_QCamera::service() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("service"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaService*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); + } else { + returnValue = *((QMediaService**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::service(); +} +void PythonQtShell_QCamera::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(); + } + } +} + QCamera::timerEvent(event0); +} +void PythonQtShell_QCamera::unbind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unbind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCamera::unbind(arg__1); +} +QCamera* PythonQtWrapper_QCamera::new_QCamera(QCamera::Position position, QObject* parent) +{ +return new PythonQtShell_QCamera(position, parent); } + +QCamera* PythonQtWrapper_QCamera::new_QCamera(QObject* parent) +{ +return new PythonQtShell_QCamera(parent); } + +QCamera* PythonQtWrapper_QCamera::new_QCamera(const QByteArray& deviceName, QObject* parent) +{ +return new PythonQtShell_QCamera(deviceName, parent); } + +QCamera* PythonQtWrapper_QCamera::new_QCamera(const QCameraInfo& cameraInfo, QObject* parent) +{ +return new PythonQtShell_QCamera(cameraInfo, parent); } + +const QMetaObject* PythonQtShell_QCamera::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCamera::staticMetaObject); + } else { + return &QCamera::staticMetaObject; + } +} +int PythonQtShell_QCamera::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCamera::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QCamera::static_QCamera_availableDevices() +{ + return (QCamera::availableDevices()); +} + +QCamera::CaptureModes PythonQtWrapper_QCamera::captureMode(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->captureMode()); +} + +QString PythonQtWrapper_QCamera::static_QCamera_deviceDescription(const QByteArray& device) +{ + return (QCamera::deviceDescription(device)); +} + +QCamera::Error PythonQtWrapper_QCamera::error(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QCamera::errorString(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QCameraExposure* PythonQtWrapper_QCamera::exposure(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->exposure()); +} + +QCameraFocus* PythonQtWrapper_QCamera::focus(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->focus()); +} + +QCameraImageProcessing* PythonQtWrapper_QCamera::imageProcessing(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->imageProcessing()); +} + +bool PythonQtWrapper_QCamera::isCaptureModeSupported(QCamera* theWrappedObject, QCamera::CaptureModes mode) const +{ + return ( theWrappedObject->isCaptureModeSupported(mode)); +} + +QCamera::LockStatus PythonQtWrapper_QCamera::lockStatus(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->lockStatus()); +} + +QCamera::LockStatus PythonQtWrapper_QCamera::lockStatus(QCamera* theWrappedObject, QCamera::LockType lock) const +{ + return ( theWrappedObject->lockStatus(lock)); +} + +QCamera::LockTypes PythonQtWrapper_QCamera::requestedLocks(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->requestedLocks()); +} + +void PythonQtWrapper_QCamera::setViewfinder(QCamera* theWrappedObject, QAbstractVideoSurface* surface) +{ + ( theWrappedObject->setViewfinder(surface)); +} + +void PythonQtWrapper_QCamera::setViewfinder(QCamera* theWrappedObject, QGraphicsVideoItem* viewfinder) +{ + ( theWrappedObject->setViewfinder(viewfinder)); +} + +void PythonQtWrapper_QCamera::setViewfinder(QCamera* theWrappedObject, QVideoWidget* viewfinder) +{ + ( theWrappedObject->setViewfinder(viewfinder)); +} + +void PythonQtWrapper_QCamera::setViewfinderSettings(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings) +{ + ( theWrappedObject->setViewfinderSettings(settings)); +} + +QCamera::State PythonQtWrapper_QCamera::state(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QCamera::Status PythonQtWrapper_QCamera::status(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +QCamera::LockTypes PythonQtWrapper_QCamera::supportedLocks(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->supportedLocks()); +} + +QList PythonQtWrapper_QCamera::supportedViewfinderFrameRateRanges(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings) const +{ + return ( theWrappedObject->supportedViewfinderFrameRateRanges(settings)); +} + +QList PythonQtWrapper_QCamera::supportedViewfinderPixelFormats(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings) const +{ + return ( theWrappedObject->supportedViewfinderPixelFormats(settings)); +} + +QList PythonQtWrapper_QCamera::supportedViewfinderResolutions(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings) const +{ + return ( theWrappedObject->supportedViewfinderResolutions(settings)); +} + +QList PythonQtWrapper_QCamera::supportedViewfinderSettings(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings) const +{ + return ( theWrappedObject->supportedViewfinderSettings(settings)); +} + +QCameraViewfinderSettings PythonQtWrapper_QCamera::viewfinderSettings(QCamera* theWrappedObject) const +{ + return ( theWrappedObject->viewfinderSettings()); +} + + + +PythonQtShell_QCameraCaptureBufferFormatControl::~PythonQtShell_QCameraCaptureBufferFormatControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVideoFrame::PixelFormat PythonQtShell_QCameraCaptureBufferFormatControl::bufferFormat() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bufferFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVideoFrame::PixelFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bufferFormat", methodInfo, result); + } else { + returnValue = *((QVideoFrame::PixelFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoFrame::PixelFormat(); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::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(); + } + } +} + QCameraCaptureBufferFormatControl::childEvent(event0); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::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(); + } + } +} + QCameraCaptureBufferFormatControl::customEvent(event0); +} +bool PythonQtShell_QCameraCaptureBufferFormatControl::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 QCameraCaptureBufferFormatControl::event(event0); +} +bool PythonQtShell_QCameraCaptureBufferFormatControl::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 QCameraCaptureBufferFormatControl::eventFilter(watched0, event1); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFrame::PixelFormat format0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBufferFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QVideoFrame::PixelFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&format0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QList PythonQtShell_QCameraCaptureBufferFormatControl::supportedBufferFormats() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedBufferFormats"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedBufferFormats", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::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(); + } + } +} + QCameraCaptureBufferFormatControl::timerEvent(event0); +} +QCameraCaptureBufferFormatControl* PythonQtWrapper_QCameraCaptureBufferFormatControl::new_QCameraCaptureBufferFormatControl(QObject* parent) +{ +return new PythonQtShell_QCameraCaptureBufferFormatControl(parent); } + +const QMetaObject* PythonQtShell_QCameraCaptureBufferFormatControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraCaptureBufferFormatControl::staticMetaObject); + } else { + return &QCameraCaptureBufferFormatControl::staticMetaObject; + } +} +int PythonQtShell_QCameraCaptureBufferFormatControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraCaptureBufferFormatControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QVideoFrame::PixelFormat PythonQtWrapper_QCameraCaptureBufferFormatControl::bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const +{ + return ( theWrappedObject->bufferFormat()); +} + +void PythonQtWrapper_QCameraCaptureBufferFormatControl::setBufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject, QVideoFrame::PixelFormat format) +{ + ( theWrappedObject->setBufferFormat(format)); +} + +QList PythonQtWrapper_QCameraCaptureBufferFormatControl::supportedBufferFormats(QCameraCaptureBufferFormatControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedBufferFormats()); +} + + + +PythonQtShell_QCameraCaptureDestinationControl::~PythonQtShell_QCameraCaptureDestinationControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QCameraImageCapture::CaptureDestinations PythonQtShell_QCameraCaptureDestinationControl::captureDestination() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("captureDestination"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCameraImageCapture::CaptureDestinations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("captureDestination", methodInfo, result); + } else { + returnValue = *((QCameraImageCapture::CaptureDestinations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageCapture::CaptureDestinations(); +} +void PythonQtShell_QCameraCaptureDestinationControl::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(); + } + } +} + QCameraCaptureDestinationControl::childEvent(event0); +} +void PythonQtShell_QCameraCaptureDestinationControl::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(); + } + } +} + QCameraCaptureDestinationControl::customEvent(event0); +} +bool PythonQtShell_QCameraCaptureDestinationControl::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 QCameraCaptureDestinationControl::event(event0); +} +bool PythonQtShell_QCameraCaptureDestinationControl::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 QCameraCaptureDestinationControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraCaptureDestinationControl::isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isCaptureDestinationSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraImageCapture::CaptureDestinations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureDestinationSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraCaptureDestinationControl::setCaptureDestination(QCameraImageCapture::CaptureDestinations destination0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCaptureDestination"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraImageCapture::CaptureDestinations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&destination0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraCaptureDestinationControl::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(); + } + } +} + QCameraCaptureDestinationControl::timerEvent(event0); +} +QCameraCaptureDestinationControl* PythonQtWrapper_QCameraCaptureDestinationControl::new_QCameraCaptureDestinationControl(QObject* parent) +{ +return new PythonQtShell_QCameraCaptureDestinationControl(parent); } + +const QMetaObject* PythonQtShell_QCameraCaptureDestinationControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraCaptureDestinationControl::staticMetaObject); + } else { + return &QCameraCaptureDestinationControl::staticMetaObject; + } +} +int PythonQtShell_QCameraCaptureDestinationControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraCaptureDestinationControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QCameraImageCapture::CaptureDestinations PythonQtWrapper_QCameraCaptureDestinationControl::captureDestination(QCameraCaptureDestinationControl* theWrappedObject) const +{ + return ( theWrappedObject->captureDestination()); +} + +bool PythonQtWrapper_QCameraCaptureDestinationControl::isCaptureDestinationSupported(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const +{ + return ( theWrappedObject->isCaptureDestinationSupported(destination)); +} + +void PythonQtWrapper_QCameraCaptureDestinationControl::setCaptureDestination(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) +{ + ( theWrappedObject->setCaptureDestination(destination)); +} + + + +PythonQtShell_QCameraControl::~PythonQtShell_QCameraControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QCameraControl::canChangeProperty(QCameraControl::PropertyChangeType changeType0, QCamera::Status status1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canChangeProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraControl::PropertyChangeType" , "QCamera::Status"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canChangeProperty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QCamera::CaptureModes PythonQtShell_QCameraControl::captureMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("captureMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCamera::CaptureModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("captureMode", methodInfo, result); + } else { + returnValue = *((QCamera::CaptureModes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::CaptureModes(); +} +void PythonQtShell_QCameraControl::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(); + } + } +} + QCameraControl::childEvent(event0); +} +void PythonQtShell_QCameraControl::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(); + } + } +} + QCameraControl::customEvent(event0); +} +bool PythonQtShell_QCameraControl::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 QCameraControl::event(event0); +} +bool PythonQtShell_QCameraControl::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 QCameraControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraControl::isCaptureModeSupported(QCamera::CaptureModes mode0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isCaptureModeSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCamera::CaptureModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureModeSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraControl::setCaptureMode(QCamera::CaptureModes arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCaptureMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCamera::CaptureModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraControl::setState(QCamera::State state0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCamera::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QCamera::State PythonQtShell_QCameraControl::state() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("state"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCamera::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QCamera::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::State(); +} +QCamera::Status PythonQtShell_QCameraControl::status() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("status"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCamera::Status"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); + } else { + returnValue = *((QCamera::Status*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::Status(); +} +void PythonQtShell_QCameraControl::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(); + } + } +} + QCameraControl::timerEvent(event0); +} +QCameraControl* PythonQtWrapper_QCameraControl::new_QCameraControl(QObject* parent) +{ +return new PythonQtShell_QCameraControl(parent); } + +const QMetaObject* PythonQtShell_QCameraControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraControl::staticMetaObject); + } else { + return &QCameraControl::staticMetaObject; + } +} +int PythonQtShell_QCameraControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QCameraControl::canChangeProperty(QCameraControl* theWrappedObject, QCameraControl::PropertyChangeType changeType, QCamera::Status status) const +{ + return ( theWrappedObject->canChangeProperty(changeType, status)); +} + +QCamera::CaptureModes PythonQtWrapper_QCameraControl::captureMode(QCameraControl* theWrappedObject) const +{ + return ( theWrappedObject->captureMode()); +} + +bool PythonQtWrapper_QCameraControl::isCaptureModeSupported(QCameraControl* theWrappedObject, QCamera::CaptureModes mode) const +{ + return ( theWrappedObject->isCaptureModeSupported(mode)); +} + +void PythonQtWrapper_QCameraControl::setCaptureMode(QCameraControl* theWrappedObject, QCamera::CaptureModes arg__1) +{ + ( theWrappedObject->setCaptureMode(arg__1)); +} + +void PythonQtWrapper_QCameraControl::setState(QCameraControl* theWrappedObject, QCamera::State state) +{ + ( theWrappedObject->setState(state)); +} + +QCamera::State PythonQtWrapper_QCameraControl::state(QCameraControl* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QCamera::Status PythonQtWrapper_QCameraControl::status(QCameraControl* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +qreal PythonQtWrapper_QCameraExposure::aperture(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->aperture()); +} + +qreal PythonQtWrapper_QCameraExposure::exposureCompensation(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->exposureCompensation()); +} + +QCameraExposure::ExposureMode PythonQtWrapper_QCameraExposure::exposureMode(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->exposureMode()); +} + +QCameraExposure::FlashModes PythonQtWrapper_QCameraExposure::flashMode(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->flashMode()); +} + +bool PythonQtWrapper_QCameraExposure::isAvailable(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->isAvailable()); +} + +bool PythonQtWrapper_QCameraExposure::isExposureModeSupported(QCameraExposure* theWrappedObject, QCameraExposure::ExposureMode mode) const +{ + return ( theWrappedObject->isExposureModeSupported(mode)); +} + +bool PythonQtWrapper_QCameraExposure::isFlashModeSupported(QCameraExposure* theWrappedObject, QCameraExposure::FlashModes mode) const +{ + return ( theWrappedObject->isFlashModeSupported(mode)); +} + +bool PythonQtWrapper_QCameraExposure::isFlashReady(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->isFlashReady()); +} + +bool PythonQtWrapper_QCameraExposure::isMeteringModeSupported(QCameraExposure* theWrappedObject, QCameraExposure::MeteringMode mode) const +{ + return ( theWrappedObject->isMeteringModeSupported(mode)); +} + +int PythonQtWrapper_QCameraExposure::isoSensitivity(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->isoSensitivity()); +} + +QCameraExposure::MeteringMode PythonQtWrapper_QCameraExposure::meteringMode(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->meteringMode()); +} + +qreal PythonQtWrapper_QCameraExposure::requestedAperture(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->requestedAperture()); +} + +int PythonQtWrapper_QCameraExposure::requestedIsoSensitivity(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->requestedIsoSensitivity()); +} + +qreal PythonQtWrapper_QCameraExposure::requestedShutterSpeed(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->requestedShutterSpeed()); +} + +void PythonQtWrapper_QCameraExposure::setSpotMeteringPoint(QCameraExposure* theWrappedObject, const QPointF& point) +{ + ( theWrappedObject->setSpotMeteringPoint(point)); +} + +qreal PythonQtWrapper_QCameraExposure::shutterSpeed(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->shutterSpeed()); +} + +QPointF PythonQtWrapper_QCameraExposure::spotMeteringPoint(QCameraExposure* theWrappedObject) const +{ + return ( theWrappedObject->spotMeteringPoint()); +} + +QList PythonQtWrapper_QCameraExposure::supportedApertures(QCameraExposure* theWrappedObject, bool* continuous) const +{ + return ( theWrappedObject->supportedApertures(continuous)); +} + +QList PythonQtWrapper_QCameraExposure::supportedIsoSensitivities(QCameraExposure* theWrappedObject, bool* continuous) const +{ + return ( theWrappedObject->supportedIsoSensitivities(continuous)); +} + +QList PythonQtWrapper_QCameraExposure::supportedShutterSpeeds(QCameraExposure* theWrappedObject, bool* continuous) const +{ + return ( theWrappedObject->supportedShutterSpeeds(continuous)); +} + + + +PythonQtShell_QCameraExposureControl::~PythonQtShell_QCameraExposureControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVariant PythonQtShell_QCameraExposureControl::actualValue(QCameraExposureControl::ExposureParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actualValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("actualValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QCameraExposureControl::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(); + } + } +} + QCameraExposureControl::childEvent(event0); +} +void PythonQtShell_QCameraExposureControl::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(); + } + } +} + QCameraExposureControl::customEvent(event0); +} +bool PythonQtShell_QCameraExposureControl::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 QCameraExposureControl::event(event0); +} +bool PythonQtShell_QCameraExposureControl::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 QCameraExposureControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraExposureControl::isParameterSupported(QCameraExposureControl::ExposureParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isParameterSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QVariant PythonQtShell_QCameraExposureControl::requestedValue(QCameraExposureControl::ExposureParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("requestedValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("requestedValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +bool PythonQtShell_QCameraExposureControl::setValue(QCameraExposureControl::ExposureParameter parameter0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setValue", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QList PythonQtShell_QCameraExposureControl::supportedParameterRange(QCameraExposureControl::ExposureParameter parameter0, bool* continuous1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedParameterRange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "QCameraExposureControl::ExposureParameter" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedParameterRange", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QCameraExposureControl::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(); + } + } +} + QCameraExposureControl::timerEvent(event0); +} +QCameraExposureControl* PythonQtWrapper_QCameraExposureControl::new_QCameraExposureControl(QObject* parent) +{ +return new PythonQtShell_QCameraExposureControl(parent); } + +const QMetaObject* PythonQtShell_QCameraExposureControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraExposureControl::staticMetaObject); + } else { + return &QCameraExposureControl::staticMetaObject; + } +} +int PythonQtShell_QCameraExposureControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraExposureControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QVariant PythonQtWrapper_QCameraExposureControl::actualValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const +{ + return ( theWrappedObject->actualValue(parameter)); +} + +bool PythonQtWrapper_QCameraExposureControl::isParameterSupported(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const +{ + return ( theWrappedObject->isParameterSupported(parameter)); +} + +QVariant PythonQtWrapper_QCameraExposureControl::requestedValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const +{ + return ( theWrappedObject->requestedValue(parameter)); +} + +bool PythonQtWrapper_QCameraExposureControl::setValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter, const QVariant& value) +{ + return ( theWrappedObject->setValue(parameter, value)); +} + +QList PythonQtWrapper_QCameraExposureControl::supportedParameterRange(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter, bool* continuous) const +{ + return ( theWrappedObject->supportedParameterRange(parameter, continuous)); +} + + + +PythonQtShell_QCameraFeedbackControl::~PythonQtShell_QCameraFeedbackControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraFeedbackControl::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(); + } + } +} + QCameraFeedbackControl::childEvent(event0); +} +void PythonQtShell_QCameraFeedbackControl::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(); + } + } +} + QCameraFeedbackControl::customEvent(event0); +} +bool PythonQtShell_QCameraFeedbackControl::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 QCameraFeedbackControl::event(event0); +} +bool PythonQtShell_QCameraFeedbackControl::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 QCameraFeedbackControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEventFeedbackEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackEnabled", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEventFeedbackLocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackLocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraFeedbackControl::resetEventFeedback(QCameraFeedbackControl::EventType arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resetEventFeedback"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraFeedbackControl::EventType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEventFeedbackEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackEnabled", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QCameraFeedbackControl::setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEventFeedbackSound"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackSound", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraFeedbackControl::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(); + } + } +} + QCameraFeedbackControl::timerEvent(event0); +} +QCameraFeedbackControl* PythonQtWrapper_QCameraFeedbackControl::new_QCameraFeedbackControl(QObject* parent) +{ +return new PythonQtShell_QCameraFeedbackControl(parent); } + +const QMetaObject* PythonQtShell_QCameraFeedbackControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraFeedbackControl::staticMetaObject); + } else { + return &QCameraFeedbackControl::staticMetaObject; + } +} +int PythonQtShell_QCameraFeedbackControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraFeedbackControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QCameraFeedbackControl::isEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const +{ + return ( theWrappedObject->isEventFeedbackEnabled(arg__1)); +} + +bool PythonQtWrapper_QCameraFeedbackControl::isEventFeedbackLocked(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const +{ + return ( theWrappedObject->isEventFeedbackLocked(arg__1)); +} + +void PythonQtWrapper_QCameraFeedbackControl::resetEventFeedback(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) +{ + ( theWrappedObject->resetEventFeedback(arg__1)); +} + +bool PythonQtWrapper_QCameraFeedbackControl::setEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1, bool arg__2) +{ + return ( theWrappedObject->setEventFeedbackEnabled(arg__1, arg__2)); +} + +bool PythonQtWrapper_QCameraFeedbackControl::setEventFeedbackSound(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1, const QString& filePath) +{ + return ( theWrappedObject->setEventFeedbackSound(arg__1, filePath)); +} + + + +PythonQtShell_QCameraFlashControl::~PythonQtShell_QCameraFlashControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraFlashControl::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(); + } + } +} + QCameraFlashControl::childEvent(event0); +} +void PythonQtShell_QCameraFlashControl::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(); + } + } +} + QCameraFlashControl::customEvent(event0); +} +bool PythonQtShell_QCameraFlashControl::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 QCameraFlashControl::event(event0); +} +bool PythonQtShell_QCameraFlashControl::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 QCameraFlashControl::eventFilter(watched0, event1); +} +QCameraExposure::FlashModes PythonQtShell_QCameraFlashControl::flashMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flashMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCameraExposure::FlashModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flashMode", methodInfo, result); + } else { + returnValue = *((QCameraExposure::FlashModes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraExposure::FlashModes(); +} +bool PythonQtShell_QCameraFlashControl::isFlashModeSupported(QCameraExposure::FlashModes mode0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFlashModeSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraExposure::FlashModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFlashModeSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QCameraFlashControl::isFlashReady() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFlashReady"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFlashReady", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraFlashControl::setFlashMode(QCameraExposure::FlashModes mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFlashMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraExposure::FlashModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraFlashControl::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(); + } + } +} + QCameraFlashControl::timerEvent(event0); +} +QCameraFlashControl* PythonQtWrapper_QCameraFlashControl::new_QCameraFlashControl(QObject* parent) +{ +return new PythonQtShell_QCameraFlashControl(parent); } + +const QMetaObject* PythonQtShell_QCameraFlashControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraFlashControl::staticMetaObject); + } else { + return &QCameraFlashControl::staticMetaObject; + } +} +int PythonQtShell_QCameraFlashControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraFlashControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QCameraExposure::FlashModes PythonQtWrapper_QCameraFlashControl::flashMode(QCameraFlashControl* theWrappedObject) const +{ + return ( theWrappedObject->flashMode()); +} + +bool PythonQtWrapper_QCameraFlashControl::isFlashModeSupported(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode) const +{ + return ( theWrappedObject->isFlashModeSupported(mode)); +} + +bool PythonQtWrapper_QCameraFlashControl::isFlashReady(QCameraFlashControl* theWrappedObject) const +{ + return ( theWrappedObject->isFlashReady()); +} + +void PythonQtWrapper_QCameraFlashControl::setFlashMode(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode) +{ + ( theWrappedObject->setFlashMode(mode)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h new file mode 100644 index 00000000..3ca22c55 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h @@ -0,0 +1,1680 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo +{ +public: + 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 +{ public: +inline QString py_q_deviceName() const { return this->deviceName(); } +inline bool py_q_isFormatSupported(const QAudioFormat& format) const { return this->isFormatSupported(format); } +inline QAudioFormat py_q_preferredFormat() const { return this->preferredFormat(); } +inline QList py_q_supportedByteOrders() { return this->supportedByteOrders(); } +inline QList py_q_supportedChannelCounts() { return this->supportedChannelCounts(); } +inline QStringList py_q_supportedCodecs() { return this->supportedCodecs(); } +inline QList py_q_supportedSampleRates() { return this->supportedSampleRates(); } +inline QList py_q_supportedSampleSizes() { return this->supportedSampleSizes(); } +inline QList py_q_supportedSampleTypes() { return this->supportedSampleTypes(); } +}; + +class PythonQtWrapper_QAbstractAudioDeviceInfo : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractAudioDeviceInfo* new_QAbstractAudioDeviceInfo(); +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; + bool py_q_isFormatSupported(QAbstractAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const{ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_isFormatSupported(format));} + QAudioFormat preferredFormat(QAbstractAudioDeviceInfo* theWrappedObject) const; + QAudioFormat py_q_preferredFormat(QAbstractAudioDeviceInfo* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_preferredFormat());} + QList supportedByteOrders(QAbstractAudioDeviceInfo* theWrappedObject); + QList py_q_supportedByteOrders(QAbstractAudioDeviceInfo* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_supportedByteOrders());} + QList supportedChannelCounts(QAbstractAudioDeviceInfo* theWrappedObject); + QList py_q_supportedChannelCounts(QAbstractAudioDeviceInfo* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_supportedChannelCounts());} + QStringList supportedCodecs(QAbstractAudioDeviceInfo* theWrappedObject); + QStringList py_q_supportedCodecs(QAbstractAudioDeviceInfo* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_supportedCodecs());} + QList supportedSampleRates(QAbstractAudioDeviceInfo* theWrappedObject); + QList py_q_supportedSampleRates(QAbstractAudioDeviceInfo* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_supportedSampleRates());} + QList supportedSampleSizes(QAbstractAudioDeviceInfo* theWrappedObject); + QList py_q_supportedSampleSizes(QAbstractAudioDeviceInfo* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_supportedSampleSizes());} + QList supportedSampleTypes(QAbstractAudioDeviceInfo* theWrappedObject); + QList py_q_supportedSampleTypes(QAbstractAudioDeviceInfo* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_supportedSampleTypes());} +}; + + + + + +class PythonQtShell_QAbstractAudioInput : public QAbstractAudioInput +{ +public: + 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 +{ public: +inline int py_q_bufferSize() const { return this->bufferSize(); } +inline int py_q_bytesReady() const { return this->bytesReady(); } +inline qint64 py_q_elapsedUSecs() const { return this->elapsedUSecs(); } +inline QAudio::Error py_q_error() const { return this->error(); } +inline QAudioFormat py_q_format() const { return this->format(); } +inline int py_q_notifyInterval() const { return this->notifyInterval(); } +inline int py_q_periodSize() const { return this->periodSize(); } +inline qint64 py_q_processedUSecs() const { return this->processedUSecs(); } +inline void py_q_reset() { this->reset(); } +inline void py_q_resume() { this->resume(); } +inline void py_q_setBufferSize(int value) { this->setBufferSize(value); } +inline void py_q_setFormat(const QAudioFormat& fmt) { this->setFormat(fmt); } +inline void py_q_setNotifyInterval(int milliSeconds) { this->setNotifyInterval(milliSeconds); } +inline void py_q_setVolume(qreal arg__1) { this->setVolume(arg__1); } +inline QIODevice* py_q_start() { return this->start(); } +inline void py_q_start(QIODevice* device) { this->start(device); } +inline QAudio::State py_q_state() const { return this->state(); } +inline void py_q_stop() { this->stop(); } +inline void py_q_suspend() { this->suspend(); } +inline qreal py_q_volume() const { return this->volume(); } +}; + +class PythonQtWrapper_QAbstractAudioInput : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractAudioInput* new_QAbstractAudioInput(); +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; + int py_q_bytesReady(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_bytesReady());} + qint64 elapsedUSecs(QAbstractAudioInput* theWrappedObject) const; + qint64 py_q_elapsedUSecs(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_elapsedUSecs());} + QAudio::Error error(QAbstractAudioInput* theWrappedObject) const; + QAudio::Error py_q_error(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_error());} + QAudioFormat format(QAbstractAudioInput* theWrappedObject) const; + QAudioFormat py_q_format(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_format());} + int notifyInterval(QAbstractAudioInput* theWrappedObject) const; + int py_q_notifyInterval(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_notifyInterval());} + int periodSize(QAbstractAudioInput* theWrappedObject) const; + int py_q_periodSize(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_periodSize());} + qint64 processedUSecs(QAbstractAudioInput* theWrappedObject) const; + qint64 py_q_processedUSecs(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_processedUSecs());} + void reset(QAbstractAudioInput* theWrappedObject); + void py_q_reset(QAbstractAudioInput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_reset());} + void resume(QAbstractAudioInput* theWrappedObject); + void py_q_resume(QAbstractAudioInput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_resume());} + void setBufferSize(QAbstractAudioInput* theWrappedObject, int value); + void py_q_setBufferSize(QAbstractAudioInput* theWrappedObject, int value){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_setBufferSize(value));} + void setFormat(QAbstractAudioInput* theWrappedObject, const QAudioFormat& fmt); + void py_q_setFormat(QAbstractAudioInput* theWrappedObject, const QAudioFormat& fmt){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_setFormat(fmt));} + void setNotifyInterval(QAbstractAudioInput* theWrappedObject, int milliSeconds); + void py_q_setNotifyInterval(QAbstractAudioInput* theWrappedObject, int milliSeconds){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_setNotifyInterval(milliSeconds));} + void setVolume(QAbstractAudioInput* theWrappedObject, qreal arg__1); + void py_q_setVolume(QAbstractAudioInput* theWrappedObject, qreal arg__1){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_setVolume(arg__1));} + QIODevice* start(QAbstractAudioInput* theWrappedObject); + QIODevice* py_q_start(QAbstractAudioInput* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_start());} + void start(QAbstractAudioInput* theWrappedObject, QIODevice* device); + void py_q_start(QAbstractAudioInput* theWrappedObject, QIODevice* device){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_start(device));} + QAudio::State state(QAbstractAudioInput* theWrappedObject) const; + QAudio::State py_q_state(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_state());} + void stop(QAbstractAudioInput* theWrappedObject); + void py_q_stop(QAbstractAudioInput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_stop());} + void suspend(QAbstractAudioInput* theWrappedObject); + void py_q_suspend(QAbstractAudioInput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_suspend());} + qreal volume(QAbstractAudioInput* theWrappedObject) const; + qreal py_q_volume(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_volume());} +}; + + + + + +class PythonQtShell_QAbstractAudioOutput : public QAbstractAudioOutput +{ +public: + 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 +{ public: +inline int py_q_bufferSize() const { return this->bufferSize(); } +inline int py_q_bytesFree() const { return this->bytesFree(); } +inline QString py_q_category() const { return QAbstractAudioOutput::category(); } +inline qint64 py_q_elapsedUSecs() const { return this->elapsedUSecs(); } +inline QAudio::Error py_q_error() const { return this->error(); } +inline QAudioFormat py_q_format() const { return this->format(); } +inline int py_q_notifyInterval() const { return this->notifyInterval(); } +inline int py_q_periodSize() const { return this->periodSize(); } +inline qint64 py_q_processedUSecs() const { return this->processedUSecs(); } +inline void py_q_reset() { this->reset(); } +inline void py_q_resume() { this->resume(); } +inline void py_q_setBufferSize(int value) { this->setBufferSize(value); } +inline void py_q_setCategory(const QString& arg__1) { QAbstractAudioOutput::setCategory(arg__1); } +inline void py_q_setFormat(const QAudioFormat& fmt) { this->setFormat(fmt); } +inline void py_q_setNotifyInterval(int milliSeconds) { this->setNotifyInterval(milliSeconds); } +inline void py_q_setVolume(qreal arg__1) { QAbstractAudioOutput::setVolume(arg__1); } +inline QIODevice* py_q_start() { return this->start(); } +inline void py_q_start(QIODevice* device) { this->start(device); } +inline QAudio::State py_q_state() const { return this->state(); } +inline void py_q_stop() { this->stop(); } +inline void py_q_suspend() { this->suspend(); } +inline qreal py_q_volume() const { return QAbstractAudioOutput::volume(); } +}; + +class PythonQtWrapper_QAbstractAudioOutput : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractAudioOutput* new_QAbstractAudioOutput(); +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; + int py_q_bytesFree(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_bytesFree());} + QString category(QAbstractAudioOutput* theWrappedObject) const; + QString py_q_category(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_category());} + qint64 elapsedUSecs(QAbstractAudioOutput* theWrappedObject) const; + qint64 py_q_elapsedUSecs(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_elapsedUSecs());} + QAudio::Error error(QAbstractAudioOutput* theWrappedObject) const; + QAudio::Error py_q_error(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_error());} + QAudioFormat format(QAbstractAudioOutput* theWrappedObject) const; + QAudioFormat py_q_format(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_format());} + int notifyInterval(QAbstractAudioOutput* theWrappedObject) const; + int py_q_notifyInterval(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_notifyInterval());} + int periodSize(QAbstractAudioOutput* theWrappedObject) const; + int py_q_periodSize(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_periodSize());} + qint64 processedUSecs(QAbstractAudioOutput* theWrappedObject) const; + qint64 py_q_processedUSecs(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_processedUSecs());} + void reset(QAbstractAudioOutput* theWrappedObject); + void py_q_reset(QAbstractAudioOutput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_reset());} + void resume(QAbstractAudioOutput* theWrappedObject); + void py_q_resume(QAbstractAudioOutput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_resume());} + void setBufferSize(QAbstractAudioOutput* theWrappedObject, int value); + void py_q_setBufferSize(QAbstractAudioOutput* theWrappedObject, int value){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_setBufferSize(value));} + void setCategory(QAbstractAudioOutput* theWrappedObject, const QString& arg__1); + void py_q_setCategory(QAbstractAudioOutput* theWrappedObject, const QString& arg__1){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_setCategory(arg__1));} + void setFormat(QAbstractAudioOutput* theWrappedObject, const QAudioFormat& fmt); + void py_q_setFormat(QAbstractAudioOutput* theWrappedObject, const QAudioFormat& fmt){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_setFormat(fmt));} + void setNotifyInterval(QAbstractAudioOutput* theWrappedObject, int milliSeconds); + void py_q_setNotifyInterval(QAbstractAudioOutput* theWrappedObject, int milliSeconds){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_setNotifyInterval(milliSeconds));} + void setVolume(QAbstractAudioOutput* theWrappedObject, qreal arg__1); + void py_q_setVolume(QAbstractAudioOutput* theWrappedObject, qreal arg__1){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_setVolume(arg__1));} + QIODevice* start(QAbstractAudioOutput* theWrappedObject); + QIODevice* py_q_start(QAbstractAudioOutput* theWrappedObject){ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_start());} + void start(QAbstractAudioOutput* theWrappedObject, QIODevice* device); + void py_q_start(QAbstractAudioOutput* theWrappedObject, QIODevice* device){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_start(device));} + QAudio::State state(QAbstractAudioOutput* theWrappedObject) const; + QAudio::State py_q_state(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_state());} + void stop(QAbstractAudioOutput* theWrappedObject); + void py_q_stop(QAbstractAudioOutput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_stop());} + void suspend(QAbstractAudioOutput* theWrappedObject); + void py_q_suspend(QAbstractAudioOutput* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_suspend());} + qreal volume(QAbstractAudioOutput* theWrappedObject) const; + qreal py_q_volume(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_volume());} +}; + + + + + +class PythonQtShell_QAbstractVideoBuffer : public QAbstractVideoBuffer +{ +public: + PythonQtShell_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type):QAbstractVideoBuffer(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractVideoBuffer() override; + +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; +}; + +class PythonQtPublicPromoter_QAbstractVideoBuffer : public QAbstractVideoBuffer +{ public: +inline QVariant py_q_handle() const { return QAbstractVideoBuffer::handle(); } +inline uchar* py_q_map(QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine) { return this->map(mode, numBytes, bytesPerLine); } +inline QAbstractVideoBuffer::MapMode py_q_mapMode() const { return this->mapMode(); } +inline void py_q_release() { QAbstractVideoBuffer::release(); } +inline void py_q_unmap() { this->unmap(); } +}; + +class PythonQtWrapper_QAbstractVideoBuffer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(HandleType MapMode ) +enum HandleType{ + NoHandle = QAbstractVideoBuffer::NoHandle, GLTextureHandle = QAbstractVideoBuffer::GLTextureHandle, XvShmImageHandle = QAbstractVideoBuffer::XvShmImageHandle, CoreImageHandle = QAbstractVideoBuffer::CoreImageHandle, QPixmapHandle = QAbstractVideoBuffer::QPixmapHandle, EGLImageHandle = QAbstractVideoBuffer::EGLImageHandle, UserHandle = QAbstractVideoBuffer::UserHandle}; +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; } + 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; + uchar* map(QAbstractVideoBuffer* theWrappedObject, QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine); + uchar* py_q_map(QAbstractVideoBuffer* theWrappedObject, QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine){ return (((PythonQtPublicPromoter_QAbstractVideoBuffer*)theWrappedObject)->py_q_map(mode, numBytes, bytesPerLine));} + QAbstractVideoBuffer::MapMode mapMode(QAbstractVideoBuffer* theWrappedObject) const; + QAbstractVideoBuffer::MapMode py_q_mapMode(QAbstractVideoBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractVideoBuffer*)theWrappedObject)->py_q_mapMode());} + void release(QAbstractVideoBuffer* theWrappedObject); + void py_q_release(QAbstractVideoBuffer* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractVideoBuffer*)theWrappedObject)->py_q_release());} + void unmap(QAbstractVideoBuffer* theWrappedObject); + void py_q_unmap(QAbstractVideoBuffer* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractVideoBuffer*)theWrappedObject)->py_q_unmap());} +}; + + + + + +class PythonQtShell_QAbstractVideoSurface : public QAbstractVideoSurface +{ +public: + PythonQtShell_QAbstractVideoSurface(QObject* parent = nullptr):QAbstractVideoSurface(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractVideoSurface() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractVideoSurface : public QAbstractVideoSurface +{ public: +inline void promoted_setError(QAbstractVideoSurface::Error error) { this->setError(error); } +inline void promoted_setNativeResolution(const QSize& resolution) { this->setNativeResolution(resolution); } +inline bool py_q_isFormatSupported(const QVideoSurfaceFormat& format) const { return QAbstractVideoSurface::isFormatSupported(format); } +inline QVideoSurfaceFormat py_q_nearestFormat(const QVideoSurfaceFormat& format) const { return QAbstractVideoSurface::nearestFormat(format); } +inline bool py_q_present(const QVideoFrame& frame) { return this->present(frame); } +inline bool py_q_start(const QVideoSurfaceFormat& format) { return QAbstractVideoSurface::start(format); } +inline void py_q_stop() { QAbstractVideoSurface::stop(); } +inline QList py_q_supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const { return this->supportedPixelFormats(type); } +}; + +class PythonQtWrapper_QAbstractVideoSurface : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error ) +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; } + QAbstractVideoSurface::Error error(QAbstractVideoSurface* theWrappedObject) const; + bool isActive(QAbstractVideoSurface* theWrappedObject) const; + bool isFormatSupported(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const; + bool py_q_isFormatSupported(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const{ return (((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->py_q_isFormatSupported(format));} + QSize nativeResolution(QAbstractVideoSurface* theWrappedObject) const; + QVideoSurfaceFormat nearestFormat(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const; + QVideoSurfaceFormat py_q_nearestFormat(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const{ return (((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->py_q_nearestFormat(format));} + bool present(QAbstractVideoSurface* theWrappedObject, const QVideoFrame& frame); + bool py_q_present(QAbstractVideoSurface* theWrappedObject, const QVideoFrame& frame){ return (((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->py_q_present(frame));} + void setError(QAbstractVideoSurface* theWrappedObject, QAbstractVideoSurface::Error error); + void setNativeResolution(QAbstractVideoSurface* theWrappedObject, const QSize& resolution); + bool start(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format); + bool py_q_start(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format){ return (((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->py_q_start(format));} + void stop(QAbstractVideoSurface* theWrappedObject); + void py_q_stop(QAbstractVideoSurface* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->py_q_stop());} + QList supportedPixelFormats(QAbstractVideoSurface* theWrappedObject, QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const; + QList py_q_supportedPixelFormats(QAbstractVideoSurface* theWrappedObject, QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const{ return (((PythonQtPublicPromoter_QAbstractVideoSurface*)theWrappedObject)->py_q_supportedPixelFormats(type));} + QVideoSurfaceFormat surfaceFormat(QAbstractVideoSurface* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QAudio : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error Mode Role State VolumeScale ) +enum Error{ + NoError = QAudio::NoError, OpenError = QAudio::OpenError, IOError = QAudio::IOError, UnderrunError = QAudio::UnderrunError, FatalError = QAudio::FatalError}; +enum Mode{ + AudioInput = QAudio::AudioInput, AudioOutput = QAudio::AudioOutput}; +enum Role{ + UnknownRole = QAudio::UnknownRole, MusicRole = QAudio::MusicRole, VideoRole = QAudio::VideoRole, VoiceCommunicationRole = QAudio::VoiceCommunicationRole, AlarmRole = QAudio::AlarmRole, NotificationRole = QAudio::NotificationRole, RingtoneRole = QAudio::RingtoneRole, AccessibilityRole = QAudio::AccessibilityRole, SonificationRole = QAudio::SonificationRole, GameRole = QAudio::GameRole, CustomRole = QAudio::CustomRole}; +enum State{ + ActiveState = QAudio::ActiveState, SuspendedState = QAudio::SuspendedState, StoppedState = QAudio::StoppedState, IdleState = QAudio::IdleState, InterruptedState = QAudio::InterruptedState}; +enum VolumeScale{ + LinearVolumeScale = QAudio::LinearVolumeScale, CubicVolumeScale = QAudio::CubicVolumeScale, LogarithmicVolumeScale = QAudio::LogarithmicVolumeScale, DecibelVolumeScale = QAudio::DecibelVolumeScale}; +public slots: + qreal static_QAudio_convertVolume(qreal volume, QAudio::VolumeScale from, QAudio::VolumeScale to); +}; + + + + + +class PythonQtWrapper_QAudioBuffer : public QObject +{ Q_OBJECT +public: +public slots: +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; } + int byteCount(QAudioBuffer* theWrappedObject) const; + const void* constData(QAudioBuffer* theWrappedObject) const; + void* data(QAudioBuffer* theWrappedObject); + const void* data(QAudioBuffer* theWrappedObject) const; + qint64 duration(QAudioBuffer* theWrappedObject) const; + QAudioFormat format(QAudioBuffer* theWrappedObject) const; + int frameCount(QAudioBuffer* theWrappedObject) const; + bool isValid(QAudioBuffer* theWrappedObject) const; + QAudioBuffer* operator_assign(QAudioBuffer* theWrappedObject, const QAudioBuffer& other); + int sampleCount(QAudioBuffer* theWrappedObject) const; + qint64 startTime(QAudioBuffer* theWrappedObject) const; + bool __nonzero__(QAudioBuffer* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QAudioDecoder : public QAudioDecoder +{ +public: + PythonQtShell_QAudioDecoder(QObject* parent = nullptr):QAudioDecoder(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioDecoder() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAudioDecoder : public QAudioDecoder +{ public: +inline bool py_q_bind(QObject* arg__1) { return QAudioDecoder::bind(arg__1); } +inline void py_q_unbind(QObject* arg__1) { QAudioDecoder::unbind(arg__1); } +}; + +class PythonQtWrapper_QAudioDecoder : public QObject +{ Q_OBJECT +public: +public slots: +QAudioDecoder* new_QAudioDecoder(QObject* parent = nullptr); +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; + qint64 duration(QAudioDecoder* theWrappedObject) const; + QAudioDecoder::Error error(QAudioDecoder* theWrappedObject) const; + QString errorString(QAudioDecoder* theWrappedObject) const; + QMultimedia::SupportEstimate static_QAudioDecoder_hasSupport(const QString& mimeType, const QStringList& codecs = QStringList()); + qint64 position(QAudioDecoder* theWrappedObject) const; + QAudioBuffer read(QAudioDecoder* theWrappedObject) const; + void setAudioFormat(QAudioDecoder* theWrappedObject, const QAudioFormat& format); + void setSourceDevice(QAudioDecoder* theWrappedObject, QIODevice* device); + void setSourceFilename(QAudioDecoder* theWrappedObject, const QString& fileName); + QIODevice* sourceDevice(QAudioDecoder* theWrappedObject) const; + QString sourceFilename(QAudioDecoder* theWrappedObject) const; + QAudioDecoder::State state(QAudioDecoder* theWrappedObject) const; + void py_q_unbind(QAudioDecoder* theWrappedObject, QObject* arg__1){ (((PythonQtPublicPromoter_QAudioDecoder*)theWrappedObject)->py_q_unbind(arg__1));} +}; + + + + + +class PythonQtShell_QAudioDecoderControl : public QAudioDecoderControl +{ +public: + 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 +{ public: +inline QAudioFormat py_q_audioFormat() const { return this->audioFormat(); } +inline bool py_q_bufferAvailable() const { return this->bufferAvailable(); } +inline qint64 py_q_duration() const { return this->duration(); } +inline qint64 py_q_position() const { return this->position(); } +inline QAudioBuffer py_q_read() { return this->read(); } +inline void py_q_setAudioFormat(const QAudioFormat& format) { this->setAudioFormat(format); } +inline void py_q_setSourceDevice(QIODevice* device) { this->setSourceDevice(device); } +inline void py_q_setSourceFilename(const QString& fileName) { this->setSourceFilename(fileName); } +inline QIODevice* py_q_sourceDevice() const { return this->sourceDevice(); } +inline QString py_q_sourceFilename() const { return this->sourceFilename(); } +inline void py_q_start() { this->start(); } +inline QAudioDecoder::State py_q_state() const { return this->state(); } +inline void py_q_stop() { this->stop(); } +}; + +class PythonQtWrapper_QAudioDecoderControl : public QObject +{ Q_OBJECT +public: +public slots: +QAudioDecoderControl* new_QAudioDecoderControl(QObject* parent = nullptr); +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; + bool py_q_bufferAvailable(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_bufferAvailable());} + qint64 duration(QAudioDecoderControl* theWrappedObject) const; + qint64 py_q_duration(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_duration());} + qint64 position(QAudioDecoderControl* theWrappedObject) const; + qint64 py_q_position(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_position());} + QAudioBuffer read(QAudioDecoderControl* theWrappedObject); + QAudioBuffer py_q_read(QAudioDecoderControl* theWrappedObject){ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_read());} + void setAudioFormat(QAudioDecoderControl* theWrappedObject, const QAudioFormat& format); + void py_q_setAudioFormat(QAudioDecoderControl* theWrappedObject, const QAudioFormat& format){ (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_setAudioFormat(format));} + void setSourceDevice(QAudioDecoderControl* theWrappedObject, QIODevice* device); + void py_q_setSourceDevice(QAudioDecoderControl* theWrappedObject, QIODevice* device){ (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_setSourceDevice(device));} + void setSourceFilename(QAudioDecoderControl* theWrappedObject, const QString& fileName); + void py_q_setSourceFilename(QAudioDecoderControl* theWrappedObject, const QString& fileName){ (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_setSourceFilename(fileName));} + QIODevice* sourceDevice(QAudioDecoderControl* theWrappedObject) const; + QIODevice* py_q_sourceDevice(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_sourceDevice());} + QString sourceFilename(QAudioDecoderControl* theWrappedObject) const; + QString py_q_sourceFilename(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_sourceFilename());} + void start(QAudioDecoderControl* theWrappedObject); + void py_q_start(QAudioDecoderControl* theWrappedObject){ (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_start());} + QAudioDecoder::State state(QAudioDecoderControl* theWrappedObject) const; + QAudioDecoder::State py_q_state(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_state());} + void stop(QAudioDecoderControl* theWrappedObject); + void py_q_stop(QAudioDecoderControl* theWrappedObject){ (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_stop());} +}; + + + + + +class PythonQtWrapper_QAudioDeviceInfo : public QObject +{ Q_OBJECT +public: +public slots: +QAudioDeviceInfo* new_QAudioDeviceInfo(); +QAudioDeviceInfo* new_QAudioDeviceInfo(const QAudioDeviceInfo& other); +void delete_QAudioDeviceInfo(QAudioDeviceInfo* obj) { delete obj; } + QList static_QAudioDeviceInfo_availableDevices(QAudio::Mode mode); + QAudioDeviceInfo static_QAudioDeviceInfo_defaultInputDevice(); + QAudioDeviceInfo static_QAudioDeviceInfo_defaultOutputDevice(); + QString deviceName(QAudioDeviceInfo* theWrappedObject) const; + bool isFormatSupported(QAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const; + bool isNull(QAudioDeviceInfo* theWrappedObject) const; + QAudioFormat nearestFormat(QAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const; + bool __ne__(QAudioDeviceInfo* theWrappedObject, const QAudioDeviceInfo& other) const; + QAudioDeviceInfo* operator_assign(QAudioDeviceInfo* theWrappedObject, const QAudioDeviceInfo& other); + bool __eq__(QAudioDeviceInfo* theWrappedObject, const QAudioDeviceInfo& other) const; + QAudioFormat preferredFormat(QAudioDeviceInfo* theWrappedObject) const; + QString realm(QAudioDeviceInfo* theWrappedObject) const; + QList supportedByteOrders(QAudioDeviceInfo* theWrappedObject) const; + QList supportedChannelCounts(QAudioDeviceInfo* theWrappedObject) const; + QStringList supportedCodecs(QAudioDeviceInfo* theWrappedObject) const; + QList supportedSampleRates(QAudioDeviceInfo* theWrappedObject) const; + QList supportedSampleSizes(QAudioDeviceInfo* theWrappedObject) const; + QList supportedSampleTypes(QAudioDeviceInfo* theWrappedObject) const; + bool __nonzero__(QAudioDeviceInfo* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QAudioEncoderSettings : public QObject +{ Q_OBJECT +public: +public slots: +QAudioEncoderSettings* new_QAudioEncoderSettings(); +QAudioEncoderSettings* new_QAudioEncoderSettings(const QAudioEncoderSettings& other); +void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } + int bitRate(QAudioEncoderSettings* theWrappedObject) const; + int channelCount(QAudioEncoderSettings* theWrappedObject) const; + QString codec(QAudioEncoderSettings* theWrappedObject) const; + QMultimedia::EncodingMode encodingMode(QAudioEncoderSettings* theWrappedObject) const; + QVariant encodingOption(QAudioEncoderSettings* theWrappedObject, const QString& option) const; + QMap encodingOptions(QAudioEncoderSettings* theWrappedObject) const; + bool isNull(QAudioEncoderSettings* theWrappedObject) const; + bool __ne__(QAudioEncoderSettings* theWrappedObject, const QAudioEncoderSettings& other) const; + QAudioEncoderSettings* operator_assign(QAudioEncoderSettings* theWrappedObject, const QAudioEncoderSettings& other); + bool __eq__(QAudioEncoderSettings* theWrappedObject, const QAudioEncoderSettings& other) const; + QMultimedia::EncodingQuality quality(QAudioEncoderSettings* theWrappedObject) const; + int sampleRate(QAudioEncoderSettings* theWrappedObject) const; + void setBitRate(QAudioEncoderSettings* theWrappedObject, int bitrate); + void setChannelCount(QAudioEncoderSettings* theWrappedObject, int channels); + void setCodec(QAudioEncoderSettings* theWrappedObject, const QString& codec); + void setEncodingMode(QAudioEncoderSettings* theWrappedObject, QMultimedia::EncodingMode arg__1); + void setEncodingOption(QAudioEncoderSettings* theWrappedObject, const QString& option, const QVariant& value); + void setEncodingOptions(QAudioEncoderSettings* theWrappedObject, const QMap& options); + void setQuality(QAudioEncoderSettings* theWrappedObject, QMultimedia::EncodingQuality quality); + void setSampleRate(QAudioEncoderSettings* theWrappedObject, int rate); + bool __nonzero__(QAudioEncoderSettings* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl +{ +public: + PythonQtShell_QAudioEncoderSettingsControl(QObject* parent = nullptr):QAudioEncoderSettingsControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioEncoderSettingsControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl +{ public: +inline QAudioEncoderSettings py_q_audioSettings() const { return this->audioSettings(); } +inline QString py_q_codecDescription(const QString& codecName) const { return this->codecDescription(codecName); } +inline void py_q_setAudioSettings(const QAudioEncoderSettings& settings) { this->setAudioSettings(settings); } +inline QStringList py_q_supportedAudioCodecs() const { return this->supportedAudioCodecs(); } +inline QList py_q_supportedSampleRates(const QAudioEncoderSettings& settings, bool* continuous = nullptr) const { return this->supportedSampleRates(settings, continuous); } +}; + +class PythonQtWrapper_QAudioEncoderSettingsControl : public QObject +{ Q_OBJECT +public: +public slots: +QAudioEncoderSettingsControl* new_QAudioEncoderSettingsControl(QObject* parent = nullptr); +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; + QString py_q_codecDescription(QAudioEncoderSettingsControl* theWrappedObject, const QString& codecName) const{ return (((PythonQtPublicPromoter_QAudioEncoderSettingsControl*)theWrappedObject)->py_q_codecDescription(codecName));} + void setAudioSettings(QAudioEncoderSettingsControl* theWrappedObject, const QAudioEncoderSettings& settings); + void py_q_setAudioSettings(QAudioEncoderSettingsControl* theWrappedObject, const QAudioEncoderSettings& settings){ (((PythonQtPublicPromoter_QAudioEncoderSettingsControl*)theWrappedObject)->py_q_setAudioSettings(settings));} + QStringList supportedAudioCodecs(QAudioEncoderSettingsControl* theWrappedObject) const; + QStringList py_q_supportedAudioCodecs(QAudioEncoderSettingsControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioEncoderSettingsControl*)theWrappedObject)->py_q_supportedAudioCodecs());} + QList supportedSampleRates(QAudioEncoderSettingsControl* theWrappedObject, const QAudioEncoderSettings& settings, bool* continuous = nullptr) const; + QList py_q_supportedSampleRates(QAudioEncoderSettingsControl* theWrappedObject, const QAudioEncoderSettings& settings, bool* continuous = nullptr) const{ return (((PythonQtPublicPromoter_QAudioEncoderSettingsControl*)theWrappedObject)->py_q_supportedSampleRates(settings, continuous));} +}; + + + + + +class PythonQtWrapper_QAudioFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Endian SampleType ) +enum Endian{ + BigEndian = QAudioFormat::BigEndian, LittleEndian = QAudioFormat::LittleEndian}; +enum SampleType{ + Unknown = QAudioFormat::Unknown, SignedInt = QAudioFormat::SignedInt, UnSignedInt = QAudioFormat::UnSignedInt, Float = QAudioFormat::Float}; +public slots: +QAudioFormat* new_QAudioFormat(); +QAudioFormat* new_QAudioFormat(const QAudioFormat& other); +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; + int bytesPerFrame(QAudioFormat* theWrappedObject) const; + int channelCount(QAudioFormat* theWrappedObject) const; + QString codec(QAudioFormat* theWrappedObject) const; + qint64 durationForBytes(QAudioFormat* theWrappedObject, int byteCount) const; + qint64 durationForFrames(QAudioFormat* theWrappedObject, int frameCount) const; + int framesForBytes(QAudioFormat* theWrappedObject, int byteCount) const; + int framesForDuration(QAudioFormat* theWrappedObject, qint64 duration) const; + bool isValid(QAudioFormat* theWrappedObject) const; + bool __ne__(QAudioFormat* theWrappedObject, const QAudioFormat& other) const; + QAudioFormat* operator_assign(QAudioFormat* theWrappedObject, const QAudioFormat& other); + bool __eq__(QAudioFormat* theWrappedObject, const QAudioFormat& other) const; + int sampleRate(QAudioFormat* theWrappedObject) const; + int sampleSize(QAudioFormat* theWrappedObject) const; + QAudioFormat::SampleType sampleType(QAudioFormat* theWrappedObject) const; + void setByteOrder(QAudioFormat* theWrappedObject, QAudioFormat::Endian byteOrder); + void setChannelCount(QAudioFormat* theWrappedObject, int channelCount); + void setCodec(QAudioFormat* theWrappedObject, const QString& codec); + void setSampleRate(QAudioFormat* theWrappedObject, int sampleRate); + void setSampleSize(QAudioFormat* theWrappedObject, int sampleSize); + void setSampleType(QAudioFormat* theWrappedObject, QAudioFormat::SampleType sampleType); + QString py_toString(QAudioFormat*); + bool __nonzero__(QAudioFormat* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QAudioInput : public QAudioInput +{ +public: + 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() 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_QAudioInput : public QObject +{ Q_OBJECT +public: +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; } + int bufferSize(QAudioInput* theWrappedObject) const; + int bytesReady(QAudioInput* theWrappedObject) const; + qint64 elapsedUSecs(QAudioInput* theWrappedObject) const; + QAudio::Error error(QAudioInput* theWrappedObject) const; + QAudioFormat format(QAudioInput* theWrappedObject) const; + int notifyInterval(QAudioInput* theWrappedObject) const; + int periodSize(QAudioInput* theWrappedObject) const; + qint64 processedUSecs(QAudioInput* theWrappedObject) const; + void reset(QAudioInput* theWrappedObject); + void resume(QAudioInput* theWrappedObject); + void setBufferSize(QAudioInput* theWrappedObject, int bytes); + void setNotifyInterval(QAudioInput* theWrappedObject, int milliSeconds); + void setVolume(QAudioInput* theWrappedObject, qreal volume); + QIODevice* start(QAudioInput* theWrappedObject); + void start(QAudioInput* theWrappedObject, QIODevice* device); + QAudio::State state(QAudioInput* theWrappedObject) const; + void stop(QAudioInput* theWrappedObject); + void suspend(QAudioInput* theWrappedObject); + qreal volume(QAudioInput* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAudioInputSelectorControl : public QAudioInputSelectorControl +{ +public: + PythonQtShell_QAudioInputSelectorControl(QObject* parent = nullptr):QAudioInputSelectorControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioInputSelectorControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAudioInputSelectorControl : public QAudioInputSelectorControl +{ public: +inline QString py_q_activeInput() const { return this->activeInput(); } +inline QList py_q_availableInputs() const { return this->availableInputs(); } +inline QString py_q_defaultInput() const { return this->defaultInput(); } +inline QString py_q_inputDescription(const QString& name) const { return this->inputDescription(name); } +inline void py_q_setActiveInput(const QString& name) { this->setActiveInput(name); } +}; + +class PythonQtWrapper_QAudioInputSelectorControl : public QObject +{ Q_OBJECT +public: +public slots: +QAudioInputSelectorControl* new_QAudioInputSelectorControl(QObject* parent = nullptr); +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; + QList py_q_availableInputs(QAudioInputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioInputSelectorControl*)theWrappedObject)->py_q_availableInputs());} + QString defaultInput(QAudioInputSelectorControl* theWrappedObject) const; + QString py_q_defaultInput(QAudioInputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioInputSelectorControl*)theWrappedObject)->py_q_defaultInput());} + QString inputDescription(QAudioInputSelectorControl* theWrappedObject, const QString& name) const; + QString py_q_inputDescription(QAudioInputSelectorControl* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QAudioInputSelectorControl*)theWrappedObject)->py_q_inputDescription(name));} + void py_q_setActiveInput(QAudioInputSelectorControl* theWrappedObject, const QString& name){ (((PythonQtPublicPromoter_QAudioInputSelectorControl*)theWrappedObject)->py_q_setActiveInput(name));} +}; + + + + + +class PythonQtShell_QAudioOutput : public QAudioOutput +{ +public: + 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() 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_QAudioOutput : public QObject +{ Q_OBJECT +public: +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; } + int bufferSize(QAudioOutput* theWrappedObject) const; + int bytesFree(QAudioOutput* theWrappedObject) const; + QString category(QAudioOutput* theWrappedObject) const; + qint64 elapsedUSecs(QAudioOutput* theWrappedObject) const; + QAudio::Error error(QAudioOutput* theWrappedObject) const; + QAudioFormat format(QAudioOutput* theWrappedObject) const; + int notifyInterval(QAudioOutput* theWrappedObject) const; + int periodSize(QAudioOutput* theWrappedObject) const; + qint64 processedUSecs(QAudioOutput* theWrappedObject) const; + void reset(QAudioOutput* theWrappedObject); + void resume(QAudioOutput* theWrappedObject); + void setBufferSize(QAudioOutput* theWrappedObject, int bytes); + void setCategory(QAudioOutput* theWrappedObject, const QString& category); + void setNotifyInterval(QAudioOutput* theWrappedObject, int milliSeconds); + void setVolume(QAudioOutput* theWrappedObject, qreal arg__1); + QIODevice* start(QAudioOutput* theWrappedObject); + void start(QAudioOutput* theWrappedObject, QIODevice* device); + QAudio::State state(QAudioOutput* theWrappedObject) const; + void stop(QAudioOutput* theWrappedObject); + void suspend(QAudioOutput* theWrappedObject); + qreal volume(QAudioOutput* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAudioOutputSelectorControl : public QAudioOutputSelectorControl +{ +public: + PythonQtShell_QAudioOutputSelectorControl(QObject* parent = nullptr):QAudioOutputSelectorControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioOutputSelectorControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAudioOutputSelectorControl : public QAudioOutputSelectorControl +{ public: +inline QString py_q_activeOutput() const { return this->activeOutput(); } +inline QList py_q_availableOutputs() const { return this->availableOutputs(); } +inline QString py_q_defaultOutput() const { return this->defaultOutput(); } +inline QString py_q_outputDescription(const QString& name) const { return this->outputDescription(name); } +inline void py_q_setActiveOutput(const QString& name) { this->setActiveOutput(name); } +}; + +class PythonQtWrapper_QAudioOutputSelectorControl : public QObject +{ Q_OBJECT +public: +public slots: +QAudioOutputSelectorControl* new_QAudioOutputSelectorControl(QObject* parent = nullptr); +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; + QList py_q_availableOutputs(QAudioOutputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioOutputSelectorControl*)theWrappedObject)->py_q_availableOutputs());} + QString defaultOutput(QAudioOutputSelectorControl* theWrappedObject) const; + QString py_q_defaultOutput(QAudioOutputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioOutputSelectorControl*)theWrappedObject)->py_q_defaultOutput());} + QString outputDescription(QAudioOutputSelectorControl* theWrappedObject, const QString& name) const; + QString py_q_outputDescription(QAudioOutputSelectorControl* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QAudioOutputSelectorControl*)theWrappedObject)->py_q_outputDescription(name));} + void py_q_setActiveOutput(QAudioOutputSelectorControl* theWrappedObject, const QString& name){ (((PythonQtPublicPromoter_QAudioOutputSelectorControl*)theWrappedObject)->py_q_setActiveOutput(name));} +}; + + + + + +class PythonQtShell_QAudioProbe : public QAudioProbe +{ +public: + PythonQtShell_QAudioProbe(QObject* parent = nullptr):QAudioProbe(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioProbe() 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_QAudioProbe : public QObject +{ Q_OBJECT +public: +public slots: +QAudioProbe* new_QAudioProbe(QObject* parent = nullptr); +void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } + bool isActive(QAudioProbe* theWrappedObject) const; + bool setSource(QAudioProbe* theWrappedObject, QMediaObject* source); + bool setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source); +}; + + + + + +class PythonQtShell_QAudioRecorder : public QAudioRecorder +{ +public: + PythonQtShell_QAudioRecorder(QObject* parent = nullptr):QAudioRecorder(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioRecorder() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QAudioRecorder : public QObject +{ Q_OBJECT +public: +public slots: +QAudioRecorder* new_QAudioRecorder(QObject* parent = nullptr); +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; + QString defaultAudioInput(QAudioRecorder* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QAudioRoleControl : public QAudioRoleControl +{ +public: + PythonQtShell_QAudioRoleControl(QObject* parent = nullptr):QAudioRoleControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioRoleControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAudioRoleControl : public QAudioRoleControl +{ public: +inline QAudio::Role py_q_audioRole() const { return this->audioRole(); } +inline void py_q_setAudioRole(QAudio::Role role) { this->setAudioRole(role); } +inline QList py_q_supportedAudioRoles() const { return this->supportedAudioRoles(); } +}; + +class PythonQtWrapper_QAudioRoleControl : public QObject +{ Q_OBJECT +public: +public slots: +QAudioRoleControl* new_QAudioRoleControl(QObject* parent = nullptr); +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); + void py_q_setAudioRole(QAudioRoleControl* theWrappedObject, QAudio::Role role){ (((PythonQtPublicPromoter_QAudioRoleControl*)theWrappedObject)->py_q_setAudioRole(role));} + QList supportedAudioRoles(QAudioRoleControl* theWrappedObject) const; + QList py_q_supportedAudioRoles(QAudioRoleControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioRoleControl*)theWrappedObject)->py_q_supportedAudioRoles());} +}; + + + + + +class PythonQtShell_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface +{ +public: + PythonQtShell_QAudioSystemFactoryInterface():QAudioSystemFactoryInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioSystemFactoryInterface() override; + +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; +}; + +class PythonQtPublicPromoter_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface +{ public: +inline QList py_q_availableDevices(QAudio::Mode arg__1) const { return this->availableDevices(arg__1); } +inline QAbstractAudioDeviceInfo* py_q_createDeviceInfo(const QByteArray& device, QAudio::Mode mode) { return this->createDeviceInfo(device, mode); } +inline QAbstractAudioInput* py_q_createInput(const QByteArray& device) { return this->createInput(device); } +inline QAbstractAudioOutput* py_q_createOutput(const QByteArray& device) { return this->createOutput(device); } +}; + +class PythonQtWrapper_QAudioSystemFactoryInterface : public QObject +{ Q_OBJECT +public: +public slots: +QAudioSystemFactoryInterface* new_QAudioSystemFactoryInterface(); +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); + QAbstractAudioDeviceInfo* py_q_createDeviceInfo(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device, QAudio::Mode mode){ return (((PythonQtPublicPromoter_QAudioSystemFactoryInterface*)theWrappedObject)->py_q_createDeviceInfo(device, mode));} + QAbstractAudioInput* createInput(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device); + QAbstractAudioInput* py_q_createInput(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device){ return (((PythonQtPublicPromoter_QAudioSystemFactoryInterface*)theWrappedObject)->py_q_createInput(device));} + QAbstractAudioOutput* createOutput(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device); + QAbstractAudioOutput* py_q_createOutput(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device){ return (((PythonQtPublicPromoter_QAudioSystemFactoryInterface*)theWrappedObject)->py_q_createOutput(device));} +}; + + + + + +class PythonQtShell_QAudioSystemPlugin : public QAudioSystemPlugin +{ +public: + PythonQtShell_QAudioSystemPlugin(QObject* parent = nullptr):QAudioSystemPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioSystemPlugin(); + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAudioSystemPlugin : public QAudioSystemPlugin +{ public: +inline QList py_q_availableDevices(QAudio::Mode arg__1) const { return this->availableDevices(arg__1); } +inline QAbstractAudioDeviceInfo* py_q_createDeviceInfo(const QByteArray& device, QAudio::Mode mode) { return this->createDeviceInfo(device, mode); } +inline QAbstractAudioInput* py_q_createInput(const QByteArray& device) { return this->createInput(device); } +inline QAbstractAudioOutput* py_q_createOutput(const QByteArray& device) { return this->createOutput(device); } +}; + +class PythonQtWrapper_QAudioSystemPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QAudioSystemPlugin* new_QAudioSystemPlugin(QObject* parent = nullptr); +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); + QAbstractAudioDeviceInfo* py_q_createDeviceInfo(QAudioSystemPlugin* theWrappedObject, const QByteArray& device, QAudio::Mode mode){ return (((PythonQtPublicPromoter_QAudioSystemPlugin*)theWrappedObject)->py_q_createDeviceInfo(device, mode));} + QAbstractAudioInput* createInput(QAudioSystemPlugin* theWrappedObject, const QByteArray& device); + QAbstractAudioInput* py_q_createInput(QAudioSystemPlugin* theWrappedObject, const QByteArray& device){ return (((PythonQtPublicPromoter_QAudioSystemPlugin*)theWrappedObject)->py_q_createInput(device));} + QAbstractAudioOutput* createOutput(QAudioSystemPlugin* theWrappedObject, const QByteArray& device); + QAbstractAudioOutput* py_q_createOutput(QAudioSystemPlugin* theWrappedObject, const QByteArray& device){ return (((PythonQtPublicPromoter_QAudioSystemPlugin*)theWrappedObject)->py_q_createOutput(device));} +}; + + + + + +class PythonQtShell_QCamera : public QCamera +{ +public: + 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() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCamera : public QCamera +{ public: +inline QMultimedia::AvailabilityStatus py_q_availability() const { return QCamera::availability(); } +}; + +class PythonQtWrapper_QCamera : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CaptureMode LockType ) +Q_FLAGS(CaptureModes LockTypes ) +enum CaptureMode{ + CaptureViewfinder = QCamera::CaptureViewfinder, CaptureStillImage = QCamera::CaptureStillImage, CaptureVideo = QCamera::CaptureVideo}; +enum LockType{ + NoLock = QCamera::NoLock, LockExposure = QCamera::LockExposure, LockWhiteBalance = QCamera::LockWhiteBalance, LockFocus = QCamera::LockFocus}; +Q_DECLARE_FLAGS(CaptureModes, CaptureMode) +Q_DECLARE_FLAGS(LockTypes, LockType) +public slots: +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; } + 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; + QString static_QCamera_deviceDescription(const QByteArray& device); + QCamera::Error error(QCamera* theWrappedObject) const; + QString errorString(QCamera* theWrappedObject) const; + QCameraExposure* exposure(QCamera* theWrappedObject) const; + QCameraFocus* focus(QCamera* theWrappedObject) const; + QCameraImageProcessing* imageProcessing(QCamera* theWrappedObject) const; + bool isCaptureModeSupported(QCamera* theWrappedObject, QCamera::CaptureModes mode) const; + QCamera::LockStatus lockStatus(QCamera* theWrappedObject) const; + QCamera::LockStatus lockStatus(QCamera* theWrappedObject, QCamera::LockType lock) const; + QCamera::LockTypes requestedLocks(QCamera* theWrappedObject) const; + void setViewfinder(QCamera* theWrappedObject, QAbstractVideoSurface* surface); + void setViewfinder(QCamera* theWrappedObject, QGraphicsVideoItem* viewfinder); + void setViewfinder(QCamera* theWrappedObject, QVideoWidget* viewfinder); + void setViewfinderSettings(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings); + QCamera::State state(QCamera* theWrappedObject) const; + QCamera::Status status(QCamera* theWrappedObject) const; + QCamera::LockTypes supportedLocks(QCamera* theWrappedObject) const; + QList supportedViewfinderFrameRateRanges(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings = QCameraViewfinderSettings()) const; + QList supportedViewfinderPixelFormats(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings = QCameraViewfinderSettings()) const; + QList supportedViewfinderResolutions(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings = QCameraViewfinderSettings()) const; + QList supportedViewfinderSettings(QCamera* theWrappedObject, const QCameraViewfinderSettings& settings = QCameraViewfinderSettings()) const; + QCameraViewfinderSettings viewfinderSettings(QCamera* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl +{ +public: + PythonQtShell_QCameraCaptureBufferFormatControl(QObject* parent = nullptr):QCameraCaptureBufferFormatControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraCaptureBufferFormatControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl +{ public: +inline QVideoFrame::PixelFormat py_q_bufferFormat() const { return this->bufferFormat(); } +inline void py_q_setBufferFormat(QVideoFrame::PixelFormat format) { this->setBufferFormat(format); } +inline QList py_q_supportedBufferFormats() const { return this->supportedBufferFormats(); } +}; + +class PythonQtWrapper_QCameraCaptureBufferFormatControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraCaptureBufferFormatControl* new_QCameraCaptureBufferFormatControl(QObject* parent = nullptr); +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); + void py_q_setBufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject, QVideoFrame::PixelFormat format){ (((PythonQtPublicPromoter_QCameraCaptureBufferFormatControl*)theWrappedObject)->py_q_setBufferFormat(format));} + QList supportedBufferFormats(QCameraCaptureBufferFormatControl* theWrappedObject) const; + QList py_q_supportedBufferFormats(QCameraCaptureBufferFormatControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraCaptureBufferFormatControl*)theWrappedObject)->py_q_supportedBufferFormats());} +}; + + + + + +class PythonQtShell_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl +{ +public: + PythonQtShell_QCameraCaptureDestinationControl(QObject* parent = nullptr):QCameraCaptureDestinationControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraCaptureDestinationControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl +{ public: +inline QCameraImageCapture::CaptureDestinations py_q_captureDestination() const { return this->captureDestination(); } +inline bool py_q_isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const { return this->isCaptureDestinationSupported(destination); } +inline void py_q_setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) { this->setCaptureDestination(destination); } +}; + +class PythonQtWrapper_QCameraCaptureDestinationControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraCaptureDestinationControl* new_QCameraCaptureDestinationControl(QObject* parent = nullptr); +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; + bool py_q_isCaptureDestinationSupported(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const{ return (((PythonQtPublicPromoter_QCameraCaptureDestinationControl*)theWrappedObject)->py_q_isCaptureDestinationSupported(destination));} + void setCaptureDestination(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination); + void py_q_setCaptureDestination(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination){ (((PythonQtPublicPromoter_QCameraCaptureDestinationControl*)theWrappedObject)->py_q_setCaptureDestination(destination));} +}; + + + + + +class PythonQtShell_QCameraControl : public QCameraControl +{ +public: + PythonQtShell_QCameraControl(QObject* parent = nullptr):QCameraControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraControl : public QCameraControl +{ public: +inline bool py_q_canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const { return this->canChangeProperty(changeType, status); } +inline QCamera::CaptureModes py_q_captureMode() const { return this->captureMode(); } +inline bool py_q_isCaptureModeSupported(QCamera::CaptureModes mode) const { return this->isCaptureModeSupported(mode); } +inline void py_q_setCaptureMode(QCamera::CaptureModes arg__1) { this->setCaptureMode(arg__1); } +inline void py_q_setState(QCamera::State state) { this->setState(state); } +inline QCamera::State py_q_state() const { return this->state(); } +inline QCamera::Status py_q_status() const { return this->status(); } +}; + +class PythonQtWrapper_QCameraControl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PropertyChangeType ) +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; } + 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; + QCamera::CaptureModes py_q_captureMode(QCameraControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_captureMode());} + bool isCaptureModeSupported(QCameraControl* theWrappedObject, QCamera::CaptureModes mode) const; + bool py_q_isCaptureModeSupported(QCameraControl* theWrappedObject, QCamera::CaptureModes mode) const{ return (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_isCaptureModeSupported(mode));} + void setCaptureMode(QCameraControl* theWrappedObject, QCamera::CaptureModes arg__1); + void py_q_setCaptureMode(QCameraControl* theWrappedObject, QCamera::CaptureModes arg__1){ (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_setCaptureMode(arg__1));} + void setState(QCameraControl* theWrappedObject, QCamera::State state); + void py_q_setState(QCameraControl* theWrappedObject, QCamera::State state){ (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_setState(state));} + QCamera::State state(QCameraControl* theWrappedObject) const; + QCamera::State py_q_state(QCameraControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_state());} + QCamera::Status status(QCameraControl* theWrappedObject) const; + QCamera::Status py_q_status(QCameraControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_status());} +}; + + + + + +class PythonQtWrapper_QCameraExposure : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FlashMode ) +Q_FLAGS(FlashModes ) +enum FlashMode{ + FlashAuto = QCameraExposure::FlashAuto, FlashOff = QCameraExposure::FlashOff, FlashOn = QCameraExposure::FlashOn, FlashRedEyeReduction = QCameraExposure::FlashRedEyeReduction, FlashFill = QCameraExposure::FlashFill, FlashTorch = QCameraExposure::FlashTorch, FlashVideoLight = QCameraExposure::FlashVideoLight, FlashSlowSyncFrontCurtain = QCameraExposure::FlashSlowSyncFrontCurtain, FlashSlowSyncRearCurtain = QCameraExposure::FlashSlowSyncRearCurtain, FlashManual = QCameraExposure::FlashManual}; +Q_DECLARE_FLAGS(FlashModes, FlashMode) +public slots: + qreal aperture(QCameraExposure* theWrappedObject) const; + qreal exposureCompensation(QCameraExposure* theWrappedObject) const; + QCameraExposure::ExposureMode exposureMode(QCameraExposure* theWrappedObject) const; + QCameraExposure::FlashModes flashMode(QCameraExposure* theWrappedObject) const; + bool isAvailable(QCameraExposure* theWrappedObject) const; + bool isExposureModeSupported(QCameraExposure* theWrappedObject, QCameraExposure::ExposureMode mode) const; + bool isFlashModeSupported(QCameraExposure* theWrappedObject, QCameraExposure::FlashModes mode) const; + bool isFlashReady(QCameraExposure* theWrappedObject) const; + bool isMeteringModeSupported(QCameraExposure* theWrappedObject, QCameraExposure::MeteringMode mode) const; + int isoSensitivity(QCameraExposure* theWrappedObject) const; + QCameraExposure::MeteringMode meteringMode(QCameraExposure* theWrappedObject) const; + qreal requestedAperture(QCameraExposure* theWrappedObject) const; + int requestedIsoSensitivity(QCameraExposure* theWrappedObject) const; + qreal requestedShutterSpeed(QCameraExposure* theWrappedObject) const; + void setSpotMeteringPoint(QCameraExposure* theWrappedObject, const QPointF& point); + qreal shutterSpeed(QCameraExposure* theWrappedObject) const; + QPointF spotMeteringPoint(QCameraExposure* theWrappedObject) const; + QList supportedApertures(QCameraExposure* theWrappedObject, bool* continuous = nullptr) const; + QList supportedIsoSensitivities(QCameraExposure* theWrappedObject, bool* continuous = nullptr) const; + QList supportedShutterSpeeds(QCameraExposure* theWrappedObject, bool* continuous = nullptr) const; +}; + + + + + +class PythonQtShell_QCameraExposureControl : public QCameraExposureControl +{ +public: + PythonQtShell_QCameraExposureControl(QObject* parent = nullptr):QCameraExposureControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraExposureControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraExposureControl : public QCameraExposureControl +{ public: +inline QVariant py_q_actualValue(QCameraExposureControl::ExposureParameter parameter) const { return this->actualValue(parameter); } +inline bool py_q_isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const { return this->isParameterSupported(parameter); } +inline QVariant py_q_requestedValue(QCameraExposureControl::ExposureParameter parameter) const { return this->requestedValue(parameter); } +inline bool py_q_setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant& value) { return this->setValue(parameter, value); } +inline QList py_q_supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool* continuous) const { return this->supportedParameterRange(parameter, continuous); } +}; + +class PythonQtWrapper_QCameraExposureControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraExposureControl* new_QCameraExposureControl(QObject* parent = nullptr); +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; + bool py_q_isParameterSupported(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_isParameterSupported(parameter));} + QVariant requestedValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const; + QVariant py_q_requestedValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_requestedValue(parameter));} + bool setValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter, const QVariant& value); + bool py_q_setValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter, const QVariant& value){ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_setValue(parameter, value));} + QList supportedParameterRange(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter, bool* continuous) const; + QList py_q_supportedParameterRange(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter, bool* continuous) const{ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_supportedParameterRange(parameter, continuous));} +}; + + + + + +class PythonQtShell_QCameraFeedbackControl : public QCameraFeedbackControl +{ +public: + PythonQtShell_QCameraFeedbackControl(QObject* parent = nullptr):QCameraFeedbackControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraFeedbackControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraFeedbackControl : public QCameraFeedbackControl +{ public: +inline bool py_q_isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const { return this->isEventFeedbackEnabled(arg__1); } +inline bool py_q_isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const { return this->isEventFeedbackLocked(arg__1); } +inline void py_q_resetEventFeedback(QCameraFeedbackControl::EventType arg__1) { this->resetEventFeedback(arg__1); } +inline bool py_q_setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2) { return this->setEventFeedbackEnabled(arg__1, arg__2); } +inline bool py_q_setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath) { return this->setEventFeedbackSound(arg__1, filePath); } +}; + +class PythonQtWrapper_QCameraFeedbackControl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(EventType ) +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; } + 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; + bool py_q_isEventFeedbackLocked(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const{ return (((PythonQtPublicPromoter_QCameraFeedbackControl*)theWrappedObject)->py_q_isEventFeedbackLocked(arg__1));} + void resetEventFeedback(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1); + void py_q_resetEventFeedback(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1){ (((PythonQtPublicPromoter_QCameraFeedbackControl*)theWrappedObject)->py_q_resetEventFeedback(arg__1));} + bool setEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1, bool arg__2); + bool py_q_setEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1, bool arg__2){ return (((PythonQtPublicPromoter_QCameraFeedbackControl*)theWrappedObject)->py_q_setEventFeedbackEnabled(arg__1, arg__2));} + bool setEventFeedbackSound(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1, const QString& filePath); + bool py_q_setEventFeedbackSound(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1, const QString& filePath){ return (((PythonQtPublicPromoter_QCameraFeedbackControl*)theWrappedObject)->py_q_setEventFeedbackSound(arg__1, filePath));} +}; + + + + + +class PythonQtShell_QCameraFlashControl : public QCameraFlashControl +{ +public: + PythonQtShell_QCameraFlashControl(QObject* parent = nullptr):QCameraFlashControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraFlashControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraFlashControl : public QCameraFlashControl +{ public: +inline QCameraExposure::FlashModes py_q_flashMode() const { return this->flashMode(); } +inline bool py_q_isFlashModeSupported(QCameraExposure::FlashModes mode) const { return this->isFlashModeSupported(mode); } +inline bool py_q_isFlashReady() const { return this->isFlashReady(); } +inline void py_q_setFlashMode(QCameraExposure::FlashModes mode) { this->setFlashMode(mode); } +}; + +class PythonQtWrapper_QCameraFlashControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraFlashControl* new_QCameraFlashControl(QObject* parent = nullptr); +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; + bool py_q_isFlashModeSupported(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode) const{ return (((PythonQtPublicPromoter_QCameraFlashControl*)theWrappedObject)->py_q_isFlashModeSupported(mode));} + bool isFlashReady(QCameraFlashControl* theWrappedObject) const; + bool py_q_isFlashReady(QCameraFlashControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFlashControl*)theWrappedObject)->py_q_isFlashReady());} + void setFlashMode(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode); + void py_q_setFlashMode(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode){ (((PythonQtPublicPromoter_QCameraFlashControl*)theWrappedObject)->py_q_setFlashMode(mode));} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp new file mode 100644 index 00000000..887c863e --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -0,0 +1,9390 @@ +#include "com_trolltech_qt_multimedia1.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QPointF PythonQtWrapper_QCameraFocus::customFocusPoint(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->customFocusPoint()); +} + +qreal PythonQtWrapper_QCameraFocus::digitalZoom(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->digitalZoom()); +} + +QCameraFocus::FocusModes PythonQtWrapper_QCameraFocus::focusMode(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->focusMode()); +} + +QCameraFocus::FocusPointMode PythonQtWrapper_QCameraFocus::focusPointMode(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->focusPointMode()); +} + +QList PythonQtWrapper_QCameraFocus::focusZones(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->focusZones()); +} + +bool PythonQtWrapper_QCameraFocus::isAvailable(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->isAvailable()); +} + +bool PythonQtWrapper_QCameraFocus::isFocusModeSupported(QCameraFocus* theWrappedObject, QCameraFocus::FocusModes mode) const +{ + return ( theWrappedObject->isFocusModeSupported(mode)); +} + +bool PythonQtWrapper_QCameraFocus::isFocusPointModeSupported(QCameraFocus* theWrappedObject, QCameraFocus::FocusPointMode arg__1) const +{ + return ( theWrappedObject->isFocusPointModeSupported(arg__1)); +} + +qreal PythonQtWrapper_QCameraFocus::maximumDigitalZoom(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->maximumDigitalZoom()); +} + +qreal PythonQtWrapper_QCameraFocus::maximumOpticalZoom(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->maximumOpticalZoom()); +} + +qreal PythonQtWrapper_QCameraFocus::opticalZoom(QCameraFocus* theWrappedObject) const +{ + return ( theWrappedObject->opticalZoom()); +} + +void PythonQtWrapper_QCameraFocus::setCustomFocusPoint(QCameraFocus* theWrappedObject, const QPointF& point) +{ + ( theWrappedObject->setCustomFocusPoint(point)); +} + +void PythonQtWrapper_QCameraFocus::setFocusMode(QCameraFocus* theWrappedObject, QCameraFocus::FocusModes mode) +{ + ( theWrappedObject->setFocusMode(mode)); +} + +void PythonQtWrapper_QCameraFocus::setFocusPointMode(QCameraFocus* theWrappedObject, QCameraFocus::FocusPointMode mode) +{ + ( theWrappedObject->setFocusPointMode(mode)); +} + +void PythonQtWrapper_QCameraFocus::zoomTo(QCameraFocus* theWrappedObject, qreal opticalZoom, qreal digitalZoom) +{ + ( theWrappedObject->zoomTo(opticalZoom, digitalZoom)); +} + + + +PythonQtShell_QCameraFocusControl::~PythonQtShell_QCameraFocusControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraFocusControl::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(); + } + } +} + QCameraFocusControl::childEvent(event0); +} +void PythonQtShell_QCameraFocusControl::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(); + } + } +} + QCameraFocusControl::customEvent(event0); +} +QPointF PythonQtShell_QCameraFocusControl::customFocusPoint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customFocusPoint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPointF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("customFocusPoint", methodInfo, result); + } else { + returnValue = *((QPointF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPointF(); +} +bool PythonQtShell_QCameraFocusControl::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 QCameraFocusControl::event(event0); +} +bool PythonQtShell_QCameraFocusControl::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 QCameraFocusControl::eventFilter(watched0, event1); +} +QCameraFocus::FocusModes PythonQtShell_QCameraFocusControl::focusMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCameraFocus::FocusModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusMode", methodInfo, result); + } else { + returnValue = *((QCameraFocus::FocusModes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFocus::FocusModes(); +} +QCameraFocus::FocusPointMode PythonQtShell_QCameraFocusControl::focusPointMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusPointMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCameraFocus::FocusPointMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusPointMode", methodInfo, result); + } else { + returnValue = *((QCameraFocus::FocusPointMode*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFocus::FocusPointMode(); +} +QList PythonQtShell_QCameraFocusControl::focusZones() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusZones"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusZones", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +bool PythonQtShell_QCameraFocusControl::isFocusModeSupported(QCameraFocus::FocusModes mode0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFocusModeSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraFocus::FocusModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFocusModeSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QCameraFocusControl::isFocusPointModeSupported(QCameraFocus::FocusPointMode mode0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFocusPointModeSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraFocus::FocusPointMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFocusPointModeSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraFocusControl::setCustomFocusPoint(const QPointF& point0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCustomFocusPoint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraFocusControl::setFocusMode(QCameraFocus::FocusModes mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFocusMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraFocus::FocusModes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraFocusControl::setFocusPointMode(QCameraFocus::FocusPointMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFocusPointMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraFocus::FocusPointMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraFocusControl::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(); + } + } +} + QCameraFocusControl::timerEvent(event0); +} +QCameraFocusControl* PythonQtWrapper_QCameraFocusControl::new_QCameraFocusControl(QObject* parent) +{ +return new PythonQtShell_QCameraFocusControl(parent); } + +const QMetaObject* PythonQtShell_QCameraFocusControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraFocusControl::staticMetaObject); + } else { + return &QCameraFocusControl::staticMetaObject; + } +} +int PythonQtShell_QCameraFocusControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraFocusControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPointF PythonQtWrapper_QCameraFocusControl::customFocusPoint(QCameraFocusControl* theWrappedObject) const +{ + return ( theWrappedObject->customFocusPoint()); +} + +QCameraFocus::FocusModes PythonQtWrapper_QCameraFocusControl::focusMode(QCameraFocusControl* theWrappedObject) const +{ + return ( theWrappedObject->focusMode()); +} + +QCameraFocus::FocusPointMode PythonQtWrapper_QCameraFocusControl::focusPointMode(QCameraFocusControl* theWrappedObject) const +{ + return ( theWrappedObject->focusPointMode()); +} + +QList PythonQtWrapper_QCameraFocusControl::focusZones(QCameraFocusControl* theWrappedObject) const +{ + return ( theWrappedObject->focusZones()); +} + +bool PythonQtWrapper_QCameraFocusControl::isFocusModeSupported(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusModes mode) const +{ + return ( theWrappedObject->isFocusModeSupported(mode)); +} + +bool PythonQtWrapper_QCameraFocusControl::isFocusPointModeSupported(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusPointMode mode) const +{ + return ( theWrappedObject->isFocusPointModeSupported(mode)); +} + +void PythonQtWrapper_QCameraFocusControl::setCustomFocusPoint(QCameraFocusControl* theWrappedObject, const QPointF& point) +{ + ( theWrappedObject->setCustomFocusPoint(point)); +} + +void PythonQtWrapper_QCameraFocusControl::setFocusMode(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusModes mode) +{ + ( theWrappedObject->setFocusMode(mode)); +} + +void PythonQtWrapper_QCameraFocusControl::setFocusPointMode(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusPointMode mode) +{ + ( theWrappedObject->setFocusPointMode(mode)); +} + + + +QCameraFocusZone* PythonQtWrapper_QCameraFocusZone::new_QCameraFocusZone() +{ +return new QCameraFocusZone(); } + +QCameraFocusZone* PythonQtWrapper_QCameraFocusZone::new_QCameraFocusZone(const QCameraFocusZone& other) +{ +return new QCameraFocusZone(other); } + +QCameraFocusZone* PythonQtWrapper_QCameraFocusZone::new_QCameraFocusZone(const QRectF& area, QCameraFocusZone::FocusZoneStatus status) +{ +return new QCameraFocusZone(area, status); } + +QRectF PythonQtWrapper_QCameraFocusZone::area(QCameraFocusZone* theWrappedObject) const +{ + return ( theWrappedObject->area()); +} + +bool PythonQtWrapper_QCameraFocusZone::isValid(QCameraFocusZone* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QCameraFocusZone::__ne__(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QCameraFocusZone* PythonQtWrapper_QCameraFocusZone::operator_assign(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QCameraFocusZone::__eq__(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QCameraFocusZone::setStatus(QCameraFocusZone* theWrappedObject, QCameraFocusZone::FocusZoneStatus status) +{ + ( theWrappedObject->setStatus(status)); +} + +QCameraFocusZone::FocusZoneStatus PythonQtWrapper_QCameraFocusZone::status(QCameraFocusZone* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +PythonQtShell_QCameraImageCapture::~PythonQtShell_QCameraImageCapture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraImageCapture::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(); + } + } +} + QCameraImageCapture::childEvent(event0); +} +void PythonQtShell_QCameraImageCapture::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(); + } + } +} + QCameraImageCapture::customEvent(event0); +} +bool PythonQtShell_QCameraImageCapture::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 QCameraImageCapture::event(event0); +} +bool PythonQtShell_QCameraImageCapture::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 QCameraImageCapture::eventFilter(watched0, event1); +} +QMediaObject* PythonQtShell_QCameraImageCapture::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 QCameraImageCapture::mediaObject(); +} +bool PythonQtShell_QCameraImageCapture::setMediaObject(QMediaObject* arg__1) +{ +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*)&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("setMediaObject", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageCapture::setMediaObject(arg__1); +} +void PythonQtShell_QCameraImageCapture::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(); + } + } +} + QCameraImageCapture::timerEvent(event0); +} +QCameraImageCapture* PythonQtWrapper_QCameraImageCapture::new_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent) +{ +return new PythonQtShell_QCameraImageCapture(mediaObject, parent); } + +const QMetaObject* PythonQtShell_QCameraImageCapture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraImageCapture::staticMetaObject); + } else { + return &QCameraImageCapture::staticMetaObject; + } +} +int PythonQtShell_QCameraImageCapture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraImageCapture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMultimedia::AvailabilityStatus PythonQtWrapper_QCameraImageCapture::availability(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->availability()); +} + +QVideoFrame::PixelFormat PythonQtWrapper_QCameraImageCapture::bufferFormat(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->bufferFormat()); +} + +QCameraImageCapture::CaptureDestinations PythonQtWrapper_QCameraImageCapture::captureDestination(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->captureDestination()); +} + +QImageEncoderSettings PythonQtWrapper_QCameraImageCapture::encodingSettings(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->encodingSettings()); +} + +QCameraImageCapture::Error PythonQtWrapper_QCameraImageCapture::error(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QCameraImageCapture::errorString(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QCameraImageCapture::imageCodecDescription(QCameraImageCapture* theWrappedObject, const QString& codecName) const +{ + return ( theWrappedObject->imageCodecDescription(codecName)); +} + +bool PythonQtWrapper_QCameraImageCapture::isAvailable(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->isAvailable()); +} + +bool PythonQtWrapper_QCameraImageCapture::isCaptureDestinationSupported(QCameraImageCapture* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const +{ + return ( theWrappedObject->isCaptureDestinationSupported(destination)); +} + +bool PythonQtWrapper_QCameraImageCapture::isReadyForCapture(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->isReadyForCapture()); +} + +void PythonQtWrapper_QCameraImageCapture::setBufferFormat(QCameraImageCapture* theWrappedObject, const QVideoFrame::PixelFormat format) +{ + ( theWrappedObject->setBufferFormat(format)); +} + +void PythonQtWrapper_QCameraImageCapture::setCaptureDestination(QCameraImageCapture* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) +{ + ( theWrappedObject->setCaptureDestination(destination)); +} + +void PythonQtWrapper_QCameraImageCapture::setEncodingSettings(QCameraImageCapture* theWrappedObject, const QImageEncoderSettings& settings) +{ + ( theWrappedObject->setEncodingSettings(settings)); +} + +QList PythonQtWrapper_QCameraImageCapture::supportedBufferFormats(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->supportedBufferFormats()); +} + +QStringList PythonQtWrapper_QCameraImageCapture::supportedImageCodecs(QCameraImageCapture* theWrappedObject) const +{ + return ( theWrappedObject->supportedImageCodecs()); +} + +QList PythonQtWrapper_QCameraImageCapture::supportedResolutions(QCameraImageCapture* theWrappedObject, const QImageEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedResolutions(settings, continuous)); +} + + + +PythonQtShell_QCameraImageCaptureControl::~PythonQtShell_QCameraImageCaptureControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraImageCaptureControl::cancelCapture() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cancelCapture"); + 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(); + } + } +} + +} +int PythonQtShell_QCameraImageCaptureControl::capture(const QString& fileName0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("capture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("capture", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QCameraImageCaptureControl::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(); + } + } +} + QCameraImageCaptureControl::childEvent(event0); +} +void PythonQtShell_QCameraImageCaptureControl::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(); + } + } +} + QCameraImageCaptureControl::customEvent(event0); +} +QCameraImageCapture::DriveMode PythonQtShell_QCameraImageCaptureControl::driveMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("driveMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCameraImageCapture::DriveMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("driveMode", methodInfo, result); + } else { + returnValue = *((QCameraImageCapture::DriveMode*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageCapture::DriveMode(); +} +bool PythonQtShell_QCameraImageCaptureControl::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 QCameraImageCaptureControl::event(event0); +} +bool PythonQtShell_QCameraImageCaptureControl::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 QCameraImageCaptureControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraImageCaptureControl::isReadyForCapture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isReadyForCapture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isReadyForCapture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraImageCaptureControl::setDriveMode(QCameraImageCapture::DriveMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDriveMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraImageCapture::DriveMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraImageCaptureControl::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(); + } + } +} + QCameraImageCaptureControl::timerEvent(event0); +} +QCameraImageCaptureControl* PythonQtWrapper_QCameraImageCaptureControl::new_QCameraImageCaptureControl(QObject* parent) +{ +return new PythonQtShell_QCameraImageCaptureControl(parent); } + +const QMetaObject* PythonQtShell_QCameraImageCaptureControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraImageCaptureControl::staticMetaObject); + } else { + return &QCameraImageCaptureControl::staticMetaObject; + } +} +int PythonQtShell_QCameraImageCaptureControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraImageCaptureControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QCameraImageCaptureControl::cancelCapture(QCameraImageCaptureControl* theWrappedObject) +{ + ( theWrappedObject->cancelCapture()); +} + +int PythonQtWrapper_QCameraImageCaptureControl::capture(QCameraImageCaptureControl* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->capture(fileName)); +} + +QCameraImageCapture::DriveMode PythonQtWrapper_QCameraImageCaptureControl::driveMode(QCameraImageCaptureControl* theWrappedObject) const +{ + return ( theWrappedObject->driveMode()); +} + +bool PythonQtWrapper_QCameraImageCaptureControl::isReadyForCapture(QCameraImageCaptureControl* theWrappedObject) const +{ + return ( theWrappedObject->isReadyForCapture()); +} + +void PythonQtWrapper_QCameraImageCaptureControl::setDriveMode(QCameraImageCaptureControl* theWrappedObject, QCameraImageCapture::DriveMode mode) +{ + ( theWrappedObject->setDriveMode(mode)); +} + + + +qreal PythonQtWrapper_QCameraImageProcessing::brightness(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->brightness()); +} + +QCameraImageProcessing::ColorFilter PythonQtWrapper_QCameraImageProcessing::colorFilter(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->colorFilter()); +} + +qreal PythonQtWrapper_QCameraImageProcessing::contrast(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->contrast()); +} + +qreal PythonQtWrapper_QCameraImageProcessing::denoisingLevel(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->denoisingLevel()); +} + +bool PythonQtWrapper_QCameraImageProcessing::isAvailable(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->isAvailable()); +} + +bool PythonQtWrapper_QCameraImageProcessing::isColorFilterSupported(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::ColorFilter filter) const +{ + return ( theWrappedObject->isColorFilterSupported(filter)); +} + +bool PythonQtWrapper_QCameraImageProcessing::isWhiteBalanceModeSupported(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::WhiteBalanceMode mode) const +{ + return ( theWrappedObject->isWhiteBalanceModeSupported(mode)); +} + +qreal PythonQtWrapper_QCameraImageProcessing::manualWhiteBalance(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->manualWhiteBalance()); +} + +qreal PythonQtWrapper_QCameraImageProcessing::saturation(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->saturation()); +} + +void PythonQtWrapper_QCameraImageProcessing::setBrightness(QCameraImageProcessing* theWrappedObject, qreal value) +{ + ( theWrappedObject->setBrightness(value)); +} + +void PythonQtWrapper_QCameraImageProcessing::setColorFilter(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::ColorFilter filter) +{ + ( theWrappedObject->setColorFilter(filter)); +} + +void PythonQtWrapper_QCameraImageProcessing::setContrast(QCameraImageProcessing* theWrappedObject, qreal value) +{ + ( theWrappedObject->setContrast(value)); +} + +void PythonQtWrapper_QCameraImageProcessing::setDenoisingLevel(QCameraImageProcessing* theWrappedObject, qreal value) +{ + ( theWrappedObject->setDenoisingLevel(value)); +} + +void PythonQtWrapper_QCameraImageProcessing::setManualWhiteBalance(QCameraImageProcessing* theWrappedObject, qreal colorTemperature) +{ + ( theWrappedObject->setManualWhiteBalance(colorTemperature)); +} + +void PythonQtWrapper_QCameraImageProcessing::setSaturation(QCameraImageProcessing* theWrappedObject, qreal value) +{ + ( theWrappedObject->setSaturation(value)); +} + +void PythonQtWrapper_QCameraImageProcessing::setSharpeningLevel(QCameraImageProcessing* theWrappedObject, qreal value) +{ + ( theWrappedObject->setSharpeningLevel(value)); +} + +void PythonQtWrapper_QCameraImageProcessing::setWhiteBalanceMode(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::WhiteBalanceMode mode) +{ + ( theWrappedObject->setWhiteBalanceMode(mode)); +} + +qreal PythonQtWrapper_QCameraImageProcessing::sharpeningLevel(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->sharpeningLevel()); +} + +QCameraImageProcessing::WhiteBalanceMode PythonQtWrapper_QCameraImageProcessing::whiteBalanceMode(QCameraImageProcessing* theWrappedObject) const +{ + return ( theWrappedObject->whiteBalanceMode()); +} + + + +PythonQtShell_QCameraImageProcessingControl::~PythonQtShell_QCameraImageProcessingControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraImageProcessingControl::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(); + } + } +} + QCameraImageProcessingControl::childEvent(event0); +} +void PythonQtShell_QCameraImageProcessingControl::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(); + } + } +} + QCameraImageProcessingControl::customEvent(event0); +} +bool PythonQtShell_QCameraImageProcessingControl::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 QCameraImageProcessingControl::event(event0); +} +bool PythonQtShell_QCameraImageProcessingControl::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 QCameraImageProcessingControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraImageProcessingControl::isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isParameterSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QCameraImageProcessingControl::isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter0, const QVariant& value1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isParameterValueSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isParameterValueSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QVariant PythonQtShell_QCameraImageProcessingControl::parameter(QCameraImageProcessingControl::ProcessingParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parameter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QCameraImageProcessingControl::ProcessingParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parameter", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QCameraImageProcessingControl::setParameter(QCameraImageProcessingControl::ProcessingParameter parameter0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setParameter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraImageProcessingControl::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(); + } + } +} + QCameraImageProcessingControl::timerEvent(event0); +} +QCameraImageProcessingControl* PythonQtWrapper_QCameraImageProcessingControl::new_QCameraImageProcessingControl(QObject* parent) +{ +return new PythonQtShell_QCameraImageProcessingControl(parent); } + +const QMetaObject* PythonQtShell_QCameraImageProcessingControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraImageProcessingControl::staticMetaObject); + } else { + return &QCameraImageProcessingControl::staticMetaObject; + } +} +int PythonQtShell_QCameraImageProcessingControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraImageProcessingControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QCameraImageProcessingControl::isParameterSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter arg__1) const +{ + return ( theWrappedObject->isParameterSupported(arg__1)); +} + +bool PythonQtWrapper_QCameraImageProcessingControl::isParameterValueSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const +{ + return ( theWrappedObject->isParameterValueSupported(parameter, value)); +} + +QVariant PythonQtWrapper_QCameraImageProcessingControl::parameter(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter) const +{ + return ( theWrappedObject->parameter(parameter)); +} + +void PythonQtWrapper_QCameraImageProcessingControl::setParameter(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) +{ + ( theWrappedObject->setParameter(parameter, value)); +} + + + +QCameraInfo* PythonQtWrapper_QCameraInfo::new_QCameraInfo(const QByteArray& name) +{ +return new QCameraInfo(name); } + +QCameraInfo* PythonQtWrapper_QCameraInfo::new_QCameraInfo(const QCamera& camera) +{ +return new QCameraInfo(camera); } + +QCameraInfo* PythonQtWrapper_QCameraInfo::new_QCameraInfo(const QCameraInfo& other) +{ +return new QCameraInfo(other); } + +QList PythonQtWrapper_QCameraInfo::static_QCameraInfo_availableCameras(QCamera::Position position) +{ + return (QCameraInfo::availableCameras(position)); +} + +QCameraInfo PythonQtWrapper_QCameraInfo::static_QCameraInfo_defaultCamera() +{ + return (QCameraInfo::defaultCamera()); +} + +QString PythonQtWrapper_QCameraInfo::description(QCameraInfo* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +QString PythonQtWrapper_QCameraInfo::deviceName(QCameraInfo* theWrappedObject) const +{ + return ( theWrappedObject->deviceName()); +} + +bool PythonQtWrapper_QCameraInfo::isNull(QCameraInfo* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QCameraInfo::__ne__(QCameraInfo* theWrappedObject, const QCameraInfo& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QCameraInfo* PythonQtWrapper_QCameraInfo::operator_assign(QCameraInfo* theWrappedObject, const QCameraInfo& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QCameraInfo::__eq__(QCameraInfo* theWrappedObject, const QCameraInfo& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QCameraInfo::orientation(QCameraInfo* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QCamera::Position PythonQtWrapper_QCameraInfo::position(QCameraInfo* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QString PythonQtWrapper_QCameraInfo::py_toString(QCameraInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QCameraInfoControl::~PythonQtShell_QCameraInfoControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QCameraInfoControl::cameraOrientation(const QString& deviceName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cameraOrientation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QCamera::Position PythonQtShell_QCameraInfoControl::cameraPosition(const QString& deviceName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cameraPosition"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCamera::Position" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); + } else { + returnValue = *((QCamera::Position*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::Position(); +} +void PythonQtShell_QCameraInfoControl::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(); + } + } +} + QCameraInfoControl::childEvent(event0); +} +void PythonQtShell_QCameraInfoControl::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(); + } + } +} + QCameraInfoControl::customEvent(event0); +} +bool PythonQtShell_QCameraInfoControl::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 QCameraInfoControl::event(event0); +} +bool PythonQtShell_QCameraInfoControl::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 QCameraInfoControl::eventFilter(watched0, event1); +} +void PythonQtShell_QCameraInfoControl::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(); + } + } +} + QCameraInfoControl::timerEvent(event0); +} +QCameraInfoControl* PythonQtWrapper_QCameraInfoControl::new_QCameraInfoControl(QObject* parent) +{ +return new PythonQtShell_QCameraInfoControl(parent); } + +const QMetaObject* PythonQtShell_QCameraInfoControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraInfoControl::staticMetaObject); + } else { + return &QCameraInfoControl::staticMetaObject; + } +} +int PythonQtShell_QCameraInfoControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraInfoControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QCameraInfoControl::cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const +{ + return ( theWrappedObject->cameraOrientation(deviceName)); +} + +QCamera::Position PythonQtWrapper_QCameraInfoControl::cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const +{ + return ( theWrappedObject->cameraPosition(deviceName)); +} + + + +PythonQtShell_QCameraLocksControl::~PythonQtShell_QCameraLocksControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraLocksControl::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(); + } + } +} + QCameraLocksControl::childEvent(event0); +} +void PythonQtShell_QCameraLocksControl::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(); + } + } +} + QCameraLocksControl::customEvent(event0); +} +bool PythonQtShell_QCameraLocksControl::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 QCameraLocksControl::event(event0); +} +bool PythonQtShell_QCameraLocksControl::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 QCameraLocksControl::eventFilter(watched0, event1); +} +QCamera::LockStatus PythonQtShell_QCameraLocksControl::lockStatus(QCamera::LockType lock0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lockStatus"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCamera::LockStatus" , "QCamera::LockType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lockStatus", methodInfo, result); + } else { + returnValue = *((QCamera::LockStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::LockStatus(); +} +void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("searchAndLock"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCamera::LockTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&locks0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedLocks"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCamera::LockTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedLocks", methodInfo, result); + } else { + returnValue = *((QCamera::LockTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::LockTypes(); +} +void PythonQtShell_QCameraLocksControl::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(); + } + } +} + QCameraLocksControl::timerEvent(event0); +} +void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unlock"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCamera::LockTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&locks0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QCameraLocksControl* PythonQtWrapper_QCameraLocksControl::new_QCameraLocksControl(QObject* parent) +{ +return new PythonQtShell_QCameraLocksControl(parent); } + +const QMetaObject* PythonQtShell_QCameraLocksControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraLocksControl::staticMetaObject); + } else { + return &QCameraLocksControl::staticMetaObject; + } +} +int PythonQtShell_QCameraLocksControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraLocksControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QCamera::LockStatus PythonQtWrapper_QCameraLocksControl::lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const +{ + return ( theWrappedObject->lockStatus(lock)); +} + +void PythonQtWrapper_QCameraLocksControl::searchAndLock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks) +{ + ( theWrappedObject->searchAndLock(locks)); +} + +QCamera::LockTypes PythonQtWrapper_QCameraLocksControl::supportedLocks(QCameraLocksControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedLocks()); +} + +void PythonQtWrapper_QCameraLocksControl::unlock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks) +{ + ( theWrappedObject->unlock(locks)); +} + + + +PythonQtShell_QCameraViewfinder::~PythonQtShell_QCameraViewfinder() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QCameraViewfinder::actionEvent(event0); +} +void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::changeEvent(arg__1); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::childEvent(event0); +} +void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QCameraViewfinder::closeEvent(event0); +} +void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QCameraViewfinder::contextMenuEvent(event0); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::customEvent(event0); +} +int PythonQtShell_QCameraViewfinder::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 QCameraViewfinder::devType(); +} +void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QCameraViewfinder::dragEnterEvent(event0); +} +void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QCameraViewfinder::dragLeaveEvent(event0); +} +void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QCameraViewfinder::dragMoveEvent(event0); +} +void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QCameraViewfinder::dropEvent(event0); +} +void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QCameraViewfinder::enterEvent(event0); +} +bool PythonQtShell_QCameraViewfinder::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 QCameraViewfinder::event(event0); +} +bool PythonQtShell_QCameraViewfinder::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 QCameraViewfinder::eventFilter(watched0, event1); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::focusInEvent(event0); +} +bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::focusNextPrevChild(next0); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::focusOutEvent(event0); +} +bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::hasHeightForWidth(); +} +int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::heightForWidth(arg__1); +} +void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::hideEvent(event0); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::initPainter(painter0); +} +void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::inputMethodQuery(arg__1); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::keyPressEvent(event0); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::keyReleaseEvent(event0); +} +void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QCameraViewfinder::leaveEvent(event0); +} +QMediaObject* PythonQtShell_QCameraViewfinder::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 QCameraViewfinder::mediaObject(); +} +int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::metric(arg__1); +} +QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::minimumSizeHint(); +} +void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCameraViewfinder::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCameraViewfinder::mouseMoveEvent(event0); +} +void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCameraViewfinder::mousePressEvent(event0); +} +void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QCameraViewfinder::mouseReleaseEvent(event0); +} +void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QCameraViewfinder::moveEvent(event0); +} +bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::paintEngine(); +} +void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QCameraViewfinder::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QCameraViewfinder::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 QCameraViewfinder::redirected(offset0); +} +void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QCameraViewfinder::resizeEvent(event0); +} +bool PythonQtShell_QCameraViewfinder::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 QCameraViewfinder::setMediaObject(object0); +} +void PythonQtShell_QCameraViewfinder::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::setVisible(visible0); +} +QPainter* PythonQtShell_QCameraViewfinder::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 QCameraViewfinder::sharedPainter(); +} +void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QCameraViewfinder::showEvent(event0); +} +QSize PythonQtShell_QCameraViewfinder::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::sizeHint(); +} +void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QCameraViewfinder::tabletEvent(event0); +} +void PythonQtShell_QCameraViewfinder::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(); + } + } +} + QCameraViewfinder::timerEvent(event0); +} +void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QCameraViewfinder::wheelEvent(event0); +} +QCameraViewfinder* PythonQtWrapper_QCameraViewfinder::new_QCameraViewfinder(QWidget* parent) +{ +return new PythonQtShell_QCameraViewfinder(parent); } + +const QMetaObject* PythonQtShell_QCameraViewfinder::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraViewfinder::staticMetaObject); + } else { + return &QCameraViewfinder::staticMetaObject; + } +} +int PythonQtShell_QCameraViewfinder::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraViewfinder::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +QCameraViewfinderSettings* PythonQtWrapper_QCameraViewfinderSettings::new_QCameraViewfinderSettings() +{ +return new QCameraViewfinderSettings(); } + +QCameraViewfinderSettings* PythonQtWrapper_QCameraViewfinderSettings::new_QCameraViewfinderSettings(const QCameraViewfinderSettings& other) +{ +return new QCameraViewfinderSettings(other); } + +bool PythonQtWrapper_QCameraViewfinderSettings::isNull(QCameraViewfinderSettings* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QCameraViewfinderSettings::maximumFrameRate(QCameraViewfinderSettings* theWrappedObject) const +{ + return ( theWrappedObject->maximumFrameRate()); +} + +qreal PythonQtWrapper_QCameraViewfinderSettings::minimumFrameRate(QCameraViewfinderSettings* theWrappedObject) const +{ + 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); +} + +bool PythonQtWrapper_QCameraViewfinderSettings::__eq__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QSize PythonQtWrapper_QCameraViewfinderSettings::pixelAspectRatio(QCameraViewfinderSettings* theWrappedObject) const +{ + return ( theWrappedObject->pixelAspectRatio()); +} + +QVideoFrame::PixelFormat PythonQtWrapper_QCameraViewfinderSettings::pixelFormat(QCameraViewfinderSettings* theWrappedObject) const +{ + return ( theWrappedObject->pixelFormat()); +} + +QSize PythonQtWrapper_QCameraViewfinderSettings::resolution(QCameraViewfinderSettings* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QCameraViewfinderSettings::setMaximumFrameRate(QCameraViewfinderSettings* theWrappedObject, qreal rate) +{ + ( theWrappedObject->setMaximumFrameRate(rate)); +} + +void PythonQtWrapper_QCameraViewfinderSettings::setMinimumFrameRate(QCameraViewfinderSettings* theWrappedObject, qreal rate) +{ + ( theWrappedObject->setMinimumFrameRate(rate)); +} + +void PythonQtWrapper_QCameraViewfinderSettings::setPixelAspectRatio(QCameraViewfinderSettings* theWrappedObject, const QSize& ratio) +{ + ( theWrappedObject->setPixelAspectRatio(ratio)); +} + +void PythonQtWrapper_QCameraViewfinderSettings::setPixelAspectRatio(QCameraViewfinderSettings* theWrappedObject, int horizontal, int vertical) +{ + ( theWrappedObject->setPixelAspectRatio(horizontal, vertical)); +} + +void PythonQtWrapper_QCameraViewfinderSettings::setPixelFormat(QCameraViewfinderSettings* theWrappedObject, QVideoFrame::PixelFormat format) +{ + ( theWrappedObject->setPixelFormat(format)); +} + +void PythonQtWrapper_QCameraViewfinderSettings::setResolution(QCameraViewfinderSettings* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setResolution(arg__1)); +} + +void PythonQtWrapper_QCameraViewfinderSettings::setResolution(QCameraViewfinderSettings* theWrappedObject, int width, int height) +{ + ( theWrappedObject->setResolution(width, height)); +} + +void PythonQtWrapper_QCameraViewfinderSettings::swap(QCameraViewfinderSettings* theWrappedObject, QCameraViewfinderSettings& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QCameraViewfinderSettingsControl::~PythonQtShell_QCameraViewfinderSettingsControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraViewfinderSettingsControl::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(); + } + } +} + QCameraViewfinderSettingsControl::childEvent(event0); +} +void PythonQtShell_QCameraViewfinderSettingsControl::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(); + } + } +} + QCameraViewfinderSettingsControl::customEvent(event0); +} +bool PythonQtShell_QCameraViewfinderSettingsControl::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 QCameraViewfinderSettingsControl::event(event0); +} +bool PythonQtShell_QCameraViewfinderSettingsControl::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 QCameraViewfinderSettingsControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraViewfinderSettingsControl::isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isViewfinderParameterSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isViewfinderParameterSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraViewfinderSettingsControl::setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setViewfinderParameter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraViewfinderSettingsControl::ViewfinderParameter" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraViewfinderSettingsControl::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(); + } + } +} + QCameraViewfinderSettingsControl::timerEvent(event0); +} +QVariant PythonQtShell_QCameraViewfinderSettingsControl::viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewfinderParameter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderParameter", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +QCameraViewfinderSettingsControl* PythonQtWrapper_QCameraViewfinderSettingsControl::new_QCameraViewfinderSettingsControl(QObject* parent) +{ +return new PythonQtShell_QCameraViewfinderSettingsControl(parent); } + +const QMetaObject* PythonQtShell_QCameraViewfinderSettingsControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraViewfinderSettingsControl::staticMetaObject); + } else { + return &QCameraViewfinderSettingsControl::staticMetaObject; + } +} +int PythonQtShell_QCameraViewfinderSettingsControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraViewfinderSettingsControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QCameraViewfinderSettingsControl::isViewfinderParameterSupported(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const +{ + return ( theWrappedObject->isViewfinderParameterSupported(parameter)); +} + +void PythonQtWrapper_QCameraViewfinderSettingsControl::setViewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value) +{ + ( theWrappedObject->setViewfinderParameter(parameter, value)); +} + +QVariant PythonQtWrapper_QCameraViewfinderSettingsControl::viewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const +{ + return ( theWrappedObject->viewfinderParameter(parameter)); +} + + + +PythonQtShell_QCameraViewfinderSettingsControl2::~PythonQtShell_QCameraViewfinderSettingsControl2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraViewfinderSettingsControl2::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(); + } + } +} + QCameraViewfinderSettingsControl2::childEvent(event0); +} +void PythonQtShell_QCameraViewfinderSettingsControl2::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(); + } + } +} + QCameraViewfinderSettingsControl2::customEvent(event0); +} +bool PythonQtShell_QCameraViewfinderSettingsControl2::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 QCameraViewfinderSettingsControl2::event(event0); +} +bool PythonQtShell_QCameraViewfinderSettingsControl2::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 QCameraViewfinderSettingsControl2::eventFilter(watched0, event1); +} +void PythonQtShell_QCameraViewfinderSettingsControl2::setViewfinderSettings(const QCameraViewfinderSettings& settings0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setViewfinderSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QCameraViewfinderSettings&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&settings0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QList PythonQtShell_QCameraViewfinderSettingsControl2::supportedViewfinderSettings() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedViewfinderSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedViewfinderSettings", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QCameraViewfinderSettingsControl2::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(); + } + } +} + QCameraViewfinderSettingsControl2::timerEvent(event0); +} +QCameraViewfinderSettings PythonQtShell_QCameraViewfinderSettingsControl2::viewfinderSettings() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewfinderSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCameraViewfinderSettings"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderSettings", methodInfo, result); + } else { + returnValue = *((QCameraViewfinderSettings*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinderSettings(); +} +QCameraViewfinderSettingsControl2* PythonQtWrapper_QCameraViewfinderSettingsControl2::new_QCameraViewfinderSettingsControl2(QObject* parent) +{ +return new PythonQtShell_QCameraViewfinderSettingsControl2(parent); } + +const QMetaObject* PythonQtShell_QCameraViewfinderSettingsControl2::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraViewfinderSettingsControl2::staticMetaObject); + } else { + return &QCameraViewfinderSettingsControl2::staticMetaObject; + } +} +int PythonQtShell_QCameraViewfinderSettingsControl2::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraViewfinderSettingsControl2::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QCameraViewfinderSettingsControl2::setViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject, const QCameraViewfinderSettings& settings) +{ + ( theWrappedObject->setViewfinderSettings(settings)); +} + +QList PythonQtWrapper_QCameraViewfinderSettingsControl2::supportedViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const +{ + return ( theWrappedObject->supportedViewfinderSettings()); +} + +QCameraViewfinderSettings PythonQtWrapper_QCameraViewfinderSettingsControl2::viewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const +{ + return ( theWrappedObject->viewfinderSettings()); +} + + + +PythonQtShell_QCameraZoomControl::~PythonQtShell_QCameraZoomControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraZoomControl::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(); + } + } +} + QCameraZoomControl::childEvent(event0); +} +qreal PythonQtShell_QCameraZoomControl::currentDigitalZoom() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentDigitalZoom"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentDigitalZoom", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +qreal PythonQtShell_QCameraZoomControl::currentOpticalZoom() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentOpticalZoom"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentOpticalZoom", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +void PythonQtShell_QCameraZoomControl::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(); + } + } +} + QCameraZoomControl::customEvent(event0); +} +bool PythonQtShell_QCameraZoomControl::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 QCameraZoomControl::event(event0); +} +bool PythonQtShell_QCameraZoomControl::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 QCameraZoomControl::eventFilter(watched0, event1); +} +qreal PythonQtShell_QCameraZoomControl::maximumDigitalZoom() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumDigitalZoom"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumDigitalZoom", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +qreal PythonQtShell_QCameraZoomControl::maximumOpticalZoom() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumOpticalZoom"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumOpticalZoom", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +qreal PythonQtShell_QCameraZoomControl::requestedDigitalZoom() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("requestedDigitalZoom"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("requestedDigitalZoom", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +qreal PythonQtShell_QCameraZoomControl::requestedOpticalZoom() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("requestedOpticalZoom"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("requestedOpticalZoom", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +void PythonQtShell_QCameraZoomControl::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(); + } + } +} + QCameraZoomControl::timerEvent(event0); +} +void PythonQtShell_QCameraZoomControl::zoomTo(qreal optical0, qreal digital1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("zoomTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&optical0, (void*)&digital1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QCameraZoomControl* PythonQtWrapper_QCameraZoomControl::new_QCameraZoomControl(QObject* parent) +{ +return new PythonQtShell_QCameraZoomControl(parent); } + +const QMetaObject* PythonQtShell_QCameraZoomControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraZoomControl::staticMetaObject); + } else { + return &QCameraZoomControl::staticMetaObject; + } +} +int PythonQtShell_QCameraZoomControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraZoomControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QCameraZoomControl::currentDigitalZoom(QCameraZoomControl* theWrappedObject) const +{ + return ( theWrappedObject->currentDigitalZoom()); +} + +qreal PythonQtWrapper_QCameraZoomControl::currentOpticalZoom(QCameraZoomControl* theWrappedObject) const +{ + return ( theWrappedObject->currentOpticalZoom()); +} + +qreal PythonQtWrapper_QCameraZoomControl::maximumDigitalZoom(QCameraZoomControl* theWrappedObject) const +{ + return ( theWrappedObject->maximumDigitalZoom()); +} + +qreal PythonQtWrapper_QCameraZoomControl::maximumOpticalZoom(QCameraZoomControl* theWrappedObject) const +{ + return ( theWrappedObject->maximumOpticalZoom()); +} + +qreal PythonQtWrapper_QCameraZoomControl::requestedDigitalZoom(QCameraZoomControl* theWrappedObject) const +{ + return ( theWrappedObject->requestedDigitalZoom()); +} + +qreal PythonQtWrapper_QCameraZoomControl::requestedOpticalZoom(QCameraZoomControl* theWrappedObject) const +{ + return ( theWrappedObject->requestedOpticalZoom()); +} + +void PythonQtWrapper_QCameraZoomControl::zoomTo(QCameraZoomControl* theWrappedObject, qreal optical, qreal digital) +{ + ( theWrappedObject->zoomTo(optical, digital)); +} + + + +PythonQtShell_QCamera__FrameRateRange::~PythonQtShell_QCamera__FrameRateRange() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QCamera::FrameRateRange* PythonQtWrapper_QCamera__FrameRateRange::new_QCamera__FrameRateRange() +{ +return new PythonQtShell_QCamera__FrameRateRange(); } + +QCamera::FrameRateRange* PythonQtWrapper_QCamera__FrameRateRange::new_QCamera__FrameRateRange(qreal minimum, qreal maximum) +{ +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); +} + + + +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) { + 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 QGraphicsVideoItem::boundingRect(); +} +void PythonQtShell_QGraphicsVideoItem::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(); + } + } +} + 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) { + 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(); + } + } +} + 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) { + 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 QGraphicsVideoItem::event(ev0); +} +bool PythonQtShell_QGraphicsVideoItem::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 QGraphicsVideoItem::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsVideoItem::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 QGraphicsVideoItem::extension(variant0); +} +void PythonQtShell_QGraphicsVideoItem::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(); + } + } +} + QGraphicsVideoItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::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(); + } + } +} + QGraphicsVideoItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::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(); + } + } +} + QGraphicsVideoItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::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(); + } + } +} + QGraphicsVideoItem::hoverLeaveEvent(event0); +} +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(); + } + } +} + QGraphicsVideoItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::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(); + } + } +} + 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) +{ +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); } + +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 ( theWrappedObject->aspectRatioMode()); +} + +QSizeF PythonQtWrapper_QGraphicsVideoItem::nativeSize(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->nativeSize()); +} + +QPointF PythonQtWrapper_QGraphicsVideoItem::offset(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +void PythonQtWrapper_QGraphicsVideoItem::setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->setAspectRatioMode(mode)); +} + +void PythonQtWrapper_QGraphicsVideoItem::setOffset(QGraphicsVideoItem* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->setOffset(offset)); +} + +void PythonQtWrapper_QGraphicsVideoItem::setSize(QGraphicsVideoItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setSize(size)); +} + +QSizeF PythonQtWrapper_QGraphicsVideoItem::size(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QAbstractVideoSurface* PythonQtWrapper_QGraphicsVideoItem::videoSurface(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->videoSurface()); +} + + + +PythonQtShell_QImageEncoderControl::~PythonQtShell_QImageEncoderControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QImageEncoderControl::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(); + } + } +} + QImageEncoderControl::childEvent(event0); +} +void PythonQtShell_QImageEncoderControl::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(); + } + } +} + QImageEncoderControl::customEvent(event0); +} +bool PythonQtShell_QImageEncoderControl::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 QImageEncoderControl::event(event0); +} +bool PythonQtShell_QImageEncoderControl::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 QImageEncoderControl::eventFilter(watched0, event1); +} +QString PythonQtShell_QImageEncoderControl::imageCodecDescription(const QString& codec0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("imageCodecDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageCodecDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QImageEncoderSettings PythonQtShell_QImageEncoderControl::imageSettings() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("imageSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QImageEncoderSettings"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageSettings", methodInfo, result); + } else { + returnValue = *((QImageEncoderSettings*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageEncoderSettings(); +} +void PythonQtShell_QImageEncoderControl::setImageSettings(const QImageEncoderSettings& settings0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setImageSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QImageEncoderSettings&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&settings0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QStringList PythonQtShell_QImageEncoderControl::supportedImageCodecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedImageCodecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedImageCodecs", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +QList PythonQtShell_QImageEncoderControl::supportedResolutions(const QImageEncoderSettings& settings0, bool* continuous1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedResolutions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QImageEncoderSettings&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QImageEncoderControl::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(); + } + } +} + QImageEncoderControl::timerEvent(event0); +} +QImageEncoderControl* PythonQtWrapper_QImageEncoderControl::new_QImageEncoderControl(QObject* parent) +{ +return new PythonQtShell_QImageEncoderControl(parent); } + +const QMetaObject* PythonQtShell_QImageEncoderControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QImageEncoderControl::staticMetaObject); + } else { + return &QImageEncoderControl::staticMetaObject; + } +} +int PythonQtShell_QImageEncoderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QImageEncoderControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QImageEncoderControl::imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const +{ + return ( theWrappedObject->imageCodecDescription(codec)); +} + +QImageEncoderSettings PythonQtWrapper_QImageEncoderControl::imageSettings(QImageEncoderControl* theWrappedObject) const +{ + return ( theWrappedObject->imageSettings()); +} + +void PythonQtWrapper_QImageEncoderControl::setImageSettings(QImageEncoderControl* theWrappedObject, const QImageEncoderSettings& settings) +{ + ( theWrappedObject->setImageSettings(settings)); +} + +QStringList PythonQtWrapper_QImageEncoderControl::supportedImageCodecs(QImageEncoderControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedImageCodecs()); +} + +QList PythonQtWrapper_QImageEncoderControl::supportedResolutions(QImageEncoderControl* theWrappedObject, const QImageEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedResolutions(settings, continuous)); +} + + + +QImageEncoderSettings* PythonQtWrapper_QImageEncoderSettings::new_QImageEncoderSettings() +{ +return new QImageEncoderSettings(); } + +QImageEncoderSettings* PythonQtWrapper_QImageEncoderSettings::new_QImageEncoderSettings(const QImageEncoderSettings& other) +{ +return new QImageEncoderSettings(other); } + +QString PythonQtWrapper_QImageEncoderSettings::codec(QImageEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QVariant PythonQtWrapper_QImageEncoderSettings::encodingOption(QImageEncoderSettings* theWrappedObject, const QString& option) const +{ + return ( theWrappedObject->encodingOption(option)); +} + +QMap PythonQtWrapper_QImageEncoderSettings::encodingOptions(QImageEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->encodingOptions()); +} + +bool PythonQtWrapper_QImageEncoderSettings::isNull(QImageEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QImageEncoderSettings::__ne__(QImageEncoderSettings* theWrappedObject, const QImageEncoderSettings& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QImageEncoderSettings* PythonQtWrapper_QImageEncoderSettings::operator_assign(QImageEncoderSettings* theWrappedObject, const QImageEncoderSettings& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QImageEncoderSettings::__eq__(QImageEncoderSettings* theWrappedObject, const QImageEncoderSettings& other) const +{ + return ( (*theWrappedObject)== other); +} + +QMultimedia::EncodingQuality PythonQtWrapper_QImageEncoderSettings::quality(QImageEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +QSize PythonQtWrapper_QImageEncoderSettings::resolution(QImageEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QImageEncoderSettings::setCodec(QImageEncoderSettings* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setCodec(arg__1)); +} + +void PythonQtWrapper_QImageEncoderSettings::setEncodingOption(QImageEncoderSettings* theWrappedObject, const QString& option, const QVariant& value) +{ + ( theWrappedObject->setEncodingOption(option, value)); +} + +void PythonQtWrapper_QImageEncoderSettings::setEncodingOptions(QImageEncoderSettings* theWrappedObject, const QMap& options) +{ + ( theWrappedObject->setEncodingOptions(options)); +} + +void PythonQtWrapper_QImageEncoderSettings::setQuality(QImageEncoderSettings* theWrappedObject, QMultimedia::EncodingQuality quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setResolution(arg__1)); +} + +void PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, int width, int height) +{ + ( theWrappedObject->setResolution(width, height)); +} + + + +PythonQtShell_QMediaAudioProbeControl::~PythonQtShell_QMediaAudioProbeControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaAudioProbeControl::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(); + } + } +} + QMediaAudioProbeControl::childEvent(event0); +} +void PythonQtShell_QMediaAudioProbeControl::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(); + } + } +} + QMediaAudioProbeControl::customEvent(event0); +} +bool PythonQtShell_QMediaAudioProbeControl::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 QMediaAudioProbeControl::event(event0); +} +bool PythonQtShell_QMediaAudioProbeControl::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 QMediaAudioProbeControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaAudioProbeControl::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(); + } + } +} + QMediaAudioProbeControl::timerEvent(event0); +} +QMediaAudioProbeControl* PythonQtWrapper_QMediaAudioProbeControl::new_QMediaAudioProbeControl(QObject* parent) +{ +return new PythonQtShell_QMediaAudioProbeControl(parent); } + +const QMetaObject* PythonQtShell_QMediaAudioProbeControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaAudioProbeControl::staticMetaObject); + } else { + return &QMediaAudioProbeControl::staticMetaObject; + } +} +int PythonQtShell_QMediaAudioProbeControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaAudioProbeControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QMediaAvailabilityControl::~PythonQtShell_QMediaAvailabilityControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::AvailabilityStatus PythonQtShell_QMediaAvailabilityControl::availability() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availability"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMultimedia::AvailabilityStatus(); +} +void PythonQtShell_QMediaAvailabilityControl::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(); + } + } +} + QMediaAvailabilityControl::childEvent(event0); +} +void PythonQtShell_QMediaAvailabilityControl::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(); + } + } +} + QMediaAvailabilityControl::customEvent(event0); +} +bool PythonQtShell_QMediaAvailabilityControl::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 QMediaAvailabilityControl::event(event0); +} +bool PythonQtShell_QMediaAvailabilityControl::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 QMediaAvailabilityControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaAvailabilityControl::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(); + } + } +} + QMediaAvailabilityControl::timerEvent(event0); +} +QMediaAvailabilityControl* PythonQtWrapper_QMediaAvailabilityControl::new_QMediaAvailabilityControl(QObject* parent) +{ +return new PythonQtShell_QMediaAvailabilityControl(parent); } + +const QMetaObject* PythonQtShell_QMediaAvailabilityControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaAvailabilityControl::staticMetaObject); + } else { + return &QMediaAvailabilityControl::staticMetaObject; + } +} +int PythonQtShell_QMediaAvailabilityControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaAvailabilityControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMultimedia::AvailabilityStatus PythonQtWrapper_QMediaAvailabilityControl::availability(QMediaAvailabilityControl* theWrappedObject) const +{ + return ( theWrappedObject->availability()); +} + + + +PythonQtShell_QMediaBindableInterface::~PythonQtShell_QMediaBindableInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMediaObject* PythonQtShell_QMediaBindableInterface::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 nullptr; +} +bool PythonQtShell_QMediaBindableInterface::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 bool(); +} +QMediaBindableInterface* PythonQtWrapper_QMediaBindableInterface::new_QMediaBindableInterface() +{ +return new PythonQtShell_QMediaBindableInterface(); } + +QMediaObject* PythonQtWrapper_QMediaBindableInterface::mediaObject(QMediaBindableInterface* theWrappedObject) const +{ + return ( theWrappedObject->mediaObject()); +} + +bool PythonQtWrapper_QMediaBindableInterface::setMediaObject(QMediaBindableInterface* theWrappedObject, QMediaObject* object) +{ + return ( ((PythonQtPublicPromoter_QMediaBindableInterface*)theWrappedObject)->promoted_setMediaObject(object)); +} + + + +PythonQtShell_QMediaContainerControl::~PythonQtShell_QMediaContainerControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaContainerControl::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(); + } + } +} + QMediaContainerControl::childEvent(event0); +} +QString PythonQtShell_QMediaContainerControl::containerDescription(const QString& formatMimeType0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("containerDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("containerDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QString PythonQtShell_QMediaContainerControl::containerFormat() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("containerFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("containerFormat", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +void PythonQtShell_QMediaContainerControl::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(); + } + } +} + QMediaContainerControl::customEvent(event0); +} +bool PythonQtShell_QMediaContainerControl::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 QMediaContainerControl::event(event0); +} +bool PythonQtShell_QMediaContainerControl::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 QMediaContainerControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaContainerControl::setContainerFormat(const QString& format0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setContainerFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&format0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QStringList PythonQtShell_QMediaContainerControl::supportedContainers() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedContainers"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedContainers", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +void PythonQtShell_QMediaContainerControl::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(); + } + } +} + QMediaContainerControl::timerEvent(event0); +} +QMediaContainerControl* PythonQtWrapper_QMediaContainerControl::new_QMediaContainerControl(QObject* parent) +{ +return new PythonQtShell_QMediaContainerControl(parent); } + +const QMetaObject* PythonQtShell_QMediaContainerControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaContainerControl::staticMetaObject); + } else { + return &QMediaContainerControl::staticMetaObject; + } +} +int PythonQtShell_QMediaContainerControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaContainerControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QMediaContainerControl::containerDescription(QMediaContainerControl* theWrappedObject, const QString& formatMimeType) const +{ + return ( theWrappedObject->containerDescription(formatMimeType)); +} + +QString PythonQtWrapper_QMediaContainerControl::containerFormat(QMediaContainerControl* theWrappedObject) const +{ + return ( theWrappedObject->containerFormat()); +} + +void PythonQtWrapper_QMediaContainerControl::setContainerFormat(QMediaContainerControl* theWrappedObject, const QString& format) +{ + ( theWrappedObject->setContainerFormat(format)); +} + +QStringList PythonQtWrapper_QMediaContainerControl::supportedContainers(QMediaContainerControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedContainers()); +} + + + +QMediaContent* PythonQtWrapper_QMediaContent::new_QMediaContent() +{ +return new QMediaContent(); } + +QMediaContent* PythonQtWrapper_QMediaContent::new_QMediaContent(QMediaPlaylist* playlist, const QUrl& contentUrl, bool takeOwnership) +{ +return new QMediaContent(playlist, contentUrl, takeOwnership); } + +QMediaContent* PythonQtWrapper_QMediaContent::new_QMediaContent(const QList& resources) +{ +return new QMediaContent(resources); } + +QMediaContent* PythonQtWrapper_QMediaContent::new_QMediaContent(const QMediaContent& other) +{ +return new QMediaContent(other); } + +QMediaContent* PythonQtWrapper_QMediaContent::new_QMediaContent(const QMediaResource& contentResource) +{ +return new QMediaContent(contentResource); } + +QMediaContent* PythonQtWrapper_QMediaContent::new_QMediaContent(const QNetworkRequest& contentRequest) +{ +return new QMediaContent(contentRequest); } + +QMediaContent* PythonQtWrapper_QMediaContent::new_QMediaContent(const QUrl& contentUrl) +{ +return new QMediaContent(contentUrl); } + +QNetworkRequest PythonQtWrapper_QMediaContent::canonicalRequest(QMediaContent* theWrappedObject) const +{ + return ( theWrappedObject->canonicalRequest()); +} + +QMediaResource PythonQtWrapper_QMediaContent::canonicalResource(QMediaContent* theWrappedObject) const +{ + return ( theWrappedObject->canonicalResource()); +} + +QUrl PythonQtWrapper_QMediaContent::canonicalUrl(QMediaContent* theWrappedObject) const +{ + return ( theWrappedObject->canonicalUrl()); +} + +bool PythonQtWrapper_QMediaContent::isNull(QMediaContent* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QMediaContent::__ne__(QMediaContent* theWrappedObject, const QMediaContent& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QMediaContent* PythonQtWrapper_QMediaContent::operator_assign(QMediaContent* theWrappedObject, const QMediaContent& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QMediaContent::__eq__(QMediaContent* theWrappedObject, const QMediaContent& other) const +{ + return ( (*theWrappedObject)== other); +} + +QMediaPlaylist* PythonQtWrapper_QMediaContent::playlist(QMediaContent* theWrappedObject) const +{ + return ( theWrappedObject->playlist()); +} + +QNetworkRequest PythonQtWrapper_QMediaContent::request(QMediaContent* theWrappedObject) const +{ + return ( theWrappedObject->request()); +} + +QList PythonQtWrapper_QMediaContent::resources(QMediaContent* theWrappedObject) const +{ + return ( theWrappedObject->resources()); +} + + + +PythonQtShell_QMediaControl::~PythonQtShell_QMediaControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaControl::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(); + } + } +} + QMediaControl::childEvent(event0); +} +void PythonQtShell_QMediaControl::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(); + } + } +} + QMediaControl::customEvent(event0); +} +bool PythonQtShell_QMediaControl::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 QMediaControl::event(event0); +} +bool PythonQtShell_QMediaControl::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 QMediaControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaControl::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(); + } + } +} + QMediaControl::timerEvent(event0); +} +QMediaControl* PythonQtWrapper_QMediaControl::new_QMediaControl(QObject* parent) +{ +return new PythonQtShell_QMediaControl(parent); } + +const QMetaObject* PythonQtShell_QMediaControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaControl::staticMetaObject); + } else { + return &QMediaControl::staticMetaObject; + } +} +int PythonQtShell_QMediaControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QMediaGaplessPlaybackControl::~PythonQtShell_QMediaGaplessPlaybackControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaGaplessPlaybackControl::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(); + } + } +} + QMediaGaplessPlaybackControl::childEvent(event0); +} +qreal PythonQtShell_QMediaGaplessPlaybackControl::crossfadeTime() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("crossfadeTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("crossfadeTime", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +void PythonQtShell_QMediaGaplessPlaybackControl::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(); + } + } +} + QMediaGaplessPlaybackControl::customEvent(event0); +} +bool PythonQtShell_QMediaGaplessPlaybackControl::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 QMediaGaplessPlaybackControl::event(event0); +} +bool PythonQtShell_QMediaGaplessPlaybackControl::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 QMediaGaplessPlaybackControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QMediaGaplessPlaybackControl::isCrossfadeSupported() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isCrossfadeSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isCrossfadeSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QMediaContent PythonQtShell_QMediaGaplessPlaybackControl::nextMedia() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextMedia"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaContent"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextMedia", methodInfo, result); + } else { + returnValue = *((QMediaContent*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaContent(); +} +void PythonQtShell_QMediaGaplessPlaybackControl::setCrossfadeTime(qreal crossfadeTime0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCrossfadeTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&crossfadeTime0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaGaplessPlaybackControl::setNextMedia(const QMediaContent& media0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setNextMedia"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMediaContent&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&media0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaGaplessPlaybackControl::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(); + } + } +} + QMediaGaplessPlaybackControl::timerEvent(event0); +} +QMediaGaplessPlaybackControl* PythonQtWrapper_QMediaGaplessPlaybackControl::new_QMediaGaplessPlaybackControl(QObject* parent) +{ +return new PythonQtShell_QMediaGaplessPlaybackControl(parent); } + +const QMetaObject* PythonQtShell_QMediaGaplessPlaybackControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaGaplessPlaybackControl::staticMetaObject); + } else { + return &QMediaGaplessPlaybackControl::staticMetaObject; + } +} +int PythonQtShell_QMediaGaplessPlaybackControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaGaplessPlaybackControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QMediaGaplessPlaybackControl::crossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject) const +{ + return ( theWrappedObject->crossfadeTime()); +} + +bool PythonQtWrapper_QMediaGaplessPlaybackControl::isCrossfadeSupported(QMediaGaplessPlaybackControl* theWrappedObject) const +{ + return ( theWrappedObject->isCrossfadeSupported()); +} + +QMediaContent PythonQtWrapper_QMediaGaplessPlaybackControl::nextMedia(QMediaGaplessPlaybackControl* theWrappedObject) const +{ + return ( theWrappedObject->nextMedia()); +} + +void PythonQtWrapper_QMediaGaplessPlaybackControl::setCrossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject, qreal crossfadeTime) +{ + ( theWrappedObject->setCrossfadeTime(crossfadeTime)); +} + +void PythonQtWrapper_QMediaGaplessPlaybackControl::setNextMedia(QMediaGaplessPlaybackControl* theWrappedObject, const QMediaContent& media) +{ + ( theWrappedObject->setNextMedia(media)); +} + + + +PythonQtShell_QMediaNetworkAccessControl::~PythonQtShell_QMediaNetworkAccessControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaNetworkAccessControl::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(); + } + } +} + QMediaNetworkAccessControl::childEvent(event0); +} +QNetworkConfiguration PythonQtShell_QMediaNetworkAccessControl::currentConfiguration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentConfiguration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkConfiguration"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentConfiguration", methodInfo, result); + } else { + returnValue = *((QNetworkConfiguration*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkConfiguration(); +} +void PythonQtShell_QMediaNetworkAccessControl::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(); + } + } +} + QMediaNetworkAccessControl::customEvent(event0); +} +bool PythonQtShell_QMediaNetworkAccessControl::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 QMediaNetworkAccessControl::event(event0); +} +bool PythonQtShell_QMediaNetworkAccessControl::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 QMediaNetworkAccessControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaNetworkAccessControl::setConfigurations(const QList& configuration0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setConfigurations"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&configuration0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaNetworkAccessControl::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(); + } + } +} + QMediaNetworkAccessControl::timerEvent(event0); +} +QMediaNetworkAccessControl* PythonQtWrapper_QMediaNetworkAccessControl::new_QMediaNetworkAccessControl(QObject* parent) +{ +return new PythonQtShell_QMediaNetworkAccessControl(parent); } + +const QMetaObject* PythonQtShell_QMediaNetworkAccessControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaNetworkAccessControl::staticMetaObject); + } else { + return &QMediaNetworkAccessControl::staticMetaObject; + } +} +int PythonQtShell_QMediaNetworkAccessControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaNetworkAccessControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QNetworkConfiguration PythonQtWrapper_QMediaNetworkAccessControl::currentConfiguration(QMediaNetworkAccessControl* theWrappedObject) const +{ + return ( theWrappedObject->currentConfiguration()); +} + +void PythonQtWrapper_QMediaNetworkAccessControl::setConfigurations(QMediaNetworkAccessControl* theWrappedObject, const QList& configuration) +{ + ( theWrappedObject->setConfigurations(configuration)); +} + + + +PythonQtShell_QMediaObject::~PythonQtShell_QMediaObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availability"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaObject::availability(); +} +bool PythonQtShell_QMediaObject::bind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaObject::bind(arg__1); +} +void PythonQtShell_QMediaObject::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(); + } + } +} + QMediaObject::childEvent(event0); +} +void PythonQtShell_QMediaObject::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(); + } + } +} + QMediaObject::customEvent(event0); +} +bool PythonQtShell_QMediaObject::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 QMediaObject::event(event0); +} +bool PythonQtShell_QMediaObject::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 QMediaObject::eventFilter(watched0, event1); +} +bool PythonQtShell_QMediaObject::isAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaObject::isAvailable(); +} +QMediaService* PythonQtShell_QMediaObject::service() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("service"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaService*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); + } else { + returnValue = *((QMediaService**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaObject::service(); +} +void PythonQtShell_QMediaObject::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(); + } + } +} + QMediaObject::timerEvent(event0); +} +void PythonQtShell_QMediaObject::unbind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unbind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaObject::unbind(arg__1); +} +QMediaObject* PythonQtWrapper_QMediaObject::new_QMediaObject(QObject* parent, QMediaService* service) +{ +return new PythonQtShell_QMediaObject(parent, service); } + +const QMetaObject* PythonQtShell_QMediaObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaObject::staticMetaObject); + } else { + return &QMediaObject::staticMetaObject; + } +} +int PythonQtShell_QMediaObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMediaObject::addPropertyWatch(QMediaObject* theWrappedObject, const QByteArray& name) +{ + ( ((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->promoted_addPropertyWatch(name)); +} + +QMultimedia::AvailabilityStatus PythonQtWrapper_QMediaObject::availability(QMediaObject* theWrappedObject) const +{ + return ( theWrappedObject->availability()); +} + +QStringList PythonQtWrapper_QMediaObject::availableMetaData(QMediaObject* theWrappedObject) const +{ + return ( theWrappedObject->availableMetaData()); +} + +bool PythonQtWrapper_QMediaObject::bind(QMediaObject* theWrappedObject, QObject* arg__1) +{ + return ( theWrappedObject->bind(arg__1)); +} + +bool PythonQtWrapper_QMediaObject::isAvailable(QMediaObject* theWrappedObject) const +{ + return ( theWrappedObject->isAvailable()); +} + +bool PythonQtWrapper_QMediaObject::isMetaDataAvailable(QMediaObject* theWrappedObject) const +{ + return ( theWrappedObject->isMetaDataAvailable()); +} + +QVariant PythonQtWrapper_QMediaObject::metaData(QMediaObject* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->metaData(key)); +} + +int PythonQtWrapper_QMediaObject::notifyInterval(QMediaObject* theWrappedObject) const +{ + return ( theWrappedObject->notifyInterval()); +} + +void PythonQtWrapper_QMediaObject::removePropertyWatch(QMediaObject* theWrappedObject, const QByteArray& name) +{ + ( ((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->promoted_removePropertyWatch(name)); +} + +QMediaService* PythonQtWrapper_QMediaObject::service(QMediaObject* theWrappedObject) const +{ + return ( theWrappedObject->service()); +} + +void PythonQtWrapper_QMediaObject::setNotifyInterval(QMediaObject* theWrappedObject, int milliSeconds) +{ + ( theWrappedObject->setNotifyInterval(milliSeconds)); +} + +void PythonQtWrapper_QMediaObject::unbind(QMediaObject* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->unbind(arg__1)); +} + + + +PythonQtShell_QMediaPlayer::~PythonQtShell_QMediaPlayer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::AvailabilityStatus PythonQtShell_QMediaPlayer::availability() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availability"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::availability(); +} +bool PythonQtShell_QMediaPlayer::bind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::bind(arg__1); +} +void PythonQtShell_QMediaPlayer::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(); + } + } +} + QMediaPlayer::childEvent(event0); +} +void PythonQtShell_QMediaPlayer::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(); + } + } +} + QMediaPlayer::customEvent(event0); +} +bool PythonQtShell_QMediaPlayer::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 QMediaPlayer::event(event0); +} +bool PythonQtShell_QMediaPlayer::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 QMediaPlayer::eventFilter(watched0, event1); +} +bool PythonQtShell_QMediaPlayer::isAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::isAvailable(); +} +QMediaService* PythonQtShell_QMediaPlayer::service() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("service"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaService*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); + } else { + returnValue = *((QMediaService**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::service(); +} +void PythonQtShell_QMediaPlayer::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(); + } + } +} + QMediaPlayer::timerEvent(event0); +} +void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unbind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlayer::unbind(arg__1); +} +QMediaPlayer* PythonQtWrapper_QMediaPlayer::new_QMediaPlayer(QObject* parent, QMediaPlayer::Flags flags) +{ +return new PythonQtShell_QMediaPlayer(parent, flags); } + +const QMetaObject* PythonQtShell_QMediaPlayer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaPlayer::staticMetaObject); + } else { + return &QMediaPlayer::staticMetaObject; + } +} +int PythonQtShell_QMediaPlayer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaPlayer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAudio::Role PythonQtWrapper_QMediaPlayer::audioRole(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->audioRole()); +} + +int PythonQtWrapper_QMediaPlayer::bufferStatus(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->bufferStatus()); +} + +QMediaContent PythonQtWrapper_QMediaPlayer::currentMedia(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->currentMedia()); +} + +QNetworkConfiguration PythonQtWrapper_QMediaPlayer::currentNetworkConfiguration(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->currentNetworkConfiguration()); +} + +QString PythonQtWrapper_QMediaPlayer::customAudioRole(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->customAudioRole()); +} + +qint64 PythonQtWrapper_QMediaPlayer::duration(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +QMediaPlayer::Error PythonQtWrapper_QMediaPlayer::error(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QMediaPlayer::errorString(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QMultimedia::SupportEstimate PythonQtWrapper_QMediaPlayer::static_QMediaPlayer_hasSupport(const QString& mimeType, const QStringList& codecs, QMediaPlayer::Flags flags) +{ + return (QMediaPlayer::hasSupport(mimeType, codecs, flags)); +} + +bool PythonQtWrapper_QMediaPlayer::isAudioAvailable(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->isAudioAvailable()); +} + +bool PythonQtWrapper_QMediaPlayer::isMuted(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->isMuted()); +} + +bool PythonQtWrapper_QMediaPlayer::isSeekable(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->isSeekable()); +} + +bool PythonQtWrapper_QMediaPlayer::isVideoAvailable(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->isVideoAvailable()); +} + +QMediaContent PythonQtWrapper_QMediaPlayer::media(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->media()); +} + +QMediaPlayer::MediaStatus PythonQtWrapper_QMediaPlayer::mediaStatus(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->mediaStatus()); +} + +const QIODevice* PythonQtWrapper_QMediaPlayer::mediaStream(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->mediaStream()); +} + +qreal PythonQtWrapper_QMediaPlayer::playbackRate(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->playbackRate()); +} + +QMediaPlaylist* PythonQtWrapper_QMediaPlayer::playlist(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->playlist()); +} + +qint64 PythonQtWrapper_QMediaPlayer::position(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QMediaPlayer::setAudioRole(QMediaPlayer* theWrappedObject, QAudio::Role audioRole) +{ + ( theWrappedObject->setAudioRole(audioRole)); +} + +void PythonQtWrapper_QMediaPlayer::setCustomAudioRole(QMediaPlayer* theWrappedObject, const QString& audioRole) +{ + ( theWrappedObject->setCustomAudioRole(audioRole)); +} + +void PythonQtWrapper_QMediaPlayer::setVideoOutput(QMediaPlayer* theWrappedObject, QAbstractVideoSurface* surface) +{ + ( theWrappedObject->setVideoOutput(surface)); +} + +void PythonQtWrapper_QMediaPlayer::setVideoOutput(QMediaPlayer* theWrappedObject, QGraphicsVideoItem* arg__1) +{ + ( theWrappedObject->setVideoOutput(arg__1)); +} + +void PythonQtWrapper_QMediaPlayer::setVideoOutput(QMediaPlayer* theWrappedObject, QVideoWidget* arg__1) +{ + ( theWrappedObject->setVideoOutput(arg__1)); +} + +void PythonQtWrapper_QMediaPlayer::setVideoOutput(QMediaPlayer* theWrappedObject, const QVector& surfaces) +{ + ( theWrappedObject->setVideoOutput(surfaces)); +} + +QMediaPlayer::State PythonQtWrapper_QMediaPlayer::state(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QList PythonQtWrapper_QMediaPlayer::supportedAudioRoles(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->supportedAudioRoles()); +} + +QStringList PythonQtWrapper_QMediaPlayer::supportedCustomAudioRoles(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->supportedCustomAudioRoles()); +} + +QStringList PythonQtWrapper_QMediaPlayer::static_QMediaPlayer_supportedMimeTypes(QMediaPlayer::Flags flags) +{ + return (QMediaPlayer::supportedMimeTypes(flags)); +} + +int PythonQtWrapper_QMediaPlayer::volume(QMediaPlayer* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QMediaPlayerControl::~PythonQtShell_QMediaPlayerControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMediaTimeRange PythonQtShell_QMediaPlayerControl::availablePlaybackRanges() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availablePlaybackRanges"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaTimeRange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availablePlaybackRanges", methodInfo, result); + } else { + returnValue = *((QMediaTimeRange*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaTimeRange(); +} +int PythonQtShell_QMediaPlayerControl::bufferStatus() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bufferStatus"); + 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("bufferStatus", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QMediaPlayerControl::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(); + } + } +} + QMediaPlayerControl::childEvent(event0); +} +void PythonQtShell_QMediaPlayerControl::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(); + } + } +} + QMediaPlayerControl::customEvent(event0); +} +qint64 PythonQtShell_QMediaPlayerControl::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +bool PythonQtShell_QMediaPlayerControl::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 QMediaPlayerControl::event(event0); +} +bool PythonQtShell_QMediaPlayerControl::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 QMediaPlayerControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QMediaPlayerControl::isAudioAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAudioAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAudioAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QMediaPlayerControl::isMuted() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isMuted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QMediaPlayerControl::isSeekable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSeekable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSeekable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QMediaPlayerControl::isVideoAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isVideoAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isVideoAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QMediaContent PythonQtShell_QMediaPlayerControl::media() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("media"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaContent"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("media", methodInfo, result); + } else { + returnValue = *((QMediaContent*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaContent(); +} +QMediaPlayer::MediaStatus PythonQtShell_QMediaPlayerControl::mediaStatus() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mediaStatus"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaPlayer::MediaStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mediaStatus", methodInfo, result); + } else { + returnValue = *((QMediaPlayer::MediaStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::MediaStatus(); +} +const QIODevice* PythonQtShell_QMediaPlayerControl::mediaStream() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mediaStream"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"const QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mediaStream", methodInfo, result); + } else { + returnValue = *((const QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QMediaPlayerControl::pause() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pause"); + 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(); + } + } +} + +} +void PythonQtShell_QMediaPlayerControl::play() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("play"); + 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(); + } + } +} + +} +qreal PythonQtShell_QMediaPlayerControl::playbackRate() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("playbackRate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("playbackRate", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +qint64 PythonQtShell_QMediaPlayerControl::position() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("position"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +void PythonQtShell_QMediaPlayerControl::setMedia(const QMediaContent& media0, QIODevice* stream1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMedia"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMediaContent&" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&media0, (void*)&stream1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaPlayerControl::setMuted(bool mute0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMuted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mute0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaPlayerControl::setPlaybackRate(qreal rate0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPlaybackRate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&rate0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaPlayerControl::setPosition(qint64 position0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPosition"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&position0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaPlayerControl::setVolume(int volume0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVolume"); + 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*)&volume0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QMediaPlayer::State PythonQtShell_QMediaPlayerControl::state() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("state"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaPlayer::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QMediaPlayer::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::State(); +} +void PythonQtShell_QMediaPlayerControl::stop() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stop"); + 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(); + } + } +} + +} +void PythonQtShell_QMediaPlayerControl::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(); + } + } +} + QMediaPlayerControl::timerEvent(event0); +} +int PythonQtShell_QMediaPlayerControl::volume() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("volume"); + 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("volume", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QMediaPlayerControl* PythonQtWrapper_QMediaPlayerControl::new_QMediaPlayerControl(QObject* parent) +{ +return new PythonQtShell_QMediaPlayerControl(parent); } + +const QMetaObject* PythonQtShell_QMediaPlayerControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaPlayerControl::staticMetaObject); + } else { + return &QMediaPlayerControl::staticMetaObject; + } +} +int PythonQtShell_QMediaPlayerControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaPlayerControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMediaTimeRange PythonQtWrapper_QMediaPlayerControl::availablePlaybackRanges(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->availablePlaybackRanges()); +} + +int PythonQtWrapper_QMediaPlayerControl::bufferStatus(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->bufferStatus()); +} + +qint64 PythonQtWrapper_QMediaPlayerControl::duration(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +bool PythonQtWrapper_QMediaPlayerControl::isAudioAvailable(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->isAudioAvailable()); +} + +bool PythonQtWrapper_QMediaPlayerControl::isMuted(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->isMuted()); +} + +bool PythonQtWrapper_QMediaPlayerControl::isSeekable(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->isSeekable()); +} + +bool PythonQtWrapper_QMediaPlayerControl::isVideoAvailable(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->isVideoAvailable()); +} + +QMediaContent PythonQtWrapper_QMediaPlayerControl::media(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->media()); +} + +QMediaPlayer::MediaStatus PythonQtWrapper_QMediaPlayerControl::mediaStatus(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->mediaStatus()); +} + +const QIODevice* PythonQtWrapper_QMediaPlayerControl::mediaStream(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->mediaStream()); +} + +void PythonQtWrapper_QMediaPlayerControl::pause(QMediaPlayerControl* theWrappedObject) +{ + ( theWrappedObject->pause()); +} + +void PythonQtWrapper_QMediaPlayerControl::play(QMediaPlayerControl* theWrappedObject) +{ + ( theWrappedObject->play()); +} + +qreal PythonQtWrapper_QMediaPlayerControl::playbackRate(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->playbackRate()); +} + +qint64 PythonQtWrapper_QMediaPlayerControl::position(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QMediaPlayerControl::setMedia(QMediaPlayerControl* theWrappedObject, const QMediaContent& media, QIODevice* stream) +{ + ( theWrappedObject->setMedia(media, stream)); +} + +void PythonQtWrapper_QMediaPlayerControl::setMuted(QMediaPlayerControl* theWrappedObject, bool mute) +{ + ( theWrappedObject->setMuted(mute)); +} + +void PythonQtWrapper_QMediaPlayerControl::setPlaybackRate(QMediaPlayerControl* theWrappedObject, qreal rate) +{ + ( theWrappedObject->setPlaybackRate(rate)); +} + +void PythonQtWrapper_QMediaPlayerControl::setPosition(QMediaPlayerControl* theWrappedObject, qint64 position) +{ + ( theWrappedObject->setPosition(position)); +} + +void PythonQtWrapper_QMediaPlayerControl::setVolume(QMediaPlayerControl* theWrappedObject, int volume) +{ + ( theWrappedObject->setVolume(volume)); +} + +QMediaPlayer::State PythonQtWrapper_QMediaPlayerControl::state(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QMediaPlayerControl::stop(QMediaPlayerControl* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +int PythonQtWrapper_QMediaPlayerControl::volume(QMediaPlayerControl* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h new file mode 100644 index 00000000..6ec122f9 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h @@ -0,0 +1,1581 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QCameraFocus : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FocusMode ) +Q_FLAGS(FocusModes ) +enum FocusMode{ + ManualFocus = QCameraFocus::ManualFocus, HyperfocalFocus = QCameraFocus::HyperfocalFocus, InfinityFocus = QCameraFocus::InfinityFocus, AutoFocus = QCameraFocus::AutoFocus, ContinuousFocus = QCameraFocus::ContinuousFocus, MacroFocus = QCameraFocus::MacroFocus}; +Q_DECLARE_FLAGS(FocusModes, FocusMode) +public slots: + QPointF customFocusPoint(QCameraFocus* theWrappedObject) const; + qreal digitalZoom(QCameraFocus* theWrappedObject) const; + QCameraFocus::FocusModes focusMode(QCameraFocus* theWrappedObject) const; + QCameraFocus::FocusPointMode focusPointMode(QCameraFocus* theWrappedObject) const; + QList focusZones(QCameraFocus* theWrappedObject) const; + bool isAvailable(QCameraFocus* theWrappedObject) const; + bool isFocusModeSupported(QCameraFocus* theWrappedObject, QCameraFocus::FocusModes mode) const; + bool isFocusPointModeSupported(QCameraFocus* theWrappedObject, QCameraFocus::FocusPointMode arg__1) const; + qreal maximumDigitalZoom(QCameraFocus* theWrappedObject) const; + qreal maximumOpticalZoom(QCameraFocus* theWrappedObject) const; + qreal opticalZoom(QCameraFocus* theWrappedObject) const; + void setCustomFocusPoint(QCameraFocus* theWrappedObject, const QPointF& point); + void setFocusMode(QCameraFocus* theWrappedObject, QCameraFocus::FocusModes mode); + void setFocusPointMode(QCameraFocus* theWrappedObject, QCameraFocus::FocusPointMode mode); + void zoomTo(QCameraFocus* theWrappedObject, qreal opticalZoom, qreal digitalZoom); +}; + + + + + +class PythonQtShell_QCameraFocusControl : public QCameraFocusControl +{ +public: + 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 +{ public: +inline QPointF py_q_customFocusPoint() const { return this->customFocusPoint(); } +inline QCameraFocus::FocusModes py_q_focusMode() const { return this->focusMode(); } +inline QCameraFocus::FocusPointMode py_q_focusPointMode() const { return this->focusPointMode(); } +inline QList py_q_focusZones() const { return this->focusZones(); } +inline bool py_q_isFocusModeSupported(QCameraFocus::FocusModes mode) const { return this->isFocusModeSupported(mode); } +inline bool py_q_isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const { return this->isFocusPointModeSupported(mode); } +inline void py_q_setCustomFocusPoint(const QPointF& point) { this->setCustomFocusPoint(point); } +inline void py_q_setFocusMode(QCameraFocus::FocusModes mode) { this->setFocusMode(mode); } +inline void py_q_setFocusPointMode(QCameraFocus::FocusPointMode mode) { this->setFocusPointMode(mode); } +}; + +class PythonQtWrapper_QCameraFocusControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraFocusControl* new_QCameraFocusControl(QObject* parent = nullptr); +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; + QCameraFocus::FocusModes py_q_focusMode(QCameraFocusControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_focusMode());} + QCameraFocus::FocusPointMode focusPointMode(QCameraFocusControl* theWrappedObject) const; + QCameraFocus::FocusPointMode py_q_focusPointMode(QCameraFocusControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_focusPointMode());} + QList focusZones(QCameraFocusControl* theWrappedObject) const; + QList py_q_focusZones(QCameraFocusControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_focusZones());} + bool isFocusModeSupported(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusModes mode) const; + bool py_q_isFocusModeSupported(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusModes mode) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_isFocusModeSupported(mode));} + bool isFocusPointModeSupported(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusPointMode mode) const; + bool py_q_isFocusPointModeSupported(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusPointMode mode) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_isFocusPointModeSupported(mode));} + void setCustomFocusPoint(QCameraFocusControl* theWrappedObject, const QPointF& point); + void py_q_setCustomFocusPoint(QCameraFocusControl* theWrappedObject, const QPointF& point){ (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_setCustomFocusPoint(point));} + void setFocusMode(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusModes mode); + void py_q_setFocusMode(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusModes mode){ (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_setFocusMode(mode));} + void setFocusPointMode(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusPointMode mode); + void py_q_setFocusPointMode(QCameraFocusControl* theWrappedObject, QCameraFocus::FocusPointMode mode){ (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_setFocusPointMode(mode));} +}; + + + + + +class PythonQtWrapper_QCameraFocusZone : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FocusZoneStatus ) +enum FocusZoneStatus{ + Invalid = QCameraFocusZone::Invalid, Unused = QCameraFocusZone::Unused, Selected = QCameraFocusZone::Selected, Focused = QCameraFocusZone::Focused}; +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; } + QRectF area(QCameraFocusZone* theWrappedObject) const; + bool isValid(QCameraFocusZone* theWrappedObject) const; + bool __ne__(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) const; + QCameraFocusZone* operator_assign(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other); + bool __eq__(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) const; + void setStatus(QCameraFocusZone* theWrappedObject, QCameraFocusZone::FocusZoneStatus status); + QCameraFocusZone::FocusZoneStatus status(QCameraFocusZone* theWrappedObject) const; + bool __nonzero__(QCameraFocusZone* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QCameraImageCapture : public QCameraImageCapture +{ +public: + PythonQtShell_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr):QCameraImageCapture(mediaObject, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraImageCapture() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraImageCapture : public QCameraImageCapture +{ public: +inline bool promoted_setMediaObject(QMediaObject* arg__1) { return this->setMediaObject(arg__1); } +inline QMediaObject* py_q_mediaObject() const { return QCameraImageCapture::mediaObject(); } +inline bool py_q_setMediaObject(QMediaObject* arg__1) { return QCameraImageCapture::setMediaObject(arg__1); } +}; + +class PythonQtWrapper_QCameraImageCapture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CaptureDestination DriveMode ) +Q_FLAGS(CaptureDestinations ) +enum CaptureDestination{ + CaptureToFile = QCameraImageCapture::CaptureToFile, CaptureToBuffer = QCameraImageCapture::CaptureToBuffer}; +enum DriveMode{ + SingleImageCapture = QCameraImageCapture::SingleImageCapture}; +Q_DECLARE_FLAGS(CaptureDestinations, CaptureDestination) +public slots: +QCameraImageCapture* new_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr); +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; + QImageEncoderSettings encodingSettings(QCameraImageCapture* theWrappedObject) const; + QCameraImageCapture::Error error(QCameraImageCapture* theWrappedObject) const; + QString errorString(QCameraImageCapture* theWrappedObject) const; + QString imageCodecDescription(QCameraImageCapture* theWrappedObject, const QString& codecName) const; + bool isAvailable(QCameraImageCapture* theWrappedObject) const; + bool isCaptureDestinationSupported(QCameraImageCapture* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const; + bool isReadyForCapture(QCameraImageCapture* theWrappedObject) const; + QMediaObject* py_q_mediaObject(QCameraImageCapture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraImageCapture*)theWrappedObject)->py_q_mediaObject());} + void setBufferFormat(QCameraImageCapture* theWrappedObject, const QVideoFrame::PixelFormat format); + void setCaptureDestination(QCameraImageCapture* theWrappedObject, QCameraImageCapture::CaptureDestinations destination); + void setEncodingSettings(QCameraImageCapture* theWrappedObject, const QImageEncoderSettings& settings); + bool py_q_setMediaObject(QCameraImageCapture* theWrappedObject, QMediaObject* arg__1){ return (((PythonQtPublicPromoter_QCameraImageCapture*)theWrappedObject)->py_q_setMediaObject(arg__1));} + QList supportedBufferFormats(QCameraImageCapture* theWrappedObject) const; + QStringList supportedImageCodecs(QCameraImageCapture* theWrappedObject) const; + QList supportedResolutions(QCameraImageCapture* theWrappedObject, const QImageEncoderSettings& settings = QImageEncoderSettings(), bool* continuous = nullptr) const; +}; + + + + + +class PythonQtShell_QCameraImageCaptureControl : public QCameraImageCaptureControl +{ +public: + PythonQtShell_QCameraImageCaptureControl(QObject* parent = nullptr):QCameraImageCaptureControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraImageCaptureControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraImageCaptureControl : public QCameraImageCaptureControl +{ public: +inline void py_q_cancelCapture() { this->cancelCapture(); } +inline int py_q_capture(const QString& fileName) { return this->capture(fileName); } +inline QCameraImageCapture::DriveMode py_q_driveMode() const { return this->driveMode(); } +inline bool py_q_isReadyForCapture() const { return this->isReadyForCapture(); } +inline void py_q_setDriveMode(QCameraImageCapture::DriveMode mode) { this->setDriveMode(mode); } +}; + +class PythonQtWrapper_QCameraImageCaptureControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraImageCaptureControl* new_QCameraImageCaptureControl(QObject* parent = nullptr); +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); + int py_q_capture(QCameraImageCaptureControl* theWrappedObject, const QString& fileName){ return (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_capture(fileName));} + QCameraImageCapture::DriveMode driveMode(QCameraImageCaptureControl* theWrappedObject) const; + QCameraImageCapture::DriveMode py_q_driveMode(QCameraImageCaptureControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_driveMode());} + bool isReadyForCapture(QCameraImageCaptureControl* theWrappedObject) const; + bool py_q_isReadyForCapture(QCameraImageCaptureControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_isReadyForCapture());} + void setDriveMode(QCameraImageCaptureControl* theWrappedObject, QCameraImageCapture::DriveMode mode); + void py_q_setDriveMode(QCameraImageCaptureControl* theWrappedObject, QCameraImageCapture::DriveMode mode){ (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_setDriveMode(mode));} +}; + + + + + +class PythonQtWrapper_QCameraImageProcessing : public QObject +{ Q_OBJECT +public: +public slots: + qreal brightness(QCameraImageProcessing* theWrappedObject) const; + QCameraImageProcessing::ColorFilter colorFilter(QCameraImageProcessing* theWrappedObject) const; + qreal contrast(QCameraImageProcessing* theWrappedObject) const; + qreal denoisingLevel(QCameraImageProcessing* theWrappedObject) const; + bool isAvailable(QCameraImageProcessing* theWrappedObject) const; + bool isColorFilterSupported(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::ColorFilter filter) const; + bool isWhiteBalanceModeSupported(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::WhiteBalanceMode mode) const; + qreal manualWhiteBalance(QCameraImageProcessing* theWrappedObject) const; + qreal saturation(QCameraImageProcessing* theWrappedObject) const; + void setBrightness(QCameraImageProcessing* theWrappedObject, qreal value); + void setColorFilter(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::ColorFilter filter); + void setContrast(QCameraImageProcessing* theWrappedObject, qreal value); + void setDenoisingLevel(QCameraImageProcessing* theWrappedObject, qreal value); + void setManualWhiteBalance(QCameraImageProcessing* theWrappedObject, qreal colorTemperature); + void setSaturation(QCameraImageProcessing* theWrappedObject, qreal value); + void setSharpeningLevel(QCameraImageProcessing* theWrappedObject, qreal value); + void setWhiteBalanceMode(QCameraImageProcessing* theWrappedObject, QCameraImageProcessing::WhiteBalanceMode mode); + qreal sharpeningLevel(QCameraImageProcessing* theWrappedObject) const; + QCameraImageProcessing::WhiteBalanceMode whiteBalanceMode(QCameraImageProcessing* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QCameraImageProcessingControl : public QCameraImageProcessingControl +{ +public: + PythonQtShell_QCameraImageProcessingControl(QObject* parent = nullptr):QCameraImageProcessingControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraImageProcessingControl() 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(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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraImageProcessingControl : public QCameraImageProcessingControl +{ public: +inline bool py_q_isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const { return this->isParameterSupported(arg__1); } +inline bool py_q_isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const { return this->isParameterValueSupported(parameter, value); } +inline QVariant py_q_parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const { return this->parameter(parameter); } +inline void py_q_setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) { this->setParameter(parameter, value); } +}; + +class PythonQtWrapper_QCameraImageProcessingControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraImageProcessingControl* new_QCameraImageProcessingControl(QObject* parent = nullptr); +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; + bool py_q_isParameterValueSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const{ return (((PythonQtPublicPromoter_QCameraImageProcessingControl*)theWrappedObject)->py_q_isParameterValueSupported(parameter, value));} + QVariant parameter(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter) const; + QVariant py_q_parameter(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraImageProcessingControl*)theWrappedObject)->py_q_parameter(parameter));} + void setParameter(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value); + void py_q_setParameter(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value){ (((PythonQtPublicPromoter_QCameraImageProcessingControl*)theWrappedObject)->py_q_setParameter(parameter, value));} +}; + + + + + +class PythonQtWrapper_QCameraInfo : public QObject +{ Q_OBJECT +public: +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; } + QList static_QCameraInfo_availableCameras(QCamera::Position position = QCamera::UnspecifiedPosition); + QCameraInfo static_QCameraInfo_defaultCamera(); + QString description(QCameraInfo* theWrappedObject) const; + QString deviceName(QCameraInfo* theWrappedObject) const; + bool isNull(QCameraInfo* theWrappedObject) const; + bool __ne__(QCameraInfo* theWrappedObject, const QCameraInfo& other) const; + QCameraInfo* operator_assign(QCameraInfo* theWrappedObject, const QCameraInfo& other); + bool __eq__(QCameraInfo* theWrappedObject, const QCameraInfo& other) const; + int orientation(QCameraInfo* theWrappedObject) const; + QCamera::Position position(QCameraInfo* theWrappedObject) const; + QString py_toString(QCameraInfo*); + bool __nonzero__(QCameraInfo* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QCameraInfoControl : public QCameraInfoControl +{ +public: + PythonQtShell_QCameraInfoControl(QObject* parent = nullptr):QCameraInfoControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraInfoControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraInfoControl : public QCameraInfoControl +{ public: +inline int py_q_cameraOrientation(const QString& deviceName) const { return this->cameraOrientation(deviceName); } +inline QCamera::Position py_q_cameraPosition(const QString& deviceName) const { return this->cameraPosition(deviceName); } +}; + +class PythonQtWrapper_QCameraInfoControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraInfoControl* new_QCameraInfoControl(QObject* parent = nullptr); +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; + QCamera::Position py_q_cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const{ return (((PythonQtPublicPromoter_QCameraInfoControl*)theWrappedObject)->py_q_cameraPosition(deviceName));} +}; + + + + + +class PythonQtShell_QCameraLocksControl : public QCameraLocksControl +{ +public: + PythonQtShell_QCameraLocksControl(QObject* parent = nullptr):QCameraLocksControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraLocksControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraLocksControl : public QCameraLocksControl +{ public: +inline QCamera::LockStatus py_q_lockStatus(QCamera::LockType lock) const { return this->lockStatus(lock); } +inline void py_q_searchAndLock(QCamera::LockTypes locks) { this->searchAndLock(locks); } +inline QCamera::LockTypes py_q_supportedLocks() const { return this->supportedLocks(); } +inline void py_q_unlock(QCamera::LockTypes locks) { this->unlock(locks); } +}; + +class PythonQtWrapper_QCameraLocksControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraLocksControl* new_QCameraLocksControl(QObject* parent = nullptr); +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); + void py_q_searchAndLock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks){ (((PythonQtPublicPromoter_QCameraLocksControl*)theWrappedObject)->py_q_searchAndLock(locks));} + QCamera::LockTypes supportedLocks(QCameraLocksControl* theWrappedObject) const; + QCamera::LockTypes py_q_supportedLocks(QCameraLocksControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraLocksControl*)theWrappedObject)->py_q_supportedLocks());} + void unlock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks); + void py_q_unlock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks){ (((PythonQtPublicPromoter_QCameraLocksControl*)theWrappedObject)->py_q_unlock(locks));} +}; + + + + + +class PythonQtShell_QCameraViewfinder : public QCameraViewfinder +{ +public: + 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 +{ public: +inline bool promoted_setMediaObject(QMediaObject* object) { return this->setMediaObject(object); } +inline QMediaObject* py_q_mediaObject() const { return QCameraViewfinder::mediaObject(); } +inline bool py_q_setMediaObject(QMediaObject* object) { return QCameraViewfinder::setMediaObject(object); } +}; + +class PythonQtWrapper_QCameraViewfinder : public QObject +{ Q_OBJECT +public: +public slots: +QCameraViewfinder* new_QCameraViewfinder(QWidget* parent = nullptr); +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));} +}; + + + + + +class PythonQtWrapper_QCameraViewfinderSettings : public QObject +{ Q_OBJECT +public: +public slots: +QCameraViewfinderSettings* new_QCameraViewfinderSettings(); +QCameraViewfinderSettings* new_QCameraViewfinderSettings(const QCameraViewfinderSettings& other); +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); + bool __eq__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs); + QSize pixelAspectRatio(QCameraViewfinderSettings* theWrappedObject) const; + QVideoFrame::PixelFormat pixelFormat(QCameraViewfinderSettings* theWrappedObject) const; + QSize resolution(QCameraViewfinderSettings* theWrappedObject) const; + void setMaximumFrameRate(QCameraViewfinderSettings* theWrappedObject, qreal rate); + void setMinimumFrameRate(QCameraViewfinderSettings* theWrappedObject, qreal rate); + void setPixelAspectRatio(QCameraViewfinderSettings* theWrappedObject, const QSize& ratio); + void setPixelAspectRatio(QCameraViewfinderSettings* theWrappedObject, int horizontal, int vertical); + void setPixelFormat(QCameraViewfinderSettings* theWrappedObject, QVideoFrame::PixelFormat format); + void setResolution(QCameraViewfinderSettings* theWrappedObject, const QSize& arg__1); + void setResolution(QCameraViewfinderSettings* theWrappedObject, int width, int height); + void swap(QCameraViewfinderSettings* theWrappedObject, QCameraViewfinderSettings& other); + bool __nonzero__(QCameraViewfinderSettings* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl +{ +public: + PythonQtShell_QCameraViewfinderSettingsControl(QObject* parent = nullptr):QCameraViewfinderSettingsControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraViewfinderSettingsControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl +{ public: +inline bool py_q_isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const { return this->isViewfinderParameterSupported(parameter); } +inline void py_q_setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value) { this->setViewfinderParameter(parameter, value); } +inline QVariant py_q_viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const { return this->viewfinderParameter(parameter); } +}; + +class PythonQtWrapper_QCameraViewfinderSettingsControl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ViewfinderParameter ) +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; } + 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); + void py_q_setViewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value){ (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl*)theWrappedObject)->py_q_setViewfinderParameter(parameter, value));} + QVariant viewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; + QVariant py_q_viewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl*)theWrappedObject)->py_q_viewfinderParameter(parameter));} +}; + + + + + +class PythonQtShell_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 +{ +public: + PythonQtShell_QCameraViewfinderSettingsControl2(QObject* parent = nullptr):QCameraViewfinderSettingsControl2(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraViewfinderSettingsControl2() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 +{ public: +inline void py_q_setViewfinderSettings(const QCameraViewfinderSettings& settings) { this->setViewfinderSettings(settings); } +inline QList py_q_supportedViewfinderSettings() const { return this->supportedViewfinderSettings(); } +inline QCameraViewfinderSettings py_q_viewfinderSettings() const { return this->viewfinderSettings(); } +}; + +class PythonQtWrapper_QCameraViewfinderSettingsControl2 : public QObject +{ Q_OBJECT +public: +public slots: +QCameraViewfinderSettingsControl2* new_QCameraViewfinderSettingsControl2(QObject* parent = nullptr); +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; + QList py_q_supportedViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl2*)theWrappedObject)->py_q_supportedViewfinderSettings());} + QCameraViewfinderSettings viewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const; + QCameraViewfinderSettings py_q_viewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl2*)theWrappedObject)->py_q_viewfinderSettings());} +}; + + + + + +class PythonQtShell_QCameraZoomControl : public QCameraZoomControl +{ +public: + PythonQtShell_QCameraZoomControl(QObject* parent = nullptr):QCameraZoomControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraZoomControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCameraZoomControl : public QCameraZoomControl +{ public: +inline qreal py_q_currentDigitalZoom() const { return this->currentDigitalZoom(); } +inline qreal py_q_currentOpticalZoom() const { return this->currentOpticalZoom(); } +inline qreal py_q_maximumDigitalZoom() const { return this->maximumDigitalZoom(); } +inline qreal py_q_maximumOpticalZoom() const { return this->maximumOpticalZoom(); } +inline qreal py_q_requestedDigitalZoom() const { return this->requestedDigitalZoom(); } +inline qreal py_q_requestedOpticalZoom() const { return this->requestedOpticalZoom(); } +inline void py_q_zoomTo(qreal optical, qreal digital) { this->zoomTo(optical, digital); } +}; + +class PythonQtWrapper_QCameraZoomControl : public QObject +{ Q_OBJECT +public: +public slots: +QCameraZoomControl* new_QCameraZoomControl(QObject* parent = nullptr); +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; + qreal py_q_currentOpticalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_currentOpticalZoom());} + qreal maximumDigitalZoom(QCameraZoomControl* theWrappedObject) const; + qreal py_q_maximumDigitalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_maximumDigitalZoom());} + qreal maximumOpticalZoom(QCameraZoomControl* theWrappedObject) const; + qreal py_q_maximumOpticalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_maximumOpticalZoom());} + qreal requestedDigitalZoom(QCameraZoomControl* theWrappedObject) const; + qreal py_q_requestedDigitalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_requestedDigitalZoom());} + qreal requestedOpticalZoom(QCameraZoomControl* theWrappedObject) const; + qreal py_q_requestedOpticalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_requestedOpticalZoom());} + void zoomTo(QCameraZoomControl* theWrappedObject, qreal optical, qreal digital); + void py_q_zoomTo(QCameraZoomControl* theWrappedObject, qreal optical, qreal digital){ (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_zoomTo(optical, digital));} +}; + + + + + +class PythonQtShell_QCamera__FrameRateRange : public QCamera::FrameRateRange +{ +public: + 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; +}; + +class PythonQtWrapper_QCamera__FrameRateRange : public QObject +{ Q_OBJECT +public: +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; } + 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; } +void py_set_minimumFrameRate(QCamera::FrameRateRange* theWrappedObject, qreal minimumFrameRate){ theWrappedObject->minimumFrameRate = minimumFrameRate; } +qreal py_get_minimumFrameRate(QCamera::FrameRateRange* theWrappedObject){ return theWrappedObject->minimumFrameRate; } +}; + + + + + +class PythonQtShell_QGraphicsVideoItem : public QGraphicsVideoItem +{ +public: + 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 +{ public: +inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return this->itemChange(change, value); } +inline bool promoted_setMediaObject(QMediaObject* object) { return this->setMediaObject(object); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline QRectF py_q_boundingRect() const { return QGraphicsVideoItem::boundingRect(); } +inline QVariant py_q_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsVideoItem::itemChange(change, value); } +inline QMediaObject* py_q_mediaObject() const { return QGraphicsVideoItem::mediaObject(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsVideoItem::paint(painter, option, widget); } +inline bool py_q_setMediaObject(QMediaObject* object) { return QGraphicsVideoItem::setMediaObject(object); } +inline void py_q_timerEvent(QTimerEvent* event) { QGraphicsVideoItem::timerEvent(event); } +}; + +class PythonQtWrapper_QGraphicsVideoItem : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsVideoItem* new_QGraphicsVideoItem(QGraphicsItem* parent = nullptr); +void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } + Qt::AspectRatioMode aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const; + QRectF py_q_boundingRect(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_boundingRect());} + 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 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));} + void setOffset(QGraphicsVideoItem* theWrappedObject, const QPointF& offset); + void setSize(QGraphicsVideoItem* theWrappedObject, const QSizeF& size); + QSizeF size(QGraphicsVideoItem* theWrappedObject) const; + void py_q_timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_timerEvent(event));} + QAbstractVideoSurface* videoSurface(QGraphicsVideoItem* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QImageEncoderControl : public QImageEncoderControl +{ +public: + PythonQtShell_QImageEncoderControl(QObject* parent = nullptr):QImageEncoderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QImageEncoderControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QImageEncoderControl : public QImageEncoderControl +{ public: +inline QString py_q_imageCodecDescription(const QString& codec) const { return this->imageCodecDescription(codec); } +inline QImageEncoderSettings py_q_imageSettings() const { return this->imageSettings(); } +inline void py_q_setImageSettings(const QImageEncoderSettings& settings) { this->setImageSettings(settings); } +inline QStringList py_q_supportedImageCodecs() const { return this->supportedImageCodecs(); } +inline QList py_q_supportedResolutions(const QImageEncoderSettings& settings, bool* continuous = nullptr) const { return this->supportedResolutions(settings, continuous); } +}; + +class PythonQtWrapper_QImageEncoderControl : public QObject +{ Q_OBJECT +public: +public slots: +QImageEncoderControl* new_QImageEncoderControl(QObject* parent = nullptr); +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; + QImageEncoderSettings py_q_imageSettings(QImageEncoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageEncoderControl*)theWrappedObject)->py_q_imageSettings());} + void setImageSettings(QImageEncoderControl* theWrappedObject, const QImageEncoderSettings& settings); + void py_q_setImageSettings(QImageEncoderControl* theWrappedObject, const QImageEncoderSettings& settings){ (((PythonQtPublicPromoter_QImageEncoderControl*)theWrappedObject)->py_q_setImageSettings(settings));} + QStringList supportedImageCodecs(QImageEncoderControl* theWrappedObject) const; + QStringList py_q_supportedImageCodecs(QImageEncoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageEncoderControl*)theWrappedObject)->py_q_supportedImageCodecs());} + QList supportedResolutions(QImageEncoderControl* theWrappedObject, const QImageEncoderSettings& settings, bool* continuous = nullptr) const; + QList py_q_supportedResolutions(QImageEncoderControl* theWrappedObject, const QImageEncoderSettings& settings, bool* continuous = nullptr) const{ return (((PythonQtPublicPromoter_QImageEncoderControl*)theWrappedObject)->py_q_supportedResolutions(settings, continuous));} +}; + + + + + +class PythonQtWrapper_QImageEncoderSettings : public QObject +{ Q_OBJECT +public: +public slots: +QImageEncoderSettings* new_QImageEncoderSettings(); +QImageEncoderSettings* new_QImageEncoderSettings(const QImageEncoderSettings& other); +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; + bool isNull(QImageEncoderSettings* theWrappedObject) const; + bool __ne__(QImageEncoderSettings* theWrappedObject, const QImageEncoderSettings& other) const; + QImageEncoderSettings* operator_assign(QImageEncoderSettings* theWrappedObject, const QImageEncoderSettings& other); + bool __eq__(QImageEncoderSettings* theWrappedObject, const QImageEncoderSettings& other) const; + QMultimedia::EncodingQuality quality(QImageEncoderSettings* theWrappedObject) const; + QSize resolution(QImageEncoderSettings* theWrappedObject) const; + void setCodec(QImageEncoderSettings* theWrappedObject, const QString& arg__1); + void setEncodingOption(QImageEncoderSettings* theWrappedObject, const QString& option, const QVariant& value); + void setEncodingOptions(QImageEncoderSettings* theWrappedObject, const QMap& options); + void setQuality(QImageEncoderSettings* theWrappedObject, QMultimedia::EncodingQuality quality); + void setResolution(QImageEncoderSettings* theWrappedObject, const QSize& arg__1); + void setResolution(QImageEncoderSettings* theWrappedObject, int width, int height); + bool __nonzero__(QImageEncoderSettings* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QMediaAudioProbeControl : public QMediaAudioProbeControl +{ +public: + PythonQtShell_QMediaAudioProbeControl(QObject* parent = nullptr):QMediaAudioProbeControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaAudioProbeControl() 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_QMediaAudioProbeControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaAudioProbeControl* new_QMediaAudioProbeControl(QObject* parent = nullptr); +void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QMediaAvailabilityControl : public QMediaAvailabilityControl +{ +public: + PythonQtShell_QMediaAvailabilityControl(QObject* parent = nullptr):QMediaAvailabilityControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaAvailabilityControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaAvailabilityControl : public QMediaAvailabilityControl +{ public: +inline QMultimedia::AvailabilityStatus py_q_availability() const { return this->availability(); } +}; + +class PythonQtWrapper_QMediaAvailabilityControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaAvailabilityControl* new_QMediaAvailabilityControl(QObject* parent = nullptr); +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());} +}; + + + + + +class PythonQtShell_QMediaBindableInterface : public QMediaBindableInterface +{ +public: + PythonQtShell_QMediaBindableInterface():QMediaBindableInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaBindableInterface() override; + +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaBindableInterface : public QMediaBindableInterface +{ public: +inline bool promoted_setMediaObject(QMediaObject* object) { return this->setMediaObject(object); } +inline QMediaObject* py_q_mediaObject() const { return this->mediaObject(); } +inline bool py_q_setMediaObject(QMediaObject* object) { return this->setMediaObject(object); } +}; + +class PythonQtWrapper_QMediaBindableInterface : public QObject +{ Q_OBJECT +public: +public slots: +QMediaBindableInterface* new_QMediaBindableInterface(); +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); + bool py_q_setMediaObject(QMediaBindableInterface* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QMediaBindableInterface*)theWrappedObject)->py_q_setMediaObject(object));} +}; + + + + + +class PythonQtShell_QMediaContainerControl : public QMediaContainerControl +{ +public: + PythonQtShell_QMediaContainerControl(QObject* parent = nullptr):QMediaContainerControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaContainerControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaContainerControl : public QMediaContainerControl +{ public: +inline QString py_q_containerDescription(const QString& formatMimeType) const { return this->containerDescription(formatMimeType); } +inline QString py_q_containerFormat() const { return this->containerFormat(); } +inline void py_q_setContainerFormat(const QString& format) { this->setContainerFormat(format); } +inline QStringList py_q_supportedContainers() const { return this->supportedContainers(); } +}; + +class PythonQtWrapper_QMediaContainerControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaContainerControl* new_QMediaContainerControl(QObject* parent = nullptr); +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; + QString py_q_containerFormat(QMediaContainerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaContainerControl*)theWrappedObject)->py_q_containerFormat());} + void setContainerFormat(QMediaContainerControl* theWrappedObject, const QString& format); + void py_q_setContainerFormat(QMediaContainerControl* theWrappedObject, const QString& format){ (((PythonQtPublicPromoter_QMediaContainerControl*)theWrappedObject)->py_q_setContainerFormat(format));} + QStringList supportedContainers(QMediaContainerControl* theWrappedObject) const; + QStringList py_q_supportedContainers(QMediaContainerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaContainerControl*)theWrappedObject)->py_q_supportedContainers());} +}; + + + + + +class PythonQtWrapper_QMediaContent : public QObject +{ Q_OBJECT +public: +public slots: +QMediaContent* new_QMediaContent(); +QMediaContent* new_QMediaContent(QMediaPlaylist* playlist, const QUrl& contentUrl = QUrl(), bool takeOwnership = false); +QMediaContent* new_QMediaContent(const QList& resources); +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; } + QNetworkRequest canonicalRequest(QMediaContent* theWrappedObject) const; + QMediaResource canonicalResource(QMediaContent* theWrappedObject) const; + QUrl canonicalUrl(QMediaContent* theWrappedObject) const; + bool isNull(QMediaContent* theWrappedObject) const; + bool __ne__(QMediaContent* theWrappedObject, const QMediaContent& other) const; + QMediaContent* operator_assign(QMediaContent* theWrappedObject, const QMediaContent& other); + bool __eq__(QMediaContent* theWrappedObject, const QMediaContent& other) const; + QMediaPlaylist* playlist(QMediaContent* theWrappedObject) const; + QNetworkRequest request(QMediaContent* theWrappedObject) const; + QList resources(QMediaContent* theWrappedObject) const; + bool __nonzero__(QMediaContent* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QMediaControl : public QMediaControl +{ +public: + PythonQtShell_QMediaControl(QObject* parent = nullptr):QMediaControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaControl() 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_QMediaControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaControl* new_QMediaControl(QObject* parent = nullptr); +void delete_QMediaControl(QMediaControl* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl +{ +public: + PythonQtShell_QMediaGaplessPlaybackControl(QObject* parent = nullptr):QMediaGaplessPlaybackControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaGaplessPlaybackControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl +{ public: +inline qreal py_q_crossfadeTime() const { return this->crossfadeTime(); } +inline bool py_q_isCrossfadeSupported() const { return this->isCrossfadeSupported(); } +inline QMediaContent py_q_nextMedia() const { return this->nextMedia(); } +inline void py_q_setCrossfadeTime(qreal crossfadeTime) { this->setCrossfadeTime(crossfadeTime); } +inline void py_q_setNextMedia(const QMediaContent& media) { this->setNextMedia(media); } +}; + +class PythonQtWrapper_QMediaGaplessPlaybackControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaGaplessPlaybackControl* new_QMediaGaplessPlaybackControl(QObject* parent = nullptr); +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; + bool py_q_isCrossfadeSupported(QMediaGaplessPlaybackControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaGaplessPlaybackControl*)theWrappedObject)->py_q_isCrossfadeSupported());} + QMediaContent nextMedia(QMediaGaplessPlaybackControl* theWrappedObject) const; + QMediaContent py_q_nextMedia(QMediaGaplessPlaybackControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaGaplessPlaybackControl*)theWrappedObject)->py_q_nextMedia());} + void setCrossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject, qreal crossfadeTime); + void py_q_setCrossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject, qreal crossfadeTime){ (((PythonQtPublicPromoter_QMediaGaplessPlaybackControl*)theWrappedObject)->py_q_setCrossfadeTime(crossfadeTime));} + void setNextMedia(QMediaGaplessPlaybackControl* theWrappedObject, const QMediaContent& media); + void py_q_setNextMedia(QMediaGaplessPlaybackControl* theWrappedObject, const QMediaContent& media){ (((PythonQtPublicPromoter_QMediaGaplessPlaybackControl*)theWrappedObject)->py_q_setNextMedia(media));} +}; + + + + + +class PythonQtShell_QMediaNetworkAccessControl : public QMediaNetworkAccessControl +{ +public: + PythonQtShell_QMediaNetworkAccessControl(QObject* parent = nullptr):QMediaNetworkAccessControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaNetworkAccessControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaNetworkAccessControl : public QMediaNetworkAccessControl +{ public: +inline QNetworkConfiguration py_q_currentConfiguration() const { return this->currentConfiguration(); } +inline void py_q_setConfigurations(const QList& configuration) { this->setConfigurations(configuration); } +}; + +class PythonQtWrapper_QMediaNetworkAccessControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaNetworkAccessControl* new_QMediaNetworkAccessControl(QObject* parent = nullptr); +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); + void py_q_setConfigurations(QMediaNetworkAccessControl* theWrappedObject, const QList& configuration){ (((PythonQtPublicPromoter_QMediaNetworkAccessControl*)theWrappedObject)->py_q_setConfigurations(configuration));} +}; + + + + + +class PythonQtShell_QMediaObject : public QMediaObject +{ +public: + PythonQtShell_QMediaObject(QObject* parent, QMediaService* service):QMediaObject(parent, service),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaObject() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaObject : public QMediaObject +{ public: +inline void promoted_addPropertyWatch(const QByteArray& name) { this->addPropertyWatch(name); } +inline void promoted_removePropertyWatch(const QByteArray& name) { this->removePropertyWatch(name); } +inline QMultimedia::AvailabilityStatus py_q_availability() const { return QMediaObject::availability(); } +inline bool py_q_bind(QObject* arg__1) { return QMediaObject::bind(arg__1); } +inline bool py_q_isAvailable() const { return QMediaObject::isAvailable(); } +inline QMediaService* py_q_service() const { return QMediaObject::service(); } +inline void py_q_unbind(QObject* arg__1) { QMediaObject::unbind(arg__1); } +}; + +class PythonQtWrapper_QMediaObject : public QObject +{ Q_OBJECT +public: +public slots: +QMediaObject* new_QMediaObject(QObject* parent, QMediaService* service); +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());} + QStringList availableMetaData(QMediaObject* theWrappedObject) const; + bool bind(QMediaObject* theWrappedObject, QObject* arg__1); + bool py_q_bind(QMediaObject* theWrappedObject, QObject* arg__1){ return (((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->py_q_bind(arg__1));} + bool isAvailable(QMediaObject* theWrappedObject) const; + bool py_q_isAvailable(QMediaObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->py_q_isAvailable());} + bool isMetaDataAvailable(QMediaObject* theWrappedObject) const; + QVariant metaData(QMediaObject* theWrappedObject, const QString& key) const; + int notifyInterval(QMediaObject* theWrappedObject) const; + void removePropertyWatch(QMediaObject* theWrappedObject, const QByteArray& name); + QMediaService* service(QMediaObject* theWrappedObject) const; + QMediaService* py_q_service(QMediaObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->py_q_service());} + void setNotifyInterval(QMediaObject* theWrappedObject, int milliSeconds); + void unbind(QMediaObject* theWrappedObject, QObject* arg__1); + void py_q_unbind(QMediaObject* theWrappedObject, QObject* arg__1){ (((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->py_q_unbind(arg__1));} +}; + + + + + +class PythonQtShell_QMediaPlayer : public QMediaPlayer +{ +public: + PythonQtShell_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()):QMediaPlayer(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaPlayer() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaPlayer : public QMediaPlayer +{ public: +inline QMultimedia::AvailabilityStatus py_q_availability() const { return QMediaPlayer::availability(); } +inline bool py_q_bind(QObject* arg__1) { return QMediaPlayer::bind(arg__1); } +inline void py_q_unbind(QObject* arg__1) { QMediaPlayer::unbind(arg__1); } +}; + +class PythonQtWrapper_QMediaPlayer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Flag ) +Q_FLAGS(Flags ) +enum Flag{ + LowLatency = QMediaPlayer::LowLatency, StreamPlayback = QMediaPlayer::StreamPlayback, VideoSurface = QMediaPlayer::VideoSurface}; +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; } + 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));} + int bufferStatus(QMediaPlayer* theWrappedObject) const; + QMediaContent currentMedia(QMediaPlayer* theWrappedObject) const; + QNetworkConfiguration currentNetworkConfiguration(QMediaPlayer* theWrappedObject) const; + QString customAudioRole(QMediaPlayer* theWrappedObject) const; + qint64 duration(QMediaPlayer* theWrappedObject) const; + QMediaPlayer::Error error(QMediaPlayer* theWrappedObject) const; + QString errorString(QMediaPlayer* theWrappedObject) const; + QMultimedia::SupportEstimate static_QMediaPlayer_hasSupport(const QString& mimeType, const QStringList& codecs = QStringList(), QMediaPlayer::Flags flags = QMediaPlayer::Flags()); + bool isAudioAvailable(QMediaPlayer* theWrappedObject) const; + bool isMuted(QMediaPlayer* theWrappedObject) const; + bool isSeekable(QMediaPlayer* theWrappedObject) const; + bool isVideoAvailable(QMediaPlayer* theWrappedObject) const; + QMediaContent media(QMediaPlayer* theWrappedObject) const; + QMediaPlayer::MediaStatus mediaStatus(QMediaPlayer* theWrappedObject) const; + const QIODevice* mediaStream(QMediaPlayer* theWrappedObject) const; + qreal playbackRate(QMediaPlayer* theWrappedObject) const; + QMediaPlaylist* playlist(QMediaPlayer* theWrappedObject) const; + qint64 position(QMediaPlayer* theWrappedObject) const; + void setAudioRole(QMediaPlayer* theWrappedObject, QAudio::Role audioRole); + void setCustomAudioRole(QMediaPlayer* theWrappedObject, const QString& audioRole); + void setVideoOutput(QMediaPlayer* theWrappedObject, QAbstractVideoSurface* surface); + void setVideoOutput(QMediaPlayer* theWrappedObject, QGraphicsVideoItem* arg__1); + void setVideoOutput(QMediaPlayer* theWrappedObject, QVideoWidget* arg__1); + void setVideoOutput(QMediaPlayer* theWrappedObject, const QVector& surfaces); + QMediaPlayer::State state(QMediaPlayer* theWrappedObject) const; + QList supportedAudioRoles(QMediaPlayer* theWrappedObject) const; + QStringList supportedCustomAudioRoles(QMediaPlayer* theWrappedObject) const; + QStringList static_QMediaPlayer_supportedMimeTypes(QMediaPlayer::Flags flags = QMediaPlayer::Flags()); + void py_q_unbind(QMediaPlayer* theWrappedObject, QObject* arg__1){ (((PythonQtPublicPromoter_QMediaPlayer*)theWrappedObject)->py_q_unbind(arg__1));} + int volume(QMediaPlayer* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMediaPlayerControl : public QMediaPlayerControl +{ +public: + 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 +{ public: +inline QMediaTimeRange py_q_availablePlaybackRanges() const { return this->availablePlaybackRanges(); } +inline int py_q_bufferStatus() const { return this->bufferStatus(); } +inline qint64 py_q_duration() const { return this->duration(); } +inline bool py_q_isAudioAvailable() const { return this->isAudioAvailable(); } +inline bool py_q_isMuted() const { return this->isMuted(); } +inline bool py_q_isSeekable() const { return this->isSeekable(); } +inline bool py_q_isVideoAvailable() const { return this->isVideoAvailable(); } +inline QMediaContent py_q_media() const { return this->media(); } +inline QMediaPlayer::MediaStatus py_q_mediaStatus() const { return this->mediaStatus(); } +inline const QIODevice* py_q_mediaStream() const { return this->mediaStream(); } +inline void py_q_pause() { this->pause(); } +inline void py_q_play() { this->play(); } +inline qreal py_q_playbackRate() const { return this->playbackRate(); } +inline qint64 py_q_position() const { return this->position(); } +inline void py_q_setMedia(const QMediaContent& media, QIODevice* stream) { this->setMedia(media, stream); } +inline void py_q_setMuted(bool mute) { this->setMuted(mute); } +inline void py_q_setPlaybackRate(qreal rate) { this->setPlaybackRate(rate); } +inline void py_q_setPosition(qint64 position) { this->setPosition(position); } +inline void py_q_setVolume(int volume) { this->setVolume(volume); } +inline QMediaPlayer::State py_q_state() const { return this->state(); } +inline void py_q_stop() { this->stop(); } +inline int py_q_volume() const { return this->volume(); } +}; + +class PythonQtWrapper_QMediaPlayerControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaPlayerControl* new_QMediaPlayerControl(QObject* parent = nullptr); +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; + int py_q_bufferStatus(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_bufferStatus());} + qint64 duration(QMediaPlayerControl* theWrappedObject) const; + qint64 py_q_duration(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_duration());} + bool isAudioAvailable(QMediaPlayerControl* theWrappedObject) const; + bool py_q_isAudioAvailable(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_isAudioAvailable());} + bool isMuted(QMediaPlayerControl* theWrappedObject) const; + bool py_q_isMuted(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_isMuted());} + bool isSeekable(QMediaPlayerControl* theWrappedObject) const; + bool py_q_isSeekable(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_isSeekable());} + bool isVideoAvailable(QMediaPlayerControl* theWrappedObject) const; + bool py_q_isVideoAvailable(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_isVideoAvailable());} + QMediaContent media(QMediaPlayerControl* theWrappedObject) const; + QMediaContent py_q_media(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_media());} + QMediaPlayer::MediaStatus mediaStatus(QMediaPlayerControl* theWrappedObject) const; + QMediaPlayer::MediaStatus py_q_mediaStatus(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_mediaStatus());} + const QIODevice* mediaStream(QMediaPlayerControl* theWrappedObject) const; + const QIODevice* py_q_mediaStream(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_mediaStream());} + void pause(QMediaPlayerControl* theWrappedObject); + void py_q_pause(QMediaPlayerControl* theWrappedObject){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_pause());} + void play(QMediaPlayerControl* theWrappedObject); + void py_q_play(QMediaPlayerControl* theWrappedObject){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_play());} + qreal playbackRate(QMediaPlayerControl* theWrappedObject) const; + qreal py_q_playbackRate(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_playbackRate());} + qint64 position(QMediaPlayerControl* theWrappedObject) const; + qint64 py_q_position(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_position());} + void setMedia(QMediaPlayerControl* theWrappedObject, const QMediaContent& media, QIODevice* stream); + void py_q_setMedia(QMediaPlayerControl* theWrappedObject, const QMediaContent& media, QIODevice* stream){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_setMedia(media, stream));} + void setMuted(QMediaPlayerControl* theWrappedObject, bool mute); + void py_q_setMuted(QMediaPlayerControl* theWrappedObject, bool mute){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_setMuted(mute));} + void setPlaybackRate(QMediaPlayerControl* theWrappedObject, qreal rate); + void py_q_setPlaybackRate(QMediaPlayerControl* theWrappedObject, qreal rate){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_setPlaybackRate(rate));} + void setPosition(QMediaPlayerControl* theWrappedObject, qint64 position); + void py_q_setPosition(QMediaPlayerControl* theWrappedObject, qint64 position){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_setPosition(position));} + void setVolume(QMediaPlayerControl* theWrappedObject, int volume); + void py_q_setVolume(QMediaPlayerControl* theWrappedObject, int volume){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_setVolume(volume));} + QMediaPlayer::State state(QMediaPlayerControl* theWrappedObject) const; + QMediaPlayer::State py_q_state(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_state());} + void stop(QMediaPlayerControl* theWrappedObject); + void py_q_stop(QMediaPlayerControl* theWrappedObject){ (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_stop());} + int volume(QMediaPlayerControl* theWrappedObject) const; + int py_q_volume(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_volume());} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp new file mode 100644 index 00000000..eb14251a --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp @@ -0,0 +1,7300 @@ +#include "com_trolltech_qt_multimedia2.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QMediaPlaylist::~PythonQtShell_QMediaPlaylist() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaPlaylist::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(); + } + } +} + QMediaPlaylist::childEvent(event0); +} +void PythonQtShell_QMediaPlaylist::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(); + } + } +} + QMediaPlaylist::customEvent(event0); +} +bool PythonQtShell_QMediaPlaylist::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 QMediaPlaylist::event(event0); +} +bool PythonQtShell_QMediaPlaylist::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 QMediaPlaylist::eventFilter(watched0, event1); +} +QMediaObject* PythonQtShell_QMediaPlaylist::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 QMediaPlaylist::mediaObject(); +} +bool PythonQtShell_QMediaPlaylist::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 QMediaPlaylist::setMediaObject(object0); +} +void PythonQtShell_QMediaPlaylist::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(); + } + } +} + QMediaPlaylist::timerEvent(event0); +} +QMediaPlaylist* PythonQtWrapper_QMediaPlaylist::new_QMediaPlaylist(QObject* parent) +{ +return new PythonQtShell_QMediaPlaylist(parent); } + +const QMetaObject* PythonQtShell_QMediaPlaylist::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaPlaylist::staticMetaObject); + } else { + return &QMediaPlaylist::staticMetaObject; + } +} +int PythonQtShell_QMediaPlaylist::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaPlaylist::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QMediaPlaylist::addMedia(QMediaPlaylist* theWrappedObject, const QList& items) +{ + return ( theWrappedObject->addMedia(items)); +} + +bool PythonQtWrapper_QMediaPlaylist::addMedia(QMediaPlaylist* theWrappedObject, const QMediaContent& content) +{ + return ( theWrappedObject->addMedia(content)); +} + +bool PythonQtWrapper_QMediaPlaylist::clear(QMediaPlaylist* theWrappedObject) +{ + return ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QMediaPlaylist::currentIndex(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QMediaContent PythonQtWrapper_QMediaPlaylist::currentMedia(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->currentMedia()); +} + +QMediaPlaylist::Error PythonQtWrapper_QMediaPlaylist::error(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QMediaPlaylist::errorString(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QMediaPlaylist::insertMedia(QMediaPlaylist* theWrappedObject, int index, const QList& items) +{ + return ( theWrappedObject->insertMedia(index, items)); +} + +bool PythonQtWrapper_QMediaPlaylist::insertMedia(QMediaPlaylist* theWrappedObject, int index, const QMediaContent& content) +{ + return ( theWrappedObject->insertMedia(index, content)); +} + +bool PythonQtWrapper_QMediaPlaylist::isEmpty(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QMediaPlaylist::isReadOnly(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +void PythonQtWrapper_QMediaPlaylist::load(QMediaPlaylist* theWrappedObject, QIODevice* device, const char* format) +{ + ( theWrappedObject->load(device, format)); +} + +void PythonQtWrapper_QMediaPlaylist::load(QMediaPlaylist* theWrappedObject, const QNetworkRequest& request, const char* format) +{ + ( theWrappedObject->load(request, format)); +} + +void PythonQtWrapper_QMediaPlaylist::load(QMediaPlaylist* theWrappedObject, const QUrl& location, const char* format) +{ + ( theWrappedObject->load(location, format)); +} + +QMediaContent PythonQtWrapper_QMediaPlaylist::media(QMediaPlaylist* theWrappedObject, int index) const +{ + return ( theWrappedObject->media(index)); +} + +int PythonQtWrapper_QMediaPlaylist::mediaCount(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->mediaCount()); +} + +bool PythonQtWrapper_QMediaPlaylist::moveMedia(QMediaPlaylist* theWrappedObject, int from, int to) +{ + return ( theWrappedObject->moveMedia(from, to)); +} + +int PythonQtWrapper_QMediaPlaylist::nextIndex(QMediaPlaylist* theWrappedObject, int steps) const +{ + return ( theWrappedObject->nextIndex(steps)); +} + +QMediaPlaylist::PlaybackMode PythonQtWrapper_QMediaPlaylist::playbackMode(QMediaPlaylist* theWrappedObject) const +{ + return ( theWrappedObject->playbackMode()); +} + +int PythonQtWrapper_QMediaPlaylist::previousIndex(QMediaPlaylist* theWrappedObject, int steps) const +{ + return ( theWrappedObject->previousIndex(steps)); +} + +bool PythonQtWrapper_QMediaPlaylist::removeMedia(QMediaPlaylist* theWrappedObject, int pos) +{ + return ( theWrappedObject->removeMedia(pos)); +} + +bool PythonQtWrapper_QMediaPlaylist::removeMedia(QMediaPlaylist* theWrappedObject, int start, int end) +{ + return ( theWrappedObject->removeMedia(start, end)); +} + +bool PythonQtWrapper_QMediaPlaylist::save(QMediaPlaylist* theWrappedObject, QIODevice* device, const char* format) +{ + return ( theWrappedObject->save(device, format)); +} + +bool PythonQtWrapper_QMediaPlaylist::save(QMediaPlaylist* theWrappedObject, const QUrl& location, const char* format) +{ + return ( theWrappedObject->save(location, format)); +} + +void PythonQtWrapper_QMediaPlaylist::setPlaybackMode(QMediaPlaylist* theWrappedObject, QMediaPlaylist::PlaybackMode mode) +{ + ( theWrappedObject->setPlaybackMode(mode)); +} + + + +PythonQtShell_QMediaRecorder::~PythonQtShell_QMediaRecorder() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaRecorder::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(); + } + } +} + QMediaRecorder::childEvent(event0); +} +void PythonQtShell_QMediaRecorder::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(); + } + } +} + QMediaRecorder::customEvent(event0); +} +bool PythonQtShell_QMediaRecorder::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 QMediaRecorder::event(event0); +} +bool PythonQtShell_QMediaRecorder::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 QMediaRecorder::eventFilter(watched0, event1); +} +QMediaObject* PythonQtShell_QMediaRecorder::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 QMediaRecorder::mediaObject(); +} +bool PythonQtShell_QMediaRecorder::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 QMediaRecorder::setMediaObject(object0); +} +void PythonQtShell_QMediaRecorder::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(); + } + } +} + QMediaRecorder::timerEvent(event0); +} +QMediaRecorder* PythonQtWrapper_QMediaRecorder::new_QMediaRecorder(QMediaObject* mediaObject, QObject* parent) +{ +return new PythonQtShell_QMediaRecorder(mediaObject, parent); } + +const QMetaObject* PythonQtShell_QMediaRecorder::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaRecorder::staticMetaObject); + } else { + return &QMediaRecorder::staticMetaObject; + } +} +int PythonQtShell_QMediaRecorder::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaRecorder::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUrl PythonQtWrapper_QMediaRecorder::actualLocation(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->actualLocation()); +} + +QString PythonQtWrapper_QMediaRecorder::audioCodecDescription(QMediaRecorder* theWrappedObject, const QString& codecName) const +{ + return ( theWrappedObject->audioCodecDescription(codecName)); +} + +QAudioEncoderSettings PythonQtWrapper_QMediaRecorder::audioSettings(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->audioSettings()); +} + +QMultimedia::AvailabilityStatus PythonQtWrapper_QMediaRecorder::availability(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->availability()); +} + +QStringList PythonQtWrapper_QMediaRecorder::availableMetaData(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->availableMetaData()); +} + +QString PythonQtWrapper_QMediaRecorder::containerDescription(QMediaRecorder* theWrappedObject, const QString& format) const +{ + return ( theWrappedObject->containerDescription(format)); +} + +QString PythonQtWrapper_QMediaRecorder::containerFormat(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->containerFormat()); +} + +qint64 PythonQtWrapper_QMediaRecorder::duration(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +QMediaRecorder::Error PythonQtWrapper_QMediaRecorder::error(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QMediaRecorder::errorString(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QMediaRecorder::isAvailable(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->isAvailable()); +} + +bool PythonQtWrapper_QMediaRecorder::isMetaDataAvailable(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->isMetaDataAvailable()); +} + +bool PythonQtWrapper_QMediaRecorder::isMetaDataWritable(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->isMetaDataWritable()); +} + +bool PythonQtWrapper_QMediaRecorder::isMuted(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->isMuted()); +} + +QVariant PythonQtWrapper_QMediaRecorder::metaData(QMediaRecorder* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->metaData(key)); +} + +QUrl PythonQtWrapper_QMediaRecorder::outputLocation(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->outputLocation()); +} + +void PythonQtWrapper_QMediaRecorder::setAudioSettings(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& audioSettings) +{ + ( theWrappedObject->setAudioSettings(audioSettings)); +} + +void PythonQtWrapper_QMediaRecorder::setContainerFormat(QMediaRecorder* theWrappedObject, const QString& container) +{ + ( theWrappedObject->setContainerFormat(container)); +} + +void PythonQtWrapper_QMediaRecorder::setEncodingSettings(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& audioSettings, const QVideoEncoderSettings& videoSettings, const QString& containerMimeType) +{ + ( theWrappedObject->setEncodingSettings(audioSettings, videoSettings, containerMimeType)); +} + +void PythonQtWrapper_QMediaRecorder::setMetaData(QMediaRecorder* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->setMetaData(key, value)); +} + +bool PythonQtWrapper_QMediaRecorder::setOutputLocation(QMediaRecorder* theWrappedObject, const QUrl& location) +{ + return ( theWrappedObject->setOutputLocation(location)); +} + +void PythonQtWrapper_QMediaRecorder::setVideoSettings(QMediaRecorder* theWrappedObject, const QVideoEncoderSettings& videoSettings) +{ + ( theWrappedObject->setVideoSettings(videoSettings)); +} + +QMediaRecorder::State PythonQtWrapper_QMediaRecorder::state(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QMediaRecorder::Status PythonQtWrapper_QMediaRecorder::status(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +QStringList PythonQtWrapper_QMediaRecorder::supportedAudioCodecs(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->supportedAudioCodecs()); +} + +QList PythonQtWrapper_QMediaRecorder::supportedAudioSampleRates(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedAudioSampleRates(settings, continuous)); +} + +QStringList PythonQtWrapper_QMediaRecorder::supportedContainers(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->supportedContainers()); +} + +QList PythonQtWrapper_QMediaRecorder::supportedFrameRates(QMediaRecorder* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedFrameRates(settings, continuous)); +} + +QList PythonQtWrapper_QMediaRecorder::supportedResolutions(QMediaRecorder* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedResolutions(settings, continuous)); +} + +QStringList PythonQtWrapper_QMediaRecorder::supportedVideoCodecs(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->supportedVideoCodecs()); +} + +QString PythonQtWrapper_QMediaRecorder::videoCodecDescription(QMediaRecorder* theWrappedObject, const QString& codecName) const +{ + return ( theWrappedObject->videoCodecDescription(codecName)); +} + +QVideoEncoderSettings PythonQtWrapper_QMediaRecorder::videoSettings(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->videoSettings()); +} + +qreal PythonQtWrapper_QMediaRecorder::volume(QMediaRecorder* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QMediaRecorderControl::~PythonQtShell_QMediaRecorderControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaRecorderControl::applySettings() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("applySettings"); + 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(); + } + } +} + +} +void PythonQtShell_QMediaRecorderControl::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(); + } + } +} + QMediaRecorderControl::childEvent(event0); +} +void PythonQtShell_QMediaRecorderControl::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(); + } + } +} + QMediaRecorderControl::customEvent(event0); +} +qint64 PythonQtShell_QMediaRecorderControl::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +bool PythonQtShell_QMediaRecorderControl::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 QMediaRecorderControl::event(event0); +} +bool PythonQtShell_QMediaRecorderControl::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 QMediaRecorderControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QMediaRecorderControl::isMuted() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isMuted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QUrl PythonQtShell_QMediaRecorderControl::outputLocation() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("outputLocation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("outputLocation", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +void PythonQtShell_QMediaRecorderControl::setMuted(bool muted0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMuted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&muted0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +bool PythonQtShell_QMediaRecorderControl::setOutputLocation(const QUrl& location0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setOutputLocation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setOutputLocation", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QMediaRecorderControl::setState(QMediaRecorder::State state0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMediaRecorder::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMediaRecorderControl::setVolume(qreal volume0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVolume"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&volume0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QMediaRecorder::State PythonQtShell_QMediaRecorderControl::state() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("state"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaRecorder::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QMediaRecorder::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaRecorder::State(); +} +QMediaRecorder::Status PythonQtShell_QMediaRecorderControl::status() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("status"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaRecorder::Status"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); + } else { + returnValue = *((QMediaRecorder::Status*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaRecorder::Status(); +} +void PythonQtShell_QMediaRecorderControl::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(); + } + } +} + QMediaRecorderControl::timerEvent(event0); +} +qreal PythonQtShell_QMediaRecorderControl::volume() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("volume"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +QMediaRecorderControl* PythonQtWrapper_QMediaRecorderControl::new_QMediaRecorderControl(QObject* parent) +{ +return new PythonQtShell_QMediaRecorderControl(parent); } + +const QMetaObject* PythonQtShell_QMediaRecorderControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaRecorderControl::staticMetaObject); + } else { + return &QMediaRecorderControl::staticMetaObject; + } +} +int PythonQtShell_QMediaRecorderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaRecorderControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMediaRecorderControl::applySettings(QMediaRecorderControl* theWrappedObject) +{ + ( theWrappedObject->applySettings()); +} + +qint64 PythonQtWrapper_QMediaRecorderControl::duration(QMediaRecorderControl* theWrappedObject) const +{ + return ( theWrappedObject->duration()); +} + +bool PythonQtWrapper_QMediaRecorderControl::isMuted(QMediaRecorderControl* theWrappedObject) const +{ + return ( theWrappedObject->isMuted()); +} + +QUrl PythonQtWrapper_QMediaRecorderControl::outputLocation(QMediaRecorderControl* theWrappedObject) const +{ + return ( theWrappedObject->outputLocation()); +} + +bool PythonQtWrapper_QMediaRecorderControl::setOutputLocation(QMediaRecorderControl* theWrappedObject, const QUrl& location) +{ + return ( theWrappedObject->setOutputLocation(location)); +} + +QMediaRecorder::State PythonQtWrapper_QMediaRecorderControl::state(QMediaRecorderControl* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QMediaRecorder::Status PythonQtWrapper_QMediaRecorderControl::status(QMediaRecorderControl* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +qreal PythonQtWrapper_QMediaRecorderControl::volume(QMediaRecorderControl* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +QMediaResource* PythonQtWrapper_QMediaResource::new_QMediaResource() +{ +return new QMediaResource(); } + +QMediaResource* PythonQtWrapper_QMediaResource::new_QMediaResource(const QMediaResource& other) +{ +return new QMediaResource(other); } + +QMediaResource* PythonQtWrapper_QMediaResource::new_QMediaResource(const QNetworkRequest& request, const QString& mimeType) +{ +return new QMediaResource(request, mimeType); } + +QMediaResource* PythonQtWrapper_QMediaResource::new_QMediaResource(const QUrl& url, const QString& mimeType) +{ +return new QMediaResource(url, mimeType); } + +int PythonQtWrapper_QMediaResource::audioBitRate(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->audioBitRate()); +} + +QString PythonQtWrapper_QMediaResource::audioCodec(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->audioCodec()); +} + +int PythonQtWrapper_QMediaResource::channelCount(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->channelCount()); +} + +qint64 PythonQtWrapper_QMediaResource::dataSize(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->dataSize()); +} + +bool PythonQtWrapper_QMediaResource::isNull(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QMediaResource::language(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->language()); +} + +QString PythonQtWrapper_QMediaResource::mimeType(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->mimeType()); +} + +bool PythonQtWrapper_QMediaResource::__ne__(QMediaResource* theWrappedObject, const QMediaResource& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QMediaResource* PythonQtWrapper_QMediaResource::operator_assign(QMediaResource* theWrappedObject, const QMediaResource& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QMediaResource::__eq__(QMediaResource* theWrappedObject, const QMediaResource& other) const +{ + return ( (*theWrappedObject)== other); +} + +QNetworkRequest PythonQtWrapper_QMediaResource::request(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->request()); +} + +QSize PythonQtWrapper_QMediaResource::resolution(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +int PythonQtWrapper_QMediaResource::sampleRate(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->sampleRate()); +} + +void PythonQtWrapper_QMediaResource::setAudioBitRate(QMediaResource* theWrappedObject, int rate) +{ + ( theWrappedObject->setAudioBitRate(rate)); +} + +void PythonQtWrapper_QMediaResource::setAudioCodec(QMediaResource* theWrappedObject, const QString& codec) +{ + ( theWrappedObject->setAudioCodec(codec)); +} + +void PythonQtWrapper_QMediaResource::setChannelCount(QMediaResource* theWrappedObject, int channels) +{ + ( theWrappedObject->setChannelCount(channels)); +} + +void PythonQtWrapper_QMediaResource::setDataSize(QMediaResource* theWrappedObject, const qint64 size) +{ + ( theWrappedObject->setDataSize(size)); +} + +void PythonQtWrapper_QMediaResource::setLanguage(QMediaResource* theWrappedObject, const QString& language) +{ + ( theWrappedObject->setLanguage(language)); +} + +void PythonQtWrapper_QMediaResource::setResolution(QMediaResource* theWrappedObject, const QSize& resolution) +{ + ( theWrappedObject->setResolution(resolution)); +} + +void PythonQtWrapper_QMediaResource::setResolution(QMediaResource* theWrappedObject, int width, int height) +{ + ( theWrappedObject->setResolution(width, height)); +} + +void PythonQtWrapper_QMediaResource::setSampleRate(QMediaResource* theWrappedObject, int frequency) +{ + ( theWrappedObject->setSampleRate(frequency)); +} + +void PythonQtWrapper_QMediaResource::setVideoBitRate(QMediaResource* theWrappedObject, int rate) +{ + ( theWrappedObject->setVideoBitRate(rate)); +} + +void PythonQtWrapper_QMediaResource::setVideoCodec(QMediaResource* theWrappedObject, const QString& codec) +{ + ( theWrappedObject->setVideoCodec(codec)); +} + +QUrl PythonQtWrapper_QMediaResource::url(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +int PythonQtWrapper_QMediaResource::videoBitRate(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->videoBitRate()); +} + +QString PythonQtWrapper_QMediaResource::videoCodec(QMediaResource* theWrappedObject) const +{ + return ( theWrappedObject->videoCodec()); +} + + + +PythonQtShell_QMediaService::~PythonQtShell_QMediaService() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaService::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(); + } + } +} + QMediaService::childEvent(event0); +} +void PythonQtShell_QMediaService::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(); + } + } +} + QMediaService::customEvent(event0); +} +bool PythonQtShell_QMediaService::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 QMediaService::event(event0); +} +bool PythonQtShell_QMediaService::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 QMediaService::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMediaControl*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&control0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QMediaControl* PythonQtShell_QMediaService::requestControl(const char* name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("requestControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaControl*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("requestControl", methodInfo, result); + } else { + returnValue = *((QMediaControl**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QMediaService::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(); + } + } +} + QMediaService::timerEvent(event0); +} +QMediaService* PythonQtWrapper_QMediaService::new_QMediaService(QObject* parent) +{ +return new PythonQtShell_QMediaService(parent); } + +const QMetaObject* PythonQtShell_QMediaService::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaService::staticMetaObject); + } else { + return &QMediaService::staticMetaObject; + } +} +int PythonQtShell_QMediaService::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaService::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMediaService::releaseControl(QMediaService* theWrappedObject, QMediaControl* control) +{ + ( theWrappedObject->releaseControl(control)); +} + +QMediaControl* PythonQtWrapper_QMediaService::requestControl(QMediaService* theWrappedObject, const char* name) +{ + return ( theWrappedObject->requestControl(name)); +} + + + +PythonQtShell_QMediaServiceCameraInfoInterface::~PythonQtShell_QMediaServiceCameraInfoInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QMediaServiceCameraInfoInterface::cameraOrientation(const QByteArray& device0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cameraOrientation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QCamera::Position PythonQtShell_QMediaServiceCameraInfoInterface::cameraPosition(const QByteArray& device0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cameraPosition"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCamera::Position" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); + } else { + returnValue = *((QCamera::Position*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::Position(); +} +QMediaServiceCameraInfoInterface* PythonQtWrapper_QMediaServiceCameraInfoInterface::new_QMediaServiceCameraInfoInterface() +{ +return new PythonQtShell_QMediaServiceCameraInfoInterface(); } + +int PythonQtWrapper_QMediaServiceCameraInfoInterface::cameraOrientation(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const +{ + return ( theWrappedObject->cameraOrientation(device)); +} + +QCamera::Position PythonQtWrapper_QMediaServiceCameraInfoInterface::cameraPosition(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const +{ + return ( theWrappedObject->cameraPosition(device)); +} + + + +PythonQtShell_QMediaServiceDefaultDeviceInterface::~PythonQtShell_QMediaServiceDefaultDeviceInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QByteArray PythonQtShell_QMediaServiceDefaultDeviceInterface::defaultDevice(const QByteArray& service0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("defaultDevice"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QByteArray" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("defaultDevice", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QByteArray(); +} +QMediaServiceDefaultDeviceInterface* PythonQtWrapper_QMediaServiceDefaultDeviceInterface::new_QMediaServiceDefaultDeviceInterface() +{ +return new PythonQtShell_QMediaServiceDefaultDeviceInterface(); } + +QByteArray PythonQtWrapper_QMediaServiceDefaultDeviceInterface::defaultDevice(QMediaServiceDefaultDeviceInterface* theWrappedObject, const QByteArray& service) const +{ + return ( theWrappedObject->defaultDevice(service)); +} + + + +PythonQtShell_QMediaServiceProviderFactoryInterface::~PythonQtShell_QMediaServiceProviderFactoryInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMediaService* PythonQtShell_QMediaServiceProviderFactoryInterface::create(const QString& key0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaService*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QMediaService**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QMediaServiceProviderFactoryInterface::release(QMediaService* service0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("release"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMediaService*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&service0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QMediaServiceProviderFactoryInterface* PythonQtWrapper_QMediaServiceProviderFactoryInterface::new_QMediaServiceProviderFactoryInterface() +{ +return new PythonQtShell_QMediaServiceProviderFactoryInterface(); } + +QMediaService* PythonQtWrapper_QMediaServiceProviderFactoryInterface::create(QMediaServiceProviderFactoryInterface* theWrappedObject, const QString& key) +{ + return ( theWrappedObject->create(key)); +} + +void PythonQtWrapper_QMediaServiceProviderFactoryInterface::release(QMediaServiceProviderFactoryInterface* theWrappedObject, QMediaService* service) +{ + ( theWrappedObject->release(service)); +} + + + +QMediaServiceProviderHint* PythonQtWrapper_QMediaServiceProviderHint::new_QMediaServiceProviderHint() +{ +return new QMediaServiceProviderHint(); } + +QMediaServiceProviderHint* PythonQtWrapper_QMediaServiceProviderHint::new_QMediaServiceProviderHint(QCamera::Position position) +{ +return new QMediaServiceProviderHint(position); } + +QMediaServiceProviderHint* PythonQtWrapper_QMediaServiceProviderHint::new_QMediaServiceProviderHint(const QByteArray& device) +{ +return new QMediaServiceProviderHint(device); } + +QMediaServiceProviderHint* PythonQtWrapper_QMediaServiceProviderHint::new_QMediaServiceProviderHint(const QMediaServiceProviderHint& other) +{ +return new QMediaServiceProviderHint(other); } + +QMediaServiceProviderHint* PythonQtWrapper_QMediaServiceProviderHint::new_QMediaServiceProviderHint(const QString& mimeType, const QStringList& codecs) +{ +return new QMediaServiceProviderHint(mimeType, codecs); } + +QCamera::Position PythonQtWrapper_QMediaServiceProviderHint::cameraPosition(QMediaServiceProviderHint* theWrappedObject) const +{ + return ( theWrappedObject->cameraPosition()); +} + +QStringList PythonQtWrapper_QMediaServiceProviderHint::codecs(QMediaServiceProviderHint* theWrappedObject) const +{ + return ( theWrappedObject->codecs()); +} + +QByteArray PythonQtWrapper_QMediaServiceProviderHint::device(QMediaServiceProviderHint* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +bool PythonQtWrapper_QMediaServiceProviderHint::isNull(QMediaServiceProviderHint* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QMediaServiceProviderHint::mimeType(QMediaServiceProviderHint* theWrappedObject) const +{ + return ( theWrappedObject->mimeType()); +} + +bool PythonQtWrapper_QMediaServiceProviderHint::__ne__(QMediaServiceProviderHint* theWrappedObject, const QMediaServiceProviderHint& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QMediaServiceProviderHint* PythonQtWrapper_QMediaServiceProviderHint::operator_assign(QMediaServiceProviderHint* theWrappedObject, const QMediaServiceProviderHint& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QMediaServiceProviderHint::__eq__(QMediaServiceProviderHint* theWrappedObject, const QMediaServiceProviderHint& other) const +{ + return ( (*theWrappedObject)== other); +} + +QMediaServiceProviderHint::Type PythonQtWrapper_QMediaServiceProviderHint::type(QMediaServiceProviderHint* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QMediaServiceProviderPlugin::~PythonQtShell_QMediaServiceProviderPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMediaService* PythonQtShell_QMediaServiceProviderPlugin::create(const QString& key0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaService*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QMediaService**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QMediaServiceProviderPlugin::release(QMediaService* service0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("release"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMediaService*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&service0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QMediaServiceProviderPlugin* PythonQtWrapper_QMediaServiceProviderPlugin::new_QMediaServiceProviderPlugin() +{ +return new PythonQtShell_QMediaServiceProviderPlugin(); } + +const QMetaObject* PythonQtShell_QMediaServiceProviderPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaServiceProviderPlugin::staticMetaObject); + } else { + return &QMediaServiceProviderPlugin::staticMetaObject; + } +} +int PythonQtShell_QMediaServiceProviderPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaServiceProviderPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMediaService* PythonQtWrapper_QMediaServiceProviderPlugin::create(QMediaServiceProviderPlugin* theWrappedObject, const QString& key) +{ + return ( theWrappedObject->create(key)); +} + +void PythonQtWrapper_QMediaServiceProviderPlugin::release(QMediaServiceProviderPlugin* theWrappedObject, QMediaService* service) +{ + ( theWrappedObject->release(service)); +} + + + +PythonQtShell_QMediaServiceSupportedDevicesInterface::~PythonQtShell_QMediaServiceSupportedDevicesInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QString PythonQtShell_QMediaServiceSupportedDevicesInterface::deviceDescription(const QByteArray& service0, const QByteArray& device1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deviceDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QByteArray&" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QList PythonQtShell_QMediaServiceSupportedDevicesInterface::devices(const QByteArray& service0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devices"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devices", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QMediaServiceSupportedDevicesInterface* PythonQtWrapper_QMediaServiceSupportedDevicesInterface::new_QMediaServiceSupportedDevicesInterface() +{ +return new PythonQtShell_QMediaServiceSupportedDevicesInterface(); } + +QString PythonQtWrapper_QMediaServiceSupportedDevicesInterface::deviceDescription(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service, const QByteArray& device) +{ + return ( theWrappedObject->deviceDescription(service, device)); +} + +QList PythonQtWrapper_QMediaServiceSupportedDevicesInterface::devices(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service) const +{ + return ( theWrappedObject->devices(service)); +} + + + +PythonQtShell_QMediaServiceSupportedFormatsInterface::~PythonQtShell_QMediaServiceSupportedFormatsInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::SupportEstimate PythonQtShell_QMediaServiceSupportedFormatsInterface::hasSupport(const QString& mimeType0, const QStringList& codecs1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasSupport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasSupport", methodInfo, result); + } else { + returnValue = *((QMultimedia::SupportEstimate*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMultimedia::SupportEstimate(); +} +QStringList PythonQtShell_QMediaServiceSupportedFormatsInterface::supportedMimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedMimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedMimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +QMediaServiceSupportedFormatsInterface* PythonQtWrapper_QMediaServiceSupportedFormatsInterface::new_QMediaServiceSupportedFormatsInterface() +{ +return new PythonQtShell_QMediaServiceSupportedFormatsInterface(); } + +QMultimedia::SupportEstimate PythonQtWrapper_QMediaServiceSupportedFormatsInterface::hasSupport(QMediaServiceSupportedFormatsInterface* theWrappedObject, const QString& mimeType, const QStringList& codecs) const +{ + return ( theWrappedObject->hasSupport(mimeType, codecs)); +} + +QStringList PythonQtWrapper_QMediaServiceSupportedFormatsInterface::supportedMimeTypes(QMediaServiceSupportedFormatsInterface* theWrappedObject) const +{ + return ( theWrappedObject->supportedMimeTypes()); +} + + + +PythonQtShell_QMediaStreamsControl::~PythonQtShell_QMediaStreamsControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaStreamsControl::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(); + } + } +} + QMediaStreamsControl::childEvent(event0); +} +void PythonQtShell_QMediaStreamsControl::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(); + } + } +} + QMediaStreamsControl::customEvent(event0); +} +bool PythonQtShell_QMediaStreamsControl::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 QMediaStreamsControl::event(event0); +} +bool PythonQtShell_QMediaStreamsControl::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 QMediaStreamsControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QMediaStreamsControl::isActive(int streamNumber0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isActive"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isActive", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QVariant PythonQtShell_QMediaStreamsControl::metaData(int streamNumber0, const QString& key1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QMediaStreamsControl::setActive(int streamNumber0, bool state1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setActive"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&streamNumber0, (void*)&state1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +int PythonQtShell_QMediaStreamsControl::streamCount() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("streamCount"); + 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("streamCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QMediaStreamsControl::StreamType PythonQtShell_QMediaStreamsControl::streamType(int streamNumber0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("streamType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaStreamsControl::StreamType" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("streamType", methodInfo, result); + } else { + returnValue = *((QMediaStreamsControl::StreamType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaStreamsControl::StreamType(); +} +void PythonQtShell_QMediaStreamsControl::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(); + } + } +} + QMediaStreamsControl::timerEvent(event0); +} +QMediaStreamsControl* PythonQtWrapper_QMediaStreamsControl::new_QMediaStreamsControl(QObject* parent) +{ +return new PythonQtShell_QMediaStreamsControl(parent); } + +const QMetaObject* PythonQtShell_QMediaStreamsControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaStreamsControl::staticMetaObject); + } else { + return &QMediaStreamsControl::staticMetaObject; + } +} +int PythonQtShell_QMediaStreamsControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaStreamsControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QMediaStreamsControl::isActive(QMediaStreamsControl* theWrappedObject, int streamNumber) +{ + return ( theWrappedObject->isActive(streamNumber)); +} + +QVariant PythonQtWrapper_QMediaStreamsControl::metaData(QMediaStreamsControl* theWrappedObject, int streamNumber, const QString& key) +{ + return ( theWrappedObject->metaData(streamNumber, key)); +} + +void PythonQtWrapper_QMediaStreamsControl::setActive(QMediaStreamsControl* theWrappedObject, int streamNumber, bool state) +{ + ( theWrappedObject->setActive(streamNumber, state)); +} + +int PythonQtWrapper_QMediaStreamsControl::streamCount(QMediaStreamsControl* theWrappedObject) +{ + return ( theWrappedObject->streamCount()); +} + +QMediaStreamsControl::StreamType PythonQtWrapper_QMediaStreamsControl::streamType(QMediaStreamsControl* theWrappedObject, int streamNumber) +{ + return ( theWrappedObject->streamType(streamNumber)); +} + + + +QMediaTimeInterval* PythonQtWrapper_QMediaTimeInterval::new_QMediaTimeInterval() +{ +return new QMediaTimeInterval(); } + +QMediaTimeInterval* PythonQtWrapper_QMediaTimeInterval::new_QMediaTimeInterval(const QMediaTimeInterval& arg__1) +{ +return new QMediaTimeInterval(arg__1); } + +QMediaTimeInterval* PythonQtWrapper_QMediaTimeInterval::new_QMediaTimeInterval(qint64 start, qint64 end) +{ +return new QMediaTimeInterval(start, end); } + +bool PythonQtWrapper_QMediaTimeInterval::contains(QMediaTimeInterval* theWrappedObject, qint64 time) const +{ + return ( theWrappedObject->contains(time)); +} + +qint64 PythonQtWrapper_QMediaTimeInterval::end(QMediaTimeInterval* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +bool PythonQtWrapper_QMediaTimeInterval::isNormal(QMediaTimeInterval* theWrappedObject) const +{ + return ( theWrappedObject->isNormal()); +} + +QMediaTimeInterval PythonQtWrapper_QMediaTimeInterval::normalized(QMediaTimeInterval* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +bool PythonQtWrapper_QMediaTimeInterval::__ne__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +QMediaTimeInterval* PythonQtWrapper_QMediaTimeInterval::operator_assign(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QMediaTimeInterval::__eq__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +qint64 PythonQtWrapper_QMediaTimeInterval::start(QMediaTimeInterval* theWrappedObject) const +{ + return ( theWrappedObject->start()); +} + +QMediaTimeInterval PythonQtWrapper_QMediaTimeInterval::translated(QMediaTimeInterval* theWrappedObject, qint64 offset) const +{ + return ( theWrappedObject->translated(offset)); +} + + + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::new_QMediaTimeRange() +{ +return new QMediaTimeRange(); } + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::new_QMediaTimeRange(const QMediaTimeInterval& arg__1) +{ +return new QMediaTimeRange(arg__1); } + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::new_QMediaTimeRange(const QMediaTimeRange& range) +{ +return new QMediaTimeRange(range); } + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::new_QMediaTimeRange(qint64 start, qint64 end) +{ +return new QMediaTimeRange(start, end); } + +void PythonQtWrapper_QMediaTimeRange::addInterval(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& interval) +{ + ( theWrappedObject->addInterval(interval)); +} + +void PythonQtWrapper_QMediaTimeRange::addInterval(QMediaTimeRange* theWrappedObject, qint64 start, qint64 end) +{ + ( theWrappedObject->addInterval(start, end)); +} + +void PythonQtWrapper_QMediaTimeRange::addTimeRange(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1) +{ + ( theWrappedObject->addTimeRange(arg__1)); +} + +void PythonQtWrapper_QMediaTimeRange::clear(QMediaTimeRange* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QMediaTimeRange::contains(QMediaTimeRange* theWrappedObject, qint64 time) const +{ + return ( theWrappedObject->contains(time)); +} + +qint64 PythonQtWrapper_QMediaTimeRange::earliestTime(QMediaTimeRange* theWrappedObject) const +{ + return ( theWrappedObject->earliestTime()); +} + +QList PythonQtWrapper_QMediaTimeRange::intervals(QMediaTimeRange* theWrappedObject) const +{ + return ( theWrappedObject->intervals()); +} + +bool PythonQtWrapper_QMediaTimeRange::isContinuous(QMediaTimeRange* theWrappedObject) const +{ + return ( theWrappedObject->isContinuous()); +} + +bool PythonQtWrapper_QMediaTimeRange::isEmpty(QMediaTimeRange* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +qint64 PythonQtWrapper_QMediaTimeRange::latestTime(QMediaTimeRange* theWrappedObject) const +{ + 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); +} + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::__iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::__iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +QMediaTimeRange PythonQtWrapper_QMediaTimeRange::__sub__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) +{ + return ( (*theWrappedObject)- arg__2); +} + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::__isub__(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::__isub__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::operator_assign(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +QMediaTimeRange* PythonQtWrapper_QMediaTimeRange::operator_assign(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QMediaTimeRange::__eq__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QMediaTimeRange::removeInterval(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& interval) +{ + ( theWrappedObject->removeInterval(interval)); +} + +void PythonQtWrapper_QMediaTimeRange::removeInterval(QMediaTimeRange* theWrappedObject, qint64 start, qint64 end) +{ + ( theWrappedObject->removeInterval(start, end)); +} + +void PythonQtWrapper_QMediaTimeRange::removeTimeRange(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1) +{ + ( theWrappedObject->removeTimeRange(arg__1)); +} + +QString PythonQtWrapper_QMediaTimeRange::py_toString(QMediaTimeRange* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QMediaVideoProbeControl::~PythonQtShell_QMediaVideoProbeControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaVideoProbeControl::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(); + } + } +} + QMediaVideoProbeControl::childEvent(event0); +} +void PythonQtShell_QMediaVideoProbeControl::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(); + } + } +} + QMediaVideoProbeControl::customEvent(event0); +} +bool PythonQtShell_QMediaVideoProbeControl::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 QMediaVideoProbeControl::event(event0); +} +bool PythonQtShell_QMediaVideoProbeControl::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 QMediaVideoProbeControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaVideoProbeControl::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(); + } + } +} + QMediaVideoProbeControl::timerEvent(event0); +} +QMediaVideoProbeControl* PythonQtWrapper_QMediaVideoProbeControl::new_QMediaVideoProbeControl(QObject* parent) +{ +return new PythonQtShell_QMediaVideoProbeControl(parent); } + +const QMetaObject* PythonQtShell_QMediaVideoProbeControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaVideoProbeControl::staticMetaObject); + } else { + return &QMediaVideoProbeControl::staticMetaObject; + } +} +int PythonQtShell_QMediaVideoProbeControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaVideoProbeControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QMetaDataReaderControl::~PythonQtShell_QMetaDataReaderControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStringList PythonQtShell_QMetaDataReaderControl::availableMetaData() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availableMetaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +void PythonQtShell_QMetaDataReaderControl::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(); + } + } +} + QMetaDataReaderControl::childEvent(event0); +} +void PythonQtShell_QMetaDataReaderControl::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(); + } + } +} + QMetaDataReaderControl::customEvent(event0); +} +bool PythonQtShell_QMetaDataReaderControl::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 QMetaDataReaderControl::event(event0); +} +bool PythonQtShell_QMetaDataReaderControl::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 QMetaDataReaderControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QMetaDataReaderControl::isMetaDataAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isMetaDataAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QVariant PythonQtShell_QMetaDataReaderControl::metaData(const QString& key0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QMetaDataReaderControl::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(); + } + } +} + QMetaDataReaderControl::timerEvent(event0); +} +QMetaDataReaderControl* PythonQtWrapper_QMetaDataReaderControl::new_QMetaDataReaderControl(QObject* parent) +{ +return new PythonQtShell_QMetaDataReaderControl(parent); } + +const QMetaObject* PythonQtShell_QMetaDataReaderControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMetaDataReaderControl::staticMetaObject); + } else { + return &QMetaDataReaderControl::staticMetaObject; + } +} +int PythonQtShell_QMetaDataReaderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMetaDataReaderControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QMetaDataReaderControl::availableMetaData(QMetaDataReaderControl* theWrappedObject) const +{ + return ( theWrappedObject->availableMetaData()); +} + +bool PythonQtWrapper_QMetaDataReaderControl::isMetaDataAvailable(QMetaDataReaderControl* theWrappedObject) const +{ + return ( theWrappedObject->isMetaDataAvailable()); +} + +QVariant PythonQtWrapper_QMetaDataReaderControl::metaData(QMetaDataReaderControl* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->metaData(key)); +} + + + +PythonQtShell_QMetaDataWriterControl::~PythonQtShell_QMetaDataWriterControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStringList PythonQtShell_QMetaDataWriterControl::availableMetaData() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availableMetaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +void PythonQtShell_QMetaDataWriterControl::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(); + } + } +} + QMetaDataWriterControl::childEvent(event0); +} +void PythonQtShell_QMetaDataWriterControl::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(); + } + } +} + QMetaDataWriterControl::customEvent(event0); +} +bool PythonQtShell_QMetaDataWriterControl::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 QMetaDataWriterControl::event(event0); +} +bool PythonQtShell_QMetaDataWriterControl::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 QMetaDataWriterControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QMetaDataWriterControl::isMetaDataAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isMetaDataAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QMetaDataWriterControl::isWritable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isWritable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isWritable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QVariant PythonQtShell_QMetaDataWriterControl::metaData(const QString& key0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QMetaDataWriterControl::setMetaData(const QString& key0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMetaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QMetaDataWriterControl::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(); + } + } +} + QMetaDataWriterControl::timerEvent(event0); +} +QMetaDataWriterControl* PythonQtWrapper_QMetaDataWriterControl::new_QMetaDataWriterControl(QObject* parent) +{ +return new PythonQtShell_QMetaDataWriterControl(parent); } + +const QMetaObject* PythonQtShell_QMetaDataWriterControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMetaDataWriterControl::staticMetaObject); + } else { + return &QMetaDataWriterControl::staticMetaObject; + } +} +int PythonQtShell_QMetaDataWriterControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMetaDataWriterControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QMetaDataWriterControl::availableMetaData(QMetaDataWriterControl* theWrappedObject) const +{ + return ( theWrappedObject->availableMetaData()); +} + +bool PythonQtWrapper_QMetaDataWriterControl::isMetaDataAvailable(QMetaDataWriterControl* theWrappedObject) const +{ + return ( theWrappedObject->isMetaDataAvailable()); +} + +bool PythonQtWrapper_QMetaDataWriterControl::isWritable(QMetaDataWriterControl* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QVariant PythonQtWrapper_QMetaDataWriterControl::metaData(QMetaDataWriterControl* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->metaData(key)); +} + +void PythonQtWrapper_QMetaDataWriterControl::setMetaData(QMetaDataWriterControl* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->setMetaData(key, value)); +} + + + + + +PythonQtShell_QRadioData::~PythonQtShell_QRadioData() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRadioData::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(); + } + } +} + QRadioData::childEvent(event0); +} +void PythonQtShell_QRadioData::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(); + } + } +} + QRadioData::customEvent(event0); +} +bool PythonQtShell_QRadioData::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 QRadioData::event(event0); +} +bool PythonQtShell_QRadioData::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 QRadioData::eventFilter(watched0, event1); +} +QMediaObject* PythonQtShell_QRadioData::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 QRadioData::mediaObject(); +} +bool PythonQtShell_QRadioData::setMediaObject(QMediaObject* arg__1) +{ +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*)&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("setMediaObject", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioData::setMediaObject(arg__1); +} +void PythonQtShell_QRadioData::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(); + } + } +} + QRadioData::timerEvent(event0); +} +QRadioData* PythonQtWrapper_QRadioData::new_QRadioData(QMediaObject* mediaObject, QObject* parent) +{ +return new PythonQtShell_QRadioData(mediaObject, parent); } + +const QMetaObject* PythonQtShell_QRadioData::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioData::staticMetaObject); + } else { + return &QRadioData::staticMetaObject; + } +} +int PythonQtShell_QRadioData::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRadioData::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMultimedia::AvailabilityStatus PythonQtWrapper_QRadioData::availability(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->availability()); +} + +QRadioData::Error PythonQtWrapper_QRadioData::error(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QRadioData::errorString(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QRadioData::isAlternativeFrequenciesEnabled(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->isAlternativeFrequenciesEnabled()); +} + +QRadioData::ProgramType PythonQtWrapper_QRadioData::programType(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->programType()); +} + +QString PythonQtWrapper_QRadioData::programTypeName(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->programTypeName()); +} + +QString PythonQtWrapper_QRadioData::radioText(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->radioText()); +} + +QString PythonQtWrapper_QRadioData::stationId(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->stationId()); +} + +QString PythonQtWrapper_QRadioData::stationName(QRadioData* theWrappedObject) const +{ + return ( theWrappedObject->stationName()); +} + + + +PythonQtShell_QRadioDataControl::~PythonQtShell_QRadioDataControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRadioDataControl::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(); + } + } +} + QRadioDataControl::childEvent(event0); +} +void PythonQtShell_QRadioDataControl::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(); + } + } +} + QRadioDataControl::customEvent(event0); +} +QRadioData::Error PythonQtShell_QRadioDataControl::error() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("error"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRadioData::Error"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((QRadioData::Error*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioData::Error(); +} +QString PythonQtShell_QRadioDataControl::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QRadioDataControl::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 QRadioDataControl::event(event0); +} +bool PythonQtShell_QRadioDataControl::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 QRadioDataControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QRadioDataControl::isAlternativeFrequenciesEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAlternativeFrequenciesEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAlternativeFrequenciesEnabled", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QRadioData::ProgramType PythonQtShell_QRadioDataControl::programType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("programType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRadioData::ProgramType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("programType", methodInfo, result); + } else { + returnValue = *((QRadioData::ProgramType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioData::ProgramType(); +} +QString PythonQtShell_QRadioDataControl::programTypeName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("programTypeName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("programTypeName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QString PythonQtShell_QRadioDataControl::radioText() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("radioText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("radioText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +void PythonQtShell_QRadioDataControl::setAlternativeFrequenciesEnabled(bool enabled0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setAlternativeFrequenciesEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&enabled0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QString PythonQtShell_QRadioDataControl::stationId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stationId"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stationId", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QString PythonQtShell_QRadioDataControl::stationName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stationName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stationName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +void PythonQtShell_QRadioDataControl::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(); + } + } +} + QRadioDataControl::timerEvent(event0); +} +QRadioDataControl* PythonQtWrapper_QRadioDataControl::new_QRadioDataControl(QObject* parent) +{ +return new PythonQtShell_QRadioDataControl(parent); } + +const QMetaObject* PythonQtShell_QRadioDataControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioDataControl::staticMetaObject); + } else { + return &QRadioDataControl::staticMetaObject; + } +} +int PythonQtShell_QRadioDataControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRadioDataControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QRadioData::Error PythonQtWrapper_QRadioDataControl::error(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QRadioDataControl::errorString(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QRadioDataControl::isAlternativeFrequenciesEnabled(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->isAlternativeFrequenciesEnabled()); +} + +QRadioData::ProgramType PythonQtWrapper_QRadioDataControl::programType(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->programType()); +} + +QString PythonQtWrapper_QRadioDataControl::programTypeName(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->programTypeName()); +} + +QString PythonQtWrapper_QRadioDataControl::radioText(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->radioText()); +} + +void PythonQtWrapper_QRadioDataControl::setAlternativeFrequenciesEnabled(QRadioDataControl* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAlternativeFrequenciesEnabled(enabled)); +} + +QString PythonQtWrapper_QRadioDataControl::stationId(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->stationId()); +} + +QString PythonQtWrapper_QRadioDataControl::stationName(QRadioDataControl* theWrappedObject) const +{ + return ( theWrappedObject->stationName()); +} + + + +PythonQtShell_QRadioTuner::~PythonQtShell_QRadioTuner() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::AvailabilityStatus PythonQtShell_QRadioTuner::availability() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availability"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::availability(); +} +bool PythonQtShell_QRadioTuner::bind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::bind(arg__1); +} +void PythonQtShell_QRadioTuner::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(); + } + } +} + QRadioTuner::childEvent(event0); +} +void PythonQtShell_QRadioTuner::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(); + } + } +} + QRadioTuner::customEvent(event0); +} +bool PythonQtShell_QRadioTuner::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 QRadioTuner::event(event0); +} +bool PythonQtShell_QRadioTuner::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 QRadioTuner::eventFilter(watched0, event1); +} +bool PythonQtShell_QRadioTuner::isAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::isAvailable(); +} +QMediaService* PythonQtShell_QRadioTuner::service() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("service"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaService*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); + } else { + returnValue = *((QMediaService**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::service(); +} +void PythonQtShell_QRadioTuner::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(); + } + } +} + QRadioTuner::timerEvent(event0); +} +void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unbind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioTuner::unbind(arg__1); +} +QRadioTuner* PythonQtWrapper_QRadioTuner::new_QRadioTuner(QObject* parent) +{ +return new PythonQtShell_QRadioTuner(parent); } + +const QMetaObject* PythonQtShell_QRadioTuner::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioTuner::staticMetaObject); + } else { + return &QRadioTuner::staticMetaObject; + } +} +int PythonQtShell_QRadioTuner::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRadioTuner::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QRadioTuner::Band PythonQtWrapper_QRadioTuner::band(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->band()); +} + +QRadioTuner::Error PythonQtWrapper_QRadioTuner::error(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QRadioTuner::errorString(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +int PythonQtWrapper_QRadioTuner::frequency(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->frequency()); +} + +QPair PythonQtWrapper_QRadioTuner::frequencyRange(QRadioTuner* theWrappedObject, QRadioTuner::Band band) const +{ + return ( theWrappedObject->frequencyRange(band)); +} + +int PythonQtWrapper_QRadioTuner::frequencyStep(QRadioTuner* theWrappedObject, QRadioTuner::Band band) const +{ + return ( theWrappedObject->frequencyStep(band)); +} + +bool PythonQtWrapper_QRadioTuner::isAntennaConnected(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->isAntennaConnected()); +} + +bool PythonQtWrapper_QRadioTuner::isBandSupported(QRadioTuner* theWrappedObject, QRadioTuner::Band b) const +{ + return ( theWrappedObject->isBandSupported(b)); +} + +bool PythonQtWrapper_QRadioTuner::isMuted(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->isMuted()); +} + +bool PythonQtWrapper_QRadioTuner::isSearching(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->isSearching()); +} + +bool PythonQtWrapper_QRadioTuner::isStereo(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->isStereo()); +} + +QRadioData* PythonQtWrapper_QRadioTuner::radioData(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->radioData()); +} + +void PythonQtWrapper_QRadioTuner::setStereoMode(QRadioTuner* theWrappedObject, QRadioTuner::StereoMode mode) +{ + ( theWrappedObject->setStereoMode(mode)); +} + +int PythonQtWrapper_QRadioTuner::signalStrength(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->signalStrength()); +} + +QRadioTuner::State PythonQtWrapper_QRadioTuner::state(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QRadioTuner::StereoMode PythonQtWrapper_QRadioTuner::stereoMode(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->stereoMode()); +} + +int PythonQtWrapper_QRadioTuner::volume(QRadioTuner* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QRadioTunerControl::~PythonQtShell_QRadioTunerControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRadioTuner::Band PythonQtShell_QRadioTunerControl::band() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("band"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRadioTuner::Band"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("band", methodInfo, result); + } else { + returnValue = *((QRadioTuner::Band*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::Band(); +} +void PythonQtShell_QRadioTunerControl::cancelSearch() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cancelSearch"); + 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(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::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(); + } + } +} + QRadioTunerControl::childEvent(event0); +} +void PythonQtShell_QRadioTunerControl::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(); + } + } +} + QRadioTunerControl::customEvent(event0); +} +QRadioTuner::Error PythonQtShell_QRadioTunerControl::error() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("error"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRadioTuner::Error"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((QRadioTuner::Error*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::Error(); +} +QString PythonQtShell_QRadioTunerControl::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QRadioTunerControl::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 QRadioTunerControl::event(event0); +} +bool PythonQtShell_QRadioTunerControl::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 QRadioTunerControl::eventFilter(watched0, event1); +} +int PythonQtShell_QRadioTunerControl::frequency() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("frequency"); + 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("frequency", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QPair PythonQtShell_QRadioTunerControl::frequencyRange(QRadioTuner::Band b0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("frequencyRange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPair" , "QRadioTuner::Band"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("frequencyRange", methodInfo, result); + } else { + returnValue = *((QPair*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPair(); +} +int PythonQtShell_QRadioTunerControl::frequencyStep(QRadioTuner::Band b0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("frequencyStep"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QRadioTuner::Band"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("frequencyStep", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QRadioTunerControl::isAntennaConnected() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAntennaConnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAntennaConnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTunerControl::isAntennaConnected(); +} +bool PythonQtShell_QRadioTunerControl::isBandSupported(QRadioTuner::Band b0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isBandSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QRadioTuner::Band"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isBandSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QRadioTunerControl::isMuted() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isMuted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QRadioTunerControl::isSearching() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSearching"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSearching", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QRadioTunerControl::isStereo() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isStereo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isStereo", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QRadioTunerControl::searchAllStations(QRadioTuner::SearchMode searchMode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("searchAllStations"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QRadioTuner::SearchMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&searchMode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::searchBackward() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("searchBackward"); + 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(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::searchForward() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("searchForward"); + 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(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::setBand(QRadioTuner::Band b0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QRadioTuner::Band"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&b0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::setFrequency(int frequency0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFrequency"); + 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*)&frequency0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::setMuted(bool muted0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMuted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&muted0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::setStereoMode(QRadioTuner::StereoMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setStereoMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QRadioTuner::StereoMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::setVolume(int volume0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVolume"); + 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*)&volume0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +int PythonQtShell_QRadioTunerControl::signalStrength() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("signalStrength"); + 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("signalStrength", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QRadioTunerControl::start() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("start"); + 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(); + } + } +} + +} +QRadioTuner::State PythonQtShell_QRadioTunerControl::state() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("state"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRadioTuner::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); + } else { + returnValue = *((QRadioTuner::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::State(); +} +QRadioTuner::StereoMode PythonQtShell_QRadioTunerControl::stereoMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stereoMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRadioTuner::StereoMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stereoMode", methodInfo, result); + } else { + returnValue = *((QRadioTuner::StereoMode*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::StereoMode(); +} +void PythonQtShell_QRadioTunerControl::stop() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stop"); + 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(); + } + } +} + +} +void PythonQtShell_QRadioTunerControl::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(); + } + } +} + QRadioTunerControl::timerEvent(event0); +} +int PythonQtShell_QRadioTunerControl::volume() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("volume"); + 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("volume", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QRadioTunerControl* PythonQtWrapper_QRadioTunerControl::new_QRadioTunerControl(QObject* parent) +{ +return new PythonQtShell_QRadioTunerControl(parent); } + +const QMetaObject* PythonQtShell_QRadioTunerControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioTunerControl::staticMetaObject); + } else { + return &QRadioTunerControl::staticMetaObject; + } +} +int PythonQtShell_QRadioTunerControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRadioTunerControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QRadioTuner::Band PythonQtWrapper_QRadioTunerControl::band(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->band()); +} + +void PythonQtWrapper_QRadioTunerControl::cancelSearch(QRadioTunerControl* theWrappedObject) +{ + ( theWrappedObject->cancelSearch()); +} + +QRadioTuner::Error PythonQtWrapper_QRadioTunerControl::error(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QRadioTunerControl::errorString(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +int PythonQtWrapper_QRadioTunerControl::frequency(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->frequency()); +} + +QPair PythonQtWrapper_QRadioTunerControl::frequencyRange(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const +{ + return ( theWrappedObject->frequencyRange(b)); +} + +int PythonQtWrapper_QRadioTunerControl::frequencyStep(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const +{ + return ( theWrappedObject->frequencyStep(b)); +} + +bool PythonQtWrapper_QRadioTunerControl::isAntennaConnected(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->isAntennaConnected()); +} + +bool PythonQtWrapper_QRadioTunerControl::isBandSupported(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const +{ + return ( theWrappedObject->isBandSupported(b)); +} + +bool PythonQtWrapper_QRadioTunerControl::isMuted(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->isMuted()); +} + +bool PythonQtWrapper_QRadioTunerControl::isSearching(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->isSearching()); +} + +bool PythonQtWrapper_QRadioTunerControl::isStereo(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->isStereo()); +} + +void PythonQtWrapper_QRadioTunerControl::searchAllStations(QRadioTunerControl* theWrappedObject, QRadioTuner::SearchMode searchMode) +{ + ( theWrappedObject->searchAllStations(searchMode)); +} + +void PythonQtWrapper_QRadioTunerControl::searchBackward(QRadioTunerControl* theWrappedObject) +{ + ( theWrappedObject->searchBackward()); +} + +void PythonQtWrapper_QRadioTunerControl::searchForward(QRadioTunerControl* theWrappedObject) +{ + ( theWrappedObject->searchForward()); +} + +void PythonQtWrapper_QRadioTunerControl::setBand(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) +{ + ( theWrappedObject->setBand(b)); +} + +void PythonQtWrapper_QRadioTunerControl::setFrequency(QRadioTunerControl* theWrappedObject, int frequency) +{ + ( theWrappedObject->setFrequency(frequency)); +} + +void PythonQtWrapper_QRadioTunerControl::setMuted(QRadioTunerControl* theWrappedObject, bool muted) +{ + ( theWrappedObject->setMuted(muted)); +} + +void PythonQtWrapper_QRadioTunerControl::setStereoMode(QRadioTunerControl* theWrappedObject, QRadioTuner::StereoMode mode) +{ + ( theWrappedObject->setStereoMode(mode)); +} + +void PythonQtWrapper_QRadioTunerControl::setVolume(QRadioTunerControl* theWrappedObject, int volume) +{ + ( theWrappedObject->setVolume(volume)); +} + +int PythonQtWrapper_QRadioTunerControl::signalStrength(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->signalStrength()); +} + +void PythonQtWrapper_QRadioTunerControl::start(QRadioTunerControl* theWrappedObject) +{ + ( theWrappedObject->start()); +} + +QRadioTuner::State PythonQtWrapper_QRadioTunerControl::state(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QRadioTuner::StereoMode PythonQtWrapper_QRadioTunerControl::stereoMode(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->stereoMode()); +} + +void PythonQtWrapper_QRadioTunerControl::stop(QRadioTunerControl* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +int PythonQtWrapper_QRadioTunerControl::volume(QRadioTunerControl* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QSound::~PythonQtShell_QSound() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSound::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(); + } + } +} + QSound::childEvent(event0); +} +void PythonQtShell_QSound::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(); + } + } +} + QSound::customEvent(event0); +} +bool PythonQtShell_QSound::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 QSound::event(event0); +} +bool PythonQtShell_QSound::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 QSound::eventFilter(watched0, event1); +} +void PythonQtShell_QSound::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(); + } + } +} + QSound::timerEvent(event0); +} +QSound* PythonQtWrapper_QSound::new_QSound(const QString& filename, QObject* parent) +{ +return new PythonQtShell_QSound(filename, parent); } + +const QMetaObject* PythonQtShell_QSound::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSound::staticMetaObject); + } else { + return &QSound::staticMetaObject; + } +} +int PythonQtShell_QSound::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSound::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QSound::fileName(QSound* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +bool PythonQtWrapper_QSound::isFinished(QSound* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +int PythonQtWrapper_QSound::loops(QSound* theWrappedObject) const +{ + return ( theWrappedObject->loops()); +} + +int PythonQtWrapper_QSound::loopsRemaining(QSound* theWrappedObject) const +{ + return ( theWrappedObject->loopsRemaining()); +} + +void PythonQtWrapper_QSound::static_QSound_play(const QString& filename) +{ + (QSound::play(filename)); +} + +void PythonQtWrapper_QSound::setLoops(QSound* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setLoops(arg__1)); +} + + + +PythonQtShell_QSoundEffect::~PythonQtShell_QSoundEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSoundEffect::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(); + } + } +} + QSoundEffect::childEvent(event0); +} +void PythonQtShell_QSoundEffect::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(); + } + } +} + QSoundEffect::customEvent(event0); +} +bool PythonQtShell_QSoundEffect::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 QSoundEffect::event(event0); +} +bool PythonQtShell_QSoundEffect::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 QSoundEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QSoundEffect::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(); + } + } +} + QSoundEffect::timerEvent(event0); +} +QSoundEffect* PythonQtWrapper_QSoundEffect::new_QSoundEffect(QObject* parent) +{ +return new PythonQtShell_QSoundEffect(parent); } + +QSoundEffect* PythonQtWrapper_QSoundEffect::new_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent) +{ +return new PythonQtShell_QSoundEffect(audioDevice, parent); } + +const QMetaObject* PythonQtShell_QSoundEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSoundEffect::staticMetaObject); + } else { + return &QSoundEffect::staticMetaObject; + } +} +int PythonQtShell_QSoundEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSoundEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QSoundEffect::category(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->category()); +} + +bool PythonQtWrapper_QSoundEffect::isLoaded(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->isLoaded()); +} + +bool PythonQtWrapper_QSoundEffect::isMuted(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->isMuted()); +} + +bool PythonQtWrapper_QSoundEffect::isPlaying(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->isPlaying()); +} + +int PythonQtWrapper_QSoundEffect::loopCount(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +int PythonQtWrapper_QSoundEffect::loopsRemaining(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->loopsRemaining()); +} + +void PythonQtWrapper_QSoundEffect::setCategory(QSoundEffect* theWrappedObject, const QString& category) +{ + ( theWrappedObject->setCategory(category)); +} + +void PythonQtWrapper_QSoundEffect::setLoopCount(QSoundEffect* theWrappedObject, int loopCount) +{ + ( theWrappedObject->setLoopCount(loopCount)); +} + +void PythonQtWrapper_QSoundEffect::setMuted(QSoundEffect* theWrappedObject, bool muted) +{ + ( theWrappedObject->setMuted(muted)); +} + +void PythonQtWrapper_QSoundEffect::setSource(QSoundEffect* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setSource(url)); +} + +void PythonQtWrapper_QSoundEffect::setVolume(QSoundEffect* theWrappedObject, qreal volume) +{ + ( theWrappedObject->setVolume(volume)); +} + +QUrl PythonQtWrapper_QSoundEffect::source(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +QSoundEffect::Status PythonQtWrapper_QSoundEffect::status(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +QStringList PythonQtWrapper_QSoundEffect::static_QSoundEffect_supportedMimeTypes() +{ + return (QSoundEffect::supportedMimeTypes()); +} + +qreal PythonQtWrapper_QSoundEffect::volume(QSoundEffect* theWrappedObject) const +{ + return ( theWrappedObject->volume()); +} + + + +PythonQtShell_QVideoDeviceSelectorControl::~PythonQtShell_QVideoDeviceSelectorControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QVideoDeviceSelectorControl::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(); + } + } +} + QVideoDeviceSelectorControl::childEvent(event0); +} +void PythonQtShell_QVideoDeviceSelectorControl::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(); + } + } +} + QVideoDeviceSelectorControl::customEvent(event0); +} +int PythonQtShell_QVideoDeviceSelectorControl::defaultDevice() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("defaultDevice"); + 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("defaultDevice", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QVideoDeviceSelectorControl::deviceCount() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deviceCount"); + 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("deviceCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QString PythonQtShell_QVideoDeviceSelectorControl::deviceDescription(int index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deviceDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QString PythonQtShell_QVideoDeviceSelectorControl::deviceName(int index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deviceName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QVideoDeviceSelectorControl::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 QVideoDeviceSelectorControl::event(event0); +} +bool PythonQtShell_QVideoDeviceSelectorControl::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 QVideoDeviceSelectorControl::eventFilter(watched0, event1); +} +int PythonQtShell_QVideoDeviceSelectorControl::selectedDevice() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedDevice"); + 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("selectedDevice", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QVideoDeviceSelectorControl::setSelectedDevice(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectedDevice"); + 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(); + } + } +} + +} +void PythonQtShell_QVideoDeviceSelectorControl::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(); + } + } +} + QVideoDeviceSelectorControl::timerEvent(event0); +} +QVideoDeviceSelectorControl* PythonQtWrapper_QVideoDeviceSelectorControl::new_QVideoDeviceSelectorControl(QObject* parent) +{ +return new PythonQtShell_QVideoDeviceSelectorControl(parent); } + +const QMetaObject* PythonQtShell_QVideoDeviceSelectorControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVideoDeviceSelectorControl::staticMetaObject); + } else { + return &QVideoDeviceSelectorControl::staticMetaObject; + } +} +int PythonQtShell_QVideoDeviceSelectorControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVideoDeviceSelectorControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QVideoDeviceSelectorControl::defaultDevice(QVideoDeviceSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->defaultDevice()); +} + +int PythonQtWrapper_QVideoDeviceSelectorControl::deviceCount(QVideoDeviceSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->deviceCount()); +} + +QString PythonQtWrapper_QVideoDeviceSelectorControl::deviceDescription(QVideoDeviceSelectorControl* theWrappedObject, int index) const +{ + return ( theWrappedObject->deviceDescription(index)); +} + +QString PythonQtWrapper_QVideoDeviceSelectorControl::deviceName(QVideoDeviceSelectorControl* theWrappedObject, int index) const +{ + return ( theWrappedObject->deviceName(index)); +} + +int PythonQtWrapper_QVideoDeviceSelectorControl::selectedDevice(QVideoDeviceSelectorControl* theWrappedObject) const +{ + return ( theWrappedObject->selectedDevice()); +} + + + +QVideoEncoderSettings* PythonQtWrapper_QVideoEncoderSettings::new_QVideoEncoderSettings() +{ +return new QVideoEncoderSettings(); } + +QVideoEncoderSettings* PythonQtWrapper_QVideoEncoderSettings::new_QVideoEncoderSettings(const QVideoEncoderSettings& other) +{ +return new QVideoEncoderSettings(other); } + +int PythonQtWrapper_QVideoEncoderSettings::bitRate(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->bitRate()); +} + +QString PythonQtWrapper_QVideoEncoderSettings::codec(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QMultimedia::EncodingMode PythonQtWrapper_QVideoEncoderSettings::encodingMode(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->encodingMode()); +} + +QVariant PythonQtWrapper_QVideoEncoderSettings::encodingOption(QVideoEncoderSettings* theWrappedObject, const QString& option) const +{ + return ( theWrappedObject->encodingOption(option)); +} + +QMap PythonQtWrapper_QVideoEncoderSettings::encodingOptions(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->encodingOptions()); +} + +qreal PythonQtWrapper_QVideoEncoderSettings::frameRate(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->frameRate()); +} + +bool PythonQtWrapper_QVideoEncoderSettings::isNull(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QVideoEncoderSettings::__ne__(QVideoEncoderSettings* theWrappedObject, const QVideoEncoderSettings& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QVideoEncoderSettings* PythonQtWrapper_QVideoEncoderSettings::operator_assign(QVideoEncoderSettings* theWrappedObject, const QVideoEncoderSettings& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QVideoEncoderSettings::__eq__(QVideoEncoderSettings* theWrappedObject, const QVideoEncoderSettings& other) const +{ + return ( (*theWrappedObject)== other); +} + +QMultimedia::EncodingQuality PythonQtWrapper_QVideoEncoderSettings::quality(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +QSize PythonQtWrapper_QVideoEncoderSettings::resolution(QVideoEncoderSettings* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QVideoEncoderSettings::setBitRate(QVideoEncoderSettings* theWrappedObject, int bitrate) +{ + ( theWrappedObject->setBitRate(bitrate)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setCodec(QVideoEncoderSettings* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setCodec(arg__1)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setEncodingMode(QVideoEncoderSettings* theWrappedObject, QMultimedia::EncodingMode arg__1) +{ + ( theWrappedObject->setEncodingMode(arg__1)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setEncodingOption(QVideoEncoderSettings* theWrappedObject, const QString& option, const QVariant& value) +{ + ( theWrappedObject->setEncodingOption(option, value)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setEncodingOptions(QVideoEncoderSettings* theWrappedObject, const QMap& options) +{ + ( theWrappedObject->setEncodingOptions(options)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setFrameRate(QVideoEncoderSettings* theWrappedObject, qreal rate) +{ + ( theWrappedObject->setFrameRate(rate)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setQuality(QVideoEncoderSettings* theWrappedObject, QMultimedia::EncodingQuality quality) +{ + ( theWrappedObject->setQuality(quality)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setResolution(QVideoEncoderSettings* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setResolution(arg__1)); +} + +void PythonQtWrapper_QVideoEncoderSettings::setResolution(QVideoEncoderSettings* theWrappedObject, int width, int height) +{ + ( theWrappedObject->setResolution(width, height)); +} + + + +PythonQtShell_QVideoEncoderSettingsControl::~PythonQtShell_QVideoEncoderSettingsControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QVideoEncoderSettingsControl::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(); + } + } +} + QVideoEncoderSettingsControl::childEvent(event0); +} +void PythonQtShell_QVideoEncoderSettingsControl::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(); + } + } +} + QVideoEncoderSettingsControl::customEvent(event0); +} +bool PythonQtShell_QVideoEncoderSettingsControl::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 QVideoEncoderSettingsControl::event(event0); +} +bool PythonQtShell_QVideoEncoderSettingsControl::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 QVideoEncoderSettingsControl::eventFilter(watched0, event1); +} +void PythonQtShell_QVideoEncoderSettingsControl::setVideoSettings(const QVideoEncoderSettings& settings0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVideoSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVideoEncoderSettings&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&settings0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QList PythonQtShell_QVideoEncoderSettingsControl::supportedFrameRates(const QVideoEncoderSettings& settings0, bool* continuous1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedFrameRates"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedFrameRates", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QList PythonQtShell_QVideoEncoderSettingsControl::supportedResolutions(const QVideoEncoderSettings& settings0, bool* continuous1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedResolutions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QStringList PythonQtShell_QVideoEncoderSettingsControl::supportedVideoCodecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedVideoCodecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedVideoCodecs", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +void PythonQtShell_QVideoEncoderSettingsControl::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(); + } + } +} + QVideoEncoderSettingsControl::timerEvent(event0); +} +QString PythonQtShell_QVideoEncoderSettingsControl::videoCodecDescription(const QString& codec0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("videoCodecDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("videoCodecDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QVideoEncoderSettings PythonQtShell_QVideoEncoderSettingsControl::videoSettings() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("videoSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVideoEncoderSettings"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("videoSettings", methodInfo, result); + } else { + returnValue = *((QVideoEncoderSettings*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoEncoderSettings(); +} +QVideoEncoderSettingsControl* PythonQtWrapper_QVideoEncoderSettingsControl::new_QVideoEncoderSettingsControl(QObject* parent) +{ +return new PythonQtShell_QVideoEncoderSettingsControl(parent); } + +const QMetaObject* PythonQtShell_QVideoEncoderSettingsControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVideoEncoderSettingsControl::staticMetaObject); + } else { + return &QVideoEncoderSettingsControl::staticMetaObject; + } +} +int PythonQtShell_QVideoEncoderSettingsControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVideoEncoderSettingsControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QVideoEncoderSettingsControl::setVideoSettings(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings) +{ + ( theWrappedObject->setVideoSettings(settings)); +} + +QList PythonQtWrapper_QVideoEncoderSettingsControl::supportedFrameRates(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedFrameRates(settings, continuous)); +} + +QList PythonQtWrapper_QVideoEncoderSettingsControl::supportedResolutions(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous) const +{ + return ( theWrappedObject->supportedResolutions(settings, continuous)); +} + +QStringList PythonQtWrapper_QVideoEncoderSettingsControl::supportedVideoCodecs(QVideoEncoderSettingsControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedVideoCodecs()); +} + +QString PythonQtWrapper_QVideoEncoderSettingsControl::videoCodecDescription(QVideoEncoderSettingsControl* theWrappedObject, const QString& codec) const +{ + return ( theWrappedObject->videoCodecDescription(codec)); +} + +QVideoEncoderSettings PythonQtWrapper_QVideoEncoderSettingsControl::videoSettings(QVideoEncoderSettingsControl* theWrappedObject) const +{ + return ( theWrappedObject->videoSettings()); +} + + + +QVideoFrame* PythonQtWrapper_QVideoFrame::new_QVideoFrame() +{ +return new QVideoFrame(); } + +QVideoFrame* PythonQtWrapper_QVideoFrame::new_QVideoFrame(QAbstractVideoBuffer* buffer, const QSize& size, QVideoFrame::PixelFormat format) +{ +return new QVideoFrame(buffer, size, format); } + +QVideoFrame* PythonQtWrapper_QVideoFrame::new_QVideoFrame(const QImage& image) +{ +return new QVideoFrame(image); } + +QVideoFrame* PythonQtWrapper_QVideoFrame::new_QVideoFrame(const QVideoFrame& other) +{ +return new QVideoFrame(other); } + +QVideoFrame* PythonQtWrapper_QVideoFrame::new_QVideoFrame(int bytes, const QSize& size, int bytesPerLine, QVideoFrame::PixelFormat format) +{ +return new QVideoFrame(bytes, size, bytesPerLine, format); } + +QMap PythonQtWrapper_QVideoFrame::availableMetaData(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->availableMetaData()); +} + +uchar* PythonQtWrapper_QVideoFrame::bits(QVideoFrame* theWrappedObject) +{ + return ( theWrappedObject->bits()); +} + +const uchar* PythonQtWrapper_QVideoFrame::bits(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->bits()); +} + +uchar* PythonQtWrapper_QVideoFrame::bits(QVideoFrame* theWrappedObject, int plane) +{ + return ( theWrappedObject->bits(plane)); +} + +const uchar* PythonQtWrapper_QVideoFrame::bits(QVideoFrame* theWrappedObject, int plane) const +{ + return ( theWrappedObject->bits(plane)); +} + +QAbstractVideoBuffer* PythonQtWrapper_QVideoFrame::buffer(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->buffer()); +} + +int PythonQtWrapper_QVideoFrame::bytesPerLine(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->bytesPerLine()); +} + +int PythonQtWrapper_QVideoFrame::bytesPerLine(QVideoFrame* theWrappedObject, int plane) const +{ + return ( theWrappedObject->bytesPerLine(plane)); +} + +qint64 PythonQtWrapper_QVideoFrame::endTime(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->endTime()); +} + +QVideoFrame::FieldType PythonQtWrapper_QVideoFrame::fieldType(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->fieldType()); +} + +QVariant PythonQtWrapper_QVideoFrame::handle(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +QAbstractVideoBuffer::HandleType PythonQtWrapper_QVideoFrame::handleType(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->handleType()); +} + +int PythonQtWrapper_QVideoFrame::height(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +QImage PythonQtWrapper_QVideoFrame::image(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->image()); +} + +QImage::Format PythonQtWrapper_QVideoFrame::static_QVideoFrame_imageFormatFromPixelFormat(QVideoFrame::PixelFormat format) +{ + return (QVideoFrame::imageFormatFromPixelFormat(format)); +} + +bool PythonQtWrapper_QVideoFrame::isMapped(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->isMapped()); +} + +bool PythonQtWrapper_QVideoFrame::isReadable(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QVideoFrame::isValid(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QVideoFrame::isWritable(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +bool PythonQtWrapper_QVideoFrame::map(QVideoFrame* theWrappedObject, QAbstractVideoBuffer::MapMode mode) +{ + return ( theWrappedObject->map(mode)); +} + +QAbstractVideoBuffer::MapMode PythonQtWrapper_QVideoFrame::mapMode(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->mapMode()); +} + +int PythonQtWrapper_QVideoFrame::mappedBytes(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->mappedBytes()); +} + +QVariant PythonQtWrapper_QVideoFrame::metaData(QVideoFrame* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->metaData(key)); +} + +bool PythonQtWrapper_QVideoFrame::__ne__(QVideoFrame* theWrappedObject, const QVideoFrame& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QVideoFrame* PythonQtWrapper_QVideoFrame::operator_assign(QVideoFrame* theWrappedObject, const QVideoFrame& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QVideoFrame::__eq__(QVideoFrame* theWrappedObject, const QVideoFrame& other) const +{ + return ( (*theWrappedObject)== other); +} + +QVideoFrame::PixelFormat PythonQtWrapper_QVideoFrame::pixelFormat(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->pixelFormat()); +} + +QVideoFrame::PixelFormat PythonQtWrapper_QVideoFrame::static_QVideoFrame_pixelFormatFromImageFormat(QImage::Format format) +{ + return (QVideoFrame::pixelFormatFromImageFormat(format)); +} + +int PythonQtWrapper_QVideoFrame::planeCount(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->planeCount()); +} + +void PythonQtWrapper_QVideoFrame::setEndTime(QVideoFrame* theWrappedObject, qint64 time) +{ + ( theWrappedObject->setEndTime(time)); +} + +void PythonQtWrapper_QVideoFrame::setFieldType(QVideoFrame* theWrappedObject, QVideoFrame::FieldType arg__1) +{ + ( theWrappedObject->setFieldType(arg__1)); +} + +void PythonQtWrapper_QVideoFrame::setMetaData(QVideoFrame* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->setMetaData(key, value)); +} + +void PythonQtWrapper_QVideoFrame::setStartTime(QVideoFrame* theWrappedObject, qint64 time) +{ + ( theWrappedObject->setStartTime(time)); +} + +QSize PythonQtWrapper_QVideoFrame::size(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +qint64 PythonQtWrapper_QVideoFrame::startTime(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->startTime()); +} + +void PythonQtWrapper_QVideoFrame::unmap(QVideoFrame* theWrappedObject) +{ + ( theWrappedObject->unmap()); +} + +int PythonQtWrapper_QVideoFrame::width(QVideoFrame* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QVideoFrame::py_toString(QVideoFrame* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QVideoProbe::~PythonQtShell_QVideoProbe() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QVideoProbe::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(); + } + } +} + QVideoProbe::childEvent(event0); +} +void PythonQtShell_QVideoProbe::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(); + } + } +} + QVideoProbe::customEvent(event0); +} +bool PythonQtShell_QVideoProbe::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 QVideoProbe::event(event0); +} +bool PythonQtShell_QVideoProbe::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 QVideoProbe::eventFilter(watched0, event1); +} +void PythonQtShell_QVideoProbe::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(); + } + } +} + QVideoProbe::timerEvent(event0); +} +QVideoProbe* PythonQtWrapper_QVideoProbe::new_QVideoProbe(QObject* parent) +{ +return new PythonQtShell_QVideoProbe(parent); } + +const QMetaObject* PythonQtShell_QVideoProbe::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVideoProbe::staticMetaObject); + } else { + return &QVideoProbe::staticMetaObject; + } +} +int PythonQtShell_QVideoProbe::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVideoProbe::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QVideoProbe::isActive(QVideoProbe* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QVideoProbe::setSource(QVideoProbe* theWrappedObject, QMediaObject* source) +{ + return ( theWrappedObject->setSource(source)); +} + +bool PythonQtWrapper_QVideoProbe::setSource(QVideoProbe* theWrappedObject, QMediaRecorder* source) +{ + return ( theWrappedObject->setSource(source)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h new file mode 100644 index 00000000..ad2bfba6 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h @@ -0,0 +1,1497 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QMediaPlaylist : public QMediaPlaylist +{ +public: + PythonQtShell_QMediaPlaylist(QObject* parent = nullptr):QMediaPlaylist(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaPlaylist() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaPlaylist : public QMediaPlaylist +{ public: +inline bool promoted_setMediaObject(QMediaObject* object) { return this->setMediaObject(object); } +inline QMediaObject* py_q_mediaObject() const { return QMediaPlaylist::mediaObject(); } +inline bool py_q_setMediaObject(QMediaObject* object) { return QMediaPlaylist::setMediaObject(object); } +}; + +class PythonQtWrapper_QMediaPlaylist : public QObject +{ Q_OBJECT +public: +public slots: +QMediaPlaylist* new_QMediaPlaylist(QObject* parent = nullptr); +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); + int currentIndex(QMediaPlaylist* theWrappedObject) const; + QMediaContent currentMedia(QMediaPlaylist* theWrappedObject) const; + QMediaPlaylist::Error error(QMediaPlaylist* theWrappedObject) const; + QString errorString(QMediaPlaylist* theWrappedObject) const; + bool insertMedia(QMediaPlaylist* theWrappedObject, int index, const QList& items); + bool insertMedia(QMediaPlaylist* theWrappedObject, int index, const QMediaContent& content); + bool isEmpty(QMediaPlaylist* theWrappedObject) const; + bool isReadOnly(QMediaPlaylist* theWrappedObject) const; + void load(QMediaPlaylist* theWrappedObject, QIODevice* device, const char* format = nullptr); + void load(QMediaPlaylist* theWrappedObject, const QNetworkRequest& request, const char* format = nullptr); + void load(QMediaPlaylist* theWrappedObject, const QUrl& location, const char* format = nullptr); + QMediaContent media(QMediaPlaylist* theWrappedObject, int index) const; + int mediaCount(QMediaPlaylist* theWrappedObject) const; + QMediaObject* py_q_mediaObject(QMediaPlaylist* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlaylist*)theWrappedObject)->py_q_mediaObject());} + bool moveMedia(QMediaPlaylist* theWrappedObject, int from, int to); + int nextIndex(QMediaPlaylist* theWrappedObject, int steps = 1) const; + QMediaPlaylist::PlaybackMode playbackMode(QMediaPlaylist* theWrappedObject) const; + int previousIndex(QMediaPlaylist* theWrappedObject, int steps = 1) const; + bool removeMedia(QMediaPlaylist* theWrappedObject, int pos); + bool removeMedia(QMediaPlaylist* theWrappedObject, int start, int end); + bool save(QMediaPlaylist* theWrappedObject, QIODevice* device, const char* format); + bool save(QMediaPlaylist* theWrappedObject, const QUrl& location, const char* format = nullptr); + bool py_q_setMediaObject(QMediaPlaylist* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QMediaPlaylist*)theWrappedObject)->py_q_setMediaObject(object));} + void setPlaybackMode(QMediaPlaylist* theWrappedObject, QMediaPlaylist::PlaybackMode mode); + bool __nonzero__(QMediaPlaylist* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QMediaRecorder : public QMediaRecorder +{ +public: + PythonQtShell_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr):QMediaRecorder(mediaObject, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaRecorder() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaRecorder : public QMediaRecorder +{ public: +inline bool promoted_setMediaObject(QMediaObject* object) { return this->setMediaObject(object); } +inline QMediaObject* py_q_mediaObject() const { return QMediaRecorder::mediaObject(); } +inline bool py_q_setMediaObject(QMediaObject* object) { return QMediaRecorder::setMediaObject(object); } +}; + +class PythonQtWrapper_QMediaRecorder : public QObject +{ Q_OBJECT +public: +public slots: +QMediaRecorder* new_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr); +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; + QMultimedia::AvailabilityStatus availability(QMediaRecorder* theWrappedObject) const; + QStringList availableMetaData(QMediaRecorder* theWrappedObject) const; + QString containerDescription(QMediaRecorder* theWrappedObject, const QString& format) const; + QString containerFormat(QMediaRecorder* theWrappedObject) const; + qint64 duration(QMediaRecorder* theWrappedObject) const; + QMediaRecorder::Error error(QMediaRecorder* theWrappedObject) const; + QString errorString(QMediaRecorder* theWrappedObject) const; + bool isAvailable(QMediaRecorder* theWrappedObject) const; + bool isMetaDataAvailable(QMediaRecorder* theWrappedObject) const; + bool isMetaDataWritable(QMediaRecorder* theWrappedObject) const; + bool isMuted(QMediaRecorder* theWrappedObject) const; + QMediaObject* py_q_mediaObject(QMediaRecorder* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorder*)theWrappedObject)->py_q_mediaObject());} + QVariant metaData(QMediaRecorder* theWrappedObject, const QString& key) const; + QUrl outputLocation(QMediaRecorder* theWrappedObject) const; + void setAudioSettings(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& audioSettings); + void setContainerFormat(QMediaRecorder* theWrappedObject, const QString& container); + void setEncodingSettings(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& audioSettings, const QVideoEncoderSettings& videoSettings = QVideoEncoderSettings(), const QString& containerMimeType = QString()); + bool py_q_setMediaObject(QMediaRecorder* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QMediaRecorder*)theWrappedObject)->py_q_setMediaObject(object));} + void setMetaData(QMediaRecorder* theWrappedObject, const QString& key, const QVariant& value); + bool setOutputLocation(QMediaRecorder* theWrappedObject, const QUrl& location); + void setVideoSettings(QMediaRecorder* theWrappedObject, const QVideoEncoderSettings& videoSettings); + QMediaRecorder::State state(QMediaRecorder* theWrappedObject) const; + QMediaRecorder::Status status(QMediaRecorder* theWrappedObject) const; + QStringList supportedAudioCodecs(QMediaRecorder* theWrappedObject) const; + QList supportedAudioSampleRates(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& settings = QAudioEncoderSettings(), bool* continuous = nullptr) const; + QStringList supportedContainers(QMediaRecorder* theWrappedObject) const; + QList supportedFrameRates(QMediaRecorder* theWrappedObject, const QVideoEncoderSettings& settings = QVideoEncoderSettings(), bool* continuous = nullptr) const; + QList supportedResolutions(QMediaRecorder* theWrappedObject, const QVideoEncoderSettings& settings = QVideoEncoderSettings(), bool* continuous = nullptr) const; + QStringList supportedVideoCodecs(QMediaRecorder* theWrappedObject) const; + QString videoCodecDescription(QMediaRecorder* theWrappedObject, const QString& codecName) const; + QVideoEncoderSettings videoSettings(QMediaRecorder* theWrappedObject) const; + qreal volume(QMediaRecorder* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMediaRecorderControl : public QMediaRecorderControl +{ +public: + 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 +{ public: +inline void py_q_applySettings() { this->applySettings(); } +inline qint64 py_q_duration() const { return this->duration(); } +inline bool py_q_isMuted() const { return this->isMuted(); } +inline QUrl py_q_outputLocation() const { return this->outputLocation(); } +inline void py_q_setMuted(bool muted) { this->setMuted(muted); } +inline bool py_q_setOutputLocation(const QUrl& location) { return this->setOutputLocation(location); } +inline void py_q_setState(QMediaRecorder::State state) { this->setState(state); } +inline void py_q_setVolume(qreal volume) { this->setVolume(volume); } +inline QMediaRecorder::State py_q_state() const { return this->state(); } +inline QMediaRecorder::Status py_q_status() const { return this->status(); } +inline qreal py_q_volume() const { return this->volume(); } +}; + +class PythonQtWrapper_QMediaRecorderControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaRecorderControl* new_QMediaRecorderControl(QObject* parent = nullptr); +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; + qint64 py_q_duration(QMediaRecorderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_duration());} + bool isMuted(QMediaRecorderControl* theWrappedObject) const; + bool py_q_isMuted(QMediaRecorderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_isMuted());} + QUrl outputLocation(QMediaRecorderControl* theWrappedObject) const; + QUrl py_q_outputLocation(QMediaRecorderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_outputLocation());} + void py_q_setMuted(QMediaRecorderControl* theWrappedObject, bool muted){ (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_setMuted(muted));} + bool setOutputLocation(QMediaRecorderControl* theWrappedObject, const QUrl& location); + bool py_q_setOutputLocation(QMediaRecorderControl* theWrappedObject, const QUrl& location){ return (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_setOutputLocation(location));} + void py_q_setState(QMediaRecorderControl* theWrappedObject, QMediaRecorder::State state){ (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_setState(state));} + void py_q_setVolume(QMediaRecorderControl* theWrappedObject, qreal volume){ (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_setVolume(volume));} + QMediaRecorder::State state(QMediaRecorderControl* theWrappedObject) const; + QMediaRecorder::State py_q_state(QMediaRecorderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_state());} + QMediaRecorder::Status status(QMediaRecorderControl* theWrappedObject) const; + QMediaRecorder::Status py_q_status(QMediaRecorderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_status());} + qreal volume(QMediaRecorderControl* theWrappedObject) const; + qreal py_q_volume(QMediaRecorderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_volume());} +}; + + + + + +class PythonQtWrapper_QMediaResource : public QObject +{ Q_OBJECT +public: +public slots: +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; } + int audioBitRate(QMediaResource* theWrappedObject) const; + QString audioCodec(QMediaResource* theWrappedObject) const; + int channelCount(QMediaResource* theWrappedObject) const; + qint64 dataSize(QMediaResource* theWrappedObject) const; + bool isNull(QMediaResource* theWrappedObject) const; + QString language(QMediaResource* theWrappedObject) const; + QString mimeType(QMediaResource* theWrappedObject) const; + bool __ne__(QMediaResource* theWrappedObject, const QMediaResource& other) const; + QMediaResource* operator_assign(QMediaResource* theWrappedObject, const QMediaResource& other); + bool __eq__(QMediaResource* theWrappedObject, const QMediaResource& other) const; + QNetworkRequest request(QMediaResource* theWrappedObject) const; + QSize resolution(QMediaResource* theWrappedObject) const; + int sampleRate(QMediaResource* theWrappedObject) const; + void setAudioBitRate(QMediaResource* theWrappedObject, int rate); + void setAudioCodec(QMediaResource* theWrappedObject, const QString& codec); + void setChannelCount(QMediaResource* theWrappedObject, int channels); + void setDataSize(QMediaResource* theWrappedObject, const qint64 size); + void setLanguage(QMediaResource* theWrappedObject, const QString& language); + void setResolution(QMediaResource* theWrappedObject, const QSize& resolution); + void setResolution(QMediaResource* theWrappedObject, int width, int height); + void setSampleRate(QMediaResource* theWrappedObject, int frequency); + void setVideoBitRate(QMediaResource* theWrappedObject, int rate); + void setVideoCodec(QMediaResource* theWrappedObject, const QString& codec); + QUrl url(QMediaResource* theWrappedObject) const; + int videoBitRate(QMediaResource* theWrappedObject) const; + QString videoCodec(QMediaResource* theWrappedObject) const; + bool __nonzero__(QMediaResource* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QMediaService : public QMediaService +{ +public: + PythonQtShell_QMediaService(QObject* parent):QMediaService(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaService() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaService : public QMediaService +{ public: +inline void py_q_releaseControl(QMediaControl* control) { this->releaseControl(control); } +inline QMediaControl* py_q_requestControl(const char* name) { return this->requestControl(name); } +}; + +class PythonQtWrapper_QMediaService : public QObject +{ Q_OBJECT +public: +public slots: +QMediaService* new_QMediaService(QObject* parent); +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); + QMediaControl* py_q_requestControl(QMediaService* theWrappedObject, const char* name){ return (((PythonQtPublicPromoter_QMediaService*)theWrappedObject)->py_q_requestControl(name));} +}; + + + + + +class PythonQtShell_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface +{ +public: + PythonQtShell_QMediaServiceCameraInfoInterface():QMediaServiceCameraInfoInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaServiceCameraInfoInterface() override; + +int cameraOrientation(const QByteArray& device) const override; +QCamera::Position cameraPosition(const QByteArray& device) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface +{ public: +inline int py_q_cameraOrientation(const QByteArray& device) const { return this->cameraOrientation(device); } +inline QCamera::Position py_q_cameraPosition(const QByteArray& device) const { return this->cameraPosition(device); } +}; + +class PythonQtWrapper_QMediaServiceCameraInfoInterface : public QObject +{ Q_OBJECT +public: +public slots: +QMediaServiceCameraInfoInterface* new_QMediaServiceCameraInfoInterface(); +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; + QCamera::Position py_q_cameraPosition(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const{ return (((PythonQtPublicPromoter_QMediaServiceCameraInfoInterface*)theWrappedObject)->py_q_cameraPosition(device));} +}; + + + + + +class PythonQtShell_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface +{ +public: + PythonQtShell_QMediaServiceDefaultDeviceInterface():QMediaServiceDefaultDeviceInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaServiceDefaultDeviceInterface() override; + +QByteArray defaultDevice(const QByteArray& service) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface +{ public: +inline QByteArray py_q_defaultDevice(const QByteArray& service) const { return this->defaultDevice(service); } +}; + +class PythonQtWrapper_QMediaServiceDefaultDeviceInterface : public QObject +{ Q_OBJECT +public: +public slots: +QMediaServiceDefaultDeviceInterface* new_QMediaServiceDefaultDeviceInterface(); +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));} +}; + + + + + +class PythonQtShell_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface +{ +public: + PythonQtShell_QMediaServiceProviderFactoryInterface():QMediaServiceProviderFactoryInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaServiceProviderFactoryInterface() override; + +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface +{ public: +inline QMediaService* py_q_create(const QString& key) { return this->create(key); } +inline void py_q_release(QMediaService* service) { this->release(service); } +}; + +class PythonQtWrapper_QMediaServiceProviderFactoryInterface : public QObject +{ Q_OBJECT +public: +public slots: +QMediaServiceProviderFactoryInterface* new_QMediaServiceProviderFactoryInterface(); +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); + void py_q_release(QMediaServiceProviderFactoryInterface* theWrappedObject, QMediaService* service){ (((PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface*)theWrappedObject)->py_q_release(service));} +}; + + + + + +class PythonQtWrapper_QMediaServiceProviderHint : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Feature Type ) +enum Feature{ + LowLatencyPlayback = QMediaServiceProviderHint::LowLatencyPlayback, RecordingSupport = QMediaServiceProviderHint::RecordingSupport, StreamPlayback = QMediaServiceProviderHint::StreamPlayback, VideoSurface = QMediaServiceProviderHint::VideoSurface}; +enum Type{ + Null = QMediaServiceProviderHint::Null, ContentType = QMediaServiceProviderHint::ContentType, Device = QMediaServiceProviderHint::Device, SupportedFeatures = QMediaServiceProviderHint::SupportedFeatures, CameraPosition = QMediaServiceProviderHint::CameraPosition}; +public slots: +QMediaServiceProviderHint* new_QMediaServiceProviderHint(); +QMediaServiceProviderHint* new_QMediaServiceProviderHint(QCamera::Position position); +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; } + QCamera::Position cameraPosition(QMediaServiceProviderHint* theWrappedObject) const; + QStringList codecs(QMediaServiceProviderHint* theWrappedObject) const; + QByteArray device(QMediaServiceProviderHint* theWrappedObject) const; + bool isNull(QMediaServiceProviderHint* theWrappedObject) const; + QString mimeType(QMediaServiceProviderHint* theWrappedObject) const; + bool __ne__(QMediaServiceProviderHint* theWrappedObject, const QMediaServiceProviderHint& other) const; + QMediaServiceProviderHint* operator_assign(QMediaServiceProviderHint* theWrappedObject, const QMediaServiceProviderHint& other); + bool __eq__(QMediaServiceProviderHint* theWrappedObject, const QMediaServiceProviderHint& other) const; + QMediaServiceProviderHint::Type type(QMediaServiceProviderHint* theWrappedObject) const; + bool __nonzero__(QMediaServiceProviderHint* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin +{ +public: + PythonQtShell_QMediaServiceProviderPlugin():QMediaServiceProviderPlugin(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaServiceProviderPlugin(); + +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin +{ public: +inline QMediaService* py_q_create(const QString& key) { return this->create(key); } +inline void py_q_release(QMediaService* service) { this->release(service); } +}; + +class PythonQtWrapper_QMediaServiceProviderPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QMediaServiceProviderPlugin* new_QMediaServiceProviderPlugin(); +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); + void py_q_release(QMediaServiceProviderPlugin* theWrappedObject, QMediaService* service){ (((PythonQtPublicPromoter_QMediaServiceProviderPlugin*)theWrappedObject)->py_q_release(service));} +}; + + + + + +class PythonQtShell_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface +{ +public: + PythonQtShell_QMediaServiceSupportedDevicesInterface():QMediaServiceSupportedDevicesInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaServiceSupportedDevicesInterface() override; + +QString deviceDescription(const QByteArray& service, const QByteArray& device) override; +QList devices(const QByteArray& service) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface +{ public: +inline QString py_q_deviceDescription(const QByteArray& service, const QByteArray& device) { return this->deviceDescription(service, device); } +inline QList py_q_devices(const QByteArray& service) const { return this->devices(service); } +}; + +class PythonQtWrapper_QMediaServiceSupportedDevicesInterface : public QObject +{ Q_OBJECT +public: +public slots: +QMediaServiceSupportedDevicesInterface* new_QMediaServiceSupportedDevicesInterface(); +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; + QList py_q_devices(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service) const{ return (((PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface*)theWrappedObject)->py_q_devices(service));} +}; + + + + + +class PythonQtShell_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface +{ +public: + PythonQtShell_QMediaServiceSupportedFormatsInterface():QMediaServiceSupportedFormatsInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaServiceSupportedFormatsInterface() override; + +QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const override; +QStringList supportedMimeTypes() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface +{ public: +inline QMultimedia::SupportEstimate py_q_hasSupport(const QString& mimeType, const QStringList& codecs) const { return this->hasSupport(mimeType, codecs); } +inline QStringList py_q_supportedMimeTypes() const { return this->supportedMimeTypes(); } +}; + +class PythonQtWrapper_QMediaServiceSupportedFormatsInterface : public QObject +{ Q_OBJECT +public: +public slots: +QMediaServiceSupportedFormatsInterface* new_QMediaServiceSupportedFormatsInterface(); +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; + QStringList py_q_supportedMimeTypes(QMediaServiceSupportedFormatsInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface*)theWrappedObject)->py_q_supportedMimeTypes());} +}; + + + + + +class PythonQtShell_QMediaStreamsControl : public QMediaStreamsControl +{ +public: + PythonQtShell_QMediaStreamsControl(QObject* parent = nullptr):QMediaStreamsControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaStreamsControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMediaStreamsControl : public QMediaStreamsControl +{ public: +inline bool py_q_isActive(int streamNumber) { return this->isActive(streamNumber); } +inline QVariant py_q_metaData(int streamNumber, const QString& key) { return this->metaData(streamNumber, key); } +inline void py_q_setActive(int streamNumber, bool state) { this->setActive(streamNumber, state); } +inline int py_q_streamCount() { return this->streamCount(); } +inline QMediaStreamsControl::StreamType py_q_streamType(int streamNumber) { return this->streamType(streamNumber); } +}; + +class PythonQtWrapper_QMediaStreamsControl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StreamType ) +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; } + 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); + QVariant py_q_metaData(QMediaStreamsControl* theWrappedObject, int streamNumber, const QString& key){ return (((PythonQtPublicPromoter_QMediaStreamsControl*)theWrappedObject)->py_q_metaData(streamNumber, key));} + void setActive(QMediaStreamsControl* theWrappedObject, int streamNumber, bool state); + void py_q_setActive(QMediaStreamsControl* theWrappedObject, int streamNumber, bool state){ (((PythonQtPublicPromoter_QMediaStreamsControl*)theWrappedObject)->py_q_setActive(streamNumber, state));} + int streamCount(QMediaStreamsControl* theWrappedObject); + int py_q_streamCount(QMediaStreamsControl* theWrappedObject){ return (((PythonQtPublicPromoter_QMediaStreamsControl*)theWrappedObject)->py_q_streamCount());} + QMediaStreamsControl::StreamType streamType(QMediaStreamsControl* theWrappedObject, int streamNumber); + QMediaStreamsControl::StreamType py_q_streamType(QMediaStreamsControl* theWrappedObject, int streamNumber){ return (((PythonQtPublicPromoter_QMediaStreamsControl*)theWrappedObject)->py_q_streamType(streamNumber));} +}; + + + + + +class PythonQtWrapper_QMediaTimeInterval : public QObject +{ Q_OBJECT +public: +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; } + 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); + QMediaTimeInterval* operator_assign(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__1); + bool __eq__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2); + qint64 start(QMediaTimeInterval* theWrappedObject) const; + QMediaTimeInterval translated(QMediaTimeInterval* theWrappedObject, qint64 offset) const; +}; + + + + + +class PythonQtWrapper_QMediaTimeRange : public QObject +{ Q_OBJECT +public: +public slots: +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 addInterval(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& interval); + void addInterval(QMediaTimeRange* theWrappedObject, qint64 start, qint64 end); + void addTimeRange(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); + void clear(QMediaTimeRange* theWrappedObject); + bool contains(QMediaTimeRange* theWrappedObject, qint64 time) const; + qint64 earliestTime(QMediaTimeRange* theWrappedObject) const; + QList intervals(QMediaTimeRange* theWrappedObject) const; + 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); + QMediaTimeRange __sub__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); + QMediaTimeRange* __isub__(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1); + QMediaTimeRange* __isub__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); + QMediaTimeRange* operator_assign(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1); + QMediaTimeRange* operator_assign(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); + bool __eq__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); + void removeInterval(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& interval); + void removeInterval(QMediaTimeRange* theWrappedObject, qint64 start, qint64 end); + void removeTimeRange(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); + QString py_toString(QMediaTimeRange*); + bool __nonzero__(QMediaTimeRange* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QMediaVideoProbeControl : public QMediaVideoProbeControl +{ +public: + PythonQtShell_QMediaVideoProbeControl(QObject* parent = nullptr):QMediaVideoProbeControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaVideoProbeControl() 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_QMediaVideoProbeControl : public QObject +{ Q_OBJECT +public: +public slots: +QMediaVideoProbeControl* new_QMediaVideoProbeControl(QObject* parent = nullptr); +void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QMetaDataReaderControl : public QMetaDataReaderControl +{ +public: + PythonQtShell_QMetaDataReaderControl(QObject* parent = nullptr):QMetaDataReaderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMetaDataReaderControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMetaDataReaderControl : public QMetaDataReaderControl +{ public: +inline QStringList py_q_availableMetaData() const { return this->availableMetaData(); } +inline bool py_q_isMetaDataAvailable() const { return this->isMetaDataAvailable(); } +inline QVariant py_q_metaData(const QString& key) const { return this->metaData(key); } +}; + +class PythonQtWrapper_QMetaDataReaderControl : public QObject +{ Q_OBJECT +public: +public slots: +QMetaDataReaderControl* new_QMetaDataReaderControl(QObject* parent = nullptr); +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; + bool py_q_isMetaDataAvailable(QMetaDataReaderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataReaderControl*)theWrappedObject)->py_q_isMetaDataAvailable());} + QVariant metaData(QMetaDataReaderControl* theWrappedObject, const QString& key) const; + QVariant py_q_metaData(QMetaDataReaderControl* theWrappedObject, const QString& key) const{ return (((PythonQtPublicPromoter_QMetaDataReaderControl*)theWrappedObject)->py_q_metaData(key));} +}; + + + + + +class PythonQtShell_QMetaDataWriterControl : public QMetaDataWriterControl +{ +public: + PythonQtShell_QMetaDataWriterControl(QObject* parent = nullptr):QMetaDataWriterControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMetaDataWriterControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMetaDataWriterControl : public QMetaDataWriterControl +{ public: +inline QStringList py_q_availableMetaData() const { return this->availableMetaData(); } +inline bool py_q_isMetaDataAvailable() const { return this->isMetaDataAvailable(); } +inline bool py_q_isWritable() const { return this->isWritable(); } +inline QVariant py_q_metaData(const QString& key) const { return this->metaData(key); } +inline void py_q_setMetaData(const QString& key, const QVariant& value) { this->setMetaData(key, value); } +}; + +class PythonQtWrapper_QMetaDataWriterControl : public QObject +{ Q_OBJECT +public: +public slots: +QMetaDataWriterControl* new_QMetaDataWriterControl(QObject* parent = nullptr); +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; + bool py_q_isMetaDataAvailable(QMetaDataWriterControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataWriterControl*)theWrappedObject)->py_q_isMetaDataAvailable());} + bool isWritable(QMetaDataWriterControl* theWrappedObject) const; + bool py_q_isWritable(QMetaDataWriterControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataWriterControl*)theWrappedObject)->py_q_isWritable());} + QVariant metaData(QMetaDataWriterControl* theWrappedObject, const QString& key) const; + QVariant py_q_metaData(QMetaDataWriterControl* theWrappedObject, const QString& key) const{ return (((PythonQtPublicPromoter_QMetaDataWriterControl*)theWrappedObject)->py_q_metaData(key));} + void setMetaData(QMetaDataWriterControl* theWrappedObject, const QString& key, const QVariant& value); + void py_q_setMetaData(QMetaDataWriterControl* theWrappedObject, const QString& key, const QVariant& value){ (((PythonQtPublicPromoter_QMetaDataWriterControl*)theWrappedObject)->py_q_setMetaData(key, value));} +}; + + + + + +class PythonQtWrapper_QMultimedia : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AvailabilityStatus EncodingMode EncodingQuality SupportEstimate ) +enum AvailabilityStatus{ + Available = QMultimedia::Available, ServiceMissing = QMultimedia::ServiceMissing, Busy = QMultimedia::Busy, ResourceError = QMultimedia::ResourceError}; +enum EncodingMode{ + ConstantQualityEncoding = QMultimedia::ConstantQualityEncoding, ConstantBitRateEncoding = QMultimedia::ConstantBitRateEncoding, AverageBitRateEncoding = QMultimedia::AverageBitRateEncoding, TwoPassEncoding = QMultimedia::TwoPassEncoding}; +enum EncodingQuality{ + VeryLowQuality = QMultimedia::VeryLowQuality, LowQuality = QMultimedia::LowQuality, NormalQuality = QMultimedia::NormalQuality, HighQuality = QMultimedia::HighQuality, VeryHighQuality = QMultimedia::VeryHighQuality}; +enum SupportEstimate{ + NotSupported = QMultimedia::NotSupported, MaybeSupported = QMultimedia::MaybeSupported, ProbablySupported = QMultimedia::ProbablySupported, PreferredService = QMultimedia::PreferredService}; +public slots: +}; + + + + + +class PythonQtShell_QRadioData : public QRadioData +{ +public: + PythonQtShell_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr):QRadioData(mediaObject, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioData() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRadioData : public QRadioData +{ public: +inline bool promoted_setMediaObject(QMediaObject* arg__1) { return this->setMediaObject(arg__1); } +inline QMediaObject* py_q_mediaObject() const { return QRadioData::mediaObject(); } +inline bool py_q_setMediaObject(QMediaObject* arg__1) { return QRadioData::setMediaObject(arg__1); } +}; + +class PythonQtWrapper_QRadioData : public QObject +{ Q_OBJECT +public: +public slots: +QRadioData* new_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr); +void delete_QRadioData(QRadioData* obj) { delete obj; } + QMultimedia::AvailabilityStatus availability(QRadioData* theWrappedObject) const; + QRadioData::Error error(QRadioData* theWrappedObject) const; + QString errorString(QRadioData* theWrappedObject) const; + bool isAlternativeFrequenciesEnabled(QRadioData* theWrappedObject) const; + QMediaObject* py_q_mediaObject(QRadioData* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioData*)theWrappedObject)->py_q_mediaObject());} + QRadioData::ProgramType programType(QRadioData* theWrappedObject) const; + QString programTypeName(QRadioData* theWrappedObject) const; + QString radioText(QRadioData* theWrappedObject) const; + bool py_q_setMediaObject(QRadioData* theWrappedObject, QMediaObject* arg__1){ return (((PythonQtPublicPromoter_QRadioData*)theWrappedObject)->py_q_setMediaObject(arg__1));} + QString stationId(QRadioData* theWrappedObject) const; + QString stationName(QRadioData* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QRadioDataControl : public QRadioDataControl +{ +public: + 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 +{ public: +inline QRadioData::Error py_q_error() const { return this->error(); } +inline QString py_q_errorString() const { return this->errorString(); } +inline bool py_q_isAlternativeFrequenciesEnabled() const { return this->isAlternativeFrequenciesEnabled(); } +inline QRadioData::ProgramType py_q_programType() const { return this->programType(); } +inline QString py_q_programTypeName() const { return this->programTypeName(); } +inline QString py_q_radioText() const { return this->radioText(); } +inline void py_q_setAlternativeFrequenciesEnabled(bool enabled) { this->setAlternativeFrequenciesEnabled(enabled); } +inline QString py_q_stationId() const { return this->stationId(); } +inline QString py_q_stationName() const { return this->stationName(); } +}; + +class PythonQtWrapper_QRadioDataControl : public QObject +{ Q_OBJECT +public: +public slots: +QRadioDataControl* new_QRadioDataControl(QObject* parent = nullptr); +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; + QString py_q_errorString(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_errorString());} + bool isAlternativeFrequenciesEnabled(QRadioDataControl* theWrappedObject) const; + bool py_q_isAlternativeFrequenciesEnabled(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_isAlternativeFrequenciesEnabled());} + QRadioData::ProgramType programType(QRadioDataControl* theWrappedObject) const; + QRadioData::ProgramType py_q_programType(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_programType());} + QString programTypeName(QRadioDataControl* theWrappedObject) const; + QString py_q_programTypeName(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_programTypeName());} + QString radioText(QRadioDataControl* theWrappedObject) const; + QString py_q_radioText(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_radioText());} + void setAlternativeFrequenciesEnabled(QRadioDataControl* theWrappedObject, bool enabled); + void py_q_setAlternativeFrequenciesEnabled(QRadioDataControl* theWrappedObject, bool enabled){ (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_setAlternativeFrequenciesEnabled(enabled));} + QString stationId(QRadioDataControl* theWrappedObject) const; + QString py_q_stationId(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_stationId());} + QString stationName(QRadioDataControl* theWrappedObject) const; + QString py_q_stationName(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_stationName());} +}; + + + + + +class PythonQtShell_QRadioTuner : public QRadioTuner +{ +public: + PythonQtShell_QRadioTuner(QObject* parent = nullptr):QRadioTuner(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioTuner() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRadioTuner : public QRadioTuner +{ public: +inline QMultimedia::AvailabilityStatus py_q_availability() const { return QRadioTuner::availability(); } +}; + +class PythonQtWrapper_QRadioTuner : public QObject +{ Q_OBJECT +public: +public slots: +QRadioTuner* new_QRadioTuner(QObject* parent = nullptr); +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; + QString errorString(QRadioTuner* theWrappedObject) const; + int frequency(QRadioTuner* theWrappedObject) const; + QPair frequencyRange(QRadioTuner* theWrappedObject, QRadioTuner::Band band) const; + int frequencyStep(QRadioTuner* theWrappedObject, QRadioTuner::Band band) const; + bool isAntennaConnected(QRadioTuner* theWrappedObject) const; + bool isBandSupported(QRadioTuner* theWrappedObject, QRadioTuner::Band b) const; + bool isMuted(QRadioTuner* theWrappedObject) const; + bool isSearching(QRadioTuner* theWrappedObject) const; + bool isStereo(QRadioTuner* theWrappedObject) const; + QRadioData* radioData(QRadioTuner* theWrappedObject) const; + void setStereoMode(QRadioTuner* theWrappedObject, QRadioTuner::StereoMode mode); + int signalStrength(QRadioTuner* theWrappedObject) const; + QRadioTuner::State state(QRadioTuner* theWrappedObject) const; + QRadioTuner::StereoMode stereoMode(QRadioTuner* theWrappedObject) const; + int volume(QRadioTuner* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QRadioTunerControl : public QRadioTunerControl +{ +public: + 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 +{ public: +inline QRadioTuner::Band py_q_band() const { return this->band(); } +inline void py_q_cancelSearch() { this->cancelSearch(); } +inline QRadioTuner::Error py_q_error() const { return this->error(); } +inline QString py_q_errorString() const { return this->errorString(); } +inline int py_q_frequency() const { return this->frequency(); } +inline QPair py_q_frequencyRange(QRadioTuner::Band b) const { return this->frequencyRange(b); } +inline int py_q_frequencyStep(QRadioTuner::Band b) const { return this->frequencyStep(b); } +inline bool py_q_isAntennaConnected() const { return QRadioTunerControl::isAntennaConnected(); } +inline bool py_q_isBandSupported(QRadioTuner::Band b) const { return this->isBandSupported(b); } +inline bool py_q_isMuted() const { return this->isMuted(); } +inline bool py_q_isSearching() const { return this->isSearching(); } +inline bool py_q_isStereo() const { return this->isStereo(); } +inline void py_q_searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast) { this->searchAllStations(searchMode); } +inline void py_q_searchBackward() { this->searchBackward(); } +inline void py_q_searchForward() { this->searchForward(); } +inline void py_q_setBand(QRadioTuner::Band b) { this->setBand(b); } +inline void py_q_setFrequency(int frequency) { this->setFrequency(frequency); } +inline void py_q_setMuted(bool muted) { this->setMuted(muted); } +inline void py_q_setStereoMode(QRadioTuner::StereoMode mode) { this->setStereoMode(mode); } +inline void py_q_setVolume(int volume) { this->setVolume(volume); } +inline int py_q_signalStrength() const { return this->signalStrength(); } +inline void py_q_start() { this->start(); } +inline QRadioTuner::State py_q_state() const { return this->state(); } +inline QRadioTuner::StereoMode py_q_stereoMode() const { return this->stereoMode(); } +inline void py_q_stop() { this->stop(); } +inline int py_q_volume() const { return this->volume(); } +}; + +class PythonQtWrapper_QRadioTunerControl : public QObject +{ Q_OBJECT +public: +public slots: +QRadioTunerControl* new_QRadioTunerControl(QObject* parent = nullptr); +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); + void py_q_cancelSearch(QRadioTunerControl* theWrappedObject){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_cancelSearch());} + QRadioTuner::Error error(QRadioTunerControl* theWrappedObject) const; + QRadioTuner::Error py_q_error(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_error());} + QString errorString(QRadioTunerControl* theWrappedObject) const; + QString py_q_errorString(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_errorString());} + int frequency(QRadioTunerControl* theWrappedObject) const; + int py_q_frequency(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_frequency());} + QPair frequencyRange(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const; + QPair py_q_frequencyRange(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_frequencyRange(b));} + int frequencyStep(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const; + int py_q_frequencyStep(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_frequencyStep(b));} + bool isAntennaConnected(QRadioTunerControl* theWrappedObject) const; + bool py_q_isAntennaConnected(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_isAntennaConnected());} + bool isBandSupported(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const; + bool py_q_isBandSupported(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_isBandSupported(b));} + bool isMuted(QRadioTunerControl* theWrappedObject) const; + bool py_q_isMuted(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_isMuted());} + bool isSearching(QRadioTunerControl* theWrappedObject) const; + bool py_q_isSearching(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_isSearching());} + bool isStereo(QRadioTunerControl* theWrappedObject) const; + bool py_q_isStereo(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_isStereo());} + void searchAllStations(QRadioTunerControl* theWrappedObject, QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast); + void py_q_searchAllStations(QRadioTunerControl* theWrappedObject, QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_searchAllStations(searchMode));} + void searchBackward(QRadioTunerControl* theWrappedObject); + void py_q_searchBackward(QRadioTunerControl* theWrappedObject){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_searchBackward());} + void searchForward(QRadioTunerControl* theWrappedObject); + void py_q_searchForward(QRadioTunerControl* theWrappedObject){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_searchForward());} + void setBand(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b); + void py_q_setBand(QRadioTunerControl* theWrappedObject, QRadioTuner::Band b){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_setBand(b));} + void setFrequency(QRadioTunerControl* theWrappedObject, int frequency); + void py_q_setFrequency(QRadioTunerControl* theWrappedObject, int frequency){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_setFrequency(frequency));} + void setMuted(QRadioTunerControl* theWrappedObject, bool muted); + void py_q_setMuted(QRadioTunerControl* theWrappedObject, bool muted){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_setMuted(muted));} + void setStereoMode(QRadioTunerControl* theWrappedObject, QRadioTuner::StereoMode mode); + void py_q_setStereoMode(QRadioTunerControl* theWrappedObject, QRadioTuner::StereoMode mode){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_setStereoMode(mode));} + void setVolume(QRadioTunerControl* theWrappedObject, int volume); + void py_q_setVolume(QRadioTunerControl* theWrappedObject, int volume){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_setVolume(volume));} + int signalStrength(QRadioTunerControl* theWrappedObject) const; + int py_q_signalStrength(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_signalStrength());} + void start(QRadioTunerControl* theWrappedObject); + void py_q_start(QRadioTunerControl* theWrappedObject){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_start());} + QRadioTuner::State state(QRadioTunerControl* theWrappedObject) const; + QRadioTuner::State py_q_state(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_state());} + QRadioTuner::StereoMode stereoMode(QRadioTunerControl* theWrappedObject) const; + QRadioTuner::StereoMode py_q_stereoMode(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_stereoMode());} + void stop(QRadioTunerControl* theWrappedObject); + void py_q_stop(QRadioTunerControl* theWrappedObject){ (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_stop());} + int volume(QRadioTunerControl* theWrappedObject) const; + int py_q_volume(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_volume());} +}; + + + + + +class PythonQtShell_QSound : public QSound +{ +public: + PythonQtShell_QSound(const QString& filename, QObject* parent = nullptr):QSound(filename, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSound() 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_QSound : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Loop ) +enum Loop{ + Infinite = QSound::Infinite}; +public slots: +QSound* new_QSound(const QString& filename, QObject* parent = nullptr); +void delete_QSound(QSound* obj) { delete obj; } + QString fileName(QSound* theWrappedObject) const; + bool isFinished(QSound* theWrappedObject) const; + int loops(QSound* theWrappedObject) const; + int loopsRemaining(QSound* theWrappedObject) const; + void static_QSound_play(const QString& filename); + void setLoops(QSound* theWrappedObject, int arg__1); +}; + + + + + +class PythonQtShell_QSoundEffect : public QSoundEffect +{ +public: + PythonQtShell_QSoundEffect(QObject* parent = nullptr):QSoundEffect(parent),_wrapper(nullptr) {}; + PythonQtShell_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr):QSoundEffect(audioDevice, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSoundEffect() 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_QSoundEffect : public QObject +{ Q_OBJECT +public: +public slots: +QSoundEffect* new_QSoundEffect(QObject* parent = nullptr); +QSoundEffect* new_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr); +void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } + QString category(QSoundEffect* theWrappedObject) const; + bool isLoaded(QSoundEffect* theWrappedObject) const; + bool isMuted(QSoundEffect* theWrappedObject) const; + bool isPlaying(QSoundEffect* theWrappedObject) const; + int loopCount(QSoundEffect* theWrappedObject) const; + int loopsRemaining(QSoundEffect* theWrappedObject) const; + void setCategory(QSoundEffect* theWrappedObject, const QString& category); + void setLoopCount(QSoundEffect* theWrappedObject, int loopCount); + void setMuted(QSoundEffect* theWrappedObject, bool muted); + void setSource(QSoundEffect* theWrappedObject, const QUrl& url); + void setVolume(QSoundEffect* theWrappedObject, qreal volume); + QUrl source(QSoundEffect* theWrappedObject) const; + QSoundEffect::Status status(QSoundEffect* theWrappedObject) const; + QStringList static_QSoundEffect_supportedMimeTypes(); + qreal volume(QSoundEffect* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl +{ +public: + PythonQtShell_QVideoDeviceSelectorControl(QObject* parent = nullptr):QVideoDeviceSelectorControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoDeviceSelectorControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl +{ public: +inline int py_q_defaultDevice() const { return this->defaultDevice(); } +inline int py_q_deviceCount() const { return this->deviceCount(); } +inline QString py_q_deviceDescription(int index) const { return this->deviceDescription(index); } +inline QString py_q_deviceName(int index) const { return this->deviceName(index); } +inline int py_q_selectedDevice() const { return this->selectedDevice(); } +inline void py_q_setSelectedDevice(int index) { this->setSelectedDevice(index); } +}; + +class PythonQtWrapper_QVideoDeviceSelectorControl : public QObject +{ Q_OBJECT +public: +public slots: +QVideoDeviceSelectorControl* new_QVideoDeviceSelectorControl(QObject* parent = nullptr); +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; + int py_q_deviceCount(QVideoDeviceSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_deviceCount());} + QString deviceDescription(QVideoDeviceSelectorControl* theWrappedObject, int index) const; + QString py_q_deviceDescription(QVideoDeviceSelectorControl* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_deviceDescription(index));} + QString deviceName(QVideoDeviceSelectorControl* theWrappedObject, int index) const; + QString py_q_deviceName(QVideoDeviceSelectorControl* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_deviceName(index));} + int selectedDevice(QVideoDeviceSelectorControl* theWrappedObject) const; + int py_q_selectedDevice(QVideoDeviceSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_selectedDevice());} + void py_q_setSelectedDevice(QVideoDeviceSelectorControl* theWrappedObject, int index){ (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_setSelectedDevice(index));} +}; + + + + + +class PythonQtWrapper_QVideoEncoderSettings : public QObject +{ Q_OBJECT +public: +public slots: +QVideoEncoderSettings* new_QVideoEncoderSettings(); +QVideoEncoderSettings* new_QVideoEncoderSettings(const QVideoEncoderSettings& other); +void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } + int bitRate(QVideoEncoderSettings* theWrappedObject) const; + QString codec(QVideoEncoderSettings* theWrappedObject) const; + QMultimedia::EncodingMode encodingMode(QVideoEncoderSettings* theWrappedObject) const; + QVariant encodingOption(QVideoEncoderSettings* theWrappedObject, const QString& option) const; + QMap encodingOptions(QVideoEncoderSettings* theWrappedObject) const; + qreal frameRate(QVideoEncoderSettings* theWrappedObject) const; + bool isNull(QVideoEncoderSettings* theWrappedObject) const; + bool __ne__(QVideoEncoderSettings* theWrappedObject, const QVideoEncoderSettings& other) const; + QVideoEncoderSettings* operator_assign(QVideoEncoderSettings* theWrappedObject, const QVideoEncoderSettings& other); + bool __eq__(QVideoEncoderSettings* theWrappedObject, const QVideoEncoderSettings& other) const; + QMultimedia::EncodingQuality quality(QVideoEncoderSettings* theWrappedObject) const; + QSize resolution(QVideoEncoderSettings* theWrappedObject) const; + void setBitRate(QVideoEncoderSettings* theWrappedObject, int bitrate); + void setCodec(QVideoEncoderSettings* theWrappedObject, const QString& arg__1); + void setEncodingMode(QVideoEncoderSettings* theWrappedObject, QMultimedia::EncodingMode arg__1); + void setEncodingOption(QVideoEncoderSettings* theWrappedObject, const QString& option, const QVariant& value); + void setEncodingOptions(QVideoEncoderSettings* theWrappedObject, const QMap& options); + void setFrameRate(QVideoEncoderSettings* theWrappedObject, qreal rate); + void setQuality(QVideoEncoderSettings* theWrappedObject, QMultimedia::EncodingQuality quality); + void setResolution(QVideoEncoderSettings* theWrappedObject, const QSize& arg__1); + void setResolution(QVideoEncoderSettings* theWrappedObject, int width, int height); + bool __nonzero__(QVideoEncoderSettings* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl +{ +public: + PythonQtShell_QVideoEncoderSettingsControl(QObject* parent = nullptr):QVideoEncoderSettingsControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoEncoderSettingsControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl +{ public: +inline void py_q_setVideoSettings(const QVideoEncoderSettings& settings) { this->setVideoSettings(settings); } +inline QList py_q_supportedFrameRates(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const { return this->supportedFrameRates(settings, continuous); } +inline QList py_q_supportedResolutions(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const { return this->supportedResolutions(settings, continuous); } +inline QStringList py_q_supportedVideoCodecs() const { return this->supportedVideoCodecs(); } +inline QString py_q_videoCodecDescription(const QString& codec) const { return this->videoCodecDescription(codec); } +inline QVideoEncoderSettings py_q_videoSettings() const { return this->videoSettings(); } +}; + +class PythonQtWrapper_QVideoEncoderSettingsControl : public QObject +{ Q_OBJECT +public: +public slots: +QVideoEncoderSettingsControl* new_QVideoEncoderSettingsControl(QObject* parent = nullptr); +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; + QList py_q_supportedFrameRates(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous = nullptr) const{ return (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_supportedFrameRates(settings, continuous));} + QList supportedResolutions(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; + QList py_q_supportedResolutions(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous = nullptr) const{ return (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_supportedResolutions(settings, continuous));} + QStringList supportedVideoCodecs(QVideoEncoderSettingsControl* theWrappedObject) const; + QStringList py_q_supportedVideoCodecs(QVideoEncoderSettingsControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_supportedVideoCodecs());} + QString videoCodecDescription(QVideoEncoderSettingsControl* theWrappedObject, const QString& codec) const; + QString py_q_videoCodecDescription(QVideoEncoderSettingsControl* theWrappedObject, const QString& codec) const{ return (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_videoCodecDescription(codec));} + QVideoEncoderSettings videoSettings(QVideoEncoderSettingsControl* theWrappedObject) const; + QVideoEncoderSettings py_q_videoSettings(QVideoEncoderSettingsControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_videoSettings());} +}; + + + + + +class PythonQtWrapper_QVideoFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FieldType PixelFormat ) +enum FieldType{ + ProgressiveFrame = QVideoFrame::ProgressiveFrame, TopField = QVideoFrame::TopField, BottomField = QVideoFrame::BottomField, InterlacedFrame = QVideoFrame::InterlacedFrame}; +enum PixelFormat{ + Format_Invalid = QVideoFrame::Format_Invalid, Format_ARGB32 = QVideoFrame::Format_ARGB32, Format_ARGB32_Premultiplied = QVideoFrame::Format_ARGB32_Premultiplied, Format_RGB32 = QVideoFrame::Format_RGB32, Format_RGB24 = QVideoFrame::Format_RGB24, Format_RGB565 = QVideoFrame::Format_RGB565, Format_RGB555 = QVideoFrame::Format_RGB555, Format_ARGB8565_Premultiplied = QVideoFrame::Format_ARGB8565_Premultiplied, Format_BGRA32 = QVideoFrame::Format_BGRA32, Format_BGRA32_Premultiplied = QVideoFrame::Format_BGRA32_Premultiplied, Format_BGR32 = QVideoFrame::Format_BGR32, Format_BGR24 = QVideoFrame::Format_BGR24, Format_BGR565 = QVideoFrame::Format_BGR565, Format_BGR555 = QVideoFrame::Format_BGR555, Format_BGRA5658_Premultiplied = QVideoFrame::Format_BGRA5658_Premultiplied, Format_AYUV444 = QVideoFrame::Format_AYUV444, Format_AYUV444_Premultiplied = QVideoFrame::Format_AYUV444_Premultiplied, Format_YUV444 = QVideoFrame::Format_YUV444, Format_YUV420P = QVideoFrame::Format_YUV420P, Format_YV12 = QVideoFrame::Format_YV12, Format_UYVY = QVideoFrame::Format_UYVY, Format_YUYV = QVideoFrame::Format_YUYV, Format_NV12 = QVideoFrame::Format_NV12, Format_NV21 = QVideoFrame::Format_NV21, Format_IMC1 = QVideoFrame::Format_IMC1, Format_IMC2 = QVideoFrame::Format_IMC2, Format_IMC3 = QVideoFrame::Format_IMC3, Format_IMC4 = QVideoFrame::Format_IMC4, Format_Y8 = QVideoFrame::Format_Y8, Format_Y16 = QVideoFrame::Format_Y16, Format_Jpeg = QVideoFrame::Format_Jpeg, Format_CameraRaw = QVideoFrame::Format_CameraRaw, Format_AdobeDng = QVideoFrame::Format_AdobeDng, Format_ABGR32 = QVideoFrame::Format_ABGR32, Format_YUV422P = QVideoFrame::Format_YUV422P, NPixelFormats = QVideoFrame::NPixelFormats, Format_User = QVideoFrame::Format_User}; +public slots: +QVideoFrame* new_QVideoFrame(); +QVideoFrame* new_QVideoFrame(QAbstractVideoBuffer* buffer, const QSize& size, QVideoFrame::PixelFormat format); +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; } + QMap availableMetaData(QVideoFrame* theWrappedObject) const; + uchar* bits(QVideoFrame* theWrappedObject); + const uchar* bits(QVideoFrame* theWrappedObject) const; + uchar* bits(QVideoFrame* theWrappedObject, int plane); + const uchar* bits(QVideoFrame* theWrappedObject, int plane) const; + QAbstractVideoBuffer* buffer(QVideoFrame* theWrappedObject) const; + int bytesPerLine(QVideoFrame* theWrappedObject) const; + int bytesPerLine(QVideoFrame* theWrappedObject, int plane) const; + qint64 endTime(QVideoFrame* theWrappedObject) const; + QVideoFrame::FieldType fieldType(QVideoFrame* theWrappedObject) const; + QVariant handle(QVideoFrame* theWrappedObject) const; + QAbstractVideoBuffer::HandleType handleType(QVideoFrame* theWrappedObject) const; + int height(QVideoFrame* theWrappedObject) const; + QImage image(QVideoFrame* theWrappedObject) const; + QImage::Format static_QVideoFrame_imageFormatFromPixelFormat(QVideoFrame::PixelFormat format); + bool isMapped(QVideoFrame* theWrappedObject) const; + bool isReadable(QVideoFrame* theWrappedObject) const; + bool isValid(QVideoFrame* theWrappedObject) const; + bool isWritable(QVideoFrame* theWrappedObject) const; + bool map(QVideoFrame* theWrappedObject, QAbstractVideoBuffer::MapMode mode); + QAbstractVideoBuffer::MapMode mapMode(QVideoFrame* theWrappedObject) const; + int mappedBytes(QVideoFrame* theWrappedObject) const; + QVariant metaData(QVideoFrame* theWrappedObject, const QString& key) const; + bool __ne__(QVideoFrame* theWrappedObject, const QVideoFrame& other) const; + QVideoFrame* operator_assign(QVideoFrame* theWrappedObject, const QVideoFrame& other); + bool __eq__(QVideoFrame* theWrappedObject, const QVideoFrame& other) const; + QVideoFrame::PixelFormat pixelFormat(QVideoFrame* theWrappedObject) const; + QVideoFrame::PixelFormat static_QVideoFrame_pixelFormatFromImageFormat(QImage::Format format); + int planeCount(QVideoFrame* theWrappedObject) const; + void setEndTime(QVideoFrame* theWrappedObject, qint64 time); + void setFieldType(QVideoFrame* theWrappedObject, QVideoFrame::FieldType arg__1); + void setMetaData(QVideoFrame* theWrappedObject, const QString& key, const QVariant& value); + void setStartTime(QVideoFrame* theWrappedObject, qint64 time); + QSize size(QVideoFrame* theWrappedObject) const; + qint64 startTime(QVideoFrame* theWrappedObject) const; + void unmap(QVideoFrame* theWrappedObject); + int width(QVideoFrame* theWrappedObject) const; + QString py_toString(QVideoFrame*); + bool __nonzero__(QVideoFrame* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QVideoProbe : public QVideoProbe +{ +public: + PythonQtShell_QVideoProbe(QObject* parent = nullptr):QVideoProbe(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoProbe() 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_QVideoProbe : public QObject +{ Q_OBJECT +public: +public slots: +QVideoProbe* new_QVideoProbe(QObject* parent = nullptr); +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_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp new file mode 100644 index 00000000..ec9fd76f --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp @@ -0,0 +1,3015 @@ +#include "com_trolltech_qt_multimedia3.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QVideoRendererControl::~PythonQtShell_QVideoRendererControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QVideoRendererControl::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(); + } + } +} + QVideoRendererControl::childEvent(event0); +} +void PythonQtShell_QVideoRendererControl::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(); + } + } +} + QVideoRendererControl::customEvent(event0); +} +bool PythonQtShell_QVideoRendererControl::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 QVideoRendererControl::event(event0); +} +bool PythonQtShell_QVideoRendererControl::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 QVideoRendererControl::eventFilter(watched0, event1); +} +void PythonQtShell_QVideoRendererControl::setSurface(QAbstractVideoSurface* surface0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSurface"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractVideoSurface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&surface0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QAbstractVideoSurface* PythonQtShell_QVideoRendererControl::surface() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surface"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractVideoSurface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surface", methodInfo, result); + } else { + returnValue = *((QAbstractVideoSurface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QVideoRendererControl::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(); + } + } +} + QVideoRendererControl::timerEvent(event0); +} +QVideoRendererControl* PythonQtWrapper_QVideoRendererControl::new_QVideoRendererControl(QObject* parent) +{ +return new PythonQtShell_QVideoRendererControl(parent); } + +const QMetaObject* PythonQtShell_QVideoRendererControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVideoRendererControl::staticMetaObject); + } else { + return &QVideoRendererControl::staticMetaObject; + } +} +int PythonQtShell_QVideoRendererControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVideoRendererControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QVideoRendererControl::setSurface(QVideoRendererControl* theWrappedObject, QAbstractVideoSurface* surface) +{ + ( theWrappedObject->setSurface(surface)); +} + +QAbstractVideoSurface* PythonQtWrapper_QVideoRendererControl::surface(QVideoRendererControl* theWrappedObject) const +{ + return ( theWrappedObject->surface()); +} + + + +QVideoSurfaceFormat* PythonQtWrapper_QVideoSurfaceFormat::new_QVideoSurfaceFormat() +{ +return new QVideoSurfaceFormat(); } + +QVideoSurfaceFormat* PythonQtWrapper_QVideoSurfaceFormat::new_QVideoSurfaceFormat(const QSize& size, QVideoFrame::PixelFormat pixelFormat, QAbstractVideoBuffer::HandleType handleType) +{ +return new QVideoSurfaceFormat(size, pixelFormat, handleType); } + +QVideoSurfaceFormat* PythonQtWrapper_QVideoSurfaceFormat::new_QVideoSurfaceFormat(const QVideoSurfaceFormat& format) +{ +return new QVideoSurfaceFormat(format); } + +int PythonQtWrapper_QVideoSurfaceFormat::frameHeight(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->frameHeight()); +} + +qreal PythonQtWrapper_QVideoSurfaceFormat::frameRate(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->frameRate()); +} + +QSize PythonQtWrapper_QVideoSurfaceFormat::frameSize(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->frameSize()); +} + +int PythonQtWrapper_QVideoSurfaceFormat::frameWidth(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->frameWidth()); +} + +QAbstractVideoBuffer::HandleType PythonQtWrapper_QVideoSurfaceFormat::handleType(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->handleType()); +} + +bool PythonQtWrapper_QVideoSurfaceFormat::isMirrored(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->isMirrored()); +} + +bool PythonQtWrapper_QVideoSurfaceFormat::isValid(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QVideoSurfaceFormat::__ne__(QVideoSurfaceFormat* theWrappedObject, const QVideoSurfaceFormat& format) const +{ + return ( (*theWrappedObject)!= format); +} + +QVideoSurfaceFormat* PythonQtWrapper_QVideoSurfaceFormat::operator_assign(QVideoSurfaceFormat* theWrappedObject, const QVideoSurfaceFormat& format) +{ + return &( (*theWrappedObject)= format); +} + +bool PythonQtWrapper_QVideoSurfaceFormat::__eq__(QVideoSurfaceFormat* theWrappedObject, const QVideoSurfaceFormat& format) const +{ + return ( (*theWrappedObject)== format); +} + +QSize PythonQtWrapper_QVideoSurfaceFormat::pixelAspectRatio(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->pixelAspectRatio()); +} + +QVideoFrame::PixelFormat PythonQtWrapper_QVideoSurfaceFormat::pixelFormat(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->pixelFormat()); +} + +QVariant PythonQtWrapper_QVideoSurfaceFormat::property(QVideoSurfaceFormat* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->property(name)); +} + +QList PythonQtWrapper_QVideoSurfaceFormat::propertyNames(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->propertyNames()); +} + +QVideoSurfaceFormat::Direction PythonQtWrapper_QVideoSurfaceFormat::scanLineDirection(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->scanLineDirection()); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setFrameRate(QVideoSurfaceFormat* theWrappedObject, qreal rate) +{ + ( theWrappedObject->setFrameRate(rate)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setFrameSize(QVideoSurfaceFormat* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setFrameSize(size)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setFrameSize(QVideoSurfaceFormat* theWrappedObject, int width, int height) +{ + ( theWrappedObject->setFrameSize(width, height)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setMirrored(QVideoSurfaceFormat* theWrappedObject, bool mirrored) +{ + ( theWrappedObject->setMirrored(mirrored)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setPixelAspectRatio(QVideoSurfaceFormat* theWrappedObject, const QSize& ratio) +{ + ( theWrappedObject->setPixelAspectRatio(ratio)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setPixelAspectRatio(QVideoSurfaceFormat* theWrappedObject, int width, int height) +{ + ( theWrappedObject->setPixelAspectRatio(width, height)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setProperty(QVideoSurfaceFormat* theWrappedObject, const char* name, const QVariant& value) +{ + ( theWrappedObject->setProperty(name, value)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setScanLineDirection(QVideoSurfaceFormat* theWrappedObject, QVideoSurfaceFormat::Direction direction) +{ + ( theWrappedObject->setScanLineDirection(direction)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setViewport(QVideoSurfaceFormat* theWrappedObject, const QRect& viewport) +{ + ( theWrappedObject->setViewport(viewport)); +} + +void PythonQtWrapper_QVideoSurfaceFormat::setYCbCrColorSpace(QVideoSurfaceFormat* theWrappedObject, QVideoSurfaceFormat::YCbCrColorSpace colorSpace) +{ + ( theWrappedObject->setYCbCrColorSpace(colorSpace)); +} + +QSize PythonQtWrapper_QVideoSurfaceFormat::sizeHint(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QRect PythonQtWrapper_QVideoSurfaceFormat::viewport(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->viewport()); +} + +QVideoSurfaceFormat::YCbCrColorSpace PythonQtWrapper_QVideoSurfaceFormat::yCbCrColorSpace(QVideoSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->yCbCrColorSpace()); +} + +QString PythonQtWrapper_QVideoSurfaceFormat::py_toString(QVideoSurfaceFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QVideoWidget::~PythonQtShell_QVideoWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QVideoWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QVideoWidget::actionEvent(event0); +} +void PythonQtShell_QVideoWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidget::changeEvent(arg__1); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::childEvent(event0); +} +void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QVideoWidget::closeEvent(event0); +} +void PythonQtShell_QVideoWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QVideoWidget::contextMenuEvent(event0); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::customEvent(event0); +} +int PythonQtShell_QVideoWidget::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 QVideoWidget::devType(); +} +void PythonQtShell_QVideoWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QVideoWidget::dragEnterEvent(event0); +} +void PythonQtShell_QVideoWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QVideoWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QVideoWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QVideoWidget::dragMoveEvent(event0); +} +void PythonQtShell_QVideoWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QVideoWidget::dropEvent(event0); +} +void PythonQtShell_QVideoWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QVideoWidget::enterEvent(event0); +} +bool PythonQtShell_QVideoWidget::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 QVideoWidget::event(event0); +} +bool PythonQtShell_QVideoWidget::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 QVideoWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::focusInEvent(event0); +} +bool PythonQtShell_QVideoWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::focusOutEvent(event0); +} +bool PythonQtShell_QVideoWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::hasHeightForWidth(); +} +int PythonQtShell_QVideoWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::heightForWidth(arg__1); +} +void PythonQtShell_QVideoWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidget::hideEvent(event0); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::initPainter(painter0); +} +void PythonQtShell_QVideoWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QVideoWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::keyPressEvent(event0); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QVideoWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QVideoWidget::leaveEvent(event0); +} +QMediaObject* PythonQtShell_QVideoWidget::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 QVideoWidget::mediaObject(); +} +int PythonQtShell_QVideoWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::metric(arg__1); +} +QSize PythonQtShell_QVideoWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::minimumSizeHint(); +} +void PythonQtShell_QVideoWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QVideoWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QVideoWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QVideoWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QVideoWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QVideoWidget::mousePressEvent(event0); +} +void PythonQtShell_QVideoWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QVideoWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QVideoWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QVideoWidget::moveEvent(event0); +} +bool PythonQtShell_QVideoWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QVideoWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::paintEngine(); +} +void PythonQtShell_QVideoWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QVideoWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QVideoWidget::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 QVideoWidget::redirected(offset0); +} +void PythonQtShell_QVideoWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QVideoWidget::resizeEvent(event0); +} +bool PythonQtShell_QVideoWidget::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 QVideoWidget::setMediaObject(object0); +} +void PythonQtShell_QVideoWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QVideoWidget::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 QVideoWidget::sharedPainter(); +} +void PythonQtShell_QVideoWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QVideoWidget::showEvent(event0); +} +QSize PythonQtShell_QVideoWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::sizeHint(); +} +void PythonQtShell_QVideoWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QVideoWidget::tabletEvent(event0); +} +void PythonQtShell_QVideoWidget::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(); + } + } +} + QVideoWidget::timerEvent(event0); +} +void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QVideoWidget::wheelEvent(event0); +} +QVideoWidget* PythonQtWrapper_QVideoWidget::new_QVideoWidget(QWidget* parent) +{ +return new PythonQtShell_QVideoWidget(parent); } + +const QMetaObject* PythonQtShell_QVideoWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVideoWidget::staticMetaObject); + } else { + return &QVideoWidget::staticMetaObject; + } +} +int PythonQtShell_QVideoWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVideoWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::AspectRatioMode PythonQtWrapper_QVideoWidget::aspectRatioMode(QVideoWidget* theWrappedObject) const +{ + return ( theWrappedObject->aspectRatioMode()); +} + +int PythonQtWrapper_QVideoWidget::brightness(QVideoWidget* theWrappedObject) const +{ + return ( theWrappedObject->brightness()); +} + +int PythonQtWrapper_QVideoWidget::contrast(QVideoWidget* theWrappedObject) const +{ + return ( theWrappedObject->contrast()); +} + +int PythonQtWrapper_QVideoWidget::hue(QVideoWidget* theWrappedObject) const +{ + return ( theWrappedObject->hue()); +} + +int PythonQtWrapper_QVideoWidget::saturation(QVideoWidget* theWrappedObject) const +{ + return ( theWrappedObject->saturation()); +} + +QSize PythonQtWrapper_QVideoWidget::sizeHint(QVideoWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QAbstractVideoSurface* PythonQtWrapper_QVideoWidget::videoSurface(QVideoWidget* theWrappedObject) const +{ + return ( theWrappedObject->videoSurface()); +} + + + +PythonQtShell_QVideoWidgetControl::~PythonQtShell_QVideoWidgetControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +Qt::AspectRatioMode PythonQtShell_QVideoWidgetControl::aspectRatioMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("aspectRatioMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::AspectRatioMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); + } else { + returnValue = *((Qt::AspectRatioMode*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return Qt::AspectRatioMode(); +} +int PythonQtShell_QVideoWidgetControl::brightness() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("brightness"); + 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("brightness", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QVideoWidgetControl::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(); + } + } +} + QVideoWidgetControl::childEvent(event0); +} +int PythonQtShell_QVideoWidgetControl::contrast() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contrast"); + 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("contrast", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QVideoWidgetControl::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(); + } + } +} + QVideoWidgetControl::customEvent(event0); +} +bool PythonQtShell_QVideoWidgetControl::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 QVideoWidgetControl::event(event0); +} +bool PythonQtShell_QVideoWidgetControl::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 QVideoWidgetControl::eventFilter(watched0, event1); +} +int PythonQtShell_QVideoWidgetControl::hue() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hue"); + 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("hue", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QVideoWidgetControl::isFullScreen() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFullScreen"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +int PythonQtShell_QVideoWidgetControl::saturation() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("saturation"); + 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("saturation", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QVideoWidgetControl::setAspectRatioMode(Qt::AspectRatioMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setAspectRatioMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWidgetControl::setBrightness(int brightness0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBrightness"); + 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*)&brightness0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWidgetControl::setContrast(int contrast0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setContrast"); + 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*)&contrast0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWidgetControl::setFullScreen(bool fullScreen0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFullScreen"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&fullScreen0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWidgetControl::setHue(int hue0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHue"); + 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*)&hue0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWidgetControl::setSaturation(int saturation0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSaturation"); + 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*)&saturation0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWidgetControl::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(); + } + } +} + QVideoWidgetControl::timerEvent(event0); +} +QWidget* PythonQtShell_QVideoWidgetControl::videoWidget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("videoWidget"); + 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("videoWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QVideoWidgetControl* PythonQtWrapper_QVideoWidgetControl::new_QVideoWidgetControl(QObject* parent) +{ +return new PythonQtShell_QVideoWidgetControl(parent); } + +const QMetaObject* PythonQtShell_QVideoWidgetControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVideoWidgetControl::staticMetaObject); + } else { + return &QVideoWidgetControl::staticMetaObject; + } +} +int PythonQtShell_QVideoWidgetControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVideoWidgetControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::AspectRatioMode PythonQtWrapper_QVideoWidgetControl::aspectRatioMode(QVideoWidgetControl* theWrappedObject) const +{ + return ( theWrappedObject->aspectRatioMode()); +} + +int PythonQtWrapper_QVideoWidgetControl::brightness(QVideoWidgetControl* theWrappedObject) const +{ + return ( theWrappedObject->brightness()); +} + +int PythonQtWrapper_QVideoWidgetControl::contrast(QVideoWidgetControl* theWrappedObject) const +{ + return ( theWrappedObject->contrast()); +} + +int PythonQtWrapper_QVideoWidgetControl::hue(QVideoWidgetControl* theWrappedObject) const +{ + return ( theWrappedObject->hue()); +} + +bool PythonQtWrapper_QVideoWidgetControl::isFullScreen(QVideoWidgetControl* theWrappedObject) const +{ + return ( theWrappedObject->isFullScreen()); +} + +int PythonQtWrapper_QVideoWidgetControl::saturation(QVideoWidgetControl* theWrappedObject) const +{ + return ( theWrappedObject->saturation()); +} + +void PythonQtWrapper_QVideoWidgetControl::setAspectRatioMode(QVideoWidgetControl* theWrappedObject, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->setAspectRatioMode(mode)); +} + +void PythonQtWrapper_QVideoWidgetControl::setBrightness(QVideoWidgetControl* theWrappedObject, int brightness) +{ + ( theWrappedObject->setBrightness(brightness)); +} + +void PythonQtWrapper_QVideoWidgetControl::setContrast(QVideoWidgetControl* theWrappedObject, int contrast) +{ + ( theWrappedObject->setContrast(contrast)); +} + +void PythonQtWrapper_QVideoWidgetControl::setFullScreen(QVideoWidgetControl* theWrappedObject, bool fullScreen) +{ + ( theWrappedObject->setFullScreen(fullScreen)); +} + +void PythonQtWrapper_QVideoWidgetControl::setHue(QVideoWidgetControl* theWrappedObject, int hue) +{ + ( theWrappedObject->setHue(hue)); +} + +void PythonQtWrapper_QVideoWidgetControl::setSaturation(QVideoWidgetControl* theWrappedObject, int saturation) +{ + ( theWrappedObject->setSaturation(saturation)); +} + +QWidget* PythonQtWrapper_QVideoWidgetControl::videoWidget(QVideoWidgetControl* theWrappedObject) +{ + return ( theWrappedObject->videoWidget()); +} + + + +PythonQtShell_QVideoWindowControl::~PythonQtShell_QVideoWindowControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +Qt::AspectRatioMode PythonQtShell_QVideoWindowControl::aspectRatioMode() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("aspectRatioMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::AspectRatioMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); + } else { + returnValue = *((Qt::AspectRatioMode*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return Qt::AspectRatioMode(); +} +int PythonQtShell_QVideoWindowControl::brightness() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("brightness"); + 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("brightness", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QVideoWindowControl::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(); + } + } +} + QVideoWindowControl::childEvent(event0); +} +int PythonQtShell_QVideoWindowControl::contrast() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contrast"); + 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("contrast", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QVideoWindowControl::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(); + } + } +} + QVideoWindowControl::customEvent(event0); +} +QRect PythonQtShell_QVideoWindowControl::displayRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("displayRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("displayRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRect(); +} +bool PythonQtShell_QVideoWindowControl::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 QVideoWindowControl::event(event0); +} +bool PythonQtShell_QVideoWindowControl::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 QVideoWindowControl::eventFilter(watched0, event1); +} +int PythonQtShell_QVideoWindowControl::hue() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hue"); + 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("hue", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QVideoWindowControl::isFullScreen() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isFullScreen"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QSize PythonQtShell_QVideoWindowControl::nativeSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +void PythonQtShell_QVideoWindowControl::repaint() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("repaint"); + 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(); + } + } +} + +} +int PythonQtShell_QVideoWindowControl::saturation() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("saturation"); + 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("saturation", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +void PythonQtShell_QVideoWindowControl::setAspectRatioMode(Qt::AspectRatioMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setAspectRatioMode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::setBrightness(int brightness0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBrightness"); + 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*)&brightness0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::setContrast(int contrast0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setContrast"); + 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*)&contrast0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::setDisplayRect(const QRect& rect0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDisplayRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; + 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(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::setFullScreen(bool fullScreen0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFullScreen"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&fullScreen0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::setHue(int hue0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHue"); + 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*)&hue0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::setSaturation(int saturation0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSaturation"); + 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*)&saturation0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::setWinId(WId id0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setWinId"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "WId"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&id0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QVideoWindowControl::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(); + } + } +} + QVideoWindowControl::timerEvent(event0); +} +WId PythonQtShell_QVideoWindowControl::winId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("winId"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"WId"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("winId", methodInfo, result); + } else { + returnValue = *((WId*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return WId(); +} +QVideoWindowControl* PythonQtWrapper_QVideoWindowControl::new_QVideoWindowControl(QObject* parent) +{ +return new PythonQtShell_QVideoWindowControl(parent); } + +const QMetaObject* PythonQtShell_QVideoWindowControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVideoWindowControl::staticMetaObject); + } else { + return &QVideoWindowControl::staticMetaObject; + } +} +int PythonQtShell_QVideoWindowControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVideoWindowControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::AspectRatioMode PythonQtWrapper_QVideoWindowControl::aspectRatioMode(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->aspectRatioMode()); +} + +int PythonQtWrapper_QVideoWindowControl::brightness(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->brightness()); +} + +int PythonQtWrapper_QVideoWindowControl::contrast(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->contrast()); +} + +QRect PythonQtWrapper_QVideoWindowControl::displayRect(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->displayRect()); +} + +int PythonQtWrapper_QVideoWindowControl::hue(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->hue()); +} + +bool PythonQtWrapper_QVideoWindowControl::isFullScreen(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->isFullScreen()); +} + +QSize PythonQtWrapper_QVideoWindowControl::nativeSize(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->nativeSize()); +} + +void PythonQtWrapper_QVideoWindowControl::repaint(QVideoWindowControl* theWrappedObject) +{ + ( theWrappedObject->repaint()); +} + +int PythonQtWrapper_QVideoWindowControl::saturation(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->saturation()); +} + +void PythonQtWrapper_QVideoWindowControl::setAspectRatioMode(QVideoWindowControl* theWrappedObject, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->setAspectRatioMode(mode)); +} + +void PythonQtWrapper_QVideoWindowControl::setBrightness(QVideoWindowControl* theWrappedObject, int brightness) +{ + ( theWrappedObject->setBrightness(brightness)); +} + +void PythonQtWrapper_QVideoWindowControl::setContrast(QVideoWindowControl* theWrappedObject, int contrast) +{ + ( theWrappedObject->setContrast(contrast)); +} + +void PythonQtWrapper_QVideoWindowControl::setDisplayRect(QVideoWindowControl* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setDisplayRect(rect)); +} + +void PythonQtWrapper_QVideoWindowControl::setFullScreen(QVideoWindowControl* theWrappedObject, bool fullScreen) +{ + ( theWrappedObject->setFullScreen(fullScreen)); +} + +void PythonQtWrapper_QVideoWindowControl::setHue(QVideoWindowControl* theWrappedObject, int hue) +{ + ( theWrappedObject->setHue(hue)); +} + +void PythonQtWrapper_QVideoWindowControl::setSaturation(QVideoWindowControl* theWrappedObject, int saturation) +{ + ( theWrappedObject->setSaturation(saturation)); +} + +void PythonQtWrapper_QVideoWindowControl::setWinId(QVideoWindowControl* theWrappedObject, WId id) +{ + ( theWrappedObject->setWinId(id)); +} + +WId PythonQtWrapper_QVideoWindowControl::winId(QVideoWindowControl* theWrappedObject) const +{ + return ( theWrappedObject->winId()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h new file mode 100644 index 00000000..972bcc16 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h @@ -0,0 +1,436 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QVideoRendererControl : public QVideoRendererControl +{ +public: + PythonQtShell_QVideoRendererControl(QObject* parent = nullptr):QVideoRendererControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoRendererControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QVideoRendererControl : public QVideoRendererControl +{ public: +inline void py_q_setSurface(QAbstractVideoSurface* surface) { this->setSurface(surface); } +inline QAbstractVideoSurface* py_q_surface() const { return this->surface(); } +}; + +class PythonQtWrapper_QVideoRendererControl : public QObject +{ Q_OBJECT +public: +public slots: +QVideoRendererControl* new_QVideoRendererControl(QObject* parent = nullptr); +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; + QAbstractVideoSurface* py_q_surface(QVideoRendererControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoRendererControl*)theWrappedObject)->py_q_surface());} +}; + + + + + +class PythonQtWrapper_QVideoSurfaceFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Direction YCbCrColorSpace ) +enum Direction{ + TopToBottom = QVideoSurfaceFormat::TopToBottom, BottomToTop = QVideoSurfaceFormat::BottomToTop}; +enum YCbCrColorSpace{ + YCbCr_Undefined = QVideoSurfaceFormat::YCbCr_Undefined, YCbCr_BT601 = QVideoSurfaceFormat::YCbCr_BT601, YCbCr_BT709 = QVideoSurfaceFormat::YCbCr_BT709, YCbCr_xvYCC601 = QVideoSurfaceFormat::YCbCr_xvYCC601, YCbCr_xvYCC709 = QVideoSurfaceFormat::YCbCr_xvYCC709, YCbCr_JPEG = QVideoSurfaceFormat::YCbCr_JPEG, YCbCr_CustomMatrix = QVideoSurfaceFormat::YCbCr_CustomMatrix}; +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; } + int frameHeight(QVideoSurfaceFormat* theWrappedObject) const; + qreal frameRate(QVideoSurfaceFormat* theWrappedObject) const; + QSize frameSize(QVideoSurfaceFormat* theWrappedObject) const; + int frameWidth(QVideoSurfaceFormat* theWrappedObject) const; + QAbstractVideoBuffer::HandleType handleType(QVideoSurfaceFormat* theWrappedObject) const; + bool isMirrored(QVideoSurfaceFormat* theWrappedObject) const; + bool isValid(QVideoSurfaceFormat* theWrappedObject) const; + bool __ne__(QVideoSurfaceFormat* theWrappedObject, const QVideoSurfaceFormat& format) const; + QVideoSurfaceFormat* operator_assign(QVideoSurfaceFormat* theWrappedObject, const QVideoSurfaceFormat& format); + bool __eq__(QVideoSurfaceFormat* theWrappedObject, const QVideoSurfaceFormat& format) const; + QSize pixelAspectRatio(QVideoSurfaceFormat* theWrappedObject) const; + QVideoFrame::PixelFormat pixelFormat(QVideoSurfaceFormat* theWrappedObject) const; + QVariant property(QVideoSurfaceFormat* theWrappedObject, const char* name) const; + QList propertyNames(QVideoSurfaceFormat* theWrappedObject) const; + QVideoSurfaceFormat::Direction scanLineDirection(QVideoSurfaceFormat* theWrappedObject) const; + void setFrameRate(QVideoSurfaceFormat* theWrappedObject, qreal rate); + void setFrameSize(QVideoSurfaceFormat* theWrappedObject, const QSize& size); + void setFrameSize(QVideoSurfaceFormat* theWrappedObject, int width, int height); + void setMirrored(QVideoSurfaceFormat* theWrappedObject, bool mirrored); + void setPixelAspectRatio(QVideoSurfaceFormat* theWrappedObject, const QSize& ratio); + void setPixelAspectRatio(QVideoSurfaceFormat* theWrappedObject, int width, int height); + void setProperty(QVideoSurfaceFormat* theWrappedObject, const char* name, const QVariant& value); + void setScanLineDirection(QVideoSurfaceFormat* theWrappedObject, QVideoSurfaceFormat::Direction direction); + void setViewport(QVideoSurfaceFormat* theWrappedObject, const QRect& viewport); + void setYCbCrColorSpace(QVideoSurfaceFormat* theWrappedObject, QVideoSurfaceFormat::YCbCrColorSpace colorSpace); + QSize sizeHint(QVideoSurfaceFormat* theWrappedObject) const; + QRect viewport(QVideoSurfaceFormat* theWrappedObject) const; + QVideoSurfaceFormat::YCbCrColorSpace yCbCrColorSpace(QVideoSurfaceFormat* theWrappedObject) const; + QString py_toString(QVideoSurfaceFormat*); + bool __nonzero__(QVideoSurfaceFormat* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QVideoWidget : public QVideoWidget +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } +inline void promoted_moveEvent(QMoveEvent* event) { this->moveEvent(event); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline bool promoted_setMediaObject(QMediaObject* object) { return this->setMediaObject(object); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline bool py_q_event(QEvent* event) { return QVideoWidget::event(event); } +inline void py_q_hideEvent(QHideEvent* event) { QVideoWidget::hideEvent(event); } +inline QMediaObject* py_q_mediaObject() const { return QVideoWidget::mediaObject(); } +inline void py_q_moveEvent(QMoveEvent* event) { QVideoWidget::moveEvent(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QVideoWidget::paintEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QVideoWidget::resizeEvent(event); } +inline bool py_q_setMediaObject(QMediaObject* object) { return QVideoWidget::setMediaObject(object); } +inline void py_q_showEvent(QShowEvent* event) { QVideoWidget::showEvent(event); } +inline QSize py_q_sizeHint() const { return QVideoWidget::sizeHint(); } +}; + +class PythonQtWrapper_QVideoWidget : public QObject +{ Q_OBJECT +public: +public slots: +QVideoWidget* new_QVideoWidget(QWidget* parent = nullptr); +void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } + Qt::AspectRatioMode aspectRatioMode(QVideoWidget* theWrappedObject) const; + int brightness(QVideoWidget* theWrappedObject) const; + int contrast(QVideoWidget* theWrappedObject) const; + bool py_q_event(QVideoWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_event(event));} + void py_q_hideEvent(QVideoWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_hideEvent(event));} + int hue(QVideoWidget* theWrappedObject) const; + QMediaObject* py_q_mediaObject(QVideoWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_mediaObject());} + void py_q_moveEvent(QVideoWidget* theWrappedObject, QMoveEvent* event){ (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_moveEvent(event));} + void py_q_paintEvent(QVideoWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_paintEvent(event));} + void py_q_resizeEvent(QVideoWidget* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_resizeEvent(event));} + int saturation(QVideoWidget* theWrappedObject) const; + bool py_q_setMediaObject(QVideoWidget* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_setMediaObject(object));} + void py_q_showEvent(QVideoWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_showEvent(event));} + QSize sizeHint(QVideoWidget* theWrappedObject) const; + QSize py_q_sizeHint(QVideoWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidget*)theWrappedObject)->py_q_sizeHint());} + QAbstractVideoSurface* videoSurface(QVideoWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QVideoWidgetControl : public QVideoWidgetControl +{ +public: + 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 +{ public: +inline Qt::AspectRatioMode py_q_aspectRatioMode() const { return this->aspectRatioMode(); } +inline int py_q_brightness() const { return this->brightness(); } +inline int py_q_contrast() const { return this->contrast(); } +inline int py_q_hue() const { return this->hue(); } +inline bool py_q_isFullScreen() const { return this->isFullScreen(); } +inline int py_q_saturation() const { return this->saturation(); } +inline void py_q_setAspectRatioMode(Qt::AspectRatioMode mode) { this->setAspectRatioMode(mode); } +inline void py_q_setBrightness(int brightness) { this->setBrightness(brightness); } +inline void py_q_setContrast(int contrast) { this->setContrast(contrast); } +inline void py_q_setFullScreen(bool fullScreen) { this->setFullScreen(fullScreen); } +inline void py_q_setHue(int hue) { this->setHue(hue); } +inline void py_q_setSaturation(int saturation) { this->setSaturation(saturation); } +inline QWidget* py_q_videoWidget() { return this->videoWidget(); } +}; + +class PythonQtWrapper_QVideoWidgetControl : public QObject +{ Q_OBJECT +public: +public slots: +QVideoWidgetControl* new_QVideoWidgetControl(QObject* parent = nullptr); +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; + int py_q_brightness(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_brightness());} + int contrast(QVideoWidgetControl* theWrappedObject) const; + int py_q_contrast(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_contrast());} + int hue(QVideoWidgetControl* theWrappedObject) const; + int py_q_hue(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_hue());} + bool isFullScreen(QVideoWidgetControl* theWrappedObject) const; + bool py_q_isFullScreen(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_isFullScreen());} + int saturation(QVideoWidgetControl* theWrappedObject) const; + int py_q_saturation(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_saturation());} + void setAspectRatioMode(QVideoWidgetControl* theWrappedObject, Qt::AspectRatioMode mode); + void py_q_setAspectRatioMode(QVideoWidgetControl* theWrappedObject, Qt::AspectRatioMode mode){ (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_setAspectRatioMode(mode));} + void setBrightness(QVideoWidgetControl* theWrappedObject, int brightness); + void py_q_setBrightness(QVideoWidgetControl* theWrappedObject, int brightness){ (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_setBrightness(brightness));} + void setContrast(QVideoWidgetControl* theWrappedObject, int contrast); + void py_q_setContrast(QVideoWidgetControl* theWrappedObject, int contrast){ (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_setContrast(contrast));} + void setFullScreen(QVideoWidgetControl* theWrappedObject, bool fullScreen); + void py_q_setFullScreen(QVideoWidgetControl* theWrappedObject, bool fullScreen){ (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_setFullScreen(fullScreen));} + void setHue(QVideoWidgetControl* theWrappedObject, int hue); + void py_q_setHue(QVideoWidgetControl* theWrappedObject, int hue){ (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_setHue(hue));} + void setSaturation(QVideoWidgetControl* theWrappedObject, int saturation); + void py_q_setSaturation(QVideoWidgetControl* theWrappedObject, int saturation){ (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_setSaturation(saturation));} + QWidget* videoWidget(QVideoWidgetControl* theWrappedObject); + QWidget* py_q_videoWidget(QVideoWidgetControl* theWrappedObject){ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_videoWidget());} +}; + + + + + +class PythonQtShell_QVideoWindowControl : public QVideoWindowControl +{ +public: + 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 +{ public: +inline Qt::AspectRatioMode py_q_aspectRatioMode() const { return this->aspectRatioMode(); } +inline int py_q_brightness() const { return this->brightness(); } +inline int py_q_contrast() const { return this->contrast(); } +inline QRect py_q_displayRect() const { return this->displayRect(); } +inline int py_q_hue() const { return this->hue(); } +inline bool py_q_isFullScreen() const { return this->isFullScreen(); } +inline QSize py_q_nativeSize() const { return this->nativeSize(); } +inline void py_q_repaint() { this->repaint(); } +inline int py_q_saturation() const { return this->saturation(); } +inline void py_q_setAspectRatioMode(Qt::AspectRatioMode mode) { this->setAspectRatioMode(mode); } +inline void py_q_setBrightness(int brightness) { this->setBrightness(brightness); } +inline void py_q_setContrast(int contrast) { this->setContrast(contrast); } +inline void py_q_setDisplayRect(const QRect& rect) { this->setDisplayRect(rect); } +inline void py_q_setFullScreen(bool fullScreen) { this->setFullScreen(fullScreen); } +inline void py_q_setHue(int hue) { this->setHue(hue); } +inline void py_q_setSaturation(int saturation) { this->setSaturation(saturation); } +inline void py_q_setWinId(WId id) { this->setWinId(id); } +inline WId py_q_winId() const { return this->winId(); } +}; + +class PythonQtWrapper_QVideoWindowControl : public QObject +{ Q_OBJECT +public: +public slots: +QVideoWindowControl* new_QVideoWindowControl(QObject* parent = nullptr); +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; + int py_q_brightness(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_brightness());} + int contrast(QVideoWindowControl* theWrappedObject) const; + int py_q_contrast(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_contrast());} + QRect displayRect(QVideoWindowControl* theWrappedObject) const; + QRect py_q_displayRect(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_displayRect());} + int hue(QVideoWindowControl* theWrappedObject) const; + int py_q_hue(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_hue());} + bool isFullScreen(QVideoWindowControl* theWrappedObject) const; + bool py_q_isFullScreen(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_isFullScreen());} + QSize nativeSize(QVideoWindowControl* theWrappedObject) const; + QSize py_q_nativeSize(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_nativeSize());} + void repaint(QVideoWindowControl* theWrappedObject); + void py_q_repaint(QVideoWindowControl* theWrappedObject){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_repaint());} + int saturation(QVideoWindowControl* theWrappedObject) const; + int py_q_saturation(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_saturation());} + void setAspectRatioMode(QVideoWindowControl* theWrappedObject, Qt::AspectRatioMode mode); + void py_q_setAspectRatioMode(QVideoWindowControl* theWrappedObject, Qt::AspectRatioMode mode){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setAspectRatioMode(mode));} + void setBrightness(QVideoWindowControl* theWrappedObject, int brightness); + void py_q_setBrightness(QVideoWindowControl* theWrappedObject, int brightness){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setBrightness(brightness));} + void setContrast(QVideoWindowControl* theWrappedObject, int contrast); + void py_q_setContrast(QVideoWindowControl* theWrappedObject, int contrast){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setContrast(contrast));} + void setDisplayRect(QVideoWindowControl* theWrappedObject, const QRect& rect); + void py_q_setDisplayRect(QVideoWindowControl* theWrappedObject, const QRect& rect){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setDisplayRect(rect));} + void setFullScreen(QVideoWindowControl* theWrappedObject, bool fullScreen); + void py_q_setFullScreen(QVideoWindowControl* theWrappedObject, bool fullScreen){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setFullScreen(fullScreen));} + void setHue(QVideoWindowControl* theWrappedObject, int hue); + void py_q_setHue(QVideoWindowControl* theWrappedObject, int hue){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setHue(hue));} + void setSaturation(QVideoWindowControl* theWrappedObject, int saturation); + void py_q_setSaturation(QVideoWindowControl* theWrappedObject, int saturation){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setSaturation(saturation));} + void setWinId(QVideoWindowControl* theWrappedObject, WId id); + void py_q_setWinId(QVideoWindowControl* theWrappedObject, WId id){ (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_setWinId(id));} + WId winId(QVideoWindowControl* theWrappedObject) const; + WId py_q_winId(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_winId());} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp new file mode 100644 index 00000000..1a9ca308 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp @@ -0,0 +1,128 @@ +#include +#include +#include "com_trolltech_qt_multimedia0.h" +#include "com_trolltech_qt_multimedia1.h" +#include "com_trolltech_qt_multimedia2.h" +#include "com_trolltech_qt_multimedia3.h" + + + +void PythonQt_init_QtMultimedia(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractAudioDeviceInfo::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractAudioInput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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, 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); +PythonQt::priv()->registerClass(&QAudioOutputSelectorControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAudioProbe::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAudioRecorder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAudioRoleControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAudioSystemFactoryInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAudioSystemPlugin::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCamera::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QCameraFocusControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QCameraImageProcessingControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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); +PythonQt::priv()->registerCPPClass("QCamera::FrameRateRange", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); +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, 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, 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); +PythonQt::priv()->registerClass(&QMediaObject::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMediaPlayer::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMediaPlayerControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QMediaPlaylist::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::self()->addParentClass("QMediaPlaylist", "QMediaBindableInterface",PythonQtUpcastingOffset()); +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, 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, 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, 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, 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); +PythonQt::priv()->registerClass(&QRadioTuner::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QRadioTunerControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QVideoEncoderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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); +PythonQt::priv()->registerClass(&QVideoWindowControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QAudioDeviceInfo); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QCamera::FrameRateRange); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QCameraFocusZone); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QCameraInfo); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QCameraViewfinderSettings); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QMediaContent); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QMediaResource); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QMediaTimeInterval); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkConfiguration); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QString); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network.pri b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network.pri new file mode 100644 index 00000000..7d5a6009 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network.pri @@ -0,0 +1,8 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_network0.h \ + $$PWD/com_trolltech_qt_network1.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_network0.cpp \ + $$PWD/com_trolltech_qt_network1.cpp \ + $$PWD/com_trolltech_qt_network_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.cpp new file mode 100644 index 00000000..1a8e9077 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -0,0 +1,6311 @@ +#include "com_trolltech_qt_network0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QAbstractNetworkCache::~PythonQtShell_QAbstractNetworkCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cacheSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +void PythonQtShell_QAbstractNetworkCache::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(); + } + } +} + QAbstractNetworkCache::childEvent(event0); +} +void PythonQtShell_QAbstractNetworkCache::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractNetworkCache::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(); + } + } +} + QAbstractNetworkCache::customEvent(event0); +} +QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QAbstractNetworkCache::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 QAbstractNetworkCache::event(event0); +} +bool PythonQtShell_QAbstractNetworkCache::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 QAbstractNetworkCache::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insert"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&device0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QNetworkCacheMetaData*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCacheMetaData(); +} +QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("prepare"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("remove"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QAbstractNetworkCache::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(); + } + } +} + QAbstractNetworkCache::timerEvent(event0); +} +void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateMetaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&metaData0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QAbstractNetworkCache* PythonQtWrapper_QAbstractNetworkCache::new_QAbstractNetworkCache(QObject* parent) +{ +return new PythonQtShell_QAbstractNetworkCache(parent); } + +const QMetaObject* PythonQtShell_QAbstractNetworkCache::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractNetworkCache::staticMetaObject); + } else { + return &QAbstractNetworkCache::staticMetaObject; + } +} +int PythonQtShell_QAbstractNetworkCache::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractNetworkCache::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qint64 PythonQtWrapper_QAbstractNetworkCache::cacheSize(QAbstractNetworkCache* theWrappedObject) const +{ + return ( theWrappedObject->cacheSize()); +} + +QIODevice* PythonQtWrapper_QAbstractNetworkCache::data(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +{ + return ( theWrappedObject->data(url)); +} + +void PythonQtWrapper_QAbstractNetworkCache::insert(QAbstractNetworkCache* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->insert(device)); +} + +QNetworkCacheMetaData PythonQtWrapper_QAbstractNetworkCache::metaData(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +{ + return ( theWrappedObject->metaData(url)); +} + +QIODevice* PythonQtWrapper_QAbstractNetworkCache::prepare(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +{ + return ( theWrappedObject->prepare(metaData)); +} + +bool PythonQtWrapper_QAbstractNetworkCache::remove(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +{ + return ( theWrappedObject->remove(url)); +} + +void PythonQtWrapper_QAbstractNetworkCache::updateMetaData(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +{ + ( theWrappedObject->updateMetaData(metaData)); +} + + + +PythonQtShell_QAbstractSocket::~PythonQtShell_QAbstractSocket() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QAbstractSocket::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::atEnd(); +} +qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::bytesAvailable(); +} +qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::bytesToWrite(); +} +bool PythonQtShell_QAbstractSocket::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::canReadLine(); +} +void PythonQtShell_QAbstractSocket::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(); + } + } +} + QAbstractSocket::childEvent(event0); +} +void PythonQtShell_QAbstractSocket::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QAbstractSocket::close(); +} +void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::connectToHost(address0, port1, mode2); +} +void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::connectToHost(hostName0, port1, mode2, protocol3); +} +void PythonQtShell_QAbstractSocket::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(); + } + } +} + QAbstractSocket::customEvent(event0); +} +void PythonQtShell_QAbstractSocket::disconnectFromHost() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectFromHost"); + 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(); + } + } +} + QAbstractSocket::disconnectFromHost(); +} +bool PythonQtShell_QAbstractSocket::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 QAbstractSocket::event(event0); +} +bool PythonQtShell_QAbstractSocket::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 QAbstractSocket::eventFilter(watched0, event1); +} +bool PythonQtShell_QAbstractSocket::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::isSequential(); +} +bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::open(mode0); +} +qint64 PythonQtShell_QAbstractSocket::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::pos(); +} +qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::readData(data0, maxlen1); +} +qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::readLineData(data0, maxlen1); +} +bool PythonQtShell_QAbstractSocket::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::reset(); +} +void PythonQtShell_QAbstractSocket::resume() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resume"); + 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(); + } + } +} + QAbstractSocket::resume(); +} +bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::seek(pos0); +} +void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setReadBufferSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::setReadBufferSize(size0); +} +bool PythonQtShell_QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor0, QAbstractSocket::SocketState state1, QIODevice::OpenMode openMode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::setSocketDescriptor(socketDescriptor0, state1, openMode2); +} +void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::setSocketOption(option0, value1); +} +qint64 PythonQtShell_QAbstractSocket::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::size(); +} +qintptr PythonQtShell_QAbstractSocket::socketDescriptor() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); + } else { + returnValue = *((qintptr*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::socketDescriptor(); +} +QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOption option0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::socketOption(option0); +} +void PythonQtShell_QAbstractSocket::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(); + } + } +} + QAbstractSocket::timerEvent(event0); +} +bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForConnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForConnected(msecs0); +} +bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForDisconnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForDisconnected(msecs0); +} +bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::writeData(data0, len1); +} +QAbstractSocket* PythonQtWrapper_QAbstractSocket::new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent) +{ +return new PythonQtShell_QAbstractSocket(socketType, parent); } + +const QMetaObject* PythonQtShell_QAbstractSocket::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractSocket::staticMetaObject); + } else { + return &QAbstractSocket::staticMetaObject; + } +} +int PythonQtShell_QAbstractSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractSocket::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractSocket::abort(QAbstractSocket* theWrappedObject) +{ + ( theWrappedObject->abort()); +} + +bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QAbstractSocket::BindMode mode) +{ + return ( theWrappedObject->bind(address, port, mode)); +} + +bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, unsigned short port, QAbstractSocket::BindMode mode) +{ + return ( theWrappedObject->bind(port, mode)); +} + +void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode) +{ + ( theWrappedObject->connectToHost(address, port, mode)); +} + +void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode, QAbstractSocket::NetworkLayerProtocol protocol) +{ + ( theWrappedObject->connectToHost(hostName, port, mode, protocol)); +} + +void PythonQtWrapper_QAbstractSocket::disconnectFromHost(QAbstractSocket* theWrappedObject) +{ + ( theWrappedObject->disconnectFromHost()); +} + +QAbstractSocket::SocketError PythonQtWrapper_QAbstractSocket::error(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QAbstractSocket::flush(QAbstractSocket* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +bool PythonQtWrapper_QAbstractSocket::isValid(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QHostAddress PythonQtWrapper_QAbstractSocket::localAddress(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->localAddress()); +} + +unsigned short PythonQtWrapper_QAbstractSocket::localPort(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->localPort()); +} + +QAbstractSocket::PauseModes PythonQtWrapper_QAbstractSocket::pauseMode(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->pauseMode()); +} + +QHostAddress PythonQtWrapper_QAbstractSocket::peerAddress(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerAddress()); +} + +QString PythonQtWrapper_QAbstractSocket::peerName(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerName()); +} + +unsigned short PythonQtWrapper_QAbstractSocket::peerPort(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerPort()); +} + +QString PythonQtWrapper_QAbstractSocket::protocolTag(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->protocolTag()); +} + +QNetworkProxy PythonQtWrapper_QAbstractSocket::proxy(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +qint64 PythonQtWrapper_QAbstractSocket::readBufferSize(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +void PythonQtWrapper_QAbstractSocket::resume(QAbstractSocket* theWrappedObject) +{ + ( theWrappedObject->resume()); +} + +void PythonQtWrapper_QAbstractSocket::setLocalAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalAddress(address)); +} + +void PythonQtWrapper_QAbstractSocket::setLocalPort(QAbstractSocket* theWrappedObject, unsigned short port) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalPort(port)); +} + +void PythonQtWrapper_QAbstractSocket::setPauseMode(QAbstractSocket* theWrappedObject, QAbstractSocket::PauseModes pauseMode) +{ + ( theWrappedObject->setPauseMode(pauseMode)); +} + +void PythonQtWrapper_QAbstractSocket::setPeerAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerAddress(address)); +} + +void PythonQtWrapper_QAbstractSocket::setPeerName(QAbstractSocket* theWrappedObject, const QString& name) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerName(name)); +} + +void PythonQtWrapper_QAbstractSocket::setPeerPort(QAbstractSocket* theWrappedObject, unsigned short port) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerPort(port)); +} + +void PythonQtWrapper_QAbstractSocket::setProtocolTag(QAbstractSocket* theWrappedObject, const QString& tag) +{ + ( theWrappedObject->setProtocolTag(tag)); +} + +void PythonQtWrapper_QAbstractSocket::setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy) +{ + ( theWrappedObject->setProxy(networkProxy)); +} + +void PythonQtWrapper_QAbstractSocket::setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setReadBufferSize(size)); +} + +bool PythonQtWrapper_QAbstractSocket::setSocketDescriptor(QAbstractSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state, QIODevice::OpenMode openMode) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor, state, openMode)); +} + +void PythonQtWrapper_QAbstractSocket::setSocketError(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketError socketError) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketError(socketError)); +} + +void PythonQtWrapper_QAbstractSocket::setSocketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value) +{ + ( theWrappedObject->setSocketOption(option, value)); +} + +void PythonQtWrapper_QAbstractSocket::setSocketState(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketState state) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketState(state)); +} + +qintptr PythonQtWrapper_QAbstractSocket::socketDescriptor(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +QVariant PythonQtWrapper_QAbstractSocket::socketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option) +{ + return ( theWrappedObject->socketOption(option)); +} + +QAbstractSocket::SocketType PythonQtWrapper_QAbstractSocket::socketType(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketType()); +} + +QAbstractSocket::SocketState PythonQtWrapper_QAbstractSocket::state(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +bool PythonQtWrapper_QAbstractSocket::waitForConnected(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForConnected(msecs)); +} + +bool PythonQtWrapper_QAbstractSocket::waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDisconnected(msecs)); +} + + + +QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator() +{ +return new QAuthenticator(); } + +QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator(const QAuthenticator& other) +{ +return new QAuthenticator(other); } + +bool PythonQtWrapper_QAuthenticator::isNull(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QAuthenticator::__ne__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QAuthenticator::__eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const +{ + return ( (*theWrappedObject)== other); +} + +QVariant PythonQtWrapper_QAuthenticator::option(QAuthenticator* theWrappedObject, const QString& opt) const +{ + return ( theWrappedObject->option(opt)); +} + +QHash PythonQtWrapper_QAuthenticator::options(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} + +QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->realm()); +} + +void PythonQtWrapper_QAuthenticator::setOption(QAuthenticator* theWrappedObject, const QString& opt, const QVariant& value) +{ + ( theWrappedObject->setOption(opt, value)); +} + +void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QAuthenticator::setRealm(QAuthenticator* theWrappedObject, const QString& realm) +{ + ( theWrappedObject->setRealm(realm)); +} + +void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user) +{ + ( theWrappedObject->setUser(user)); +} + +QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->user()); +} + + + +QDnsDomainNameRecord* PythonQtWrapper_QDnsDomainNameRecord::new_QDnsDomainNameRecord() +{ +return new QDnsDomainNameRecord(); } + +QDnsDomainNameRecord* PythonQtWrapper_QDnsDomainNameRecord::new_QDnsDomainNameRecord(const QDnsDomainNameRecord& other) +{ +return new QDnsDomainNameRecord(other); } + +QString PythonQtWrapper_QDnsDomainNameRecord::name(QDnsDomainNameRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsDomainNameRecord* PythonQtWrapper_QDnsDomainNameRecord::operator_assign(QDnsDomainNameRecord* theWrappedObject, const QDnsDomainNameRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QDnsDomainNameRecord::swap(QDnsDomainNameRecord* theWrappedObject, QDnsDomainNameRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsDomainNameRecord::timeToLive(QDnsDomainNameRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +QString PythonQtWrapper_QDnsDomainNameRecord::value(QDnsDomainNameRecord* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QDnsHostAddressRecord* PythonQtWrapper_QDnsHostAddressRecord::new_QDnsHostAddressRecord() +{ +return new QDnsHostAddressRecord(); } + +QDnsHostAddressRecord* PythonQtWrapper_QDnsHostAddressRecord::new_QDnsHostAddressRecord(const QDnsHostAddressRecord& other) +{ +return new QDnsHostAddressRecord(other); } + +QString PythonQtWrapper_QDnsHostAddressRecord::name(QDnsHostAddressRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsHostAddressRecord* PythonQtWrapper_QDnsHostAddressRecord::operator_assign(QDnsHostAddressRecord* theWrappedObject, const QDnsHostAddressRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QDnsHostAddressRecord::swap(QDnsHostAddressRecord* theWrappedObject, QDnsHostAddressRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsHostAddressRecord::timeToLive(QDnsHostAddressRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +QHostAddress PythonQtWrapper_QDnsHostAddressRecord::value(QDnsHostAddressRecord* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QDnsLookup::~PythonQtShell_QDnsLookup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDnsLookup::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(); + } + } +} + QDnsLookup::childEvent(event0); +} +void PythonQtShell_QDnsLookup::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(); + } + } +} + QDnsLookup::customEvent(event0); +} +bool PythonQtShell_QDnsLookup::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 QDnsLookup::event(event0); +} +bool PythonQtShell_QDnsLookup::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 QDnsLookup::eventFilter(watched0, event1); +} +void PythonQtShell_QDnsLookup::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(); + } + } +} + QDnsLookup::timerEvent(event0); +} +QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent) +{ +return new PythonQtShell_QDnsLookup(type, name, parent); } + +QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent) +{ +return new PythonQtShell_QDnsLookup(type, name, nameserver, parent); } + +QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QObject* parent) +{ +return new PythonQtShell_QDnsLookup(parent); } + +const QMetaObject* PythonQtShell_QDnsLookup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDnsLookup::staticMetaObject); + } else { + return &QDnsLookup::staticMetaObject; + } +} +int PythonQtShell_QDnsLookup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDnsLookup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QDnsLookup::canonicalNameRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->canonicalNameRecords()); +} + +QDnsLookup::Error PythonQtWrapper_QDnsLookup::error(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QDnsLookup::errorString(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QList PythonQtWrapper_QDnsLookup::hostAddressRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->hostAddressRecords()); +} + +bool PythonQtWrapper_QDnsLookup::isFinished(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +QList PythonQtWrapper_QDnsLookup::mailExchangeRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->mailExchangeRecords()); +} + +QString PythonQtWrapper_QDnsLookup::name(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QList PythonQtWrapper_QDnsLookup::nameServerRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->nameServerRecords()); +} + +QHostAddress PythonQtWrapper_QDnsLookup::nameserver(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->nameserver()); +} + +QList PythonQtWrapper_QDnsLookup::pointerRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->pointerRecords()); +} + +QList PythonQtWrapper_QDnsLookup::serviceRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->serviceRecords()); +} + +void PythonQtWrapper_QDnsLookup::setName(QDnsLookup* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QDnsLookup::setNameserver(QDnsLookup* theWrappedObject, const QHostAddress& nameserver) +{ + ( theWrappedObject->setNameserver(nameserver)); +} + +void PythonQtWrapper_QDnsLookup::setType(QDnsLookup* theWrappedObject, QDnsLookup::Type arg__1) +{ + ( theWrappedObject->setType(arg__1)); +} + +QList PythonQtWrapper_QDnsLookup::textRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->textRecords()); +} + +QDnsLookup::Type PythonQtWrapper_QDnsLookup::type(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +QDnsMailExchangeRecord* PythonQtWrapper_QDnsMailExchangeRecord::new_QDnsMailExchangeRecord() +{ +return new QDnsMailExchangeRecord(); } + +QDnsMailExchangeRecord* PythonQtWrapper_QDnsMailExchangeRecord::new_QDnsMailExchangeRecord(const QDnsMailExchangeRecord& other) +{ +return new QDnsMailExchangeRecord(other); } + +QString PythonQtWrapper_QDnsMailExchangeRecord::exchange(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->exchange()); +} + +QString PythonQtWrapper_QDnsMailExchangeRecord::name(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsMailExchangeRecord* PythonQtWrapper_QDnsMailExchangeRecord::operator_assign(QDnsMailExchangeRecord* theWrappedObject, const QDnsMailExchangeRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +unsigned short PythonQtWrapper_QDnsMailExchangeRecord::preference(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->preference()); +} + +void PythonQtWrapper_QDnsMailExchangeRecord::swap(QDnsMailExchangeRecord* theWrappedObject, QDnsMailExchangeRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsMailExchangeRecord::timeToLive(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + + + +QDnsServiceRecord* PythonQtWrapper_QDnsServiceRecord::new_QDnsServiceRecord() +{ +return new QDnsServiceRecord(); } + +QDnsServiceRecord* PythonQtWrapper_QDnsServiceRecord::new_QDnsServiceRecord(const QDnsServiceRecord& other) +{ +return new QDnsServiceRecord(other); } + +QString PythonQtWrapper_QDnsServiceRecord::name(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsServiceRecord* PythonQtWrapper_QDnsServiceRecord::operator_assign(QDnsServiceRecord* theWrappedObject, const QDnsServiceRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +unsigned short PythonQtWrapper_QDnsServiceRecord::port(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +unsigned short PythonQtWrapper_QDnsServiceRecord::priority(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + +void PythonQtWrapper_QDnsServiceRecord::swap(QDnsServiceRecord* theWrappedObject, QDnsServiceRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QDnsServiceRecord::target(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +unsigned int PythonQtWrapper_QDnsServiceRecord::timeToLive(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +unsigned short PythonQtWrapper_QDnsServiceRecord::weight(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->weight()); +} + + + +QDnsTextRecord* PythonQtWrapper_QDnsTextRecord::new_QDnsTextRecord() +{ +return new QDnsTextRecord(); } + +QDnsTextRecord* PythonQtWrapper_QDnsTextRecord::new_QDnsTextRecord(const QDnsTextRecord& other) +{ +return new QDnsTextRecord(other); } + +QString PythonQtWrapper_QDnsTextRecord::name(QDnsTextRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsTextRecord* PythonQtWrapper_QDnsTextRecord::operator_assign(QDnsTextRecord* theWrappedObject, const QDnsTextRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QDnsTextRecord::swap(QDnsTextRecord* theWrappedObject, QDnsTextRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsTextRecord::timeToLive(QDnsTextRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +QList PythonQtWrapper_QDnsTextRecord::values(QDnsTextRecord* theWrappedObject) const +{ + return ( theWrappedObject->values()); +} + + + +PythonQtShell_QDtls::~PythonQtShell_QDtls() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDtls::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(); + } + } +} + QDtls::childEvent(event0); +} +void PythonQtShell_QDtls::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(); + } + } +} + QDtls::customEvent(event0); +} +bool PythonQtShell_QDtls::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 QDtls::event(event0); +} +bool PythonQtShell_QDtls::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 QDtls::eventFilter(watched0, event1); +} +void PythonQtShell_QDtls::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(); + } + } +} + QDtls::timerEvent(event0); +} +QDtls* PythonQtWrapper_QDtls::new_QDtls(QSslSocket::SslMode mode, QObject* parent) +{ +return new PythonQtShell_QDtls(mode, parent); } + +const QMetaObject* PythonQtShell_QDtls::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDtls::staticMetaObject); + } else { + return &QDtls::staticMetaObject; + } +} +int PythonQtShell_QDtls::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDtls::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QDtls::abortHandshake(QDtls* theWrappedObject, QUdpSocket* socket) +{ + return ( theWrappedObject->abortHandshake(socket)); +} + +QDtlsClientVerifier::GeneratorParameters PythonQtWrapper_QDtls::cookieGeneratorParameters(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->cookieGeneratorParameters()); +} + +QByteArray PythonQtWrapper_QDtls::decryptDatagram(QDtls* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram) +{ + return ( theWrappedObject->decryptDatagram(socket, dgram)); +} + +bool PythonQtWrapper_QDtls::doHandshake(QDtls* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram) +{ + return ( theWrappedObject->doHandshake(socket, dgram)); +} + +QSslConfiguration PythonQtWrapper_QDtls::dtlsConfiguration(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->dtlsConfiguration()); +} + +QDtlsError PythonQtWrapper_QDtls::dtlsError(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->dtlsError()); +} + +QString PythonQtWrapper_QDtls::dtlsErrorString(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->dtlsErrorString()); +} + +bool PythonQtWrapper_QDtls::handleTimeout(QDtls* theWrappedObject, QUdpSocket* socket) +{ + return ( theWrappedObject->handleTimeout(socket)); +} + +QDtls::HandshakeState PythonQtWrapper_QDtls::handshakeState(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->handshakeState()); +} + +void PythonQtWrapper_QDtls::ignoreVerificationErrors(QDtls* theWrappedObject, const QVector& errorsToIgnore) +{ + ( theWrappedObject->ignoreVerificationErrors(errorsToIgnore)); +} + +bool PythonQtWrapper_QDtls::isConnectionEncrypted(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->isConnectionEncrypted()); +} + +unsigned short PythonQtWrapper_QDtls::mtuHint(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->mtuHint()); +} + +QHostAddress PythonQtWrapper_QDtls::peerAddress(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->peerAddress()); +} + +unsigned short PythonQtWrapper_QDtls::peerPort(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->peerPort()); +} + +QVector PythonQtWrapper_QDtls::peerVerificationErrors(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->peerVerificationErrors()); +} + +QString PythonQtWrapper_QDtls::peerVerificationName(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->peerVerificationName()); +} + +bool PythonQtWrapper_QDtls::resumeHandshake(QDtls* theWrappedObject, QUdpSocket* socket) +{ + return ( theWrappedObject->resumeHandshake(socket)); +} + +QSslCipher PythonQtWrapper_QDtls::sessionCipher(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->sessionCipher()); +} + +QSsl::SslProtocol PythonQtWrapper_QDtls::sessionProtocol(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->sessionProtocol()); +} + +bool PythonQtWrapper_QDtls::setCookieGeneratorParameters(QDtls* theWrappedObject, const QDtlsClientVerifier::GeneratorParameters& params) +{ + return ( theWrappedObject->setCookieGeneratorParameters(params)); +} + +bool PythonQtWrapper_QDtls::setDtlsConfiguration(QDtls* theWrappedObject, const QSslConfiguration& configuration) +{ + return ( theWrappedObject->setDtlsConfiguration(configuration)); +} + +void PythonQtWrapper_QDtls::setMtuHint(QDtls* theWrappedObject, unsigned short mtuHint) +{ + ( theWrappedObject->setMtuHint(mtuHint)); +} + +bool PythonQtWrapper_QDtls::setPeer(QDtls* theWrappedObject, const QHostAddress& address, unsigned short port, const QString& verificationName) +{ + return ( theWrappedObject->setPeer(address, port, verificationName)); +} + +bool PythonQtWrapper_QDtls::setPeerVerificationName(QDtls* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->setPeerVerificationName(name)); +} + +bool PythonQtWrapper_QDtls::shutdown(QDtls* theWrappedObject, QUdpSocket* socket) +{ + return ( theWrappedObject->shutdown(socket)); +} + +QSslSocket::SslMode PythonQtWrapper_QDtls::sslMode(QDtls* theWrappedObject) const +{ + return ( theWrappedObject->sslMode()); +} + +qint64 PythonQtWrapper_QDtls::writeDatagramEncrypted(QDtls* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram) +{ + return ( theWrappedObject->writeDatagramEncrypted(socket, dgram)); +} + + + +PythonQtShell_QDtlsClientVerifier::~PythonQtShell_QDtlsClientVerifier() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDtlsClientVerifier::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(); + } + } +} + QDtlsClientVerifier::childEvent(event0); +} +void PythonQtShell_QDtlsClientVerifier::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(); + } + } +} + QDtlsClientVerifier::customEvent(event0); +} +bool PythonQtShell_QDtlsClientVerifier::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 QDtlsClientVerifier::event(event0); +} +bool PythonQtShell_QDtlsClientVerifier::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 QDtlsClientVerifier::eventFilter(watched0, event1); +} +void PythonQtShell_QDtlsClientVerifier::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(); + } + } +} + QDtlsClientVerifier::timerEvent(event0); +} +QDtlsClientVerifier* PythonQtWrapper_QDtlsClientVerifier::new_QDtlsClientVerifier(QObject* parent) +{ +return new PythonQtShell_QDtlsClientVerifier(parent); } + +const QMetaObject* PythonQtShell_QDtlsClientVerifier::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDtlsClientVerifier::staticMetaObject); + } else { + return &QDtlsClientVerifier::staticMetaObject; + } +} +int PythonQtShell_QDtlsClientVerifier::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDtlsClientVerifier::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QDtlsClientVerifier::GeneratorParameters PythonQtWrapper_QDtlsClientVerifier::cookieGeneratorParameters(QDtlsClientVerifier* theWrappedObject) const +{ + return ( theWrappedObject->cookieGeneratorParameters()); +} + +QDtlsError PythonQtWrapper_QDtlsClientVerifier::dtlsError(QDtlsClientVerifier* theWrappedObject) const +{ + return ( theWrappedObject->dtlsError()); +} + +QString PythonQtWrapper_QDtlsClientVerifier::dtlsErrorString(QDtlsClientVerifier* theWrappedObject) const +{ + return ( theWrappedObject->dtlsErrorString()); +} + +bool PythonQtWrapper_QDtlsClientVerifier::setCookieGeneratorParameters(QDtlsClientVerifier* theWrappedObject, const QDtlsClientVerifier::GeneratorParameters& params) +{ + return ( theWrappedObject->setCookieGeneratorParameters(params)); +} + +QByteArray PythonQtWrapper_QDtlsClientVerifier::verifiedHello(QDtlsClientVerifier* theWrappedObject) const +{ + return ( theWrappedObject->verifiedHello()); +} + +bool PythonQtWrapper_QDtlsClientVerifier::verifyClient(QDtlsClientVerifier* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram, const QHostAddress& address, unsigned short port) +{ + return ( theWrappedObject->verifyClient(socket, dgram, address, port)); +} + + + +PythonQtShell_QDtlsClientVerifier__GeneratorParameters::~PythonQtShell_QDtlsClientVerifier__GeneratorParameters() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QDtlsClientVerifier::GeneratorParameters* PythonQtWrapper_QDtlsClientVerifier__GeneratorParameters::new_QDtlsClientVerifier__GeneratorParameters() +{ +return new PythonQtShell_QDtlsClientVerifier__GeneratorParameters(); } + +QDtlsClientVerifier::GeneratorParameters* PythonQtWrapper_QDtlsClientVerifier__GeneratorParameters::new_QDtlsClientVerifier__GeneratorParameters(QCryptographicHash::Algorithm a, const QByteArray& s) +{ +return new PythonQtShell_QDtlsClientVerifier__GeneratorParameters(a, s); } + + + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress() +{ +return new QHostAddress(); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(QHostAddress::SpecialAddress address) +{ +return new QHostAddress(address); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QHostAddress& copy) +{ +return new QHostAddress(copy); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QIPv6Address& ip6Addr) +{ +return new QHostAddress(ip6Addr); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const QString& address) +{ +return new QHostAddress(address); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(const unsigned char* ip6Addr) +{ +return new QHostAddress(ip6Addr); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(unsigned int ip4Addr) +{ +return new QHostAddress(ip4Addr); } + +void PythonQtWrapper_QHostAddress::clear(QHostAddress* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QHostAddress::isBroadcast(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isBroadcast()); +} + +bool PythonQtWrapper_QHostAddress::isGlobal(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isGlobal()); +} + +bool PythonQtWrapper_QHostAddress::isInSubnet(QHostAddress* theWrappedObject, const QHostAddress& subnet, int netmask) const +{ + return ( theWrappedObject->isInSubnet(subnet, netmask)); +} + +bool PythonQtWrapper_QHostAddress::isInSubnet(QHostAddress* theWrappedObject, const QPair& subnet) const +{ + return ( theWrappedObject->isInSubnet(subnet)); +} + +bool PythonQtWrapper_QHostAddress::isLinkLocal(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isLinkLocal()); +} + +bool PythonQtWrapper_QHostAddress::isLoopback(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isLoopback()); +} + +bool PythonQtWrapper_QHostAddress::isMulticast(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isMulticast()); +} + +bool PythonQtWrapper_QHostAddress::isNull(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QHostAddress::isSiteLocal(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isSiteLocal()); +} + +bool PythonQtWrapper_QHostAddress::isUniqueLocalUnicast(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isUniqueLocalUnicast()); +} + +bool PythonQtWrapper_QHostAddress::__ne__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const +{ + return ( (*theWrappedObject)!= address); +} + +bool PythonQtWrapper_QHostAddress::__ne__(QHostAddress* theWrappedObject, const QHostAddress& address) const +{ + return ( (*theWrappedObject)!= address); +} + +void PythonQtWrapper_QHostAddress::writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QHostAddress* PythonQtWrapper_QHostAddress::operator_assign(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) +{ + return &( (*theWrappedObject)= address); +} + +bool PythonQtWrapper_QHostAddress::__eq__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const +{ + return ( (*theWrappedObject)== address); +} + +bool PythonQtWrapper_QHostAddress::__eq__(QHostAddress* theWrappedObject, const QHostAddress& address) const +{ + return ( (*theWrappedObject)== address); +} + +void PythonQtWrapper_QHostAddress::readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPair PythonQtWrapper_QHostAddress::static_QHostAddress_parseSubnet(const QString& subnet) +{ + return (QHostAddress::parseSubnet(subnet)); +} + +QAbstractSocket::NetworkLayerProtocol PythonQtWrapper_QHostAddress::protocol(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->protocol()); +} + +QString PythonQtWrapper_QHostAddress::scopeId(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->scopeId()); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) +{ + ( theWrappedObject->setAddress(address)); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr) +{ + ( theWrappedObject->setAddress(ip6Addr)); +} + +bool PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const QString& address) +{ + return ( theWrappedObject->setAddress(address)); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const unsigned char* ip6Addr) +{ + ( theWrappedObject->setAddress(ip6Addr)); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr) +{ + ( theWrappedObject->setAddress(ip4Addr)); +} + +void PythonQtWrapper_QHostAddress::setScopeId(QHostAddress* theWrappedObject, const QString& id) +{ + ( theWrappedObject->setScopeId(id)); +} + +void PythonQtWrapper_QHostAddress::swap(QHostAddress* theWrappedObject, QHostAddress& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QHostAddress::toIPv4Address(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->toIPv4Address()); +} + +unsigned int PythonQtWrapper_QHostAddress::toIPv4Address(QHostAddress* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->toIPv4Address(ok)); +} + +QIPv6Address PythonQtWrapper_QHostAddress::toIPv6Address(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->toIPv6Address()); +} + +QString PythonQtWrapper_QHostAddress::toString(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QHostAddress::py_toString(QHostAddress* obj) { return obj->toString(); } + + +QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(const QHostInfo& d) +{ +return new QHostInfo(d); } + +QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(int lookupId) +{ +return new QHostInfo(lookupId); } + +void PythonQtWrapper_QHostInfo::static_QHostInfo_abortHostLookup(int lookupId) +{ + (QHostInfo::abortHostLookup(lookupId)); +} + +QList PythonQtWrapper_QHostInfo::addresses(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->addresses()); +} + +QHostInfo::HostInfoError PythonQtWrapper_QHostInfo::error(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QHostInfo::errorString(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QHostInfo PythonQtWrapper_QHostInfo::static_QHostInfo_fromName(const QString& name) +{ + return (QHostInfo::fromName(name)); +} + +QString PythonQtWrapper_QHostInfo::hostName(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->hostName()); +} + +QString PythonQtWrapper_QHostInfo::static_QHostInfo_localDomainName() +{ + return (QHostInfo::localDomainName()); +} + +QString PythonQtWrapper_QHostInfo::static_QHostInfo_localHostName() +{ + return (QHostInfo::localHostName()); +} + +int PythonQtWrapper_QHostInfo::static_QHostInfo_lookupHost(const QString& name, QObject* receiver, const char* member) +{ + return (QHostInfo::lookupHost(name, receiver, member)); +} + +int PythonQtWrapper_QHostInfo::lookupId(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->lookupId()); +} + +void PythonQtWrapper_QHostInfo::setAddresses(QHostInfo* theWrappedObject, const QList& addresses) +{ + ( theWrappedObject->setAddresses(addresses)); +} + +void PythonQtWrapper_QHostInfo::setError(QHostInfo* theWrappedObject, QHostInfo::HostInfoError error) +{ + ( theWrappedObject->setError(error)); +} + +void PythonQtWrapper_QHostInfo::setErrorString(QHostInfo* theWrappedObject, const QString& errorString) +{ + ( theWrappedObject->setErrorString(errorString)); +} + +void PythonQtWrapper_QHostInfo::setHostName(QHostInfo* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setHostName(name)); +} + +void PythonQtWrapper_QHostInfo::setLookupId(QHostInfo* theWrappedObject, int id) +{ + ( theWrappedObject->setLookupId(id)); +} + +void PythonQtWrapper_QHostInfo::swap(QHostInfo* theWrappedObject, QHostInfo& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy() +{ +return new QHstsPolicy(); } + +QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy(const QHstsPolicy& rhs) +{ +return new QHstsPolicy(rhs); } + +QDateTime PythonQtWrapper_QHstsPolicy::expiry(QHstsPolicy* theWrappedObject) const +{ + return ( theWrappedObject->expiry()); +} + +QString PythonQtWrapper_QHstsPolicy::host(QHstsPolicy* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->host(options)); +} + +bool PythonQtWrapper_QHstsPolicy::includesSubDomains(QHstsPolicy* theWrappedObject) const +{ + return ( theWrappedObject->includesSubDomains()); +} + +bool PythonQtWrapper_QHstsPolicy::isExpired(QHstsPolicy* theWrappedObject) const +{ + 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); +} + +bool PythonQtWrapper_QHstsPolicy::__eq__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QHstsPolicy::setExpiry(QHstsPolicy* theWrappedObject, const QDateTime& expiry) +{ + ( theWrappedObject->setExpiry(expiry)); +} + +void PythonQtWrapper_QHstsPolicy::setHost(QHstsPolicy* theWrappedObject, const QString& host, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setHost(host, mode)); +} + +void PythonQtWrapper_QHstsPolicy::setIncludesSubDomains(QHstsPolicy* theWrappedObject, bool include) +{ + ( theWrappedObject->setIncludesSubDomains(include)); +} + +void PythonQtWrapper_QHstsPolicy::swap(QHstsPolicy* theWrappedObject, QHstsPolicy& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QHttp2Configuration* PythonQtWrapper_QHttp2Configuration::new_QHttp2Configuration() +{ +return new QHttp2Configuration(); } + +QHttp2Configuration* PythonQtWrapper_QHttp2Configuration::new_QHttp2Configuration(const QHttp2Configuration& other) +{ +return new QHttp2Configuration(other); } + +bool PythonQtWrapper_QHttp2Configuration::huffmanCompressionEnabled(QHttp2Configuration* theWrappedObject) const +{ + return ( theWrappedObject->huffmanCompressionEnabled()); +} + +bool PythonQtWrapper_QHttp2Configuration::__ne__(QHttp2Configuration* theWrappedObject, const QHttp2Configuration& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QHttp2Configuration* PythonQtWrapper_QHttp2Configuration::operator_assign(QHttp2Configuration* theWrappedObject, const QHttp2Configuration& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QHttp2Configuration::__eq__(QHttp2Configuration* theWrappedObject, const QHttp2Configuration& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +bool PythonQtWrapper_QHttp2Configuration::serverPushEnabled(QHttp2Configuration* theWrappedObject) const +{ + return ( theWrappedObject->serverPushEnabled()); +} + +void PythonQtWrapper_QHttp2Configuration::setHuffmanCompressionEnabled(QHttp2Configuration* theWrappedObject, bool enable) +{ + ( theWrappedObject->setHuffmanCompressionEnabled(enable)); +} + +void PythonQtWrapper_QHttp2Configuration::setServerPushEnabled(QHttp2Configuration* theWrappedObject, bool enable) +{ + ( theWrappedObject->setServerPushEnabled(enable)); +} + +void PythonQtWrapper_QHttp2Configuration::swap(QHttp2Configuration* theWrappedObject, QHttp2Configuration& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QHttpMultiPart::~PythonQtShell_QHttpMultiPart() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHttpMultiPart::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(); + } + } +} + QHttpMultiPart::childEvent(event0); +} +void PythonQtShell_QHttpMultiPart::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(); + } + } +} + QHttpMultiPart::customEvent(event0); +} +bool PythonQtShell_QHttpMultiPart::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 QHttpMultiPart::event(event0); +} +bool PythonQtShell_QHttpMultiPart::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 QHttpMultiPart::eventFilter(watched0, event1); +} +void PythonQtShell_QHttpMultiPart::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(); + } + } +} + QHttpMultiPart::timerEvent(event0); +} +QHttpMultiPart* PythonQtWrapper_QHttpMultiPart::new_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent) +{ +return new PythonQtShell_QHttpMultiPart(contentType, parent); } + +QHttpMultiPart* PythonQtWrapper_QHttpMultiPart::new_QHttpMultiPart(QObject* parent) +{ +return new PythonQtShell_QHttpMultiPart(parent); } + +const QMetaObject* PythonQtShell_QHttpMultiPart::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHttpMultiPart::staticMetaObject); + } else { + return &QHttpMultiPart::staticMetaObject; + } +} +int PythonQtShell_QHttpMultiPart::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHttpMultiPart::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QHttpMultiPart::append(QHttpMultiPart* theWrappedObject, const QHttpPart& httpPart) +{ + ( theWrappedObject->append(httpPart)); +} + +QByteArray PythonQtWrapper_QHttpMultiPart::boundary(QHttpMultiPart* theWrappedObject) const +{ + return ( theWrappedObject->boundary()); +} + +void PythonQtWrapper_QHttpMultiPart::setBoundary(QHttpMultiPart* theWrappedObject, const QByteArray& boundary) +{ + ( theWrappedObject->setBoundary(boundary)); +} + +void PythonQtWrapper_QHttpMultiPart::setContentType(QHttpMultiPart* theWrappedObject, QHttpMultiPart::ContentType contentType) +{ + ( theWrappedObject->setContentType(contentType)); +} + + + +QHttpPart* PythonQtWrapper_QHttpPart::new_QHttpPart() +{ +return new QHttpPart(); } + +QHttpPart* PythonQtWrapper_QHttpPart::new_QHttpPart(const QHttpPart& other) +{ +return new QHttpPart(other); } + +bool PythonQtWrapper_QHttpPart::__ne__(QHttpPart* theWrappedObject, const QHttpPart& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QHttpPart* PythonQtWrapper_QHttpPart::operator_assign(QHttpPart* theWrappedObject, const QHttpPart& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QHttpPart::__eq__(QHttpPart* theWrappedObject, const QHttpPart& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QHttpPart::setBody(QHttpPart* theWrappedObject, const QByteArray& body) +{ + ( theWrappedObject->setBody(body)); +} + +void PythonQtWrapper_QHttpPart::setBodyDevice(QHttpPart* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setBodyDevice(device)); +} + +void PythonQtWrapper_QHttpPart::setHeader(QHttpPart* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( theWrappedObject->setHeader(header, value)); +} + +void PythonQtWrapper_QHttpPart::setRawHeader(QHttpPart* theWrappedObject, const QByteArray& headerName, const QByteArray& headerValue) +{ + ( theWrappedObject->setRawHeader(headerName, headerValue)); +} + +void PythonQtWrapper_QHttpPart::swap(QHttpPart* theWrappedObject, QHttpPart& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QIPv6Address::~PythonQtShell_QIPv6Address() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QIPv6Address* PythonQtWrapper_QIPv6Address::new_QIPv6Address() +{ +return new PythonQtShell_QIPv6Address(); } + + + +PythonQtShell_QLocalServer::~PythonQtShell_QLocalServer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLocalServer::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(); + } + } +} + QLocalServer::childEvent(event0); +} +void PythonQtShell_QLocalServer::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(); + } + } +} + QLocalServer::customEvent(event0); +} +bool PythonQtShell_QLocalServer::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 QLocalServer::event(event0); +} +bool PythonQtShell_QLocalServer::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 QLocalServer::eventFilter(watched0, event1); +} +bool PythonQtShell_QLocalServer::hasPendingConnections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasPendingConnections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalServer::hasPendingConnections(); +} +void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("incomingConnection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "quintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&socketDescriptor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalServer::incomingConnection(socketDescriptor0); +} +QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextPendingConnection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLocalSocket*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); + } else { + returnValue = *((QLocalSocket**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalServer::nextPendingConnection(); +} +void PythonQtShell_QLocalServer::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(); + } + } +} + QLocalServer::timerEvent(event0); +} +QLocalServer* PythonQtWrapper_QLocalServer::new_QLocalServer(QObject* parent) +{ +return new PythonQtShell_QLocalServer(parent); } + +const QMetaObject* PythonQtShell_QLocalServer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLocalServer::staticMetaObject); + } else { + return &QLocalServer::staticMetaObject; + } +} +int PythonQtShell_QLocalServer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLocalServer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QLocalServer::close(QLocalServer* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +QString PythonQtWrapper_QLocalServer::errorString(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QLocalServer::fullServerName(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->fullServerName()); +} + +bool PythonQtWrapper_QLocalServer::hasPendingConnections(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->hasPendingConnections()); +} + +void PythonQtWrapper_QLocalServer::incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor) +{ + ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_incomingConnection(socketDescriptor)); +} + +bool PythonQtWrapper_QLocalServer::isListening(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->isListening()); +} + +bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->listen(name)); +} + +bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, qintptr socketDescriptor) +{ + return ( theWrappedObject->listen(socketDescriptor)); +} + +int PythonQtWrapper_QLocalServer::maxPendingConnections(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->maxPendingConnections()); +} + +QLocalSocket* PythonQtWrapper_QLocalServer::nextPendingConnection(QLocalServer* theWrappedObject) +{ + return ( theWrappedObject->nextPendingConnection()); +} + +bool PythonQtWrapper_QLocalServer::static_QLocalServer_removeServer(const QString& name) +{ + return (QLocalServer::removeServer(name)); +} + +QAbstractSocket::SocketError PythonQtWrapper_QLocalServer::serverError(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->serverError()); +} + +QString PythonQtWrapper_QLocalServer::serverName(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->serverName()); +} + +void PythonQtWrapper_QLocalServer::setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections) +{ + ( theWrappedObject->setMaxPendingConnections(numConnections)); +} + +void PythonQtWrapper_QLocalServer::setSocketOptions(QLocalServer* theWrappedObject, QLocalServer::SocketOptions options) +{ + ( theWrappedObject->setSocketOptions(options)); +} + +qintptr PythonQtWrapper_QLocalServer::socketDescriptor(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +QLocalServer::SocketOptions PythonQtWrapper_QLocalServer::socketOptions(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->socketOptions()); +} + +bool PythonQtWrapper_QLocalServer::waitForNewConnection(QLocalServer* theWrappedObject, int msec, bool* timedOut) +{ + return ( theWrappedObject->waitForNewConnection(msec, timedOut)); +} + + + +PythonQtShell_QLocalSocket::~PythonQtShell_QLocalSocket() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QLocalSocket::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::atEnd(); +} +qint64 PythonQtShell_QLocalSocket::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::bytesAvailable(); +} +qint64 PythonQtShell_QLocalSocket::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::bytesToWrite(); +} +bool PythonQtShell_QLocalSocket::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::canReadLine(); +} +void PythonQtShell_QLocalSocket::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(); + } + } +} + QLocalSocket::childEvent(event0); +} +void PythonQtShell_QLocalSocket::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QLocalSocket::close(); +} +void PythonQtShell_QLocalSocket::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(); + } + } +} + QLocalSocket::customEvent(event0); +} +bool PythonQtShell_QLocalSocket::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 QLocalSocket::event(event0); +} +bool PythonQtShell_QLocalSocket::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 QLocalSocket::eventFilter(watched0, event1); +} +bool PythonQtShell_QLocalSocket::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::isSequential(); +} +bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::open(openMode0); +} +qint64 PythonQtShell_QLocalSocket::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::pos(); +} +qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::readData(arg__1, arg__2); +} +qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::readLineData(data0, maxlen1); +} +bool PythonQtShell_QLocalSocket::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::reset(); +} +bool PythonQtShell_QLocalSocket::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::seek(pos0); +} +qint64 PythonQtShell_QLocalSocket::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::size(); +} +void PythonQtShell_QLocalSocket::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(); + } + } +} + QLocalSocket::timerEvent(event0); +} +bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::writeData(arg__1, arg__2); +} +QLocalSocket* PythonQtWrapper_QLocalSocket::new_QLocalSocket(QObject* parent) +{ +return new PythonQtShell_QLocalSocket(parent); } + +const QMetaObject* PythonQtShell_QLocalSocket::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLocalSocket::staticMetaObject); + } else { + return &QLocalSocket::staticMetaObject; + } +} +int PythonQtShell_QLocalSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLocalSocket::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QLocalSocket::abort(QLocalSocket* theWrappedObject) +{ + ( theWrappedObject->abort()); +} + +void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, QIODevice::OpenMode openMode) +{ + ( theWrappedObject->connectToServer(openMode)); +} + +void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode) +{ + ( theWrappedObject->connectToServer(name, openMode)); +} + +void PythonQtWrapper_QLocalSocket::disconnectFromServer(QLocalSocket* theWrappedObject) +{ + ( theWrappedObject->disconnectFromServer()); +} + +QLocalSocket::LocalSocketError PythonQtWrapper_QLocalSocket::error(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QLocalSocket::flush(QLocalSocket* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +QString PythonQtWrapper_QLocalSocket::fullServerName(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->fullServerName()); +} + +bool PythonQtWrapper_QLocalSocket::isValid(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qint64 PythonQtWrapper_QLocalSocket::readBufferSize(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +QString PythonQtWrapper_QLocalSocket::serverName(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->serverName()); +} + +void PythonQtWrapper_QLocalSocket::setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setReadBufferSize(size)); +} + +void PythonQtWrapper_QLocalSocket::setServerName(QLocalSocket* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setServerName(name)); +} + +bool PythonQtWrapper_QLocalSocket::setSocketDescriptor(QLocalSocket* theWrappedObject, qintptr socketDescriptor, QLocalSocket::LocalSocketState socketState, QIODevice::OpenMode openMode) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor, socketState, openMode)); +} + +qintptr PythonQtWrapper_QLocalSocket::socketDescriptor(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +QLocalSocket::LocalSocketState PythonQtWrapper_QLocalSocket::state(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +bool PythonQtWrapper_QLocalSocket::waitForConnected(QLocalSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForConnected(msecs)); +} + +bool PythonQtWrapper_QLocalSocket::waitForDisconnected(QLocalSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDisconnected(msecs)); +} + + + +PythonQtShell_QNetworkAccessManager::~PythonQtShell_QNetworkAccessManager() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkAccessManager::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(); + } + } +} + QNetworkAccessManager::childEvent(event0); +} +QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op0, const QNetworkRequest& request1, QIODevice* outgoingData2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createRequest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createRequest", methodInfo, result); + } else { + returnValue = *((QNetworkReply**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkAccessManager::createRequest(op0, request1, outgoingData2); +} +void PythonQtShell_QNetworkAccessManager::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(); + } + } +} + QNetworkAccessManager::customEvent(event0); +} +bool PythonQtShell_QNetworkAccessManager::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 QNetworkAccessManager::event(event0); +} +bool PythonQtShell_QNetworkAccessManager::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 QNetworkAccessManager::eventFilter(watched0, event1); +} +void PythonQtShell_QNetworkAccessManager::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(); + } + } +} + QNetworkAccessManager::timerEvent(event0); +} +QNetworkAccessManager* PythonQtWrapper_QNetworkAccessManager::new_QNetworkAccessManager(QObject* parent) +{ +return new PythonQtShell_QNetworkAccessManager(parent); } + +const QMetaObject* PythonQtShell_QNetworkAccessManager::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkAccessManager::staticMetaObject); + } else { + return &QNetworkAccessManager::staticMetaObject; + } +} +int PythonQtShell_QNetworkAccessManager::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkAccessManager::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QNetworkConfiguration PythonQtWrapper_QNetworkAccessManager::activeConfiguration(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->activeConfiguration()); +} + +void PythonQtWrapper_QNetworkAccessManager::addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts) +{ + ( theWrappedObject->addStrictTransportSecurityHosts(knownHosts)); +} + +bool PythonQtWrapper_QNetworkAccessManager::autoDeleteReplies(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->autoDeleteReplies()); +} + +QAbstractNetworkCache* PythonQtWrapper_QNetworkAccessManager::cache(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->cache()); +} + +void PythonQtWrapper_QNetworkAccessManager::clearAccessCache(QNetworkAccessManager* theWrappedObject) +{ + ( theWrappedObject->clearAccessCache()); +} + +void PythonQtWrapper_QNetworkAccessManager::clearConnectionCache(QNetworkAccessManager* theWrappedObject) +{ + ( theWrappedObject->clearConnectionCache()); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkAccessManager::configuration(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->configuration()); +} + +void PythonQtWrapper_QNetworkAccessManager::connectToHost(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port) +{ + ( theWrappedObject->connectToHost(hostName, port)); +} + +void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration) +{ + ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration)); +} + +void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration, const QString& peerName) +{ + ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration, peerName)); +} + +QNetworkCookieJar* PythonQtWrapper_QNetworkAccessManager::cookieJar(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->cookieJar()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData) +{ + return ( ((PythonQtPublicPromoter_QNetworkAccessManager*)theWrappedObject)->promoted_createRequest(op, request, outgoingData)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::deleteResource(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +{ + return ( theWrappedObject->deleteResource(request)); +} + +void PythonQtWrapper_QNetworkAccessManager::enableStrictTransportSecurityStore(QNetworkAccessManager* theWrappedObject, bool enabled, const QString& storeDir) +{ + ( theWrappedObject->enableStrictTransportSecurityStore(enabled, storeDir)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +{ + return ( theWrappedObject->get(request)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +{ + return ( theWrappedObject->head(request)); +} + +bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->isStrictTransportSecurityEnabled()); +} + +bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityStoreEnabled(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->isStrictTransportSecurityStoreEnabled()); +} + +QNetworkAccessManager::NetworkAccessibility PythonQtWrapper_QNetworkAccessManager::networkAccessible(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessible()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) +{ + return ( theWrappedObject->post(request, multiPart)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) +{ + return ( theWrappedObject->post(request, data)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +{ + return ( theWrappedObject->post(request, data)); +} + +QNetworkProxy PythonQtWrapper_QNetworkAccessManager::proxy(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +QNetworkProxyFactory* PythonQtWrapper_QNetworkAccessManager::proxyFactory(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->proxyFactory()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) +{ + return ( theWrappedObject->put(request, multiPart)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) +{ + return ( theWrappedObject->put(request, data)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +{ + return ( theWrappedObject->put(request, data)); +} + +QNetworkRequest::RedirectPolicy PythonQtWrapper_QNetworkAccessManager::redirectPolicy(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->redirectPolicy()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QHttpMultiPart* multiPart) +{ + return ( theWrappedObject->sendCustomRequest(request, verb, multiPart)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QIODevice* data) +{ + return ( theWrappedObject->sendCustomRequest(request, verb, data)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, const QByteArray& data) +{ + return ( theWrappedObject->sendCustomRequest(request, verb, data)); +} + +void PythonQtWrapper_QNetworkAccessManager::setAutoDeleteReplies(QNetworkAccessManager* theWrappedObject, bool autoDelete) +{ + ( theWrappedObject->setAutoDeleteReplies(autoDelete)); +} + +void PythonQtWrapper_QNetworkAccessManager::setCache(QNetworkAccessManager* theWrappedObject, QAbstractNetworkCache* cache) +{ + ( theWrappedObject->setCache(cache)); +} + +void PythonQtWrapper_QNetworkAccessManager::setConfiguration(QNetworkAccessManager* theWrappedObject, const QNetworkConfiguration& config) +{ + ( theWrappedObject->setConfiguration(config)); +} + +void PythonQtWrapper_QNetworkAccessManager::setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar) +{ + ( theWrappedObject->setCookieJar(cookieJar)); +} + +void PythonQtWrapper_QNetworkAccessManager::setNetworkAccessible(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::NetworkAccessibility accessible) +{ + ( theWrappedObject->setNetworkAccessible(accessible)); +} + +void PythonQtWrapper_QNetworkAccessManager::setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy) +{ + ( theWrappedObject->setProxy(proxy)); +} + +void PythonQtWrapper_QNetworkAccessManager::setProxyFactory(QNetworkAccessManager* theWrappedObject, QNetworkProxyFactory* factory) +{ + ( theWrappedObject->setProxyFactory(factory)); +} + +void PythonQtWrapper_QNetworkAccessManager::setRedirectPolicy(QNetworkAccessManager* theWrappedObject, QNetworkRequest::RedirectPolicy policy) +{ + ( theWrappedObject->setRedirectPolicy(policy)); +} + +void PythonQtWrapper_QNetworkAccessManager::setStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setStrictTransportSecurityEnabled(enabled)); +} + +void PythonQtWrapper_QNetworkAccessManager::setTransferTimeout(QNetworkAccessManager* theWrappedObject, int timeout) +{ + ( theWrappedObject->setTransferTimeout(timeout)); +} + +QVector PythonQtWrapper_QNetworkAccessManager::strictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->strictTransportSecurityHosts()); +} + +QStringList PythonQtWrapper_QNetworkAccessManager::supportedSchemes(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->supportedSchemes()); +} + +int PythonQtWrapper_QNetworkAccessManager::transferTimeout(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->transferTimeout()); +} + + + +QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry() +{ +return new QNetworkAddressEntry(); } + +QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry(const QNetworkAddressEntry& other) +{ +return new QNetworkAddressEntry(other); } + +QHostAddress PythonQtWrapper_QNetworkAddressEntry::broadcast(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->broadcast()); +} + +void PythonQtWrapper_QNetworkAddressEntry::clearAddressLifetime(QNetworkAddressEntry* theWrappedObject) +{ + ( theWrappedObject->clearAddressLifetime()); +} + +QNetworkAddressEntry::DnsEligibilityStatus PythonQtWrapper_QNetworkAddressEntry::dnsEligibility(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->dnsEligibility()); +} + +QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->ip()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::isLifetimeKnown(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->isLifetimeKnown()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::isPermanent(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->isPermanent()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::isTemporary(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->isTemporary()); +} + +QHostAddress PythonQtWrapper_QNetworkAddressEntry::netmask(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->netmask()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::__ne__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkAddressEntry::__eq__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const +{ + return ( (*theWrappedObject)== other); +} + +QDeadlineTimer PythonQtWrapper_QNetworkAddressEntry::preferredLifetime(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->preferredLifetime()); +} + +int PythonQtWrapper_QNetworkAddressEntry::prefixLength(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->prefixLength()); +} + +void PythonQtWrapper_QNetworkAddressEntry::setAddressLifetime(QNetworkAddressEntry* theWrappedObject, QDeadlineTimer preferred, QDeadlineTimer validity) +{ + ( theWrappedObject->setAddressLifetime(preferred, validity)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast) +{ + ( 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)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask) +{ + ( theWrappedObject->setNetmask(newNetmask)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setPrefixLength(QNetworkAddressEntry* theWrappedObject, int length) +{ + ( theWrappedObject->setPrefixLength(length)); +} + +void PythonQtWrapper_QNetworkAddressEntry::swap(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry& other) +{ + ( theWrappedObject->swap(other)); +} + +QDeadlineTimer PythonQtWrapper_QNetworkAddressEntry::validityLifetime(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->validityLifetime()); +} + + + +QNetworkCacheMetaData* PythonQtWrapper_QNetworkCacheMetaData::new_QNetworkCacheMetaData() +{ +return new QNetworkCacheMetaData(); } + +QNetworkCacheMetaData* PythonQtWrapper_QNetworkCacheMetaData::new_QNetworkCacheMetaData(const QNetworkCacheMetaData& other) +{ +return new QNetworkCacheMetaData(other); } + +QHash PythonQtWrapper_QNetworkCacheMetaData::attributes(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +QDateTime PythonQtWrapper_QNetworkCacheMetaData::expirationDate(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->expirationDate()); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::isValid(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QDateTime PythonQtWrapper_QNetworkCacheMetaData::lastModified(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->lastModified()); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::__ne__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QNetworkCacheMetaData::writeTo(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::__eq__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QNetworkCacheMetaData::readFrom(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QList > PythonQtWrapper_QNetworkCacheMetaData::rawHeaders(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaders()); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::saveToDisk(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->saveToDisk()); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setAttributes(QNetworkCacheMetaData* theWrappedObject, const QHash& attributes) +{ + ( theWrappedObject->setAttributes(attributes)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setExpirationDate(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime) +{ + ( theWrappedObject->setExpirationDate(dateTime)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setLastModified(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime) +{ + ( theWrappedObject->setLastModified(dateTime)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setRawHeaders(QNetworkCacheMetaData* theWrappedObject, const QList >& headers) +{ + ( theWrappedObject->setRawHeaders(headers)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setSaveToDisk(QNetworkCacheMetaData* theWrappedObject, bool allow) +{ + ( theWrappedObject->setSaveToDisk(allow)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setUrl(QNetworkCacheMetaData* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::swap(QNetworkCacheMetaData* theWrappedObject, QNetworkCacheMetaData& other) +{ + ( theWrappedObject->swap(other)); +} + +QUrl PythonQtWrapper_QNetworkCacheMetaData::url(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +QNetworkConfiguration* PythonQtWrapper_QNetworkConfiguration::new_QNetworkConfiguration() +{ +return new QNetworkConfiguration(); } + +QNetworkConfiguration* PythonQtWrapper_QNetworkConfiguration::new_QNetworkConfiguration(const QNetworkConfiguration& other) +{ +return new QNetworkConfiguration(other); } + +QNetworkConfiguration::BearerType PythonQtWrapper_QNetworkConfiguration::bearerType(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->bearerType()); +} + +QNetworkConfiguration::BearerType PythonQtWrapper_QNetworkConfiguration::bearerTypeFamily(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->bearerTypeFamily()); +} + +QString PythonQtWrapper_QNetworkConfiguration::bearerTypeName(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->bearerTypeName()); +} + +QList PythonQtWrapper_QNetworkConfiguration::children(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->children()); +} + +int PythonQtWrapper_QNetworkConfiguration::connectTimeout(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->connectTimeout()); +} + +QString PythonQtWrapper_QNetworkConfiguration::identifier(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->identifier()); +} + +bool PythonQtWrapper_QNetworkConfiguration::isRoamingAvailable(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->isRoamingAvailable()); +} + +bool PythonQtWrapper_QNetworkConfiguration::isValid(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QNetworkConfiguration::name(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QNetworkConfiguration::__ne__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QNetworkConfiguration* PythonQtWrapper_QNetworkConfiguration::operator_assign(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QNetworkConfiguration::__eq__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QNetworkConfiguration::Purpose PythonQtWrapper_QNetworkConfiguration::purpose(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->purpose()); +} + +bool PythonQtWrapper_QNetworkConfiguration::setConnectTimeout(QNetworkConfiguration* theWrappedObject, int timeout) +{ + return ( theWrappedObject->setConnectTimeout(timeout)); +} + +QNetworkConfiguration::StateFlags PythonQtWrapper_QNetworkConfiguration::state(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QNetworkConfiguration::swap(QNetworkConfiguration* theWrappedObject, QNetworkConfiguration& other) +{ + ( theWrappedObject->swap(other)); +} + +QNetworkConfiguration::Type PythonQtWrapper_QNetworkConfiguration::type(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QNetworkConfigurationManager::~PythonQtShell_QNetworkConfigurationManager() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkConfigurationManager::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(); + } + } +} + QNetworkConfigurationManager::childEvent(event0); +} +void PythonQtShell_QNetworkConfigurationManager::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(); + } + } +} + QNetworkConfigurationManager::customEvent(event0); +} +bool PythonQtShell_QNetworkConfigurationManager::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 QNetworkConfigurationManager::event(event0); +} +bool PythonQtShell_QNetworkConfigurationManager::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 QNetworkConfigurationManager::eventFilter(watched0, event1); +} +void PythonQtShell_QNetworkConfigurationManager::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(); + } + } +} + QNetworkConfigurationManager::timerEvent(event0); +} +QNetworkConfigurationManager* PythonQtWrapper_QNetworkConfigurationManager::new_QNetworkConfigurationManager(QObject* parent) +{ +return new PythonQtShell_QNetworkConfigurationManager(parent); } + +const QMetaObject* PythonQtShell_QNetworkConfigurationManager::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkConfigurationManager::staticMetaObject); + } else { + return &QNetworkConfigurationManager::staticMetaObject; + } +} +int PythonQtShell_QNetworkConfigurationManager::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkConfigurationManager::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QNetworkConfigurationManager::allConfigurations(QNetworkConfigurationManager* theWrappedObject, QNetworkConfiguration::StateFlags flags) const +{ + return ( theWrappedObject->allConfigurations(flags)); +} + +QNetworkConfigurationManager::Capabilities PythonQtWrapper_QNetworkConfigurationManager::capabilities(QNetworkConfigurationManager* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkConfigurationManager::configurationFromIdentifier(QNetworkConfigurationManager* theWrappedObject, const QString& identifier) const +{ + return ( theWrappedObject->configurationFromIdentifier(identifier)); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkConfigurationManager::defaultConfiguration(QNetworkConfigurationManager* theWrappedObject) const +{ + return ( theWrappedObject->defaultConfiguration()); +} + +bool PythonQtWrapper_QNetworkConfigurationManager::isOnline(QNetworkConfigurationManager* theWrappedObject) const +{ + return ( theWrappedObject->isOnline()); +} + + + +QNetworkCookie* PythonQtWrapper_QNetworkCookie::new_QNetworkCookie(const QByteArray& name, const QByteArray& value) +{ +return new QNetworkCookie(name, value); } + +QNetworkCookie* PythonQtWrapper_QNetworkCookie::new_QNetworkCookie(const QNetworkCookie& other) +{ +return new QNetworkCookie(other); } + +QString PythonQtWrapper_QNetworkCookie::domain(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->domain()); +} + +QDateTime PythonQtWrapper_QNetworkCookie::expirationDate(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->expirationDate()); +} + +bool PythonQtWrapper_QNetworkCookie::hasSameIdentifier(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const +{ + return ( theWrappedObject->hasSameIdentifier(other)); +} + +bool PythonQtWrapper_QNetworkCookie::isHttpOnly(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->isHttpOnly()); +} + +bool PythonQtWrapper_QNetworkCookie::isSecure(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->isSecure()); +} + +bool PythonQtWrapper_QNetworkCookie::isSessionCookie(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->isSessionCookie()); +} + +QByteArray PythonQtWrapper_QNetworkCookie::name(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QNetworkCookie::normalize(QNetworkCookie* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->normalize(url)); +} + +bool PythonQtWrapper_QNetworkCookie::__ne__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkCookie::__eq__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const +{ + return ( (*theWrappedObject)== other); +} + +QList PythonQtWrapper_QNetworkCookie::static_QNetworkCookie_parseCookies(const QByteArray& cookieString) +{ + return (QNetworkCookie::parseCookies(cookieString)); +} + +QString PythonQtWrapper_QNetworkCookie::path(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QNetworkCookie::setDomain(QNetworkCookie* theWrappedObject, const QString& domain) +{ + ( theWrappedObject->setDomain(domain)); +} + +void PythonQtWrapper_QNetworkCookie::setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date) +{ + ( theWrappedObject->setExpirationDate(date)); +} + +void PythonQtWrapper_QNetworkCookie::setHttpOnly(QNetworkCookie* theWrappedObject, bool enable) +{ + ( theWrappedObject->setHttpOnly(enable)); +} + +void PythonQtWrapper_QNetworkCookie::setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName) +{ + ( theWrappedObject->setName(cookieName)); +} + +void PythonQtWrapper_QNetworkCookie::setPath(QNetworkCookie* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setPath(path)); +} + +void PythonQtWrapper_QNetworkCookie::setSecure(QNetworkCookie* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSecure(enable)); +} + +void PythonQtWrapper_QNetworkCookie::setValue(QNetworkCookie* theWrappedObject, const QByteArray& value) +{ + ( theWrappedObject->setValue(value)); +} + +void PythonQtWrapper_QNetworkCookie::swap(QNetworkCookie* theWrappedObject, QNetworkCookie& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QNetworkCookie::toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form) const +{ + return ( theWrappedObject->toRawForm(form)); +} + +QByteArray PythonQtWrapper_QNetworkCookie::value(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +QString PythonQtWrapper_QNetworkCookie::py_toString(QNetworkCookie* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QNetworkCookieJar::~PythonQtShell_QNetworkCookieJar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkCookieJar::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(); + } + } +} + QNetworkCookieJar::childEvent(event0); +} +QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cookiesForUrl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cookiesForUrl", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::cookiesForUrl(url0); +} +void PythonQtShell_QNetworkCookieJar::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(); + } + } +} + QNetworkCookieJar::customEvent(event0); +} +bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cookie0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deleteCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deleteCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::deleteCookie(cookie0); +} +bool PythonQtShell_QNetworkCookieJar::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 QNetworkCookieJar::event(event0); +} +bool PythonQtShell_QNetworkCookieJar::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 QNetworkCookieJar::eventFilter(watched0, event1); +} +bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cookie0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::insertCookie(cookie0); +} +bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList0, const QUrl& url1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCookiesFromUrl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QList&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setCookiesFromUrl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::setCookiesFromUrl(cookieList0, url1); +} +void PythonQtShell_QNetworkCookieJar::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(); + } + } +} + QNetworkCookieJar::timerEvent(event0); +} +bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cookie0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::updateCookie(cookie0); +} +bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& cookie0, const QUrl& url1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validateCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validateCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::validateCookie(cookie0, url1); +} +QNetworkCookieJar* PythonQtWrapper_QNetworkCookieJar::new_QNetworkCookieJar(QObject* parent) +{ +return new PythonQtShell_QNetworkCookieJar(parent); } + +const QMetaObject* PythonQtShell_QNetworkCookieJar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkCookieJar::staticMetaObject); + } else { + return &QNetworkCookieJar::staticMetaObject; + } +} +int PythonQtShell_QNetworkCookieJar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkCookieJar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QNetworkCookieJar::allCookies(QNetworkCookieJar* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_allCookies()); +} + +QList PythonQtWrapper_QNetworkCookieJar::cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const +{ + return ( theWrappedObject->cookiesForUrl(url)); +} + +bool PythonQtWrapper_QNetworkCookieJar::deleteCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) +{ + return ( theWrappedObject->deleteCookie(cookie)); +} + +bool PythonQtWrapper_QNetworkCookieJar::insertCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) +{ + return ( theWrappedObject->insertCookie(cookie)); +} + +void PythonQtWrapper_QNetworkCookieJar::setAllCookies(QNetworkCookieJar* theWrappedObject, const QList& cookieList) +{ + ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_setAllCookies(cookieList)); +} + +bool PythonQtWrapper_QNetworkCookieJar::setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url) +{ + return ( theWrappedObject->setCookiesFromUrl(cookieList, url)); +} + +bool PythonQtWrapper_QNetworkCookieJar::updateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) +{ + return ( theWrappedObject->updateCookie(cookie)); +} + +bool PythonQtWrapper_QNetworkCookieJar::validateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie, const QUrl& url) const +{ + return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_validateCookie(cookie, url)); +} + + + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::new_QNetworkDatagram() +{ +return new QNetworkDatagram(); } + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::new_QNetworkDatagram(const QByteArray& data, const QHostAddress& destinationAddress, unsigned short port) +{ +return new QNetworkDatagram(data, destinationAddress, port); } + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::new_QNetworkDatagram(const QNetworkDatagram& other) +{ +return new QNetworkDatagram(other); } + +void PythonQtWrapper_QNetworkDatagram::clear(QNetworkDatagram* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QByteArray PythonQtWrapper_QNetworkDatagram::data(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QHostAddress PythonQtWrapper_QNetworkDatagram::destinationAddress(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->destinationAddress()); +} + +int PythonQtWrapper_QNetworkDatagram::destinationPort(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->destinationPort()); +} + +int PythonQtWrapper_QNetworkDatagram::hopLimit(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->hopLimit()); +} + +uint PythonQtWrapper_QNetworkDatagram::interfaceIndex(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->interfaceIndex()); +} + +bool PythonQtWrapper_QNetworkDatagram::isNull(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QNetworkDatagram::isValid(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QNetworkDatagram PythonQtWrapper_QNetworkDatagram::makeReply(QNetworkDatagram* theWrappedObject, const QByteArray& paylaod) const +{ + return ( theWrappedObject->makeReply(paylaod)); +} + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::operator_assign(QNetworkDatagram* theWrappedObject, const QNetworkDatagram& other) +{ + return &( (*theWrappedObject)= other); +} + +QHostAddress PythonQtWrapper_QNetworkDatagram::senderAddress(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->senderAddress()); +} + +int PythonQtWrapper_QNetworkDatagram::senderPort(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->senderPort()); +} + +void PythonQtWrapper_QNetworkDatagram::setData(QNetworkDatagram* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->setData(data)); +} + +void PythonQtWrapper_QNetworkDatagram::setDestination(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port) +{ + ( theWrappedObject->setDestination(address, port)); +} + +void PythonQtWrapper_QNetworkDatagram::setHopLimit(QNetworkDatagram* theWrappedObject, int count) +{ + ( theWrappedObject->setHopLimit(count)); +} + +void PythonQtWrapper_QNetworkDatagram::setInterfaceIndex(QNetworkDatagram* theWrappedObject, uint index) +{ + ( theWrappedObject->setInterfaceIndex(index)); +} + +void PythonQtWrapper_QNetworkDatagram::setSender(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port) +{ + ( theWrappedObject->setSender(address, port)); +} + +void PythonQtWrapper_QNetworkDatagram::swap(QNetworkDatagram* theWrappedObject, QNetworkDatagram& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QNetworkDiskCache::~PythonQtShell_QNetworkDiskCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cacheSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::cacheSize(); +} +void PythonQtShell_QNetworkDiskCache::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(); + } + } +} + QNetworkDiskCache::childEvent(event0); +} +void PythonQtShell_QNetworkDiskCache::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QNetworkDiskCache::clear(); +} +void PythonQtShell_QNetworkDiskCache::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(); + } + } +} + QNetworkDiskCache::customEvent(event0); +} +QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::data(url0); +} +bool PythonQtShell_QNetworkDiskCache::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 QNetworkDiskCache::event(event0); +} +bool PythonQtShell_QNetworkDiskCache::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 QNetworkDiskCache::eventFilter(watched0, event1); +} +qint64 PythonQtShell_QNetworkDiskCache::expire() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expire"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expire", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::expire(); +} +void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insert"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&device0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::insert(device0); +} +QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QNetworkCacheMetaData*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::metaData(url0); +} +QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("prepare"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::prepare(metaData0); +} +bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("remove"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::remove(url0); +} +void PythonQtShell_QNetworkDiskCache::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(); + } + } +} + QNetworkDiskCache::timerEvent(event0); +} +void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateMetaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&metaData0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::updateMetaData(metaData0); +} +QNetworkDiskCache* PythonQtWrapper_QNetworkDiskCache::new_QNetworkDiskCache(QObject* parent) +{ +return new PythonQtShell_QNetworkDiskCache(parent); } + +const QMetaObject* PythonQtShell_QNetworkDiskCache::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkDiskCache::staticMetaObject); + } else { + return &QNetworkDiskCache::staticMetaObject; + } +} +int PythonQtShell_QNetworkDiskCache::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkDiskCache::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QNetworkDiskCache::cacheDirectory(QNetworkDiskCache* theWrappedObject) const +{ + return ( theWrappedObject->cacheDirectory()); +} + +qint64 PythonQtWrapper_QNetworkDiskCache::expire(QNetworkDiskCache* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_expire()); +} + +QNetworkCacheMetaData PythonQtWrapper_QNetworkDiskCache::fileMetaData(QNetworkDiskCache* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->fileMetaData(fileName)); +} + +qint64 PythonQtWrapper_QNetworkDiskCache::maximumCacheSize(QNetworkDiskCache* theWrappedObject) const +{ + return ( theWrappedObject->maximumCacheSize()); +} + +void PythonQtWrapper_QNetworkDiskCache::setCacheDirectory(QNetworkDiskCache* theWrappedObject, const QString& cacheDir) +{ + ( theWrappedObject->setCacheDirectory(cacheDir)); +} + +void PythonQtWrapper_QNetworkDiskCache::setMaximumCacheSize(QNetworkDiskCache* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setMaximumCacheSize(size)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.h new file mode 100644 index 00000000..0ad581f9 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network0.h @@ -0,0 +1,1397 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QAbstractNetworkCache : public QAbstractNetworkCache +{ +public: + 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 +{ public: +inline qint64 py_q_cacheSize() const { return this->cacheSize(); } +inline void py_q_clear() { this->clear(); } +inline QIODevice* py_q_data(const QUrl& url) { return this->data(url); } +inline void py_q_insert(QIODevice* device) { this->insert(device); } +inline QNetworkCacheMetaData py_q_metaData(const QUrl& url) { return this->metaData(url); } +inline QIODevice* py_q_prepare(const QNetworkCacheMetaData& metaData) { return this->prepare(metaData); } +inline bool py_q_remove(const QUrl& url) { return this->remove(url); } +inline void py_q_updateMetaData(const QNetworkCacheMetaData& metaData) { this->updateMetaData(metaData); } +}; + +class PythonQtWrapper_QAbstractNetworkCache : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractNetworkCache* new_QAbstractNetworkCache(QObject* parent = nullptr); +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());} + QIODevice* data(QAbstractNetworkCache* theWrappedObject, const QUrl& url); + QIODevice* py_q_data(QAbstractNetworkCache* theWrappedObject, const QUrl& url){ return (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_data(url));} + void insert(QAbstractNetworkCache* theWrappedObject, QIODevice* device); + void py_q_insert(QAbstractNetworkCache* theWrappedObject, QIODevice* device){ (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_insert(device));} + QNetworkCacheMetaData metaData(QAbstractNetworkCache* theWrappedObject, const QUrl& url); + QNetworkCacheMetaData py_q_metaData(QAbstractNetworkCache* theWrappedObject, const QUrl& url){ return (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_metaData(url));} + QIODevice* prepare(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData); + QIODevice* py_q_prepare(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData){ return (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_prepare(metaData));} + bool remove(QAbstractNetworkCache* theWrappedObject, const QUrl& url); + bool py_q_remove(QAbstractNetworkCache* theWrappedObject, const QUrl& url){ return (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_remove(url));} + void updateMetaData(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData); + void py_q_updateMetaData(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData){ (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_updateMetaData(metaData));} +}; + + + + + +class PythonQtShell_QAbstractSocket : public QAbstractSocket +{ +public: + 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 +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return this->readLineData(data, maxlen); } +inline void promoted_setLocalAddress(const QHostAddress& address) { this->setLocalAddress(address); } +inline void promoted_setLocalPort(unsigned short port) { this->setLocalPort(port); } +inline void promoted_setPeerAddress(const QHostAddress& address) { this->setPeerAddress(address); } +inline void promoted_setPeerName(const QString& name) { this->setPeerName(name); } +inline void promoted_setPeerPort(unsigned short port) { this->setPeerPort(port); } +inline void promoted_setSocketError(QAbstractSocket::SocketError socketError) { this->setSocketError(socketError); } +inline void promoted_setSocketState(QAbstractSocket::SocketState state) { this->setSocketState(state); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QAbstractSocket::atEnd(); } +inline qint64 py_q_bytesAvailable() const { return QAbstractSocket::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QAbstractSocket::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QAbstractSocket::canReadLine(); } +inline void py_q_close() { QAbstractSocket::close(); } +inline void py_q_connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) { QAbstractSocket::connectToHost(address, port, mode); } +inline void py_q_connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) { QAbstractSocket::connectToHost(hostName, port, mode, protocol); } +inline void py_q_disconnectFromHost() { QAbstractSocket::disconnectFromHost(); } +inline bool py_q_isSequential() const { return QAbstractSocket::isSequential(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QAbstractSocket::readData(data, maxlen); } +inline qint64 py_q_readLineData(char* data, qint64 maxlen) { return QAbstractSocket::readLineData(data, maxlen); } +inline void py_q_resume() { QAbstractSocket::resume(); } +inline void py_q_setReadBufferSize(qint64 size) { QAbstractSocket::setReadBufferSize(size); } +inline bool py_q_setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) { return QAbstractSocket::setSocketDescriptor(socketDescriptor, state, openMode); } +inline void py_q_setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) { QAbstractSocket::setSocketOption(option, value); } +inline qintptr py_q_socketDescriptor() const { return QAbstractSocket::socketDescriptor(); } +inline QVariant py_q_socketOption(QAbstractSocket::SocketOption option) { return QAbstractSocket::socketOption(option); } +inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QAbstractSocket::waitForBytesWritten(msecs); } +inline bool py_q_waitForConnected(int msecs = 30000) { return QAbstractSocket::waitForConnected(msecs); } +inline bool py_q_waitForDisconnected(int msecs = 30000) { return QAbstractSocket::waitForDisconnected(msecs); } +inline bool py_q_waitForReadyRead(int msecs = 30000) { return QAbstractSocket::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QAbstractSocket::writeData(data, len); } +}; + +class PythonQtWrapper_QAbstractSocket : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BindFlag PauseMode ) +Q_FLAGS(BindMode PauseModes ) +enum BindFlag{ + DefaultForPlatform = QAbstractSocket::DefaultForPlatform, ShareAddress = QAbstractSocket::ShareAddress, DontShareAddress = QAbstractSocket::DontShareAddress, ReuseAddressHint = QAbstractSocket::ReuseAddressHint}; +enum PauseMode{ + PauseNever = QAbstractSocket::PauseNever, PauseOnSslErrors = QAbstractSocket::PauseOnSslErrors}; +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 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); + bool bind(QAbstractSocket* theWrappedObject, unsigned short port = 0, QAbstractSocket::BindMode mode = QAbstractSocket::DefaultForPlatform); + qint64 py_q_bytesAvailable(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_bytesAvailable());} + qint64 py_q_bytesToWrite(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_bytesToWrite());} + bool py_q_canReadLine(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_canReadLine());} + void py_q_close(QAbstractSocket* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_close());} + void connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); + void py_q_connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite){ (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_connectToHost(address, port, mode));} + void connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); + void py_q_connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol){ (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_connectToHost(hostName, port, mode, protocol));} + void disconnectFromHost(QAbstractSocket* theWrappedObject); + void py_q_disconnectFromHost(QAbstractSocket* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_disconnectFromHost());} + QAbstractSocket::SocketError error(QAbstractSocket* theWrappedObject) const; + bool flush(QAbstractSocket* theWrappedObject); + bool py_q_isSequential(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_isSequential());} + bool isValid(QAbstractSocket* theWrappedObject) const; + QHostAddress localAddress(QAbstractSocket* theWrappedObject) const; + unsigned short localPort(QAbstractSocket* theWrappedObject) const; + QAbstractSocket::PauseModes pauseMode(QAbstractSocket* theWrappedObject) const; + QHostAddress peerAddress(QAbstractSocket* theWrappedObject) const; + QString peerName(QAbstractSocket* theWrappedObject) const; + unsigned short peerPort(QAbstractSocket* theWrappedObject) const; + QString protocolTag(QAbstractSocket* theWrappedObject) const; + QNetworkProxy proxy(QAbstractSocket* theWrappedObject) const; + qint64 readBufferSize(QAbstractSocket* theWrappedObject) const; + qint64 py_q_readData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_readData(data, maxlen));} + qint64 py_q_readLineData(QAbstractSocket* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_readLineData(data, maxlen));} + void resume(QAbstractSocket* theWrappedObject); + void py_q_resume(QAbstractSocket* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_resume());} + void setLocalAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address); + void setLocalPort(QAbstractSocket* theWrappedObject, unsigned short port); + void setPauseMode(QAbstractSocket* theWrappedObject, QAbstractSocket::PauseModes pauseMode); + void setPeerAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address); + void setPeerName(QAbstractSocket* theWrappedObject, const QString& name); + void setPeerPort(QAbstractSocket* theWrappedObject, unsigned short port); + void setProtocolTag(QAbstractSocket* theWrappedObject, const QString& tag); + void setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy); + void setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size); + void py_q_setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size){ (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_setReadBufferSize(size));} + bool setSocketDescriptor(QAbstractSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); + bool py_q_setSocketDescriptor(QAbstractSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_setSocketDescriptor(socketDescriptor, state, openMode));} + void setSocketError(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketError socketError); + void setSocketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value); + void py_q_setSocketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value){ (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_setSocketOption(option, value));} + void setSocketState(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketState state); + qintptr socketDescriptor(QAbstractSocket* theWrappedObject) const; + qintptr py_q_socketDescriptor(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_socketDescriptor());} + QVariant socketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option); + QVariant py_q_socketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_socketOption(option));} + QAbstractSocket::SocketType socketType(QAbstractSocket* theWrappedObject) const; + QAbstractSocket::SocketState state(QAbstractSocket* theWrappedObject) const; + bool py_q_waitForBytesWritten(QAbstractSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool waitForConnected(QAbstractSocket* theWrappedObject, int msecs = 30000); + bool py_q_waitForConnected(QAbstractSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_waitForConnected(msecs));} + bool waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs = 30000); + bool py_q_waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_waitForDisconnected(msecs));} + bool py_q_waitForReadyRead(QAbstractSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + qint64 py_q_writeData(QAbstractSocket* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_writeData(data, len));} + bool __nonzero__(QAbstractSocket* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QAuthenticator : public QObject +{ Q_OBJECT +public: +public slots: +QAuthenticator* new_QAuthenticator(); +QAuthenticator* new_QAuthenticator(const QAuthenticator& other); +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; + QVariant option(QAuthenticator* theWrappedObject, const QString& opt) const; + QHash options(QAuthenticator* theWrappedObject) const; + QString password(QAuthenticator* theWrappedObject) const; + QString realm(QAuthenticator* theWrappedObject) const; + void setOption(QAuthenticator* theWrappedObject, const QString& opt, const QVariant& value); + void setPassword(QAuthenticator* theWrappedObject, const QString& password); + void setRealm(QAuthenticator* theWrappedObject, const QString& realm); + void setUser(QAuthenticator* theWrappedObject, const QString& user); + QString user(QAuthenticator* theWrappedObject) const; + bool __nonzero__(QAuthenticator* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDnsDomainNameRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsDomainNameRecord* new_QDnsDomainNameRecord(); +QDnsDomainNameRecord* new_QDnsDomainNameRecord(const QDnsDomainNameRecord& other); +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); + unsigned int timeToLive(QDnsDomainNameRecord* theWrappedObject) const; + QString value(QDnsDomainNameRecord* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDnsHostAddressRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsHostAddressRecord* new_QDnsHostAddressRecord(); +QDnsHostAddressRecord* new_QDnsHostAddressRecord(const QDnsHostAddressRecord& other); +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); + unsigned int timeToLive(QDnsHostAddressRecord* theWrappedObject) const; + QHostAddress value(QDnsHostAddressRecord* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDnsLookup : public QDnsLookup +{ +public: + 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() 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_QDnsLookup : public QObject +{ Q_OBJECT +public: +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; } + QList canonicalNameRecords(QDnsLookup* theWrappedObject) const; + QDnsLookup::Error error(QDnsLookup* theWrappedObject) const; + QString errorString(QDnsLookup* theWrappedObject) const; + QList hostAddressRecords(QDnsLookup* theWrappedObject) const; + bool isFinished(QDnsLookup* theWrappedObject) const; + QList mailExchangeRecords(QDnsLookup* theWrappedObject) const; + QString name(QDnsLookup* theWrappedObject) const; + QList nameServerRecords(QDnsLookup* theWrappedObject) const; + QHostAddress nameserver(QDnsLookup* theWrappedObject) const; + QList pointerRecords(QDnsLookup* theWrappedObject) const; + QList serviceRecords(QDnsLookup* theWrappedObject) const; + void setName(QDnsLookup* theWrappedObject, const QString& name); + void setNameserver(QDnsLookup* theWrappedObject, const QHostAddress& nameserver); + void setType(QDnsLookup* theWrappedObject, QDnsLookup::Type arg__1); + QList textRecords(QDnsLookup* theWrappedObject) const; + QDnsLookup::Type type(QDnsLookup* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDnsMailExchangeRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsMailExchangeRecord* new_QDnsMailExchangeRecord(); +QDnsMailExchangeRecord* new_QDnsMailExchangeRecord(const QDnsMailExchangeRecord& other); +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); + unsigned short preference(QDnsMailExchangeRecord* theWrappedObject) const; + void swap(QDnsMailExchangeRecord* theWrappedObject, QDnsMailExchangeRecord& other); + unsigned int timeToLive(QDnsMailExchangeRecord* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDnsServiceRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsServiceRecord* new_QDnsServiceRecord(); +QDnsServiceRecord* new_QDnsServiceRecord(const QDnsServiceRecord& other); +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; + unsigned short priority(QDnsServiceRecord* theWrappedObject) const; + void swap(QDnsServiceRecord* theWrappedObject, QDnsServiceRecord& other); + QString target(QDnsServiceRecord* theWrappedObject) const; + unsigned int timeToLive(QDnsServiceRecord* theWrappedObject) const; + unsigned short weight(QDnsServiceRecord* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDnsTextRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsTextRecord* new_QDnsTextRecord(); +QDnsTextRecord* new_QDnsTextRecord(const QDnsTextRecord& other); +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); + unsigned int timeToLive(QDnsTextRecord* theWrappedObject) const; + QList values(QDnsTextRecord* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QDtls : public QDtls +{ +public: + PythonQtShell_QDtls(QSslSocket::SslMode mode, QObject* parent = nullptr):QDtls(mode, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDtls() 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_QDtls : public QObject +{ Q_OBJECT +public: +Q_ENUMS(HandshakeState ) +enum HandshakeState{ + HandshakeNotStarted = QDtls::HandshakeNotStarted, HandshakeInProgress = QDtls::HandshakeInProgress, PeerVerificationFailed = QDtls::PeerVerificationFailed, HandshakeComplete = QDtls::HandshakeComplete}; +public slots: +QDtls* new_QDtls(QSslSocket::SslMode mode, QObject* parent = nullptr); +void delete_QDtls(QDtls* obj) { delete obj; } + bool abortHandshake(QDtls* theWrappedObject, QUdpSocket* socket); + QDtlsClientVerifier::GeneratorParameters cookieGeneratorParameters(QDtls* theWrappedObject) const; + QByteArray decryptDatagram(QDtls* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram); + bool doHandshake(QDtls* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram = {}); + QSslConfiguration dtlsConfiguration(QDtls* theWrappedObject) const; + QDtlsError dtlsError(QDtls* theWrappedObject) const; + QString dtlsErrorString(QDtls* theWrappedObject) const; + bool handleTimeout(QDtls* theWrappedObject, QUdpSocket* socket); + QDtls::HandshakeState handshakeState(QDtls* theWrappedObject) const; + void ignoreVerificationErrors(QDtls* theWrappedObject, const QVector& errorsToIgnore); + bool isConnectionEncrypted(QDtls* theWrappedObject) const; + unsigned short mtuHint(QDtls* theWrappedObject) const; + QHostAddress peerAddress(QDtls* theWrappedObject) const; + unsigned short peerPort(QDtls* theWrappedObject) const; + QVector peerVerificationErrors(QDtls* theWrappedObject) const; + QString peerVerificationName(QDtls* theWrappedObject) const; + bool resumeHandshake(QDtls* theWrappedObject, QUdpSocket* socket); + QSslCipher sessionCipher(QDtls* theWrappedObject) const; + QSsl::SslProtocol sessionProtocol(QDtls* theWrappedObject) const; + bool setCookieGeneratorParameters(QDtls* theWrappedObject, const QDtlsClientVerifier::GeneratorParameters& params); + bool setDtlsConfiguration(QDtls* theWrappedObject, const QSslConfiguration& configuration); + void setMtuHint(QDtls* theWrappedObject, unsigned short mtuHint); + bool setPeer(QDtls* theWrappedObject, const QHostAddress& address, unsigned short port, const QString& verificationName = {}); + bool setPeerVerificationName(QDtls* theWrappedObject, const QString& name); + bool shutdown(QDtls* theWrappedObject, QUdpSocket* socket); + QSslSocket::SslMode sslMode(QDtls* theWrappedObject) const; + qint64 writeDatagramEncrypted(QDtls* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram); +}; + + + + + +class PythonQtShell_QDtlsClientVerifier : public QDtlsClientVerifier +{ +public: + PythonQtShell_QDtlsClientVerifier(QObject* parent = nullptr):QDtlsClientVerifier(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDtlsClientVerifier() 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_QDtlsClientVerifier : public QObject +{ Q_OBJECT +public: +public slots: +QDtlsClientVerifier* new_QDtlsClientVerifier(QObject* parent = nullptr); +void delete_QDtlsClientVerifier(QDtlsClientVerifier* obj) { delete obj; } + QDtlsClientVerifier::GeneratorParameters cookieGeneratorParameters(QDtlsClientVerifier* theWrappedObject) const; + QDtlsError dtlsError(QDtlsClientVerifier* theWrappedObject) const; + QString dtlsErrorString(QDtlsClientVerifier* theWrappedObject) const; + bool setCookieGeneratorParameters(QDtlsClientVerifier* theWrappedObject, const QDtlsClientVerifier::GeneratorParameters& params); + QByteArray verifiedHello(QDtlsClientVerifier* theWrappedObject) const; + bool verifyClient(QDtlsClientVerifier* theWrappedObject, QUdpSocket* socket, const QByteArray& dgram, const QHostAddress& address, unsigned short port); +}; + + + + + +class PythonQtShell_QDtlsClientVerifier__GeneratorParameters : public QDtlsClientVerifier::GeneratorParameters +{ +public: + PythonQtShell_QDtlsClientVerifier__GeneratorParameters():QDtlsClientVerifier::GeneratorParameters(),_wrapper(nullptr) {}; + PythonQtShell_QDtlsClientVerifier__GeneratorParameters(QCryptographicHash::Algorithm a, const QByteArray& s):QDtlsClientVerifier::GeneratorParameters(a, s),_wrapper(nullptr) {}; + + ~PythonQtShell_QDtlsClientVerifier__GeneratorParameters(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QDtlsClientVerifier__GeneratorParameters : public QObject +{ Q_OBJECT +public: +public slots: +QDtlsClientVerifier::GeneratorParameters* new_QDtlsClientVerifier__GeneratorParameters(); +QDtlsClientVerifier::GeneratorParameters* new_QDtlsClientVerifier__GeneratorParameters(QCryptographicHash::Algorithm a, const QByteArray& s); +QDtlsClientVerifier::GeneratorParameters* new_QDtlsClientVerifier__GeneratorParameters(const QDtlsClientVerifier::GeneratorParameters& other) { +PythonQtShell_QDtlsClientVerifier__GeneratorParameters* a = new PythonQtShell_QDtlsClientVerifier__GeneratorParameters(); +*((QDtlsClientVerifier::GeneratorParameters*)a) = other; +return a; } +void delete_QDtlsClientVerifier__GeneratorParameters(QDtlsClientVerifier::GeneratorParameters* obj) { delete obj; } +void py_set_hash(QDtlsClientVerifier::GeneratorParameters* theWrappedObject, QCryptographicHash::Algorithm hash){ theWrappedObject->hash = hash; } +QCryptographicHash::Algorithm py_get_hash(QDtlsClientVerifier::GeneratorParameters* theWrappedObject){ return theWrappedObject->hash; } +void py_set_secret(QDtlsClientVerifier::GeneratorParameters* theWrappedObject, QByteArray secret){ theWrappedObject->secret = secret; } +QByteArray py_get_secret(QDtlsClientVerifier::GeneratorParameters* theWrappedObject){ return theWrappedObject->secret; } +}; + + + + + +class PythonQtWrapper_QHostAddress : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ConversionModeFlag SpecialAddress ) +enum ConversionModeFlag{ + ConvertV4MappedToIPv4 = QHostAddress::ConvertV4MappedToIPv4, ConvertV4CompatToIPv4 = QHostAddress::ConvertV4CompatToIPv4, ConvertUnspecifiedAddress = QHostAddress::ConvertUnspecifiedAddress, ConvertLocalHost = QHostAddress::ConvertLocalHost, TolerantConversion = QHostAddress::TolerantConversion, StrictConversion = QHostAddress::StrictConversion}; +enum SpecialAddress{ + Null = QHostAddress::Null, Broadcast = QHostAddress::Broadcast, LocalHost = QHostAddress::LocalHost, LocalHostIPv6 = QHostAddress::LocalHostIPv6, Any = QHostAddress::Any, AnyIPv6 = QHostAddress::AnyIPv6, AnyIPv4 = QHostAddress::AnyIPv4}; +public slots: +QHostAddress* new_QHostAddress(); +QHostAddress* new_QHostAddress(QHostAddress::SpecialAddress address); +QHostAddress* new_QHostAddress(const QHostAddress& copy); +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 clear(QHostAddress* theWrappedObject); + bool isBroadcast(QHostAddress* theWrappedObject) const; + bool isGlobal(QHostAddress* theWrappedObject) const; + bool isInSubnet(QHostAddress* theWrappedObject, const QHostAddress& subnet, int netmask) const; + bool isInSubnet(QHostAddress* theWrappedObject, const QPair& subnet) const; + bool isLinkLocal(QHostAddress* theWrappedObject) const; + bool isLoopback(QHostAddress* theWrappedObject) const; + bool isMulticast(QHostAddress* theWrappedObject) const; + bool isNull(QHostAddress* theWrappedObject) const; + bool isSiteLocal(QHostAddress* theWrappedObject) const; + bool isUniqueLocalUnicast(QHostAddress* theWrappedObject) const; + bool __ne__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const; + bool __ne__(QHostAddress* theWrappedObject, const QHostAddress& address) const; + void writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1); + QHostAddress* operator_assign(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address); + bool __eq__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const; + bool __eq__(QHostAddress* theWrappedObject, const QHostAddress& address) const; + void readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1); + QPair static_QHostAddress_parseSubnet(const QString& subnet); + QAbstractSocket::NetworkLayerProtocol protocol(QHostAddress* theWrappedObject) const; + QString scopeId(QHostAddress* theWrappedObject) const; + void setAddress(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address); + void setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr); + bool setAddress(QHostAddress* theWrappedObject, const QString& address); + void setAddress(QHostAddress* theWrappedObject, const unsigned char* ip6Addr); + void setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr); + void setScopeId(QHostAddress* theWrappedObject, const QString& id); + void swap(QHostAddress* theWrappedObject, QHostAddress& other); + unsigned int toIPv4Address(QHostAddress* theWrappedObject) const; + unsigned int toIPv4Address(QHostAddress* theWrappedObject, bool* ok) const; + QIPv6Address toIPv6Address(QHostAddress* theWrappedObject) const; + QString toString(QHostAddress* theWrappedObject) const; + QString py_toString(QHostAddress*); + bool __nonzero__(QHostAddress* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QHostInfo : public QObject +{ Q_OBJECT +public: +Q_ENUMS(HostInfoError ) +enum HostInfoError{ + NoError = QHostInfo::NoError, HostNotFound = QHostInfo::HostNotFound, UnknownError = QHostInfo::UnknownError}; +public slots: +QHostInfo* new_QHostInfo(const QHostInfo& d); +QHostInfo* new_QHostInfo(int lookupId = -1); +void delete_QHostInfo(QHostInfo* obj) { delete obj; } + void static_QHostInfo_abortHostLookup(int lookupId); + QList addresses(QHostInfo* theWrappedObject) const; + QHostInfo::HostInfoError error(QHostInfo* theWrappedObject) const; + QString errorString(QHostInfo* theWrappedObject) const; + QHostInfo static_QHostInfo_fromName(const QString& name); + QString hostName(QHostInfo* theWrappedObject) const; + QString static_QHostInfo_localDomainName(); + QString static_QHostInfo_localHostName(); + int static_QHostInfo_lookupHost(const QString& name, QObject* receiver, const char* member); + int lookupId(QHostInfo* theWrappedObject) const; + void setAddresses(QHostInfo* theWrappedObject, const QList& addresses); + void setError(QHostInfo* theWrappedObject, QHostInfo::HostInfoError error); + void setErrorString(QHostInfo* theWrappedObject, const QString& errorString); + void setHostName(QHostInfo* theWrappedObject, const QString& name); + void setLookupId(QHostInfo* theWrappedObject, int id); + void swap(QHostInfo* theWrappedObject, QHostInfo& other); +}; + + + + + +class PythonQtWrapper_QHstsPolicy : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PolicyFlag ) +enum PolicyFlag{ + IncludeSubDomains = QHstsPolicy::IncludeSubDomains}; +public slots: +QHstsPolicy* new_QHstsPolicy(); +QHstsPolicy* new_QHstsPolicy(const QHstsPolicy& rhs); +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); + void setHost(QHstsPolicy* theWrappedObject, const QString& host, QUrl::ParsingMode mode = QUrl::DecodedMode); + void setIncludesSubDomains(QHstsPolicy* theWrappedObject, bool include); + void swap(QHstsPolicy* theWrappedObject, QHstsPolicy& other); +}; + + + + + +class PythonQtWrapper_QHttp2Configuration : public QObject +{ Q_OBJECT +public: +public slots: +QHttp2Configuration* new_QHttp2Configuration(); +QHttp2Configuration* new_QHttp2Configuration(const QHttp2Configuration& other); +void delete_QHttp2Configuration(QHttp2Configuration* obj) { delete obj; } + bool huffmanCompressionEnabled(QHttp2Configuration* theWrappedObject) const; + bool __ne__(QHttp2Configuration* theWrappedObject, const QHttp2Configuration& rhs); + QHttp2Configuration* operator_assign(QHttp2Configuration* theWrappedObject, const QHttp2Configuration& other); + bool __eq__(QHttp2Configuration* theWrappedObject, const QHttp2Configuration& rhs); + bool serverPushEnabled(QHttp2Configuration* theWrappedObject) const; + void setHuffmanCompressionEnabled(QHttp2Configuration* theWrappedObject, bool enable); + void setServerPushEnabled(QHttp2Configuration* theWrappedObject, bool enable); + void swap(QHttp2Configuration* theWrappedObject, QHttp2Configuration& other); +}; + + + + + +class PythonQtShell_QHttpMultiPart : public QHttpMultiPart +{ +public: + PythonQtShell_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent = nullptr):QHttpMultiPart(contentType, parent),_wrapper(nullptr) {}; + PythonQtShell_QHttpMultiPart(QObject* parent = nullptr):QHttpMultiPart(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHttpMultiPart() 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_QHttpMultiPart : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ContentType ) +enum ContentType{ + MixedType = QHttpMultiPart::MixedType, RelatedType = QHttpMultiPart::RelatedType, FormDataType = QHttpMultiPart::FormDataType, AlternativeType = QHttpMultiPart::AlternativeType}; +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 append(QHttpMultiPart* theWrappedObject, const QHttpPart& httpPart); + QByteArray boundary(QHttpMultiPart* theWrappedObject) const; + void setBoundary(QHttpMultiPart* theWrappedObject, const QByteArray& boundary); + void setContentType(QHttpMultiPart* theWrappedObject, QHttpMultiPart::ContentType contentType); +}; + + + + + +class PythonQtWrapper_QHttpPart : public QObject +{ Q_OBJECT +public: +public slots: +QHttpPart* new_QHttpPart(); +QHttpPart* new_QHttpPart(const QHttpPart& other); +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; + void setBody(QHttpPart* theWrappedObject, const QByteArray& body); + void setBodyDevice(QHttpPart* theWrappedObject, QIODevice* device); + void setHeader(QHttpPart* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setRawHeader(QHttpPart* theWrappedObject, const QByteArray& headerName, const QByteArray& headerValue); + void swap(QHttpPart* theWrappedObject, QHttpPart& other); +}; + + + + + +class PythonQtShell_QIPv6Address : public QIPv6Address +{ +public: + PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(nullptr) {}; + + ~PythonQtShell_QIPv6Address(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QIPv6Address : public QObject +{ Q_OBJECT +public: +public slots: +QIPv6Address* new_QIPv6Address(); +QIPv6Address* new_QIPv6Address(const QIPv6Address& other) { +PythonQtShell_QIPv6Address* a = new PythonQtShell_QIPv6Address(); +*((QIPv6Address*)a) = other; +return a; } +void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QLocalServer : public QLocalServer +{ +public: + 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 +{ public: +inline void promoted_incomingConnection(quintptr socketDescriptor) { this->incomingConnection(socketDescriptor); } +inline bool py_q_hasPendingConnections() const { return QLocalServer::hasPendingConnections(); } +inline void py_q_incomingConnection(quintptr socketDescriptor) { QLocalServer::incomingConnection(socketDescriptor); } +inline QLocalSocket* py_q_nextPendingConnection() { return QLocalServer::nextPendingConnection(); } +}; + +class PythonQtWrapper_QLocalServer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SocketOption ) +Q_FLAGS(SocketOptions ) +enum SocketOption{ + NoOptions = QLocalServer::NoOptions, UserAccessOption = QLocalServer::UserAccessOption, GroupAccessOption = QLocalServer::GroupAccessOption, OtherAccessOption = QLocalServer::OtherAccessOption, WorldAccessOption = QLocalServer::WorldAccessOption}; +Q_DECLARE_FLAGS(SocketOptions, SocketOption) +public slots: +QLocalServer* new_QLocalServer(QObject* parent = nullptr); +void delete_QLocalServer(QLocalServer* obj) { delete obj; } + void close(QLocalServer* theWrappedObject); + QString errorString(QLocalServer* theWrappedObject) const; + QString fullServerName(QLocalServer* theWrappedObject) const; + bool hasPendingConnections(QLocalServer* theWrappedObject) const; + bool py_q_hasPendingConnections(QLocalServer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->py_q_hasPendingConnections());} + void incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor); + void py_q_incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor){ (((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->py_q_incomingConnection(socketDescriptor));} + bool isListening(QLocalServer* theWrappedObject) const; + bool listen(QLocalServer* theWrappedObject, const QString& name); + bool listen(QLocalServer* theWrappedObject, qintptr socketDescriptor); + int maxPendingConnections(QLocalServer* theWrappedObject) const; + QLocalSocket* nextPendingConnection(QLocalServer* theWrappedObject); + QLocalSocket* py_q_nextPendingConnection(QLocalServer* theWrappedObject){ return (((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->py_q_nextPendingConnection());} + bool static_QLocalServer_removeServer(const QString& name); + QAbstractSocket::SocketError serverError(QLocalServer* theWrappedObject) const; + QString serverName(QLocalServer* theWrappedObject) const; + void setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections); + void setSocketOptions(QLocalServer* theWrappedObject, QLocalServer::SocketOptions options); + qintptr socketDescriptor(QLocalServer* theWrappedObject) const; + QLocalServer::SocketOptions socketOptions(QLocalServer* theWrappedObject) const; + bool waitForNewConnection(QLocalServer* theWrappedObject, int msec = 0, bool* timedOut = nullptr); +}; + + + + + +class PythonQtShell_QLocalSocket : public QLocalSocket +{ +public: + 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 +{ public: +inline qint64 promoted_readData(char* arg__1, qint64 arg__2) { return this->readData(arg__1, arg__2); } +inline qint64 promoted_writeData(const char* arg__1, qint64 arg__2) { return this->writeData(arg__1, arg__2); } +inline qint64 py_q_bytesAvailable() const { return QLocalSocket::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QLocalSocket::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QLocalSocket::canReadLine(); } +inline void py_q_close() { QLocalSocket::close(); } +inline bool py_q_isSequential() const { return QLocalSocket::isSequential(); } +inline bool py_q_open(QIODevice::OpenMode openMode = QIODevice::ReadWrite) { return QLocalSocket::open(openMode); } +inline qint64 py_q_readData(char* arg__1, qint64 arg__2) { return QLocalSocket::readData(arg__1, arg__2); } +inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QLocalSocket::waitForBytesWritten(msecs); } +inline bool py_q_waitForReadyRead(int msecs = 30000) { return QLocalSocket::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* arg__1, qint64 arg__2) { return QLocalSocket::writeData(arg__1, arg__2); } +}; + +class PythonQtWrapper_QLocalSocket : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LocalSocketError LocalSocketState ) +enum LocalSocketError{ + ConnectionRefusedError = QLocalSocket::ConnectionRefusedError, PeerClosedError = QLocalSocket::PeerClosedError, ServerNotFoundError = QLocalSocket::ServerNotFoundError, SocketAccessError = QLocalSocket::SocketAccessError, SocketResourceError = QLocalSocket::SocketResourceError, SocketTimeoutError = QLocalSocket::SocketTimeoutError, DatagramTooLargeError = QLocalSocket::DatagramTooLargeError, ConnectionError = QLocalSocket::ConnectionError, UnsupportedSocketOperationError = QLocalSocket::UnsupportedSocketOperationError, UnknownSocketError = QLocalSocket::UnknownSocketError, OperationError = QLocalSocket::OperationError}; +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 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());} + bool py_q_canReadLine(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_canReadLine());} + void py_q_close(QLocalSocket* theWrappedObject){ (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_close());} + void connectToServer(QLocalSocket* theWrappedObject, QIODevice::OpenMode openMode = QIODevice::ReadWrite); + void connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode = QIODevice::ReadWrite); + void disconnectFromServer(QLocalSocket* theWrappedObject); + QLocalSocket::LocalSocketError error(QLocalSocket* theWrappedObject) const; + bool flush(QLocalSocket* theWrappedObject); + QString fullServerName(QLocalSocket* theWrappedObject) const; + bool py_q_isSequential(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_isSequential());} + bool isValid(QLocalSocket* theWrappedObject) const; + bool py_q_open(QLocalSocket* theWrappedObject, QIODevice::OpenMode openMode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_open(openMode));} + qint64 readBufferSize(QLocalSocket* theWrappedObject) const; + qint64 py_q_readData(QLocalSocket* theWrappedObject, char* arg__1, qint64 arg__2){ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_readData(arg__1, arg__2));} + QString serverName(QLocalSocket* theWrappedObject) const; + void setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size); + void setServerName(QLocalSocket* theWrappedObject, const QString& name); + bool setSocketDescriptor(QLocalSocket* theWrappedObject, qintptr socketDescriptor, QLocalSocket::LocalSocketState socketState = QLocalSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); + qintptr socketDescriptor(QLocalSocket* theWrappedObject) const; + QLocalSocket::LocalSocketState state(QLocalSocket* theWrappedObject) const; + bool py_q_waitForBytesWritten(QLocalSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool waitForConnected(QLocalSocket* theWrappedObject, int msecs = 30000); + bool waitForDisconnected(QLocalSocket* theWrappedObject, int msecs = 30000); + bool py_q_waitForReadyRead(QLocalSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + qint64 py_q_writeData(QLocalSocket* theWrappedObject, const char* arg__1, qint64 arg__2){ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_writeData(arg__1, arg__2));} + bool __nonzero__(QLocalSocket* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QNetworkAccessManager : public QNetworkAccessManager +{ +public: + PythonQtShell_QNetworkAccessManager(QObject* parent = nullptr):QNetworkAccessManager(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkAccessManager() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkAccessManager : public QNetworkAccessManager +{ public: +inline QNetworkReply* promoted_createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr) { return this->createRequest(op, request, outgoingData); } +inline QStringList promoted_supportedSchemesImplementation() const { return this->supportedSchemesImplementation(); } +inline QNetworkReply* py_q_createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr) { return QNetworkAccessManager::createRequest(op, request, outgoingData); } +}; + +class PythonQtWrapper_QNetworkAccessManager : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Operation ) +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; } + QNetworkConfiguration activeConfiguration(QNetworkAccessManager* theWrappedObject) const; + void addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts); + bool autoDeleteReplies(QNetworkAccessManager* theWrappedObject) const; + QAbstractNetworkCache* cache(QNetworkAccessManager* theWrappedObject) const; + void clearAccessCache(QNetworkAccessManager* theWrappedObject); + void clearConnectionCache(QNetworkAccessManager* theWrappedObject); + QNetworkConfiguration configuration(QNetworkAccessManager* theWrappedObject) const; + void connectToHost(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port = 80); + void connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port = 443, const QSslConfiguration& sslConfiguration = QSslConfiguration::defaultConfiguration()); + void connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration, const QString& peerName); + QNetworkCookieJar* cookieJar(QNetworkAccessManager* theWrappedObject) const; + QNetworkReply* createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr); + QNetworkReply* py_q_createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr){ return (((PythonQtPublicPromoter_QNetworkAccessManager*)theWrappedObject)->py_q_createRequest(op, request, outgoingData));} + QNetworkReply* deleteResource(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); + void enableStrictTransportSecurityStore(QNetworkAccessManager* theWrappedObject, bool enabled, const QString& storeDir = QString()); + QNetworkReply* get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); + QNetworkReply* head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request); + bool isStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject) const; + bool isStrictTransportSecurityStoreEnabled(QNetworkAccessManager* theWrappedObject) const; + QNetworkAccessManager::NetworkAccessibility networkAccessible(QNetworkAccessManager* theWrappedObject) const; + QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart); + QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data); + QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data); + QNetworkProxy proxy(QNetworkAccessManager* theWrappedObject) const; + QNetworkProxyFactory* proxyFactory(QNetworkAccessManager* theWrappedObject) const; + QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart); + QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data); + QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data); + QNetworkRequest::RedirectPolicy redirectPolicy(QNetworkAccessManager* theWrappedObject) const; + QNetworkReply* sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QHttpMultiPart* multiPart); + QNetworkReply* sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QIODevice* data = nullptr); + QNetworkReply* sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, const QByteArray& data); + void setAutoDeleteReplies(QNetworkAccessManager* theWrappedObject, bool autoDelete); + void setCache(QNetworkAccessManager* theWrappedObject, QAbstractNetworkCache* cache); + void setConfiguration(QNetworkAccessManager* theWrappedObject, const QNetworkConfiguration& config); + void setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar); + void setNetworkAccessible(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::NetworkAccessibility accessible); + void setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy); + void setProxyFactory(QNetworkAccessManager* theWrappedObject, QNetworkProxyFactory* factory); + void setRedirectPolicy(QNetworkAccessManager* theWrappedObject, QNetworkRequest::RedirectPolicy policy); + void setStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject, bool enabled); + void setTransferTimeout(QNetworkAccessManager* theWrappedObject, int timeout = QNetworkRequest::DefaultTransferTimeoutConstant); + QVector strictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject) const; + QStringList supportedSchemes(QNetworkAccessManager* theWrappedObject) const; + int transferTimeout(QNetworkAccessManager* theWrappedObject) const; +}; + + + + + +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; + bool isTemporary(QNetworkAddressEntry* theWrappedObject) const; + QHostAddress netmask(QNetworkAddressEntry* theWrappedObject) const; + bool __ne__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const; + bool __eq__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const; + QDeadlineTimer preferredLifetime(QNetworkAddressEntry* theWrappedObject) const; + 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); + void swap(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry& other); + QDeadlineTimer validityLifetime(QNetworkAddressEntry* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QNetworkCacheMetaData : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkCacheMetaData* new_QNetworkCacheMetaData(); +QNetworkCacheMetaData* new_QNetworkCacheMetaData(const QNetworkCacheMetaData& other); +void delete_QNetworkCacheMetaData(QNetworkCacheMetaData* obj) { delete obj; } + QHash attributes(QNetworkCacheMetaData* theWrappedObject) const; + QDateTime expirationDate(QNetworkCacheMetaData* theWrappedObject) const; + bool isValid(QNetworkCacheMetaData* theWrappedObject) const; + QDateTime lastModified(QNetworkCacheMetaData* theWrappedObject) const; + bool __ne__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const; + void writeTo(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1); + bool __eq__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const; + void readFrom(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1); + QList > rawHeaders(QNetworkCacheMetaData* theWrappedObject) const; + bool saveToDisk(QNetworkCacheMetaData* theWrappedObject) const; + void setAttributes(QNetworkCacheMetaData* theWrappedObject, const QHash& attributes); + void setExpirationDate(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime); + void setLastModified(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime); + void setRawHeaders(QNetworkCacheMetaData* theWrappedObject, const QList >& headers); + void setSaveToDisk(QNetworkCacheMetaData* theWrappedObject, bool allow); + void setUrl(QNetworkCacheMetaData* theWrappedObject, const QUrl& url); + void swap(QNetworkCacheMetaData* theWrappedObject, QNetworkCacheMetaData& other); + QUrl url(QNetworkCacheMetaData* theWrappedObject) const; + bool __nonzero__(QNetworkCacheMetaData* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QNetworkConfiguration : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BearerType Purpose StateFlag Type ) +Q_FLAGS(StateFlags ) +enum BearerType{ + BearerUnknown = QNetworkConfiguration::BearerUnknown, BearerEthernet = QNetworkConfiguration::BearerEthernet, BearerWLAN = QNetworkConfiguration::BearerWLAN, Bearer2G = QNetworkConfiguration::Bearer2G, BearerCDMA2000 = QNetworkConfiguration::BearerCDMA2000, BearerWCDMA = QNetworkConfiguration::BearerWCDMA, BearerHSPA = QNetworkConfiguration::BearerHSPA, BearerBluetooth = QNetworkConfiguration::BearerBluetooth, BearerWiMAX = QNetworkConfiguration::BearerWiMAX, BearerEVDO = QNetworkConfiguration::BearerEVDO, BearerLTE = QNetworkConfiguration::BearerLTE, Bearer3G = QNetworkConfiguration::Bearer3G, Bearer4G = QNetworkConfiguration::Bearer4G}; +enum Purpose{ + UnknownPurpose = QNetworkConfiguration::UnknownPurpose, PublicPurpose = QNetworkConfiguration::PublicPurpose, PrivatePurpose = QNetworkConfiguration::PrivatePurpose, ServiceSpecificPurpose = QNetworkConfiguration::ServiceSpecificPurpose}; +enum StateFlag{ + Undefined = QNetworkConfiguration::Undefined, Defined = QNetworkConfiguration::Defined, Discovered = QNetworkConfiguration::Discovered, Active = QNetworkConfiguration::Active}; +enum Type{ + InternetAccessPoint = QNetworkConfiguration::InternetAccessPoint, ServiceNetwork = QNetworkConfiguration::ServiceNetwork, UserChoice = QNetworkConfiguration::UserChoice, Invalid = QNetworkConfiguration::Invalid}; +Q_DECLARE_FLAGS(StateFlags, StateFlag) +public slots: +QNetworkConfiguration* new_QNetworkConfiguration(); +QNetworkConfiguration* new_QNetworkConfiguration(const QNetworkConfiguration& other); +void delete_QNetworkConfiguration(QNetworkConfiguration* obj) { delete obj; } + QNetworkConfiguration::BearerType bearerType(QNetworkConfiguration* theWrappedObject) const; + QNetworkConfiguration::BearerType bearerTypeFamily(QNetworkConfiguration* theWrappedObject) const; + QString bearerTypeName(QNetworkConfiguration* theWrappedObject) const; + QList children(QNetworkConfiguration* theWrappedObject) const; + int connectTimeout(QNetworkConfiguration* theWrappedObject) const; + QString identifier(QNetworkConfiguration* theWrappedObject) const; + bool isRoamingAvailable(QNetworkConfiguration* theWrappedObject) const; + bool isValid(QNetworkConfiguration* theWrappedObject) const; + QString name(QNetworkConfiguration* theWrappedObject) const; + bool __ne__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const; + QNetworkConfiguration* operator_assign(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other); + bool __eq__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const; + QNetworkConfiguration::Purpose purpose(QNetworkConfiguration* theWrappedObject) const; + bool setConnectTimeout(QNetworkConfiguration* theWrappedObject, int timeout); + QNetworkConfiguration::StateFlags state(QNetworkConfiguration* theWrappedObject) const; + void swap(QNetworkConfiguration* theWrappedObject, QNetworkConfiguration& other); + QNetworkConfiguration::Type type(QNetworkConfiguration* theWrappedObject) const; + bool __nonzero__(QNetworkConfiguration* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QNetworkConfigurationManager : public QNetworkConfigurationManager +{ +public: + PythonQtShell_QNetworkConfigurationManager(QObject* parent = nullptr):QNetworkConfigurationManager(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkConfigurationManager() 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_QNetworkConfigurationManager : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Capability ) +Q_FLAGS(Capabilities ) +enum Capability{ + CanStartAndStopInterfaces = QNetworkConfigurationManager::CanStartAndStopInterfaces, DirectConnectionRouting = QNetworkConfigurationManager::DirectConnectionRouting, SystemSessionSupport = QNetworkConfigurationManager::SystemSessionSupport, ApplicationLevelRoaming = QNetworkConfigurationManager::ApplicationLevelRoaming, ForcedRoaming = QNetworkConfigurationManager::ForcedRoaming, DataStatistics = QNetworkConfigurationManager::DataStatistics, NetworkSessionRequired = QNetworkConfigurationManager::NetworkSessionRequired}; +Q_DECLARE_FLAGS(Capabilities, Capability) +public slots: +QNetworkConfigurationManager* new_QNetworkConfigurationManager(QObject* parent = nullptr); +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; + QNetworkConfiguration defaultConfiguration(QNetworkConfigurationManager* theWrappedObject) const; + bool isOnline(QNetworkConfigurationManager* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QNetworkCookie : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RawForm ) +enum RawForm{ + NameAndValueOnly = QNetworkCookie::NameAndValueOnly, Full = QNetworkCookie::Full}; +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; } + QString domain(QNetworkCookie* theWrappedObject) const; + QDateTime expirationDate(QNetworkCookie* theWrappedObject) const; + bool hasSameIdentifier(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; + bool isHttpOnly(QNetworkCookie* theWrappedObject) const; + bool isSecure(QNetworkCookie* theWrappedObject) const; + bool isSessionCookie(QNetworkCookie* theWrappedObject) const; + QByteArray name(QNetworkCookie* theWrappedObject) const; + void normalize(QNetworkCookie* theWrappedObject, const QUrl& url); + bool __ne__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; + bool __eq__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; + QList static_QNetworkCookie_parseCookies(const QByteArray& cookieString); + QString path(QNetworkCookie* theWrappedObject) const; + void setDomain(QNetworkCookie* theWrappedObject, const QString& domain); + void setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date); + void setHttpOnly(QNetworkCookie* theWrappedObject, bool enable); + void setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName); + void setPath(QNetworkCookie* theWrappedObject, const QString& path); + void setSecure(QNetworkCookie* theWrappedObject, bool enable); + void setValue(QNetworkCookie* theWrappedObject, const QByteArray& value); + void swap(QNetworkCookie* theWrappedObject, QNetworkCookie& other); + QByteArray toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form = QNetworkCookie::Full) const; + QByteArray value(QNetworkCookie* theWrappedObject) const; + QString py_toString(QNetworkCookie*); +}; + + + + + +class PythonQtShell_QNetworkCookieJar : public QNetworkCookieJar +{ +public: + 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 +{ public: +inline QList promoted_allCookies() const { return this->allCookies(); } +inline void promoted_setAllCookies(const QList& cookieList) { this->setAllCookies(cookieList); } +inline bool promoted_validateCookie(const QNetworkCookie& cookie, const QUrl& url) const { return this->validateCookie(cookie, url); } +inline QList py_q_cookiesForUrl(const QUrl& url) const { return QNetworkCookieJar::cookiesForUrl(url); } +inline bool py_q_deleteCookie(const QNetworkCookie& cookie) { return QNetworkCookieJar::deleteCookie(cookie); } +inline bool py_q_insertCookie(const QNetworkCookie& cookie) { return QNetworkCookieJar::insertCookie(cookie); } +inline bool py_q_setCookiesFromUrl(const QList& cookieList, const QUrl& url) { return QNetworkCookieJar::setCookiesFromUrl(cookieList, url); } +inline bool py_q_updateCookie(const QNetworkCookie& cookie) { return QNetworkCookieJar::updateCookie(cookie); } +inline bool py_q_validateCookie(const QNetworkCookie& cookie, const QUrl& url) const { return QNetworkCookieJar::validateCookie(cookie, url); } +}; + +class PythonQtWrapper_QNetworkCookieJar : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkCookieJar* new_QNetworkCookieJar(QObject* parent = nullptr); +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));} + bool deleteCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie); + bool py_q_deleteCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie){ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_deleteCookie(cookie));} + bool insertCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie); + bool py_q_insertCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie){ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_insertCookie(cookie));} + void setAllCookies(QNetworkCookieJar* theWrappedObject, const QList& cookieList); + bool setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url); + bool py_q_setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url){ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_setCookiesFromUrl(cookieList, url));} + bool updateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie); + bool py_q_updateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie){ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_updateCookie(cookie));} + bool validateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie, const QUrl& url) const; + bool py_q_validateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie, const QUrl& url) const{ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_validateCookie(cookie, url));} +}; + + + + + +class PythonQtWrapper_QNetworkDatagram : public QObject +{ Q_OBJECT +public: +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 clear(QNetworkDatagram* theWrappedObject); + QByteArray data(QNetworkDatagram* theWrappedObject) const; + QHostAddress destinationAddress(QNetworkDatagram* theWrappedObject) const; + int destinationPort(QNetworkDatagram* theWrappedObject) const; + int hopLimit(QNetworkDatagram* theWrappedObject) const; + uint interfaceIndex(QNetworkDatagram* theWrappedObject) const; + bool isNull(QNetworkDatagram* theWrappedObject) const; + bool isValid(QNetworkDatagram* theWrappedObject) const; + QNetworkDatagram makeReply(QNetworkDatagram* theWrappedObject, const QByteArray& paylaod) const; + QNetworkDatagram* operator_assign(QNetworkDatagram* theWrappedObject, const QNetworkDatagram& other); + QHostAddress senderAddress(QNetworkDatagram* theWrappedObject) const; + int senderPort(QNetworkDatagram* theWrappedObject) const; + void setData(QNetworkDatagram* theWrappedObject, const QByteArray& data); + void setDestination(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port); + void setHopLimit(QNetworkDatagram* theWrappedObject, int count); + void setInterfaceIndex(QNetworkDatagram* theWrappedObject, uint index); + void setSender(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port = 0); + void swap(QNetworkDatagram* theWrappedObject, QNetworkDatagram& other); + bool __nonzero__(QNetworkDatagram* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QNetworkDiskCache : public QNetworkDiskCache +{ +public: + 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 +{ public: +inline qint64 promoted_expire() { return this->expire(); } +inline qint64 py_q_cacheSize() const { return QNetworkDiskCache::cacheSize(); } +inline void py_q_clear() { QNetworkDiskCache::clear(); } +inline QIODevice* py_q_data(const QUrl& url) { return QNetworkDiskCache::data(url); } +inline qint64 py_q_expire() { return QNetworkDiskCache::expire(); } +inline void py_q_insert(QIODevice* device) { QNetworkDiskCache::insert(device); } +inline QNetworkCacheMetaData py_q_metaData(const QUrl& url) { return QNetworkDiskCache::metaData(url); } +inline QIODevice* py_q_prepare(const QNetworkCacheMetaData& metaData) { return QNetworkDiskCache::prepare(metaData); } +inline bool py_q_remove(const QUrl& url) { return QNetworkDiskCache::remove(url); } +inline void py_q_updateMetaData(const QNetworkCacheMetaData& metaData) { QNetworkDiskCache::updateMetaData(metaData); } +}; + +class PythonQtWrapper_QNetworkDiskCache : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkDiskCache* new_QNetworkDiskCache(QObject* parent = nullptr); +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());} + QIODevice* py_q_data(QNetworkDiskCache* theWrappedObject, const QUrl& url){ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_data(url));} + qint64 expire(QNetworkDiskCache* theWrappedObject); + qint64 py_q_expire(QNetworkDiskCache* theWrappedObject){ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_expire());} + QNetworkCacheMetaData fileMetaData(QNetworkDiskCache* theWrappedObject, const QString& fileName) const; + void py_q_insert(QNetworkDiskCache* theWrappedObject, QIODevice* device){ (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_insert(device));} + qint64 maximumCacheSize(QNetworkDiskCache* theWrappedObject) const; + QNetworkCacheMetaData py_q_metaData(QNetworkDiskCache* theWrappedObject, const QUrl& url){ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_metaData(url));} + QIODevice* py_q_prepare(QNetworkDiskCache* theWrappedObject, const QNetworkCacheMetaData& metaData){ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_prepare(metaData));} + bool py_q_remove(QNetworkDiskCache* theWrappedObject, const QUrl& url){ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_remove(url));} + void setCacheDirectory(QNetworkDiskCache* theWrappedObject, const QString& cacheDir); + void setMaximumCacheSize(QNetworkDiskCache* theWrappedObject, qint64 size); + void py_q_updateMetaData(QNetworkDiskCache* theWrappedObject, const QNetworkCacheMetaData& metaData){ (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_updateMetaData(metaData));} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.cpp new file mode 100644 index 00000000..7ebb8f39 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -0,0 +1,6467 @@ +#include "com_trolltech_qt_network1.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface() +{ +return new QNetworkInterface(); } + +QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface(const QNetworkInterface& other) +{ +return new QNetworkInterface(other); } + +QList PythonQtWrapper_QNetworkInterface::addressEntries(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->addressEntries()); +} + +QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses() +{ + return (QNetworkInterface::allAddresses()); +} + +QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces() +{ + return (QNetworkInterface::allInterfaces()); +} + +QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->hardwareAddress()); +} + +QString PythonQtWrapper_QNetworkInterface::humanReadableName(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->humanReadableName()); +} + +int PythonQtWrapper_QNetworkInterface::index(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index) +{ + return (QNetworkInterface::interfaceFromIndex(index)); +} + +QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name) +{ + return (QNetworkInterface::interfaceFromName(name)); +} + +int PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceIndexFromName(const QString& name) +{ + return (QNetworkInterface::interfaceIndexFromName(name)); +} + +QString PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceNameFromIndex(int index) +{ + return (QNetworkInterface::interfaceNameFromIndex(index)); +} + +bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QNetworkInterface::maximumTransmissionUnit(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->maximumTransmissionUnit()); +} + +QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QNetworkInterface::swap(QNetworkInterface* theWrappedObject, QNetworkInterface& other) +{ + ( theWrappedObject->swap(other)); +} + +QNetworkInterface::InterfaceType PythonQtWrapper_QNetworkInterface::type(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QNetworkInterface::py_toString(QNetworkInterface* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QNetworkProxy* PythonQtWrapper_QNetworkProxy::new_QNetworkProxy() +{ +return new QNetworkProxy(); } + +QNetworkProxy* PythonQtWrapper_QNetworkProxy::new_QNetworkProxy(QNetworkProxy::ProxyType type, const QString& hostName, unsigned short port, const QString& user, const QString& password) +{ +return new QNetworkProxy(type, hostName, port, user, password); } + +QNetworkProxy* PythonQtWrapper_QNetworkProxy::new_QNetworkProxy(const QNetworkProxy& other) +{ +return new QNetworkProxy(other); } + +QNetworkProxy PythonQtWrapper_QNetworkProxy::static_QNetworkProxy_applicationProxy() +{ + return (QNetworkProxy::applicationProxy()); +} + +QNetworkProxy::Capabilities PythonQtWrapper_QNetworkProxy::capabilities(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); +} + +bool PythonQtWrapper_QNetworkProxy::hasRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->hasRawHeader(headerName)); +} + +QVariant PythonQtWrapper_QNetworkProxy::header(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header) const +{ + return ( theWrappedObject->header(header)); +} + +QString PythonQtWrapper_QNetworkProxy::hostName(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->hostName()); +} + +bool PythonQtWrapper_QNetworkProxy::isCachingProxy(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->isCachingProxy()); +} + +bool PythonQtWrapper_QNetworkProxy::isTransparentProxy(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->isTransparentProxy()); +} + +bool PythonQtWrapper_QNetworkProxy::__ne__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkProxy::__eq__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QNetworkProxy::password(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} + +unsigned short PythonQtWrapper_QNetworkProxy::port(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +QByteArray PythonQtWrapper_QNetworkProxy::rawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->rawHeader(headerName)); +} + +QList PythonQtWrapper_QNetworkProxy::rawHeaderList(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaderList()); +} + +void PythonQtWrapper_QNetworkProxy::static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy) +{ + (QNetworkProxy::setApplicationProxy(proxy)); +} + +void PythonQtWrapper_QNetworkProxy::setCapabilities(QNetworkProxy* theWrappedObject, QNetworkProxy::Capabilities capab) +{ + ( theWrappedObject->setCapabilities(capab)); +} + +void PythonQtWrapper_QNetworkProxy::setHeader(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( theWrappedObject->setHeader(header, value)); +} + +void PythonQtWrapper_QNetworkProxy::setHostName(QNetworkProxy* theWrappedObject, const QString& hostName) +{ + ( theWrappedObject->setHostName(hostName)); +} + +void PythonQtWrapper_QNetworkProxy::setPassword(QNetworkProxy* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QNetworkProxy::setPort(QNetworkProxy* theWrappedObject, unsigned short port) +{ + ( theWrappedObject->setPort(port)); +} + +void PythonQtWrapper_QNetworkProxy::setRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName, const QByteArray& value) +{ + ( theWrappedObject->setRawHeader(headerName, value)); +} + +void PythonQtWrapper_QNetworkProxy::setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QNetworkProxy::setUser(QNetworkProxy* theWrappedObject, const QString& userName) +{ + ( theWrappedObject->setUser(userName)); +} + +void PythonQtWrapper_QNetworkProxy::swap(QNetworkProxy* theWrappedObject, QNetworkProxy& other) +{ + ( theWrappedObject->swap(other)); +} + +QNetworkProxy::ProxyType PythonQtWrapper_QNetworkProxy::type(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QNetworkProxy::user(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->user()); +} + +QString PythonQtWrapper_QNetworkProxy::py_toString(QNetworkProxy* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QNetworkProxyFactory::~PythonQtShell_QNetworkProxyFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNetworkProxyQuery& query0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("queryProxy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QNetworkProxyQuery&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("queryProxy", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QNetworkProxyFactory* PythonQtWrapper_QNetworkProxyFactory::new_QNetworkProxyFactory() +{ +return new PythonQtShell_QNetworkProxyFactory(); } + +QList PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_proxyForQuery(const QNetworkProxyQuery& query) +{ + return (QNetworkProxyFactory::proxyForQuery(query)); +} + +QList PythonQtWrapper_QNetworkProxyFactory::queryProxy(QNetworkProxyFactory* theWrappedObject, const QNetworkProxyQuery& query) +{ + return ( theWrappedObject->queryProxy(query)); +} + +void PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactory* factory) +{ + (QNetworkProxyFactory::setApplicationProxyFactory(factory)); +} + +void PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_setUseSystemConfiguration(bool enable) +{ + (QNetworkProxyFactory::setUseSystemConfiguration(enable)); +} + +QList PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_systemProxyForQuery(const QNetworkProxyQuery& query) +{ + return (QNetworkProxyFactory::systemProxyForQuery(query)); +} + +bool PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_usesSystemConfiguration() +{ + return (QNetworkProxyFactory::usesSystemConfiguration()); +} + + + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery() +{ +return new QNetworkProxyQuery(); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QString& hostname, int port, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(networkConfiguration, hostname, port, protocolTag, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(networkConfiguration, requestUrl, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, unsigned short bindPort, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(networkConfiguration, bindPort, protocolTag, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkProxyQuery& other) +{ +return new QNetworkProxyQuery(other); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QString& hostname, int port, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(hostname, port, protocolTag, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(requestUrl, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(unsigned short bindPort, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(bindPort, protocolTag, queryType); } + +int PythonQtWrapper_QNetworkProxyQuery::localPort(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->localPort()); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkProxyQuery::networkConfiguration(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->networkConfiguration()); +} + +bool PythonQtWrapper_QNetworkProxyQuery::__ne__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkProxyQuery::__eq__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QNetworkProxyQuery::peerHostName(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->peerHostName()); +} + +int PythonQtWrapper_QNetworkProxyQuery::peerPort(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->peerPort()); +} + +QString PythonQtWrapper_QNetworkProxyQuery::protocolTag(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->protocolTag()); +} + +QNetworkProxyQuery::QueryType PythonQtWrapper_QNetworkProxyQuery::queryType(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryType()); +} + +void PythonQtWrapper_QNetworkProxyQuery::setLocalPort(QNetworkProxyQuery* theWrappedObject, int port) +{ + ( theWrappedObject->setLocalPort(port)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setNetworkConfiguration(QNetworkProxyQuery* theWrappedObject, const QNetworkConfiguration& networkConfiguration) +{ + ( theWrappedObject->setNetworkConfiguration(networkConfiguration)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setPeerHostName(QNetworkProxyQuery* theWrappedObject, const QString& hostname) +{ + ( theWrappedObject->setPeerHostName(hostname)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setPeerPort(QNetworkProxyQuery* theWrappedObject, int port) +{ + ( theWrappedObject->setPeerPort(port)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setProtocolTag(QNetworkProxyQuery* theWrappedObject, const QString& protocolTag) +{ + ( theWrappedObject->setProtocolTag(protocolTag)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setQueryType(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery::QueryType type) +{ + ( theWrappedObject->setQueryType(type)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setUrl(QNetworkProxyQuery* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QNetworkProxyQuery::swap(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery& other) +{ + ( theWrappedObject->swap(other)); +} + +QUrl PythonQtWrapper_QNetworkProxyQuery::url(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +QString PythonQtWrapper_QNetworkProxyQuery::py_toString(QNetworkProxyQuery* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QNetworkReply::~PythonQtShell_QNetworkReply() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkReply::abort() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("abort"); + 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(); + } + } +} + +} +bool PythonQtShell_QNetworkReply::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::atEnd(); +} +qint64 PythonQtShell_QNetworkReply::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::bytesAvailable(); +} +qint64 PythonQtShell_QNetworkReply::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::bytesToWrite(); +} +bool PythonQtShell_QNetworkReply::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::canReadLine(); +} +void PythonQtShell_QNetworkReply::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(); + } + } +} + QNetworkReply::childEvent(event0); +} +void PythonQtShell_QNetworkReply::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QNetworkReply::close(); +} +void PythonQtShell_QNetworkReply::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(); + } + } +} + QNetworkReply::customEvent(event0); +} +bool PythonQtShell_QNetworkReply::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 QNetworkReply::event(event0); +} +bool PythonQtShell_QNetworkReply::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 QNetworkReply::eventFilter(watched0, event1); +} +void PythonQtShell_QNetworkReply::ignoreSslErrors() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ignoreSslErrors"); + 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(); + } + } +} + QNetworkReply::ignoreSslErrors(); +} +void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QList& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkReply::ignoreSslErrorsImplementation(arg__1); +} +bool PythonQtShell_QNetworkReply::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::isSequential(); +} +bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::open(mode0); +} +qint64 PythonQtShell_QNetworkReply::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::pos(); +} +qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::readLineData(data0, maxlen1); +} +bool PythonQtShell_QNetworkReply::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::reset(); +} +bool PythonQtShell_QNetworkReply::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::seek(pos0); +} +void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setReadBufferSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkReply::setReadBufferSize(size0); +} +void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSslConfiguration&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkReply::setSslConfigurationImplementation(arg__1); +} +qint64 PythonQtShell_QNetworkReply::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::size(); +} +void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfiguration& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sslConfigurationImplementation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSslConfiguration&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkReply::sslConfigurationImplementation(arg__1); +} +void PythonQtShell_QNetworkReply::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(); + } + } +} + QNetworkReply::timerEvent(event0); +} +bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkReply::writeData(data0, len1); +} +QNetworkReply* PythonQtWrapper_QNetworkReply::new_QNetworkReply(QObject* parent) +{ +return new PythonQtShell_QNetworkReply(parent); } + +const QMetaObject* PythonQtShell_QNetworkReply::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkReply::staticMetaObject); + } else { + return &QNetworkReply::staticMetaObject; + } +} +int PythonQtShell_QNetworkReply::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkReply::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QVariant PythonQtWrapper_QNetworkReply::attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const +{ + return ( theWrappedObject->attribute(code)); +} + +QNetworkReply::NetworkError PythonQtWrapper_QNetworkReply::error(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QNetworkReply::hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->hasRawHeader(headerName)); +} + +QVariant PythonQtWrapper_QNetworkReply::header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const +{ + return ( theWrappedObject->header(header)); +} + +void PythonQtWrapper_QNetworkReply::ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_ignoreSslErrorsImplementation(arg__1)); +} + +bool PythonQtWrapper_QNetworkReply::isFinished(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +bool PythonQtWrapper_QNetworkReply::isRunning(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +QNetworkAccessManager* PythonQtWrapper_QNetworkReply::manager(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->manager()); +} + +QNetworkAccessManager::Operation PythonQtWrapper_QNetworkReply::operation(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->operation()); +} + +QByteArray PythonQtWrapper_QNetworkReply::rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->rawHeader(headerName)); +} + +QList PythonQtWrapper_QNetworkReply::rawHeaderList(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaderList()); +} + +const QList >* PythonQtWrapper_QNetworkReply::rawHeaderPairs(QNetworkReply* theWrappedObject) const +{ + return &( theWrappedObject->rawHeaderPairs()); +} + +qint64 PythonQtWrapper_QNetworkReply::readBufferSize(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +QNetworkRequest PythonQtWrapper_QNetworkReply::request(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->request()); +} + +void PythonQtWrapper_QNetworkReply::setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setAttribute(code, value)); +} + +void PythonQtWrapper_QNetworkReply::setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setError(errorCode, errorString)); +} + +void PythonQtWrapper_QNetworkReply::setFinished(QNetworkReply* theWrappedObject, bool arg__1) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setFinished(arg__1)); +} + +void PythonQtWrapper_QNetworkReply::setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setHeader(header, value)); +} + +void PythonQtWrapper_QNetworkReply::setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setOperation(operation)); +} + +void PythonQtWrapper_QNetworkReply::setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRawHeader(headerName, value)); +} + +void PythonQtWrapper_QNetworkReply::setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setReadBufferSize(size)); +} + +void PythonQtWrapper_QNetworkReply::setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRequest(request)); +} + +void PythonQtWrapper_QNetworkReply::setSslConfiguration(QNetworkReply* theWrappedObject, const QSslConfiguration& configuration) +{ + ( theWrappedObject->setSslConfiguration(configuration)); +} + +void PythonQtWrapper_QNetworkReply::setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setSslConfigurationImplementation(arg__1)); +} + +void PythonQtWrapper_QNetworkReply::setUrl(QNetworkReply* theWrappedObject, const QUrl& url) +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setUrl(url)); +} + +QSslConfiguration PythonQtWrapper_QNetworkReply::sslConfiguration(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->sslConfiguration()); +} + +void PythonQtWrapper_QNetworkReply::sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const +{ + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_sslConfigurationImplementation(arg__1)); +} + +QUrl PythonQtWrapper_QNetworkReply::url(QNetworkReply* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest() +{ +return new QNetworkRequest(); } + +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QNetworkRequest& other) +{ +return new QNetworkRequest(other); } + +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QUrl& url) +{ +return new QNetworkRequest(url); } + +QVariant PythonQtWrapper_QNetworkRequest::attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue) const +{ + return ( theWrappedObject->attribute(code, defaultValue)); +} + +bool PythonQtWrapper_QNetworkRequest::hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->hasRawHeader(headerName)); +} + +QVariant PythonQtWrapper_QNetworkRequest::header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const +{ + return ( theWrappedObject->header(header)); +} + +QHttp2Configuration PythonQtWrapper_QNetworkRequest::http2Configuration(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->http2Configuration()); +} + +int PythonQtWrapper_QNetworkRequest::maximumRedirectsAllowed(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->maximumRedirectsAllowed()); +} + +bool PythonQtWrapper_QNetworkRequest::__ne__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkRequest::__eq__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const +{ + return ( (*theWrappedObject)== other); +} + +QObject* PythonQtWrapper_QNetworkRequest::originatingObject(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->originatingObject()); +} + +QString PythonQtWrapper_QNetworkRequest::peerVerifyName(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyName()); +} + +QNetworkRequest::Priority PythonQtWrapper_QNetworkRequest::priority(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + +QByteArray PythonQtWrapper_QNetworkRequest::rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->rawHeader(headerName)); +} + +QList PythonQtWrapper_QNetworkRequest::rawHeaderList(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaderList()); +} + +void PythonQtWrapper_QNetworkRequest::setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) +{ + ( theWrappedObject->setAttribute(code, value)); +} + +void PythonQtWrapper_QNetworkRequest::setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( theWrappedObject->setHeader(header, value)); +} + +void PythonQtWrapper_QNetworkRequest::setHttp2Configuration(QNetworkRequest* theWrappedObject, const QHttp2Configuration& configuration) +{ + ( theWrappedObject->setHttp2Configuration(configuration)); +} + +void PythonQtWrapper_QNetworkRequest::setMaximumRedirectsAllowed(QNetworkRequest* theWrappedObject, int maximumRedirectsAllowed) +{ + ( theWrappedObject->setMaximumRedirectsAllowed(maximumRedirectsAllowed)); +} + +void PythonQtWrapper_QNetworkRequest::setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object) +{ + ( theWrappedObject->setOriginatingObject(object)); +} + +void PythonQtWrapper_QNetworkRequest::setPeerVerifyName(QNetworkRequest* theWrappedObject, const QString& peerName) +{ + ( theWrappedObject->setPeerVerifyName(peerName)); +} + +void PythonQtWrapper_QNetworkRequest::setPriority(QNetworkRequest* theWrappedObject, QNetworkRequest::Priority priority) +{ + ( theWrappedObject->setPriority(priority)); +} + +void PythonQtWrapper_QNetworkRequest::setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value) +{ + ( theWrappedObject->setRawHeader(headerName, value)); +} + +void PythonQtWrapper_QNetworkRequest::setSslConfiguration(QNetworkRequest* theWrappedObject, const QSslConfiguration& configuration) +{ + ( theWrappedObject->setSslConfiguration(configuration)); +} + +void PythonQtWrapper_QNetworkRequest::setTransferTimeout(QNetworkRequest* theWrappedObject, int timeout) +{ + ( theWrappedObject->setTransferTimeout(timeout)); +} + +void PythonQtWrapper_QNetworkRequest::setUrl(QNetworkRequest* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +QSslConfiguration PythonQtWrapper_QNetworkRequest::sslConfiguration(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->sslConfiguration()); +} + +void PythonQtWrapper_QNetworkRequest::swap(QNetworkRequest* theWrappedObject, QNetworkRequest& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QNetworkRequest::transferTimeout(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->transferTimeout()); +} + +QUrl PythonQtWrapper_QNetworkRequest::url(QNetworkRequest* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkSession::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(); + } + } +} + QNetworkSession::childEvent(event0); +} +void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectNotify"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMetaMethod&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&signal0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkSession::connectNotify(signal0); +} +void PythonQtShell_QNetworkSession::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(); + } + } +} + QNetworkSession::customEvent(event0); +} +void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectNotify"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMetaMethod&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&signal0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkSession::disconnectNotify(signal0); +} +bool PythonQtShell_QNetworkSession::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 QNetworkSession::event(event0); +} +bool PythonQtShell_QNetworkSession::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 QNetworkSession::eventFilter(watched0, event1); +} +void PythonQtShell_QNetworkSession::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(); + } + } +} + QNetworkSession::timerEvent(event0); +} +QNetworkSession* PythonQtWrapper_QNetworkSession::new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent) +{ +return new PythonQtShell_QNetworkSession(connConfig, parent); } + +const QMetaObject* PythonQtShell_QNetworkSession::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkSession::staticMetaObject); + } else { + return &QNetworkSession::staticMetaObject; + } +} +int PythonQtShell_QNetworkSession::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkSession::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +quint64 PythonQtWrapper_QNetworkSession::activeTime(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->activeTime()); +} + +quint64 PythonQtWrapper_QNetworkSession::bytesReceived(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->bytesReceived()); +} + +quint64 PythonQtWrapper_QNetworkSession::bytesWritten(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->bytesWritten()); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkSession::configuration(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->configuration()); +} + +void PythonQtWrapper_QNetworkSession::connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) +{ + ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_connectNotify(signal)); +} + +void PythonQtWrapper_QNetworkSession::disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) +{ + ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_disconnectNotify(signal)); +} + +QNetworkSession::SessionError PythonQtWrapper_QNetworkSession::error(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QNetworkSession::errorString(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QNetworkInterface PythonQtWrapper_QNetworkSession::interface(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->interface()); +} + +bool PythonQtWrapper_QNetworkSession::isOpen(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->isOpen()); +} + +QVariant PythonQtWrapper_QNetworkSession::sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->sessionProperty(key)); +} + +void PythonQtWrapper_QNetworkSession::setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->setSessionProperty(key, value)); +} + +QNetworkSession::State PythonQtWrapper_QNetworkSession::state(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QNetworkSession::UsagePolicies PythonQtWrapper_QNetworkSession::usagePolicies(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->usagePolicies()); +} + +bool PythonQtWrapper_QNetworkSession::waitForOpened(QNetworkSession* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForOpened(msecs)); +} + + + +QOcspResponse* PythonQtWrapper_QOcspResponse::new_QOcspResponse() +{ +return new QOcspResponse(); } + +QOcspResponse* PythonQtWrapper_QOcspResponse::new_QOcspResponse(const QOcspResponse& other) +{ +return new QOcspResponse(other); } + +QOcspCertificateStatus PythonQtWrapper_QOcspResponse::certificateStatus(QOcspResponse* theWrappedObject) const +{ + return ( theWrappedObject->certificateStatus()); +} + +bool PythonQtWrapper_QOcspResponse::__ne__(QOcspResponse* theWrappedObject, const QOcspResponse& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QOcspResponse* PythonQtWrapper_QOcspResponse::operator_assign(QOcspResponse* theWrappedObject, const QOcspResponse& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QOcspResponse::__eq__(QOcspResponse* theWrappedObject, const QOcspResponse& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QSslCertificate PythonQtWrapper_QOcspResponse::responder(QOcspResponse* theWrappedObject) const +{ + return ( theWrappedObject->responder()); +} + +QOcspRevocationReason PythonQtWrapper_QOcspResponse::revocationReason(QOcspResponse* theWrappedObject) const +{ + return ( theWrappedObject->revocationReason()); +} + +QSslCertificate PythonQtWrapper_QOcspResponse::subject(QOcspResponse* theWrappedObject) const +{ + return ( theWrappedObject->subject()); +} + +void PythonQtWrapper_QOcspResponse::swap(QOcspResponse* theWrappedObject, QOcspResponse& other) +{ + ( theWrappedObject->swap(other)); +} + + + +#ifndef QT_NO_SSL +#endif + + +#ifndef QT_NO_SSL +QSslCertificate* PythonQtWrapper_QSslCertificate::new_QSslCertificate(QIODevice* device, QSsl::EncodingFormat format) +{ +return new QSslCertificate(device, format); } + +QSslCertificate* PythonQtWrapper_QSslCertificate::new_QSslCertificate(const QByteArray& data, QSsl::EncodingFormat format) +{ +return new QSslCertificate(data, format); } + +QSslCertificate* PythonQtWrapper_QSslCertificate::new_QSslCertificate(const QSslCertificate& other) +{ +return new QSslCertificate(other); } + +void PythonQtWrapper_QSslCertificate::clear(QSslCertificate* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QByteArray PythonQtWrapper_QSslCertificate::digest(QSslCertificate* theWrappedObject, QCryptographicHash::Algorithm algorithm) const +{ + return ( theWrappedObject->digest(algorithm)); +} + +QDateTime PythonQtWrapper_QSslCertificate::effectiveDate(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->effectiveDate()); +} + +QDateTime PythonQtWrapper_QSslCertificate::expiryDate(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->expiryDate()); +} + +QList PythonQtWrapper_QSslCertificate::extensions(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->extensions()); +} + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromData(const QByteArray& data, QSsl::EncodingFormat format) +{ + return (QSslCertificate::fromData(data, format)); +} + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromDevice(QIODevice* device, QSsl::EncodingFormat format) +{ + return (QSslCertificate::fromDevice(device, format)); +} + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax) +{ + return (QSslCertificate::fromPath(path, format, syntax)); +} + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format, QSslCertificate::PatternSyntax syntax) +{ + return (QSslCertificate::fromPath(path, format, syntax)); +} + +Qt::HANDLE PythonQtWrapper_QSslCertificate::handle(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QSslCertificate::static_QSslCertificate_importPkcs12(QIODevice* device, QSslKey* key, QSslCertificate* cert, QList* caCertificates, const QByteArray& passPhrase) +{ + return (QSslCertificate::importPkcs12(device, key, cert, caCertificates, passPhrase)); +} + +bool PythonQtWrapper_QSslCertificate::isBlacklisted(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->isBlacklisted()); +} + +bool PythonQtWrapper_QSslCertificate::isNull(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QSslCertificate::isSelfSigned(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->isSelfSigned()); +} + +QString PythonQtWrapper_QSslCertificate::issuerDisplayName(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->issuerDisplayName()); +} + +QStringList PythonQtWrapper_QSslCertificate::issuerInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const +{ + return ( theWrappedObject->issuerInfo(info)); +} + +QStringList PythonQtWrapper_QSslCertificate::issuerInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const +{ + return ( theWrappedObject->issuerInfo(attribute)); +} + +QList PythonQtWrapper_QSslCertificate::issuerInfoAttributes(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->issuerInfoAttributes()); +} + +bool PythonQtWrapper_QSslCertificate::__ne__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QSslCertificate* PythonQtWrapper_QSslCertificate::operator_assign(QSslCertificate* theWrappedObject, const QSslCertificate& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QSslCertificate::__eq__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const +{ + return ( (*theWrappedObject)== other); +} + +QSslKey PythonQtWrapper_QSslCertificate::publicKey(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->publicKey()); +} + +QByteArray PythonQtWrapper_QSslCertificate::serialNumber(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->serialNumber()); +} + +QMultiMap PythonQtWrapper_QSslCertificate::subjectAlternativeNames(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->subjectAlternativeNames()); +} + +QString PythonQtWrapper_QSslCertificate::subjectDisplayName(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->subjectDisplayName()); +} + +QStringList PythonQtWrapper_QSslCertificate::subjectInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const +{ + return ( theWrappedObject->subjectInfo(info)); +} + +QStringList PythonQtWrapper_QSslCertificate::subjectInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const +{ + return ( theWrappedObject->subjectInfo(attribute)); +} + +QList PythonQtWrapper_QSslCertificate::subjectInfoAttributes(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->subjectInfoAttributes()); +} + +void PythonQtWrapper_QSslCertificate::swap(QSslCertificate* theWrappedObject, QSslCertificate& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QSslCertificate::toDer(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->toDer()); +} + +QByteArray PythonQtWrapper_QSslCertificate::toPem(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->toPem()); +} + +QString PythonQtWrapper_QSslCertificate::toText(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->toText()); +} + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_verify(QList certificateChain, const QString& hostName) +{ + return (QSslCertificate::verify(certificateChain, hostName)); +} + +QByteArray PythonQtWrapper_QSslCertificate::version(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QSslCertificate::py_toString(QSslCertificate* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + +#endif + + +#ifndef QT_NO_SSL +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::new_QSslCertificateExtension() +{ +return new QSslCertificateExtension(); } + +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::new_QSslCertificateExtension(const QSslCertificateExtension& other) +{ +return new QSslCertificateExtension(other); } + +bool PythonQtWrapper_QSslCertificateExtension::isCritical(QSslCertificateExtension* theWrappedObject) const +{ + return ( theWrappedObject->isCritical()); +} + +bool PythonQtWrapper_QSslCertificateExtension::isSupported(QSslCertificateExtension* theWrappedObject) const +{ + return ( theWrappedObject->isSupported()); +} + +QString PythonQtWrapper_QSslCertificateExtension::name(QSslCertificateExtension* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QString PythonQtWrapper_QSslCertificateExtension::oid(QSslCertificateExtension* theWrappedObject) const +{ + return ( theWrappedObject->oid()); +} + +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::operator_assign(QSslCertificateExtension* theWrappedObject, const QSslCertificateExtension& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QSslCertificateExtension::swap(QSslCertificateExtension* theWrappedObject, QSslCertificateExtension& other) +{ + ( theWrappedObject->swap(other)); +} + +QVariant PythonQtWrapper_QSslCertificateExtension::value(QSslCertificateExtension* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +#endif + + +#ifndef QT_NO_SSL +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher() +{ +return new QSslCipher(); } + +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QSslCipher& other) +{ +return new QSslCipher(other); } + +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QString& name) +{ +return new QSslCipher(name); } + +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QString& name, QSsl::SslProtocol protocol) +{ +return new QSslCipher(name, protocol); } + +QString PythonQtWrapper_QSslCipher::authenticationMethod(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->authenticationMethod()); +} + +QString PythonQtWrapper_QSslCipher::encryptionMethod(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->encryptionMethod()); +} + +bool PythonQtWrapper_QSslCipher::isNull(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QSslCipher::keyExchangeMethod(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->keyExchangeMethod()); +} + +QString PythonQtWrapper_QSslCipher::name(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QSslCipher::__ne__(QSslCipher* theWrappedObject, const QSslCipher& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QSslCipher* PythonQtWrapper_QSslCipher::operator_assign(QSslCipher* theWrappedObject, const QSslCipher& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QSslCipher::__eq__(QSslCipher* theWrappedObject, const QSslCipher& other) const +{ + return ( (*theWrappedObject)== other); +} + +QSsl::SslProtocol PythonQtWrapper_QSslCipher::protocol(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->protocol()); +} + +QString PythonQtWrapper_QSslCipher::protocolString(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->protocolString()); +} + +int PythonQtWrapper_QSslCipher::supportedBits(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->supportedBits()); +} + +void PythonQtWrapper_QSslCipher::swap(QSslCipher* theWrappedObject, QSslCipher& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QSslCipher::usedBits(QSslCipher* theWrappedObject) const +{ + return ( theWrappedObject->usedBits()); +} + +QString PythonQtWrapper_QSslCipher::py_toString(QSslCipher* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + +#endif + + +#ifndef QT_NO_SSL +PythonQtShell_QSslConfiguration::~PythonQtShell_QSslConfiguration() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSslConfiguration* PythonQtWrapper_QSslConfiguration::new_QSslConfiguration() +{ +return new PythonQtShell_QSslConfiguration(); } + +QSslConfiguration* PythonQtWrapper_QSslConfiguration::new_QSslConfiguration(const QSslConfiguration& other) +{ +return new PythonQtShell_QSslConfiguration(other); } + +void PythonQtWrapper_QSslConfiguration::addCaCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate) +{ + ( theWrappedObject->addCaCertificate(certificate)); +} + +void PythonQtWrapper_QSslConfiguration::addCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates) +{ + ( theWrappedObject->addCaCertificates(certificates)); +} + +bool PythonQtWrapper_QSslConfiguration::addCaCertificates(QSslConfiguration* theWrappedObject, const QString& path, QSsl::EncodingFormat format, QSslCertificate::PatternSyntax syntax) +{ + return ( theWrappedObject->addCaCertificates(path, format, syntax)); +} + +QList PythonQtWrapper_QSslConfiguration::allowedNextProtocols(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->allowedNextProtocols()); +} + +QMap PythonQtWrapper_QSslConfiguration::backendConfiguration(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->backendConfiguration()); +} + +QList PythonQtWrapper_QSslConfiguration::caCertificates(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->caCertificates()); +} + +QList PythonQtWrapper_QSslConfiguration::ciphers(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->ciphers()); +} + +QSslConfiguration PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_defaultConfiguration() +{ + return (QSslConfiguration::defaultConfiguration()); +} + +QSslConfiguration PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_defaultDtlsConfiguration() +{ + return (QSslConfiguration::defaultDtlsConfiguration()); +} + +QSslDiffieHellmanParameters PythonQtWrapper_QSslConfiguration::diffieHellmanParameters(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->diffieHellmanParameters()); +} + +bool PythonQtWrapper_QSslConfiguration::dtlsCookieVerificationEnabled(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->dtlsCookieVerificationEnabled()); +} + +QVector PythonQtWrapper_QSslConfiguration::ellipticCurves(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->ellipticCurves()); +} + +QSslKey PythonQtWrapper_QSslConfiguration::ephemeralServerKey(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->ephemeralServerKey()); +} + +bool PythonQtWrapper_QSslConfiguration::isNull(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QSslCertificate PythonQtWrapper_QSslConfiguration::localCertificate(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->localCertificate()); +} + +QList PythonQtWrapper_QSslConfiguration::localCertificateChain(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->localCertificateChain()); +} + +QByteArray PythonQtWrapper_QSslConfiguration::nextNegotiatedProtocol(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->nextNegotiatedProtocol()); +} + +QSslConfiguration::NextProtocolNegotiationStatus PythonQtWrapper_QSslConfiguration::nextProtocolNegotiationStatus(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->nextProtocolNegotiationStatus()); +} + +bool PythonQtWrapper_QSslConfiguration::ocspStaplingEnabled(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->ocspStaplingEnabled()); +} + +bool PythonQtWrapper_QSslConfiguration::__ne__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QSslConfiguration* PythonQtWrapper_QSslConfiguration::operator_assign(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QSslConfiguration::__eq__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QSslCertificate PythonQtWrapper_QSslConfiguration::peerCertificate(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerCertificate()); +} + +QList PythonQtWrapper_QSslConfiguration::peerCertificateChain(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerCertificateChain()); +} + +int PythonQtWrapper_QSslConfiguration::peerVerifyDepth(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyDepth()); +} + +QSslSocket::PeerVerifyMode PythonQtWrapper_QSslConfiguration::peerVerifyMode(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyMode()); +} + +QByteArray PythonQtWrapper_QSslConfiguration::preSharedKeyIdentityHint(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->preSharedKeyIdentityHint()); +} + +QSslKey PythonQtWrapper_QSslConfiguration::privateKey(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->privateKey()); +} + +QSsl::SslProtocol PythonQtWrapper_QSslConfiguration::protocol(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->protocol()); +} + +QSslCipher PythonQtWrapper_QSslConfiguration::sessionCipher(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->sessionCipher()); +} + +QSsl::SslProtocol PythonQtWrapper_QSslConfiguration::sessionProtocol(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->sessionProtocol()); +} + +QByteArray PythonQtWrapper_QSslConfiguration::sessionTicket(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->sessionTicket()); +} + +int PythonQtWrapper_QSslConfiguration::sessionTicketLifeTimeHint(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->sessionTicketLifeTimeHint()); +} + +void PythonQtWrapper_QSslConfiguration::setAllowedNextProtocols(QSslConfiguration* theWrappedObject, QList protocols) +{ + ( theWrappedObject->setAllowedNextProtocols(protocols)); +} + +void PythonQtWrapper_QSslConfiguration::setBackendConfiguration(QSslConfiguration* theWrappedObject, const QMap& backendConfiguration) +{ + ( theWrappedObject->setBackendConfiguration(backendConfiguration)); +} + +void PythonQtWrapper_QSslConfiguration::setBackendConfigurationOption(QSslConfiguration* theWrappedObject, const QByteArray& name, const QVariant& value) +{ + ( theWrappedObject->setBackendConfigurationOption(name, value)); +} + +void PythonQtWrapper_QSslConfiguration::setCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates) +{ + ( theWrappedObject->setCaCertificates(certificates)); +} + +void PythonQtWrapper_QSslConfiguration::setCiphers(QSslConfiguration* theWrappedObject, const QList& ciphers) +{ + ( theWrappedObject->setCiphers(ciphers)); +} + +void PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_setDefaultConfiguration(const QSslConfiguration& configuration) +{ + (QSslConfiguration::setDefaultConfiguration(configuration)); +} + +void PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_setDefaultDtlsConfiguration(const QSslConfiguration& configuration) +{ + (QSslConfiguration::setDefaultDtlsConfiguration(configuration)); +} + +void PythonQtWrapper_QSslConfiguration::setDiffieHellmanParameters(QSslConfiguration* theWrappedObject, const QSslDiffieHellmanParameters& dhparams) +{ + ( theWrappedObject->setDiffieHellmanParameters(dhparams)); +} + +void PythonQtWrapper_QSslConfiguration::setDtlsCookieVerificationEnabled(QSslConfiguration* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDtlsCookieVerificationEnabled(enable)); +} + +void PythonQtWrapper_QSslConfiguration::setEllipticCurves(QSslConfiguration* theWrappedObject, const QVector& curves) +{ + ( theWrappedObject->setEllipticCurves(curves)); +} + +void PythonQtWrapper_QSslConfiguration::setLocalCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate) +{ + ( theWrappedObject->setLocalCertificate(certificate)); +} + +void PythonQtWrapper_QSslConfiguration::setLocalCertificateChain(QSslConfiguration* theWrappedObject, const QList& localChain) +{ + ( theWrappedObject->setLocalCertificateChain(localChain)); +} + +void PythonQtWrapper_QSslConfiguration::setOcspStaplingEnabled(QSslConfiguration* theWrappedObject, bool enable) +{ + ( theWrappedObject->setOcspStaplingEnabled(enable)); +} + +void PythonQtWrapper_QSslConfiguration::setPeerVerifyDepth(QSslConfiguration* theWrappedObject, int depth) +{ + ( theWrappedObject->setPeerVerifyDepth(depth)); +} + +void PythonQtWrapper_QSslConfiguration::setPeerVerifyMode(QSslConfiguration* theWrappedObject, QSslSocket::PeerVerifyMode mode) +{ + ( theWrappedObject->setPeerVerifyMode(mode)); +} + +void PythonQtWrapper_QSslConfiguration::setPreSharedKeyIdentityHint(QSslConfiguration* theWrappedObject, const QByteArray& hint) +{ + ( theWrappedObject->setPreSharedKeyIdentityHint(hint)); +} + +void PythonQtWrapper_QSslConfiguration::setPrivateKey(QSslConfiguration* theWrappedObject, const QSslKey& key) +{ + ( theWrappedObject->setPrivateKey(key)); +} + +void PythonQtWrapper_QSslConfiguration::setProtocol(QSslConfiguration* theWrappedObject, QSsl::SslProtocol protocol) +{ + ( theWrappedObject->setProtocol(protocol)); +} + +void PythonQtWrapper_QSslConfiguration::setSessionTicket(QSslConfiguration* theWrappedObject, const QByteArray& sessionTicket) +{ + ( theWrappedObject->setSessionTicket(sessionTicket)); +} + +void PythonQtWrapper_QSslConfiguration::setSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option, bool on) +{ + ( theWrappedObject->setSslOption(option, on)); +} + +QList PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_supportedCiphers() +{ + return (QSslConfiguration::supportedCiphers()); +} + +QVector PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_supportedEllipticCurves() +{ + return (QSslConfiguration::supportedEllipticCurves()); +} + +void PythonQtWrapper_QSslConfiguration::swap(QSslConfiguration* theWrappedObject, QSslConfiguration& other) +{ + ( theWrappedObject->swap(other)); +} + +QList PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_systemCaCertificates() +{ + return (QSslConfiguration::systemCaCertificates()); +} + +bool PythonQtWrapper_QSslConfiguration::testSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option) const +{ + return ( theWrappedObject->testSslOption(option)); +} + +#endif + + +#ifndef QT_NO_SSL +QSslDiffieHellmanParameters* PythonQtWrapper_QSslDiffieHellmanParameters::new_QSslDiffieHellmanParameters() +{ +return new QSslDiffieHellmanParameters(); } + +QSslDiffieHellmanParameters* PythonQtWrapper_QSslDiffieHellmanParameters::new_QSslDiffieHellmanParameters(const QSslDiffieHellmanParameters& other) +{ +return new QSslDiffieHellmanParameters(other); } + +QSslDiffieHellmanParameters PythonQtWrapper_QSslDiffieHellmanParameters::static_QSslDiffieHellmanParameters_defaultParameters() +{ + return (QSslDiffieHellmanParameters::defaultParameters()); +} + +QSslDiffieHellmanParameters::Error PythonQtWrapper_QSslDiffieHellmanParameters::error(QSslDiffieHellmanParameters* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QSslDiffieHellmanParameters::errorString(QSslDiffieHellmanParameters* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QSslDiffieHellmanParameters PythonQtWrapper_QSslDiffieHellmanParameters::static_QSslDiffieHellmanParameters_fromEncoded(QIODevice* device, QSsl::EncodingFormat format) +{ + return (QSslDiffieHellmanParameters::fromEncoded(device, format)); +} + +QSslDiffieHellmanParameters PythonQtWrapper_QSslDiffieHellmanParameters::static_QSslDiffieHellmanParameters_fromEncoded(const QByteArray& encoded, QSsl::EncodingFormat format) +{ + return (QSslDiffieHellmanParameters::fromEncoded(encoded, format)); +} + +bool PythonQtWrapper_QSslDiffieHellmanParameters::isEmpty(QSslDiffieHellmanParameters* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QSslDiffieHellmanParameters::isValid(QSslDiffieHellmanParameters* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QSslDiffieHellmanParameters::__ne__(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QSslDiffieHellmanParameters* PythonQtWrapper_QSslDiffieHellmanParameters::operator_assign(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QSslDiffieHellmanParameters::__eq__(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QSslDiffieHellmanParameters::swap(QSslDiffieHellmanParameters* theWrappedObject, QSslDiffieHellmanParameters& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QSslDiffieHellmanParameters::py_toString(QSslDiffieHellmanParameters* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + +#endif + + +#ifndef QT_NO_SSL +QSslEllipticCurve* PythonQtWrapper_QSslEllipticCurve::new_QSslEllipticCurve() +{ +return new QSslEllipticCurve(); } + +QSslEllipticCurve PythonQtWrapper_QSslEllipticCurve::static_QSslEllipticCurve_fromLongName(const QString& name) +{ + return (QSslEllipticCurve::fromLongName(name)); +} + +QSslEllipticCurve PythonQtWrapper_QSslEllipticCurve::static_QSslEllipticCurve_fromShortName(const QString& name) +{ + return (QSslEllipticCurve::fromShortName(name)); +} + +bool PythonQtWrapper_QSslEllipticCurve::isTlsNamedCurve(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->isTlsNamedCurve()); +} + +bool PythonQtWrapper_QSslEllipticCurve::isValid(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QSslEllipticCurve::longName(QSslEllipticCurve* theWrappedObject) const +{ + 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); +} + +QString PythonQtWrapper_QSslEllipticCurve::shortName(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->shortName()); +} + +QString PythonQtWrapper_QSslEllipticCurve::py_toString(QSslEllipticCurve* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + +#endif + + +#ifndef QT_NO_SSL +QSslError* PythonQtWrapper_QSslError::new_QSslError() +{ +return new QSslError(); } + +QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error) +{ +return new QSslError(error); } + +QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error, const QSslCertificate& certificate) +{ +return new QSslError(error, certificate); } + +QSslError* PythonQtWrapper_QSslError::new_QSslError(const QSslError& other) +{ +return new QSslError(other); } + +QSslCertificate PythonQtWrapper_QSslError::certificate(QSslError* theWrappedObject) const +{ + return ( theWrappedObject->certificate()); +} + +QSslError::SslError PythonQtWrapper_QSslError::error(QSslError* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QSslError::errorString(QSslError* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QSslError::__ne__(QSslError* theWrappedObject, const QSslError& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QSslError* PythonQtWrapper_QSslError::operator_assign(QSslError* theWrappedObject, const QSslError& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QSslError::__eq__(QSslError* theWrappedObject, const QSslError& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSslError::swap(QSslError* theWrappedObject, QSslError& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QSslError::py_toString(QSslError* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + +#endif + + +#ifndef QT_NO_SSL +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey() +{ +return new QSslKey(); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(QIODevice* device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray& passPhrase) +{ +return new QSslKey(device, algorithm, format, type, passPhrase); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(Qt::HANDLE handle, QSsl::KeyType type) +{ +return new QSslKey(handle, type); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(const QByteArray& encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray& passPhrase) +{ +return new QSslKey(encoded, algorithm, format, type, passPhrase); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(const QSslKey& other) +{ +return new QSslKey(other); } + +QSsl::KeyAlgorithm PythonQtWrapper_QSslKey::algorithm(QSslKey* theWrappedObject) const +{ + return ( theWrappedObject->algorithm()); +} + +void PythonQtWrapper_QSslKey::clear(QSslKey* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +Qt::HANDLE PythonQtWrapper_QSslKey::handle(QSslKey* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QSslKey::isNull(QSslKey* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +int PythonQtWrapper_QSslKey::length(QSslKey* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QSslKey::__ne__(QSslKey* theWrappedObject, const QSslKey& key) const +{ + return ( (*theWrappedObject)!= key); +} + +QSslKey* PythonQtWrapper_QSslKey::operator_assign(QSslKey* theWrappedObject, const QSslKey& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QSslKey::__eq__(QSslKey* theWrappedObject, const QSslKey& key) const +{ + return ( (*theWrappedObject)== key); +} + +void PythonQtWrapper_QSslKey::swap(QSslKey* theWrappedObject, QSslKey& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QSslKey::toDer(QSslKey* theWrappedObject, const QByteArray& passPhrase) const +{ + return ( theWrappedObject->toDer(passPhrase)); +} + +QByteArray PythonQtWrapper_QSslKey::toPem(QSslKey* theWrappedObject, const QByteArray& passPhrase) const +{ + return ( theWrappedObject->toPem(passPhrase)); +} + +QSsl::KeyType PythonQtWrapper_QSslKey::type(QSslKey* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QSslKey::py_toString(QSslKey* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + +#endif + + +#ifndef QT_NO_SSL +QSslPreSharedKeyAuthenticator* PythonQtWrapper_QSslPreSharedKeyAuthenticator::new_QSslPreSharedKeyAuthenticator() +{ +return new QSslPreSharedKeyAuthenticator(); } + +QSslPreSharedKeyAuthenticator* PythonQtWrapper_QSslPreSharedKeyAuthenticator::new_QSslPreSharedKeyAuthenticator(const QSslPreSharedKeyAuthenticator& authenticator) +{ +return new QSslPreSharedKeyAuthenticator(authenticator); } + +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::identity(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->identity()); +} + +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::identityHint(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->identityHint()); +} + +int PythonQtWrapper_QSslPreSharedKeyAuthenticator::maximumIdentityLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->maximumIdentityLength()); +} + +int PythonQtWrapper_QSslPreSharedKeyAuthenticator::maximumPreSharedKeyLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + 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); +} + +bool PythonQtWrapper_QSslPreSharedKeyAuthenticator::__eq__(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::preSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->preSharedKey()); +} + +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::setIdentity(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& identity) +{ + ( theWrappedObject->setIdentity(identity)); +} + +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::setPreSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& preSharedKey) +{ + ( theWrappedObject->setPreSharedKey(preSharedKey)); +} + +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::swap(QSslPreSharedKeyAuthenticator* theWrappedObject, QSslPreSharedKeyAuthenticator& other) +{ + ( theWrappedObject->swap(other)); +} + +#endif + + +#ifndef QT_NO_SSL +PythonQtShell_QSslSocket::~PythonQtShell_QSslSocket() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSslSocket::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::atEnd(); +} +qint64 PythonQtShell_QSslSocket::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::bytesAvailable(); +} +qint64 PythonQtShell_QSslSocket::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::bytesToWrite(); +} +bool PythonQtShell_QSslSocket::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::canReadLine(); +} +void PythonQtShell_QSslSocket::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(); + } + } +} + QSslSocket::childEvent(event0); +} +void PythonQtShell_QSslSocket::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QSslSocket::close(); +} +void PythonQtShell_QSslSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode openMode2, QAbstractSocket::NetworkLayerProtocol protocol3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&openMode2, (void*)&protocol3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSslSocket::connectToHost(hostName0, port1, openMode2, protocol3); +} +void PythonQtShell_QSslSocket::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(); + } + } +} + QSslSocket::customEvent(event0); +} +void PythonQtShell_QSslSocket::disconnectFromHost() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectFromHost"); + 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(); + } + } +} + QSslSocket::disconnectFromHost(); +} +bool PythonQtShell_QSslSocket::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 QSslSocket::event(event0); +} +bool PythonQtShell_QSslSocket::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 QSslSocket::eventFilter(watched0, event1); +} +bool PythonQtShell_QSslSocket::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::isSequential(); +} +bool PythonQtShell_QSslSocket::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::open(mode0); +} +qint64 PythonQtShell_QSslSocket::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::pos(); +} +qint64 PythonQtShell_QSslSocket::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::readData(data0, maxlen1); +} +qint64 PythonQtShell_QSslSocket::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::readLineData(data0, maxlen1); +} +bool PythonQtShell_QSslSocket::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::reset(); +} +void PythonQtShell_QSslSocket::resume() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resume"); + 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(); + } + } +} + QSslSocket::resume(); +} +bool PythonQtShell_QSslSocket::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::seek(pos0); +} +void PythonQtShell_QSslSocket::setReadBufferSize(qint64 size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setReadBufferSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSslSocket::setReadBufferSize(size0); +} +bool PythonQtShell_QSslSocket::setSocketDescriptor(qintptr socketDescriptor0, QAbstractSocket::SocketState state1, QIODevice::OpenMode openMode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::setSocketDescriptor(socketDescriptor0, state1, openMode2); +} +void PythonQtShell_QSslSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSslSocket::setSocketOption(option0, value1); +} +qint64 PythonQtShell_QSslSocket::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::size(); +} +qintptr PythonQtShell_QSslSocket::socketDescriptor() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); + } else { + returnValue = *((qintptr*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::socketDescriptor(); +} +QVariant PythonQtShell_QSslSocket::socketOption(QAbstractSocket::SocketOption option0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::socketOption(option0); +} +void PythonQtShell_QSslSocket::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(); + } + } +} + QSslSocket::timerEvent(event0); +} +bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QSslSocket::waitForConnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForConnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::waitForConnected(msecs0); +} +bool PythonQtShell_QSslSocket::waitForDisconnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForDisconnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::waitForDisconnected(msecs0); +} +bool PythonQtShell_QSslSocket::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QSslSocket::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::writeData(data0, len1); +} +QSslSocket* PythonQtWrapper_QSslSocket::new_QSslSocket(QObject* parent) +{ +return new PythonQtShell_QSslSocket(parent); } + +const QMetaObject* PythonQtShell_QSslSocket::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSslSocket::staticMetaObject); + } else { + return &QSslSocket::staticMetaObject; + } +} +int PythonQtShell_QSslSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSslSocket::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSslSocket::abort(QSslSocket* theWrappedObject) +{ + ( theWrappedObject->abort()); +} + +void PythonQtWrapper_QSslSocket::addCaCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate) +{ + ( theWrappedObject->addCaCertificate(certificate)); +} + +void PythonQtWrapper_QSslSocket::addCaCertificates(QSslSocket* theWrappedObject, const QList& certificates) +{ + ( theWrappedObject->addCaCertificates(certificates)); +} + +bool PythonQtWrapper_QSslSocket::addCaCertificates(QSslSocket* theWrappedObject, const QString& path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax) +{ + return ( theWrappedObject->addCaCertificates(path, format, syntax)); +} + +void PythonQtWrapper_QSslSocket::static_QSslSocket_addDefaultCaCertificate(const QSslCertificate& certificate) +{ + (QSslSocket::addDefaultCaCertificate(certificate)); +} + +void PythonQtWrapper_QSslSocket::static_QSslSocket_addDefaultCaCertificates(const QList& certificates) +{ + (QSslSocket::addDefaultCaCertificates(certificates)); +} + +bool PythonQtWrapper_QSslSocket::static_QSslSocket_addDefaultCaCertificates(const QString& path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax) +{ + return (QSslSocket::addDefaultCaCertificates(path, format, syntax)); +} + +QList PythonQtWrapper_QSslSocket::caCertificates(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->caCertificates()); +} + +QList PythonQtWrapper_QSslSocket::ciphers(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->ciphers()); +} + +void PythonQtWrapper_QSslSocket::connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode, QAbstractSocket::NetworkLayerProtocol protocol) +{ + ( theWrappedObject->connectToHostEncrypted(hostName, port, mode, protocol)); +} + +void PythonQtWrapper_QSslSocket::connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, const QString& sslPeerName, QIODevice::OpenMode mode, QAbstractSocket::NetworkLayerProtocol protocol) +{ + ( theWrappedObject->connectToHostEncrypted(hostName, port, sslPeerName, mode, protocol)); +} + +QList PythonQtWrapper_QSslSocket::static_QSslSocket_defaultCaCertificates() +{ + return (QSslSocket::defaultCaCertificates()); +} + +QList PythonQtWrapper_QSslSocket::static_QSslSocket_defaultCiphers() +{ + return (QSslSocket::defaultCiphers()); +} + +qint64 PythonQtWrapper_QSslSocket::encryptedBytesAvailable(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->encryptedBytesAvailable()); +} + +qint64 PythonQtWrapper_QSslSocket::encryptedBytesToWrite(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->encryptedBytesToWrite()); +} + +bool PythonQtWrapper_QSslSocket::flush(QSslSocket* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +void PythonQtWrapper_QSslSocket::ignoreSslErrors(QSslSocket* theWrappedObject, const QList& errors) +{ + ( theWrappedObject->ignoreSslErrors(errors)); +} + +bool PythonQtWrapper_QSslSocket::isEncrypted(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->isEncrypted()); +} + +QSslCertificate PythonQtWrapper_QSslSocket::localCertificate(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->localCertificate()); +} + +QList PythonQtWrapper_QSslSocket::localCertificateChain(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->localCertificateChain()); +} + +QSslSocket::SslMode PythonQtWrapper_QSslSocket::mode(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->mode()); +} + +QVector PythonQtWrapper_QSslSocket::ocspResponses(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->ocspResponses()); +} + +QSslCertificate PythonQtWrapper_QSslSocket::peerCertificate(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerCertificate()); +} + +QList PythonQtWrapper_QSslSocket::peerCertificateChain(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerCertificateChain()); +} + +int PythonQtWrapper_QSslSocket::peerVerifyDepth(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyDepth()); +} + +QSslSocket::PeerVerifyMode PythonQtWrapper_QSslSocket::peerVerifyMode(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyMode()); +} + +QString PythonQtWrapper_QSslSocket::peerVerifyName(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyName()); +} + +QSslKey PythonQtWrapper_QSslSocket::privateKey(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->privateKey()); +} + +QSsl::SslProtocol PythonQtWrapper_QSslSocket::protocol(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->protocol()); +} + +QSslCipher PythonQtWrapper_QSslSocket::sessionCipher(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->sessionCipher()); +} + +QSsl::SslProtocol PythonQtWrapper_QSslSocket::sessionProtocol(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->sessionProtocol()); +} + +void PythonQtWrapper_QSslSocket::setCaCertificates(QSslSocket* theWrappedObject, const QList& certificates) +{ + ( theWrappedObject->setCaCertificates(certificates)); +} + +void PythonQtWrapper_QSslSocket::setCiphers(QSslSocket* theWrappedObject, const QList& ciphers) +{ + ( theWrappedObject->setCiphers(ciphers)); +} + +void PythonQtWrapper_QSslSocket::setCiphers(QSslSocket* theWrappedObject, const QString& ciphers) +{ + ( theWrappedObject->setCiphers(ciphers)); +} + +void PythonQtWrapper_QSslSocket::static_QSslSocket_setDefaultCaCertificates(const QList& certificates) +{ + (QSslSocket::setDefaultCaCertificates(certificates)); +} + +void PythonQtWrapper_QSslSocket::static_QSslSocket_setDefaultCiphers(const QList& ciphers) +{ + (QSslSocket::setDefaultCiphers(ciphers)); +} + +void PythonQtWrapper_QSslSocket::setLocalCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate) +{ + ( theWrappedObject->setLocalCertificate(certificate)); +} + +void PythonQtWrapper_QSslSocket::setLocalCertificate(QSslSocket* theWrappedObject, const QString& fileName, QSsl::EncodingFormat format) +{ + ( theWrappedObject->setLocalCertificate(fileName, format)); +} + +void PythonQtWrapper_QSslSocket::setLocalCertificateChain(QSslSocket* theWrappedObject, const QList& localChain) +{ + ( theWrappedObject->setLocalCertificateChain(localChain)); +} + +void PythonQtWrapper_QSslSocket::setPeerVerifyDepth(QSslSocket* theWrappedObject, int depth) +{ + ( theWrappedObject->setPeerVerifyDepth(depth)); +} + +void PythonQtWrapper_QSslSocket::setPeerVerifyMode(QSslSocket* theWrappedObject, QSslSocket::PeerVerifyMode mode) +{ + ( theWrappedObject->setPeerVerifyMode(mode)); +} + +void PythonQtWrapper_QSslSocket::setPeerVerifyName(QSslSocket* theWrappedObject, const QString& hostName) +{ + ( theWrappedObject->setPeerVerifyName(hostName)); +} + +void PythonQtWrapper_QSslSocket::setPrivateKey(QSslSocket* theWrappedObject, const QSslKey& key) +{ + ( theWrappedObject->setPrivateKey(key)); +} + +void PythonQtWrapper_QSslSocket::setPrivateKey(QSslSocket* theWrappedObject, const QString& fileName, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, const QByteArray& passPhrase) +{ + ( theWrappedObject->setPrivateKey(fileName, algorithm, format, passPhrase)); +} + +void PythonQtWrapper_QSslSocket::setProtocol(QSslSocket* theWrappedObject, QSsl::SslProtocol protocol) +{ + ( theWrappedObject->setProtocol(protocol)); +} + +void PythonQtWrapper_QSslSocket::setSslConfiguration(QSslSocket* theWrappedObject, const QSslConfiguration& config) +{ + ( theWrappedObject->setSslConfiguration(config)); +} + +QSslConfiguration PythonQtWrapper_QSslSocket::sslConfiguration(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->sslConfiguration()); +} + +QList PythonQtWrapper_QSslSocket::sslErrors(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->sslErrors()); +} + +QList PythonQtWrapper_QSslSocket::sslHandshakeErrors(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->sslHandshakeErrors()); +} + +long PythonQtWrapper_QSslSocket::static_QSslSocket_sslLibraryBuildVersionNumber() +{ + return (QSslSocket::sslLibraryBuildVersionNumber()); +} + +QString PythonQtWrapper_QSslSocket::static_QSslSocket_sslLibraryBuildVersionString() +{ + return (QSslSocket::sslLibraryBuildVersionString()); +} + +long PythonQtWrapper_QSslSocket::static_QSslSocket_sslLibraryVersionNumber() +{ + return (QSslSocket::sslLibraryVersionNumber()); +} + +QString PythonQtWrapper_QSslSocket::static_QSslSocket_sslLibraryVersionString() +{ + return (QSslSocket::sslLibraryVersionString()); +} + +QList PythonQtWrapper_QSslSocket::static_QSslSocket_supportedCiphers() +{ + return (QSslSocket::supportedCiphers()); +} + +bool PythonQtWrapper_QSslSocket::static_QSslSocket_supportsSsl() +{ + return (QSslSocket::supportsSsl()); +} + +QList PythonQtWrapper_QSslSocket::static_QSslSocket_systemCaCertificates() +{ + return (QSslSocket::systemCaCertificates()); +} + +bool PythonQtWrapper_QSslSocket::waitForEncrypted(QSslSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForEncrypted(msecs)); +} + +#endif + + +PythonQtShell_QTcpServer::~PythonQtShell_QTcpServer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTcpServer::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(); + } + } +} + QTcpServer::childEvent(event0); +} +void PythonQtShell_QTcpServer::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(); + } + } +} + QTcpServer::customEvent(event0); +} +bool PythonQtShell_QTcpServer::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 QTcpServer::event(event0); +} +bool PythonQtShell_QTcpServer::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 QTcpServer::eventFilter(watched0, event1); +} +bool PythonQtShell_QTcpServer::hasPendingConnections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasPendingConnections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpServer::hasPendingConnections(); +} +void PythonQtShell_QTcpServer::incomingConnection(qintptr handle0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("incomingConnection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handle0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpServer::incomingConnection(handle0); +} +QTcpSocket* PythonQtShell_QTcpServer::nextPendingConnection() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextPendingConnection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QTcpSocket*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); + } else { + returnValue = *((QTcpSocket**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpServer::nextPendingConnection(); +} +void PythonQtShell_QTcpServer::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(); + } + } +} + QTcpServer::timerEvent(event0); +} +QTcpServer* PythonQtWrapper_QTcpServer::new_QTcpServer(QObject* parent) +{ +return new PythonQtShell_QTcpServer(parent); } + +const QMetaObject* PythonQtShell_QTcpServer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTcpServer::staticMetaObject); + } else { + return &QTcpServer::staticMetaObject; + } +} +int PythonQtShell_QTcpServer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTcpServer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTcpServer::addPendingConnection(QTcpServer* theWrappedObject, QTcpSocket* socket) +{ + ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_addPendingConnection(socket)); +} + +void PythonQtWrapper_QTcpServer::close(QTcpServer* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +QString PythonQtWrapper_QTcpServer::errorString(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QTcpServer::hasPendingConnections(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->hasPendingConnections()); +} + +void PythonQtWrapper_QTcpServer::incomingConnection(QTcpServer* theWrappedObject, qintptr handle) +{ + ( ((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->promoted_incomingConnection(handle)); +} + +bool PythonQtWrapper_QTcpServer::isListening(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->isListening()); +} + +bool PythonQtWrapper_QTcpServer::listen(QTcpServer* theWrappedObject, const QHostAddress& address, unsigned short port) +{ + return ( theWrappedObject->listen(address, port)); +} + +int PythonQtWrapper_QTcpServer::maxPendingConnections(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->maxPendingConnections()); +} + +QTcpSocket* PythonQtWrapper_QTcpServer::nextPendingConnection(QTcpServer* theWrappedObject) +{ + return ( theWrappedObject->nextPendingConnection()); +} + +void PythonQtWrapper_QTcpServer::pauseAccepting(QTcpServer* theWrappedObject) +{ + ( theWrappedObject->pauseAccepting()); +} + +QNetworkProxy PythonQtWrapper_QTcpServer::proxy(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +void PythonQtWrapper_QTcpServer::resumeAccepting(QTcpServer* theWrappedObject) +{ + ( theWrappedObject->resumeAccepting()); +} + +QHostAddress PythonQtWrapper_QTcpServer::serverAddress(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->serverAddress()); +} + +QAbstractSocket::SocketError PythonQtWrapper_QTcpServer::serverError(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->serverError()); +} + +unsigned short PythonQtWrapper_QTcpServer::serverPort(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->serverPort()); +} + +void PythonQtWrapper_QTcpServer::setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections) +{ + ( theWrappedObject->setMaxPendingConnections(numConnections)); +} + +void PythonQtWrapper_QTcpServer::setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy) +{ + ( theWrappedObject->setProxy(networkProxy)); +} + +bool PythonQtWrapper_QTcpServer::setSocketDescriptor(QTcpServer* theWrappedObject, qintptr socketDescriptor) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor)); +} + +qintptr PythonQtWrapper_QTcpServer::socketDescriptor(QTcpServer* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +bool PythonQtWrapper_QTcpServer::waitForNewConnection(QTcpServer* theWrappedObject, int msec, bool* timedOut) +{ + return ( theWrappedObject->waitForNewConnection(msec, timedOut)); +} + + + +PythonQtShell_QTcpSocket::~PythonQtShell_QTcpSocket() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QTcpSocket::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::atEnd(); +} +qint64 PythonQtShell_QTcpSocket::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::bytesAvailable(); +} +qint64 PythonQtShell_QTcpSocket::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::bytesToWrite(); +} +bool PythonQtShell_QTcpSocket::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::canReadLine(); +} +void PythonQtShell_QTcpSocket::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(); + } + } +} + QTcpSocket::childEvent(event0); +} +void PythonQtShell_QTcpSocket::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QTcpSocket::close(); +} +void PythonQtShell_QTcpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpSocket::connectToHost(address0, port1, mode2); +} +void PythonQtShell_QTcpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpSocket::connectToHost(hostName0, port1, mode2, protocol3); +} +void PythonQtShell_QTcpSocket::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(); + } + } +} + QTcpSocket::customEvent(event0); +} +void PythonQtShell_QTcpSocket::disconnectFromHost() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectFromHost"); + 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(); + } + } +} + QTcpSocket::disconnectFromHost(); +} +bool PythonQtShell_QTcpSocket::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 QTcpSocket::event(event0); +} +bool PythonQtShell_QTcpSocket::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 QTcpSocket::eventFilter(watched0, event1); +} +bool PythonQtShell_QTcpSocket::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::isSequential(); +} +bool PythonQtShell_QTcpSocket::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::open(mode0); +} +qint64 PythonQtShell_QTcpSocket::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::pos(); +} +qint64 PythonQtShell_QTcpSocket::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::readData(data0, maxlen1); +} +qint64 PythonQtShell_QTcpSocket::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::readLineData(data0, maxlen1); +} +bool PythonQtShell_QTcpSocket::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::reset(); +} +void PythonQtShell_QTcpSocket::resume() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resume"); + 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(); + } + } +} + QTcpSocket::resume(); +} +bool PythonQtShell_QTcpSocket::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::seek(pos0); +} +void PythonQtShell_QTcpSocket::setReadBufferSize(qint64 size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setReadBufferSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpSocket::setReadBufferSize(size0); +} +bool PythonQtShell_QTcpSocket::setSocketDescriptor(qintptr socketDescriptor0, QAbstractSocket::SocketState state1, QIODevice::OpenMode openMode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::setSocketDescriptor(socketDescriptor0, state1, openMode2); +} +void PythonQtShell_QTcpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpSocket::setSocketOption(option0, value1); +} +qint64 PythonQtShell_QTcpSocket::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::size(); +} +qintptr PythonQtShell_QTcpSocket::socketDescriptor() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); + } else { + returnValue = *((qintptr*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::socketDescriptor(); +} +QVariant PythonQtShell_QTcpSocket::socketOption(QAbstractSocket::SocketOption option0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::socketOption(option0); +} +void PythonQtShell_QTcpSocket::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(); + } + } +} + QTcpSocket::timerEvent(event0); +} +bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QTcpSocket::waitForConnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForConnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::waitForConnected(msecs0); +} +bool PythonQtShell_QTcpSocket::waitForDisconnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForDisconnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::waitForDisconnected(msecs0); +} +bool PythonQtShell_QTcpSocket::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QTcpSocket::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::writeData(data0, len1); +} +QTcpSocket* PythonQtWrapper_QTcpSocket::new_QTcpSocket(QObject* parent) +{ +return new PythonQtShell_QTcpSocket(parent); } + +const QMetaObject* PythonQtShell_QTcpSocket::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTcpSocket::staticMetaObject); + } else { + return &QTcpSocket::staticMetaObject; + } +} +int PythonQtShell_QTcpSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTcpSocket::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QUdpSocket::~PythonQtShell_QUdpSocket() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QUdpSocket::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::atEnd(); +} +qint64 PythonQtShell_QUdpSocket::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::bytesAvailable(); +} +qint64 PythonQtShell_QUdpSocket::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::bytesToWrite(); +} +bool PythonQtShell_QUdpSocket::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::canReadLine(); +} +void PythonQtShell_QUdpSocket::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(); + } + } +} + QUdpSocket::childEvent(event0); +} +void PythonQtShell_QUdpSocket::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + QUdpSocket::close(); +} +void PythonQtShell_QUdpSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUdpSocket::connectToHost(address0, port1, mode2); +} +void PythonQtShell_QUdpSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUdpSocket::connectToHost(hostName0, port1, mode2, protocol3); +} +void PythonQtShell_QUdpSocket::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(); + } + } +} + QUdpSocket::customEvent(event0); +} +void PythonQtShell_QUdpSocket::disconnectFromHost() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectFromHost"); + 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(); + } + } +} + QUdpSocket::disconnectFromHost(); +} +bool PythonQtShell_QUdpSocket::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 QUdpSocket::event(event0); +} +bool PythonQtShell_QUdpSocket::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 QUdpSocket::eventFilter(watched0, event1); +} +bool PythonQtShell_QUdpSocket::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::isSequential(); +} +bool PythonQtShell_QUdpSocket::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::open(mode0); +} +qint64 PythonQtShell_QUdpSocket::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::pos(); +} +qint64 PythonQtShell_QUdpSocket::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::readData(data0, maxlen1); +} +qint64 PythonQtShell_QUdpSocket::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::readLineData(data0, maxlen1); +} +bool PythonQtShell_QUdpSocket::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::reset(); +} +void PythonQtShell_QUdpSocket::resume() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resume"); + 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(); + } + } +} + QUdpSocket::resume(); +} +bool PythonQtShell_QUdpSocket::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::seek(pos0); +} +void PythonQtShell_QUdpSocket::setReadBufferSize(qint64 size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setReadBufferSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUdpSocket::setReadBufferSize(size0); +} +bool PythonQtShell_QUdpSocket::setSocketDescriptor(qintptr socketDescriptor0, QAbstractSocket::SocketState state1, QIODevice::OpenMode openMode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::setSocketDescriptor(socketDescriptor0, state1, openMode2); +} +void PythonQtShell_QUdpSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUdpSocket::setSocketOption(option0, value1); +} +qint64 PythonQtShell_QUdpSocket::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::size(); +} +qintptr PythonQtShell_QUdpSocket::socketDescriptor() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); + } else { + returnValue = *((qintptr*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::socketDescriptor(); +} +QVariant PythonQtShell_QUdpSocket::socketOption(QAbstractSocket::SocketOption option0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::socketOption(option0); +} +void PythonQtShell_QUdpSocket::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(); + } + } +} + QUdpSocket::timerEvent(event0); +} +bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QUdpSocket::waitForConnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForConnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::waitForConnected(msecs0); +} +bool PythonQtShell_QUdpSocket::waitForDisconnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForDisconnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::waitForDisconnected(msecs0); +} +bool PythonQtShell_QUdpSocket::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QUdpSocket::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::writeData(data0, len1); +} +QUdpSocket* PythonQtWrapper_QUdpSocket::new_QUdpSocket(QObject* parent) +{ +return new PythonQtShell_QUdpSocket(parent); } + +const QMetaObject* PythonQtShell_QUdpSocket::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUdpSocket::staticMetaObject); + } else { + return &QUdpSocket::staticMetaObject; + } +} +int PythonQtShell_QUdpSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUdpSocket::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QUdpSocket::hasPendingDatagrams(QUdpSocket* theWrappedObject) const +{ + return ( theWrappedObject->hasPendingDatagrams()); +} + +bool PythonQtWrapper_QUdpSocket::joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress) +{ + return ( theWrappedObject->joinMulticastGroup(groupAddress)); +} + +bool PythonQtWrapper_QUdpSocket::joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface) +{ + return ( theWrappedObject->joinMulticastGroup(groupAddress, iface)); +} + +bool PythonQtWrapper_QUdpSocket::leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress) +{ + return ( theWrappedObject->leaveMulticastGroup(groupAddress)); +} + +bool PythonQtWrapper_QUdpSocket::leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface) +{ + return ( theWrappedObject->leaveMulticastGroup(groupAddress, iface)); +} + +QNetworkInterface PythonQtWrapper_QUdpSocket::multicastInterface(QUdpSocket* theWrappedObject) const +{ + return ( theWrappedObject->multicastInterface()); +} + +qint64 PythonQtWrapper_QUdpSocket::pendingDatagramSize(QUdpSocket* theWrappedObject) const +{ + return ( theWrappedObject->pendingDatagramSize()); +} + +qint64 PythonQtWrapper_QUdpSocket::readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host, unsigned short* port) +{ + return ( theWrappedObject->readDatagram(data, maxlen, host, port)); +} + +QNetworkDatagram PythonQtWrapper_QUdpSocket::receiveDatagram(QUdpSocket* theWrappedObject, qint64 maxSize) +{ + return ( theWrappedObject->receiveDatagram(maxSize)); +} + +void PythonQtWrapper_QUdpSocket::setMulticastInterface(QUdpSocket* theWrappedObject, const QNetworkInterface& iface) +{ + ( theWrappedObject->setMulticastInterface(iface)); +} + +qint64 PythonQtWrapper_QUdpSocket::writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port) +{ + return ( theWrappedObject->writeDatagram(datagram, host, port)); +} + +qint64 PythonQtWrapper_QUdpSocket::writeDatagram(QUdpSocket* theWrappedObject, const QNetworkDatagram& datagram) +{ + return ( theWrappedObject->writeDatagram(datagram)); +} + + + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.h b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.h new file mode 100644 index 00000000..091739ca --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network1.h @@ -0,0 +1,1213 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QNetworkInterface : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InterfaceFlag InterfaceType ) +Q_FLAGS(InterfaceFlags ) +enum InterfaceFlag{ + IsUp = QNetworkInterface::IsUp, IsRunning = QNetworkInterface::IsRunning, CanBroadcast = QNetworkInterface::CanBroadcast, IsLoopBack = QNetworkInterface::IsLoopBack, IsPointToPoint = QNetworkInterface::IsPointToPoint, CanMulticast = QNetworkInterface::CanMulticast}; +enum InterfaceType{ + Loopback = QNetworkInterface::Loopback, Virtual = QNetworkInterface::Virtual, Ethernet = QNetworkInterface::Ethernet, Slip = QNetworkInterface::Slip, CanBus = QNetworkInterface::CanBus, Ppp = QNetworkInterface::Ppp, Fddi = QNetworkInterface::Fddi, Wifi = QNetworkInterface::Wifi, Ieee80211 = QNetworkInterface::Ieee80211, Phonet = QNetworkInterface::Phonet, Ieee802154 = QNetworkInterface::Ieee802154, SixLoWPAN = QNetworkInterface::SixLoWPAN, Ieee80216 = QNetworkInterface::Ieee80216, Ieee1394 = QNetworkInterface::Ieee1394, Unknown = QNetworkInterface::Unknown}; +Q_DECLARE_FLAGS(InterfaceFlags, InterfaceFlag) +public slots: +QNetworkInterface* new_QNetworkInterface(); +QNetworkInterface* new_QNetworkInterface(const QNetworkInterface& other); +void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; } + QList addressEntries(QNetworkInterface* theWrappedObject) const; + QList static_QNetworkInterface_allAddresses(); + QList static_QNetworkInterface_allInterfaces(); + QNetworkInterface::InterfaceFlags flags(QNetworkInterface* theWrappedObject) const; + QString hardwareAddress(QNetworkInterface* theWrappedObject) const; + QString humanReadableName(QNetworkInterface* theWrappedObject) const; + int index(QNetworkInterface* theWrappedObject) const; + QNetworkInterface static_QNetworkInterface_interfaceFromIndex(int index); + QNetworkInterface static_QNetworkInterface_interfaceFromName(const QString& name); + int static_QNetworkInterface_interfaceIndexFromName(const QString& name); + QString static_QNetworkInterface_interfaceNameFromIndex(int index); + bool isValid(QNetworkInterface* theWrappedObject) const; + int maximumTransmissionUnit(QNetworkInterface* theWrappedObject) const; + QString name(QNetworkInterface* theWrappedObject) const; + void swap(QNetworkInterface* theWrappedObject, QNetworkInterface& other); + QNetworkInterface::InterfaceType type(QNetworkInterface* theWrappedObject) const; + QString py_toString(QNetworkInterface*); + bool __nonzero__(QNetworkInterface* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QNetworkProxy : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Capability ProxyType ) +Q_FLAGS(Capabilities ) +enum Capability{ + TunnelingCapability = QNetworkProxy::TunnelingCapability, ListeningCapability = QNetworkProxy::ListeningCapability, UdpTunnelingCapability = QNetworkProxy::UdpTunnelingCapability, CachingCapability = QNetworkProxy::CachingCapability, HostNameLookupCapability = QNetworkProxy::HostNameLookupCapability, SctpTunnelingCapability = QNetworkProxy::SctpTunnelingCapability, SctpListeningCapability = QNetworkProxy::SctpListeningCapability}; +enum ProxyType{ + DefaultProxy = QNetworkProxy::DefaultProxy, Socks5Proxy = QNetworkProxy::Socks5Proxy, NoProxy = QNetworkProxy::NoProxy, HttpProxy = QNetworkProxy::HttpProxy, HttpCachingProxy = QNetworkProxy::HttpCachingProxy, FtpCachingProxy = QNetworkProxy::FtpCachingProxy}; +Q_DECLARE_FLAGS(Capabilities, Capability) +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; } + QNetworkProxy static_QNetworkProxy_applicationProxy(); + QNetworkProxy::Capabilities capabilities(QNetworkProxy* theWrappedObject) const; + bool hasRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const; + QVariant header(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header) const; + QString hostName(QNetworkProxy* theWrappedObject) const; + bool isCachingProxy(QNetworkProxy* theWrappedObject) const; + bool isTransparentProxy(QNetworkProxy* theWrappedObject) const; + bool __ne__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const; + bool __eq__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const; + QString password(QNetworkProxy* theWrappedObject) const; + unsigned short port(QNetworkProxy* theWrappedObject) const; + QByteArray rawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const; + QList rawHeaderList(QNetworkProxy* theWrappedObject) const; + void static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy); + void setCapabilities(QNetworkProxy* theWrappedObject, QNetworkProxy::Capabilities capab); + void setHeader(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setHostName(QNetworkProxy* theWrappedObject, const QString& hostName); + void setPassword(QNetworkProxy* theWrappedObject, const QString& password); + void setPort(QNetworkProxy* theWrappedObject, unsigned short port); + void setRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName, const QByteArray& value); + void setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type); + void setUser(QNetworkProxy* theWrappedObject, const QString& userName); + void swap(QNetworkProxy* theWrappedObject, QNetworkProxy& other); + QNetworkProxy::ProxyType type(QNetworkProxy* theWrappedObject) const; + QString user(QNetworkProxy* theWrappedObject) const; + QString py_toString(QNetworkProxy*); +}; + + + + + +class PythonQtShell_QNetworkProxyFactory : public QNetworkProxyFactory +{ +public: + PythonQtShell_QNetworkProxyFactory():QNetworkProxyFactory(),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkProxyFactory() override; + +QList queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkProxyFactory : public QNetworkProxyFactory +{ public: +inline QList py_q_queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()) { return this->queryProxy(query); } +}; + +class PythonQtWrapper_QNetworkProxyFactory : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkProxyFactory* new_QNetworkProxyFactory(); +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));} + void static_QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactory* factory); + void static_QNetworkProxyFactory_setUseSystemConfiguration(bool enable); + QList static_QNetworkProxyFactory_systemProxyForQuery(const QNetworkProxyQuery& query = QNetworkProxyQuery()); + bool static_QNetworkProxyFactory_usesSystemConfiguration(); +}; + + + + + +class PythonQtWrapper_QNetworkProxyQuery : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QueryType ) +enum QueryType{ + TcpSocket = QNetworkProxyQuery::TcpSocket, UdpSocket = QNetworkProxyQuery::UdpSocket, SctpSocket = QNetworkProxyQuery::SctpSocket, TcpServer = QNetworkProxyQuery::TcpServer, UrlRequest = QNetworkProxyQuery::UrlRequest, SctpServer = QNetworkProxyQuery::SctpServer}; +public slots: +QNetworkProxyQuery* new_QNetworkProxyQuery(); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QString& hostname, int port, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpSocket); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::UrlRequest); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, unsigned short bindPort, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpServer); +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; } + int localPort(QNetworkProxyQuery* theWrappedObject) const; + QNetworkConfiguration networkConfiguration(QNetworkProxyQuery* theWrappedObject) const; + bool __ne__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const; + bool __eq__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const; + QString peerHostName(QNetworkProxyQuery* theWrappedObject) const; + int peerPort(QNetworkProxyQuery* theWrappedObject) const; + QString protocolTag(QNetworkProxyQuery* theWrappedObject) const; + QNetworkProxyQuery::QueryType queryType(QNetworkProxyQuery* theWrappedObject) const; + void setLocalPort(QNetworkProxyQuery* theWrappedObject, int port); + void setNetworkConfiguration(QNetworkProxyQuery* theWrappedObject, const QNetworkConfiguration& networkConfiguration); + void setPeerHostName(QNetworkProxyQuery* theWrappedObject, const QString& hostname); + void setPeerPort(QNetworkProxyQuery* theWrappedObject, int port); + void setProtocolTag(QNetworkProxyQuery* theWrappedObject, const QString& protocolTag); + void setQueryType(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery::QueryType type); + void setUrl(QNetworkProxyQuery* theWrappedObject, const QUrl& url); + void swap(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery& other); + QUrl url(QNetworkProxyQuery* theWrappedObject) const; + QString py_toString(QNetworkProxyQuery*); +}; + + + + + +class PythonQtShell_QNetworkReply : public QNetworkReply +{ +public: + 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 +{ public: +inline void promoted_ignoreSslErrorsImplementation(const QList& arg__1) { this->ignoreSslErrorsImplementation(arg__1); } +inline void promoted_setAttribute(QNetworkRequest::Attribute code, const QVariant& value) { this->setAttribute(code, value); } +inline void promoted_setError(QNetworkReply::NetworkError errorCode, const QString& errorString) { this->setError(errorCode, errorString); } +inline void promoted_setFinished(bool arg__1) { this->setFinished(arg__1); } +inline void promoted_setHeader(QNetworkRequest::KnownHeaders header, const QVariant& value) { this->setHeader(header, value); } +inline void promoted_setOperation(QNetworkAccessManager::Operation operation) { this->setOperation(operation); } +inline void promoted_setRawHeader(const QByteArray& headerName, const QByteArray& value) { this->setRawHeader(headerName, value); } +inline void promoted_setRequest(const QNetworkRequest& request) { this->setRequest(request); } +inline void promoted_setSslConfigurationImplementation(const QSslConfiguration& arg__1) { this->setSslConfigurationImplementation(arg__1); } +inline void promoted_setUrl(const QUrl& url) { this->setUrl(url); } +inline void promoted_sslConfigurationImplementation(QSslConfiguration& arg__1) const { this->sslConfigurationImplementation(arg__1); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline void py_q_abort() { this->abort(); } +inline void py_q_close() { QNetworkReply::close(); } +inline void py_q_ignoreSslErrors() { QNetworkReply::ignoreSslErrors(); } +inline void py_q_ignoreSslErrorsImplementation(const QList& arg__1) { QNetworkReply::ignoreSslErrorsImplementation(arg__1); } +inline bool py_q_isSequential() const { return QNetworkReply::isSequential(); } +inline void py_q_setReadBufferSize(qint64 size) { QNetworkReply::setReadBufferSize(size); } +inline void py_q_setSslConfigurationImplementation(const QSslConfiguration& arg__1) { QNetworkReply::setSslConfigurationImplementation(arg__1); } +inline void py_q_sslConfigurationImplementation(QSslConfiguration& arg__1) const { QNetworkReply::sslConfigurationImplementation(arg__1); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QNetworkReply::writeData(data, len); } +}; + +class PythonQtWrapper_QNetworkReply : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkReply* new_QNetworkReply(QObject* parent = nullptr); +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());} + QNetworkReply::NetworkError error(QNetworkReply* theWrappedObject) const; + bool hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; + QVariant header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const; + void py_q_ignoreSslErrors(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_ignoreSslErrors());} + void ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1); + void py_q_ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_ignoreSslErrorsImplementation(arg__1));} + bool isFinished(QNetworkReply* theWrappedObject) const; + bool isRunning(QNetworkReply* theWrappedObject) const; + bool py_q_isSequential(QNetworkReply* theWrappedObject) const{ return (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_isSequential());} + QNetworkAccessManager* manager(QNetworkReply* theWrappedObject) const; + QNetworkAccessManager::Operation operation(QNetworkReply* theWrappedObject) const; + QByteArray rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; + QList rawHeaderList(QNetworkReply* theWrappedObject) const; + const QList >* rawHeaderPairs(QNetworkReply* theWrappedObject) const; + qint64 readBufferSize(QNetworkReply* theWrappedObject) const; + QNetworkRequest request(QNetworkReply* theWrappedObject) const; + void setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value); + void setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString); + void setFinished(QNetworkReply* theWrappedObject, bool arg__1); + void setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation); + void setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value); + void setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size); + void py_q_setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_setReadBufferSize(size));} + void setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request); + void setSslConfiguration(QNetworkReply* theWrappedObject, const QSslConfiguration& configuration); + void setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1); + void py_q_setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_setSslConfigurationImplementation(arg__1));} + void setUrl(QNetworkReply* theWrappedObject, const QUrl& url); + QSslConfiguration sslConfiguration(QNetworkReply* theWrappedObject) const; + void sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const; + void py_q_sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const{ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_sslConfigurationImplementation(arg__1));} + QUrl url(QNetworkReply* theWrappedObject) const; + qint64 py_q_writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QNetworkRequest : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Attribute CacheLoadControl KnownHeaders LoadControl Priority RedirectPolicy TransferTimeoutConstant ) +enum Attribute{ + HttpStatusCodeAttribute = QNetworkRequest::HttpStatusCodeAttribute, HttpReasonPhraseAttribute = QNetworkRequest::HttpReasonPhraseAttribute, RedirectionTargetAttribute = QNetworkRequest::RedirectionTargetAttribute, ConnectionEncryptedAttribute = QNetworkRequest::ConnectionEncryptedAttribute, CacheLoadControlAttribute = QNetworkRequest::CacheLoadControlAttribute, CacheSaveControlAttribute = QNetworkRequest::CacheSaveControlAttribute, SourceIsFromCacheAttribute = QNetworkRequest::SourceIsFromCacheAttribute, DoNotBufferUploadDataAttribute = QNetworkRequest::DoNotBufferUploadDataAttribute, HttpPipeliningAllowedAttribute = QNetworkRequest::HttpPipeliningAllowedAttribute, HttpPipeliningWasUsedAttribute = QNetworkRequest::HttpPipeliningWasUsedAttribute, CustomVerbAttribute = QNetworkRequest::CustomVerbAttribute, CookieLoadControlAttribute = QNetworkRequest::CookieLoadControlAttribute, AuthenticationReuseAttribute = QNetworkRequest::AuthenticationReuseAttribute, CookieSaveControlAttribute = QNetworkRequest::CookieSaveControlAttribute, MaximumDownloadBufferSizeAttribute = QNetworkRequest::MaximumDownloadBufferSizeAttribute, DownloadBufferAttribute = QNetworkRequest::DownloadBufferAttribute, SynchronousRequestAttribute = QNetworkRequest::SynchronousRequestAttribute, BackgroundRequestAttribute = QNetworkRequest::BackgroundRequestAttribute, SpdyAllowedAttribute = QNetworkRequest::SpdyAllowedAttribute, SpdyWasUsedAttribute = QNetworkRequest::SpdyWasUsedAttribute, EmitAllUploadProgressSignalsAttribute = QNetworkRequest::EmitAllUploadProgressSignalsAttribute, FollowRedirectsAttribute = QNetworkRequest::FollowRedirectsAttribute, Http2AllowedAttribute = QNetworkRequest::Http2AllowedAttribute, Http2WasUsedAttribute = QNetworkRequest::Http2WasUsedAttribute, HTTP2AllowedAttribute = QNetworkRequest::HTTP2AllowedAttribute, HTTP2WasUsedAttribute = QNetworkRequest::HTTP2WasUsedAttribute, OriginalContentLengthAttribute = QNetworkRequest::OriginalContentLengthAttribute, RedirectPolicyAttribute = QNetworkRequest::RedirectPolicyAttribute, Http2DirectAttribute = QNetworkRequest::Http2DirectAttribute, ResourceTypeAttribute = QNetworkRequest::ResourceTypeAttribute, AutoDeleteReplyOnFinishAttribute = QNetworkRequest::AutoDeleteReplyOnFinishAttribute, User = QNetworkRequest::User, UserMax = QNetworkRequest::UserMax}; +enum CacheLoadControl{ + AlwaysNetwork = QNetworkRequest::AlwaysNetwork, PreferNetwork = QNetworkRequest::PreferNetwork, PreferCache = QNetworkRequest::PreferCache, AlwaysCache = QNetworkRequest::AlwaysCache}; +enum KnownHeaders{ + ContentTypeHeader = QNetworkRequest::ContentTypeHeader, ContentLengthHeader = QNetworkRequest::ContentLengthHeader, LocationHeader = QNetworkRequest::LocationHeader, LastModifiedHeader = QNetworkRequest::LastModifiedHeader, CookieHeader = QNetworkRequest::CookieHeader, SetCookieHeader = QNetworkRequest::SetCookieHeader, ContentDispositionHeader = QNetworkRequest::ContentDispositionHeader, UserAgentHeader = QNetworkRequest::UserAgentHeader, ServerHeader = QNetworkRequest::ServerHeader, IfModifiedSinceHeader = QNetworkRequest::IfModifiedSinceHeader, ETagHeader = QNetworkRequest::ETagHeader, IfMatchHeader = QNetworkRequest::IfMatchHeader, IfNoneMatchHeader = QNetworkRequest::IfNoneMatchHeader}; +enum LoadControl{ + Automatic = QNetworkRequest::Automatic, Manual = QNetworkRequest::Manual}; +enum Priority{ + HighPriority = QNetworkRequest::HighPriority, NormalPriority = QNetworkRequest::NormalPriority, LowPriority = QNetworkRequest::LowPriority}; +enum RedirectPolicy{ + ManualRedirectPolicy = QNetworkRequest::ManualRedirectPolicy, NoLessSafeRedirectPolicy = QNetworkRequest::NoLessSafeRedirectPolicy, SameOriginRedirectPolicy = QNetworkRequest::SameOriginRedirectPolicy, UserVerifiedRedirectPolicy = QNetworkRequest::UserVerifiedRedirectPolicy}; +enum TransferTimeoutConstant{ + DefaultTransferTimeoutConstant = QNetworkRequest::DefaultTransferTimeoutConstant}; +public slots: +QNetworkRequest* new_QNetworkRequest(); +QNetworkRequest* new_QNetworkRequest(const QNetworkRequest& other); +QNetworkRequest* new_QNetworkRequest(const QUrl& url); +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; + QHttp2Configuration http2Configuration(QNetworkRequest* theWrappedObject) const; + int maximumRedirectsAllowed(QNetworkRequest* theWrappedObject) const; + bool __ne__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const; + bool __eq__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const; + QObject* originatingObject(QNetworkRequest* theWrappedObject) const; + QString peerVerifyName(QNetworkRequest* theWrappedObject) const; + QNetworkRequest::Priority priority(QNetworkRequest* theWrappedObject) const; + QByteArray rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const; + QList rawHeaderList(QNetworkRequest* theWrappedObject) const; + void setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value); + void setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setHttp2Configuration(QNetworkRequest* theWrappedObject, const QHttp2Configuration& configuration); + void setMaximumRedirectsAllowed(QNetworkRequest* theWrappedObject, int maximumRedirectsAllowed); + void setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object); + void setPeerVerifyName(QNetworkRequest* theWrappedObject, const QString& peerName); + void setPriority(QNetworkRequest* theWrappedObject, QNetworkRequest::Priority priority); + void setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value); + void setSslConfiguration(QNetworkRequest* theWrappedObject, const QSslConfiguration& configuration); + void setTransferTimeout(QNetworkRequest* theWrappedObject, int timeout = DefaultTransferTimeoutConstant); + void setUrl(QNetworkRequest* theWrappedObject, const QUrl& url); + QSslConfiguration sslConfiguration(QNetworkRequest* theWrappedObject) const; + void swap(QNetworkRequest* theWrappedObject, QNetworkRequest& other); + int transferTimeout(QNetworkRequest* theWrappedObject) const; + QUrl url(QNetworkRequest* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QNetworkSession : public QNetworkSession +{ +public: + PythonQtShell_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr):QNetworkSession(connConfig, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkSession() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkSession : public QNetworkSession +{ public: +inline void promoted_connectNotify(const QMetaMethod& signal) { this->connectNotify(signal); } +inline void promoted_disconnectNotify(const QMetaMethod& signal) { this->disconnectNotify(signal); } +inline void py_q_connectNotify(const QMetaMethod& signal) { QNetworkSession::connectNotify(signal); } +inline void py_q_disconnectNotify(const QMetaMethod& signal) { QNetworkSession::disconnectNotify(signal); } +}; + +class PythonQtWrapper_QNetworkSession : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SessionError State UsagePolicy ) +Q_FLAGS(UsagePolicies ) +enum SessionError{ + UnknownSessionError = QNetworkSession::UnknownSessionError, SessionAbortedError = QNetworkSession::SessionAbortedError, RoamingError = QNetworkSession::RoamingError, OperationNotSupportedError = QNetworkSession::OperationNotSupportedError, InvalidConfigurationError = QNetworkSession::InvalidConfigurationError}; +enum State{ + Invalid = QNetworkSession::Invalid, NotAvailable = QNetworkSession::NotAvailable, Connecting = QNetworkSession::Connecting, Connected = QNetworkSession::Connected, Closing = QNetworkSession::Closing, Disconnected = QNetworkSession::Disconnected, Roaming = QNetworkSession::Roaming}; +enum UsagePolicy{ + NoPolicy = QNetworkSession::NoPolicy, NoBackgroundTrafficPolicy = QNetworkSession::NoBackgroundTrafficPolicy}; +Q_DECLARE_FLAGS(UsagePolicies, UsagePolicy) +public slots: +QNetworkSession* new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr); +void delete_QNetworkSession(QNetworkSession* obj) { delete obj; } + quint64 activeTime(QNetworkSession* theWrappedObject) const; + quint64 bytesReceived(QNetworkSession* theWrappedObject) const; + quint64 bytesWritten(QNetworkSession* theWrappedObject) const; + QNetworkConfiguration configuration(QNetworkSession* theWrappedObject) const; + void connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal); + void py_q_connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal){ (((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->py_q_connectNotify(signal));} + void disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal); + void py_q_disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal){ (((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->py_q_disconnectNotify(signal));} + QNetworkSession::SessionError error(QNetworkSession* theWrappedObject) const; + QString errorString(QNetworkSession* theWrappedObject) const; + QNetworkInterface interface(QNetworkSession* theWrappedObject) const; + bool isOpen(QNetworkSession* theWrappedObject) const; + QVariant sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const; + void setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value); + QNetworkSession::State state(QNetworkSession* theWrappedObject) const; + QNetworkSession::UsagePolicies usagePolicies(QNetworkSession* theWrappedObject) const; + bool waitForOpened(QNetworkSession* theWrappedObject, int msecs = 30000); +}; + + + + + +class PythonQtWrapper_QOcspResponse : public QObject +{ Q_OBJECT +public: +public slots: +QOcspResponse* new_QOcspResponse(); +QOcspResponse* new_QOcspResponse(const QOcspResponse& other); +void delete_QOcspResponse(QOcspResponse* obj) { delete obj; } + QOcspCertificateStatus certificateStatus(QOcspResponse* theWrappedObject) const; + bool __ne__(QOcspResponse* theWrappedObject, const QOcspResponse& rhs); + QOcspResponse* operator_assign(QOcspResponse* theWrappedObject, const QOcspResponse& other); + bool __eq__(QOcspResponse* theWrappedObject, const QOcspResponse& rhs); + QSslCertificate responder(QOcspResponse* theWrappedObject) const; + QOcspRevocationReason revocationReason(QOcspResponse* theWrappedObject) const; + QSslCertificate subject(QOcspResponse* theWrappedObject) const; + void swap(QOcspResponse* theWrappedObject, QOcspResponse& other); +}; + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSsl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AlternativeNameEntryType EncodingFormat KeyAlgorithm KeyType SslOption SslProtocol ) +Q_FLAGS(SslOptions ) +enum AlternativeNameEntryType{ + EmailEntry = QSsl::EmailEntry, DnsEntry = QSsl::DnsEntry, IpAddressEntry = QSsl::IpAddressEntry}; +enum EncodingFormat{ + Pem = QSsl::Pem, Der = QSsl::Der}; +enum KeyAlgorithm{ + Opaque = QSsl::Opaque, Rsa = QSsl::Rsa, Dsa = QSsl::Dsa, Ec = QSsl::Ec, Dh = QSsl::Dh}; +enum KeyType{ + PrivateKey = QSsl::PrivateKey, PublicKey = QSsl::PublicKey}; +enum SslOption{ + SslOptionDisableEmptyFragments = QSsl::SslOptionDisableEmptyFragments, SslOptionDisableSessionTickets = QSsl::SslOptionDisableSessionTickets, SslOptionDisableCompression = QSsl::SslOptionDisableCompression, SslOptionDisableServerNameIndication = QSsl::SslOptionDisableServerNameIndication, SslOptionDisableLegacyRenegotiation = QSsl::SslOptionDisableLegacyRenegotiation, SslOptionDisableSessionSharing = QSsl::SslOptionDisableSessionSharing, SslOptionDisableSessionPersistence = QSsl::SslOptionDisableSessionPersistence, SslOptionDisableServerCipherPreference = QSsl::SslOptionDisableServerCipherPreference}; +enum SslProtocol{ + SslV3 = QSsl::SslV3, SslV2 = QSsl::SslV2, TlsV1_0 = QSsl::TlsV1_0, TlsV1_1 = QSsl::TlsV1_1, TlsV1_2 = QSsl::TlsV1_2, AnyProtocol = QSsl::AnyProtocol, TlsV1SslV3 = QSsl::TlsV1SslV3, SecureProtocols = QSsl::SecureProtocols, TlsV1_0OrLater = QSsl::TlsV1_0OrLater, TlsV1_1OrLater = QSsl::TlsV1_1OrLater, TlsV1_2OrLater = QSsl::TlsV1_2OrLater, DtlsV1_0 = QSsl::DtlsV1_0, DtlsV1_0OrLater = QSsl::DtlsV1_0OrLater, DtlsV1_2 = QSsl::DtlsV1_2, DtlsV1_2OrLater = QSsl::DtlsV1_2OrLater, TlsV1_3 = QSsl::TlsV1_3, TlsV1_3OrLater = QSsl::TlsV1_3OrLater, UnknownProtocol = QSsl::UnknownProtocol}; +Q_DECLARE_FLAGS(SslOptions, SslOption) +public slots: +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslCertificate : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PatternSyntax SubjectInfo ) +enum class PatternSyntax{ + RegularExpression = static_cast(QSslCertificate::PatternSyntax::RegularExpression), Wildcard = static_cast(QSslCertificate::PatternSyntax::Wildcard), FixedString = static_cast(QSslCertificate::PatternSyntax::FixedString)}; +enum SubjectInfo{ + Organization = QSslCertificate::Organization, CommonName = QSslCertificate::CommonName, LocalityName = QSslCertificate::LocalityName, OrganizationalUnitName = QSslCertificate::OrganizationalUnitName, CountryName = QSslCertificate::CountryName, StateOrProvinceName = QSslCertificate::StateOrProvinceName, DistinguishedNameQualifier = QSslCertificate::DistinguishedNameQualifier, SerialNumber = QSslCertificate::SerialNumber, EmailAddress = QSslCertificate::EmailAddress}; +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 clear(QSslCertificate* theWrappedObject); + QByteArray digest(QSslCertificate* theWrappedObject, QCryptographicHash::Algorithm algorithm = QCryptographicHash::Md5) const; + QDateTime effectiveDate(QSslCertificate* theWrappedObject) const; + QDateTime expiryDate(QSslCertificate* theWrappedObject) const; + QList extensions(QSslCertificate* theWrappedObject) const; + QList static_QSslCertificate_fromData(const QByteArray& data, QSsl::EncodingFormat format = QSsl::Pem); + QList static_QSslCertificate_fromDevice(QIODevice* device, QSsl::EncodingFormat format = QSsl::Pem); + QList static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax); + QList static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QSslCertificate::PatternSyntax syntax = QSslCertificate::PatternSyntax::FixedString); + Qt::HANDLE handle(QSslCertificate* theWrappedObject) const; + bool static_QSslCertificate_importPkcs12(QIODevice* device, QSslKey* key, QSslCertificate* cert, QList* caCertificates = nullptr, const QByteArray& passPhrase = QByteArray()); + bool isBlacklisted(QSslCertificate* theWrappedObject) const; + bool isNull(QSslCertificate* theWrappedObject) const; + bool isSelfSigned(QSslCertificate* theWrappedObject) const; + QString issuerDisplayName(QSslCertificate* theWrappedObject) const; + QStringList issuerInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const; + QStringList issuerInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const; + QList issuerInfoAttributes(QSslCertificate* theWrappedObject) const; + bool __ne__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const; + QSslCertificate* operator_assign(QSslCertificate* theWrappedObject, const QSslCertificate& other); + bool __eq__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const; + QSslKey publicKey(QSslCertificate* theWrappedObject) const; + QByteArray serialNumber(QSslCertificate* theWrappedObject) const; + QMultiMap subjectAlternativeNames(QSslCertificate* theWrappedObject) const; + QString subjectDisplayName(QSslCertificate* theWrappedObject) const; + QStringList subjectInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const; + QStringList subjectInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const; + QList subjectInfoAttributes(QSslCertificate* theWrappedObject) const; + void swap(QSslCertificate* theWrappedObject, QSslCertificate& other); + QByteArray toDer(QSslCertificate* theWrappedObject) const; + QByteArray toPem(QSslCertificate* theWrappedObject) const; + QString toText(QSslCertificate* theWrappedObject) const; + QList static_QSslCertificate_verify(QList certificateChain, const QString& hostName = QString()); + QByteArray version(QSslCertificate* theWrappedObject) const; + QString py_toString(QSslCertificate*); + bool __nonzero__(QSslCertificate* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslCertificateExtension : public QObject +{ Q_OBJECT +public: +public slots: +QSslCertificateExtension* new_QSslCertificateExtension(); +QSslCertificateExtension* new_QSslCertificateExtension(const QSslCertificateExtension& other); +void delete_QSslCertificateExtension(QSslCertificateExtension* obj) { delete obj; } + bool isCritical(QSslCertificateExtension* theWrappedObject) const; + bool isSupported(QSslCertificateExtension* theWrappedObject) const; + QString name(QSslCertificateExtension* theWrappedObject) const; + QString oid(QSslCertificateExtension* theWrappedObject) const; + QSslCertificateExtension* operator_assign(QSslCertificateExtension* theWrappedObject, const QSslCertificateExtension& other); + void swap(QSslCertificateExtension* theWrappedObject, QSslCertificateExtension& other); + QVariant value(QSslCertificateExtension* theWrappedObject) const; +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslCipher : public QObject +{ Q_OBJECT +public: +public slots: +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; } + QString authenticationMethod(QSslCipher* theWrappedObject) const; + QString encryptionMethod(QSslCipher* theWrappedObject) const; + bool isNull(QSslCipher* theWrappedObject) const; + QString keyExchangeMethod(QSslCipher* theWrappedObject) const; + QString name(QSslCipher* theWrappedObject) const; + bool __ne__(QSslCipher* theWrappedObject, const QSslCipher& other) const; + QSslCipher* operator_assign(QSslCipher* theWrappedObject, const QSslCipher& other); + bool __eq__(QSslCipher* theWrappedObject, const QSslCipher& other) const; + QSsl::SslProtocol protocol(QSslCipher* theWrappedObject) const; + QString protocolString(QSslCipher* theWrappedObject) const; + int supportedBits(QSslCipher* theWrappedObject) const; + void swap(QSslCipher* theWrappedObject, QSslCipher& other); + int usedBits(QSslCipher* theWrappedObject) const; + QString py_toString(QSslCipher*); + bool __nonzero__(QSslCipher* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtShell_QSslConfiguration : public QSslConfiguration +{ +public: + PythonQtShell_QSslConfiguration():QSslConfiguration(),_wrapper(nullptr) {}; + PythonQtShell_QSslConfiguration(const QSslConfiguration& other):QSslConfiguration(other),_wrapper(nullptr) {}; + + ~PythonQtShell_QSslConfiguration(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSslConfiguration : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NextProtocolNegotiationStatus ) +enum NextProtocolNegotiationStatus{ + NextProtocolNegotiationNone = QSslConfiguration::NextProtocolNegotiationNone, NextProtocolNegotiationNegotiated = QSslConfiguration::NextProtocolNegotiationNegotiated, NextProtocolNegotiationUnsupported = QSslConfiguration::NextProtocolNegotiationUnsupported}; +public slots: +QSslConfiguration* new_QSslConfiguration(); +QSslConfiguration* new_QSslConfiguration(const QSslConfiguration& other); +void delete_QSslConfiguration(QSslConfiguration* obj) { delete obj; } + void addCaCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate); + void addCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates); + bool addCaCertificates(QSslConfiguration* theWrappedObject, const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QSslCertificate::PatternSyntax syntax = QSslCertificate::PatternSyntax::FixedString); + QList allowedNextProtocols(QSslConfiguration* theWrappedObject) const; + QMap backendConfiguration(QSslConfiguration* theWrappedObject) const; + QList caCertificates(QSslConfiguration* theWrappedObject) const; + QList ciphers(QSslConfiguration* theWrappedObject) const; + QSslConfiguration static_QSslConfiguration_defaultConfiguration(); + QSslConfiguration static_QSslConfiguration_defaultDtlsConfiguration(); + QSslDiffieHellmanParameters diffieHellmanParameters(QSslConfiguration* theWrappedObject) const; + bool dtlsCookieVerificationEnabled(QSslConfiguration* theWrappedObject) const; + QVector ellipticCurves(QSslConfiguration* theWrappedObject) const; + QSslKey ephemeralServerKey(QSslConfiguration* theWrappedObject) const; + bool isNull(QSslConfiguration* theWrappedObject) const; + QSslCertificate localCertificate(QSslConfiguration* theWrappedObject) const; + QList localCertificateChain(QSslConfiguration* theWrappedObject) const; + QByteArray nextNegotiatedProtocol(QSslConfiguration* theWrappedObject) const; + QSslConfiguration::NextProtocolNegotiationStatus nextProtocolNegotiationStatus(QSslConfiguration* theWrappedObject) const; + bool ocspStaplingEnabled(QSslConfiguration* theWrappedObject) const; + bool __ne__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const; + QSslConfiguration* operator_assign(QSslConfiguration* theWrappedObject, const QSslConfiguration& other); + bool __eq__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const; + QSslCertificate peerCertificate(QSslConfiguration* theWrappedObject) const; + QList peerCertificateChain(QSslConfiguration* theWrappedObject) const; + int peerVerifyDepth(QSslConfiguration* theWrappedObject) const; + QSslSocket::PeerVerifyMode peerVerifyMode(QSslConfiguration* theWrappedObject) const; + QByteArray preSharedKeyIdentityHint(QSslConfiguration* theWrappedObject) const; + QSslKey privateKey(QSslConfiguration* theWrappedObject) const; + QSsl::SslProtocol protocol(QSslConfiguration* theWrappedObject) const; + QSslCipher sessionCipher(QSslConfiguration* theWrappedObject) const; + QSsl::SslProtocol sessionProtocol(QSslConfiguration* theWrappedObject) const; + QByteArray sessionTicket(QSslConfiguration* theWrappedObject) const; + int sessionTicketLifeTimeHint(QSslConfiguration* theWrappedObject) const; + void setAllowedNextProtocols(QSslConfiguration* theWrappedObject, QList protocols); + void setBackendConfiguration(QSslConfiguration* theWrappedObject, const QMap& backendConfiguration = QMap()); + void setBackendConfigurationOption(QSslConfiguration* theWrappedObject, const QByteArray& name, const QVariant& value); + void setCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates); + void setCiphers(QSslConfiguration* theWrappedObject, const QList& ciphers); + void static_QSslConfiguration_setDefaultConfiguration(const QSslConfiguration& configuration); + void static_QSslConfiguration_setDefaultDtlsConfiguration(const QSslConfiguration& configuration); + void setDiffieHellmanParameters(QSslConfiguration* theWrappedObject, const QSslDiffieHellmanParameters& dhparams); + void setDtlsCookieVerificationEnabled(QSslConfiguration* theWrappedObject, bool enable); + void setEllipticCurves(QSslConfiguration* theWrappedObject, const QVector& curves); + void setLocalCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate); + void setLocalCertificateChain(QSslConfiguration* theWrappedObject, const QList& localChain); + void setOcspStaplingEnabled(QSslConfiguration* theWrappedObject, bool enable); + void setPeerVerifyDepth(QSslConfiguration* theWrappedObject, int depth); + void setPeerVerifyMode(QSslConfiguration* theWrappedObject, QSslSocket::PeerVerifyMode mode); + void setPreSharedKeyIdentityHint(QSslConfiguration* theWrappedObject, const QByteArray& hint); + void setPrivateKey(QSslConfiguration* theWrappedObject, const QSslKey& key); + void setProtocol(QSslConfiguration* theWrappedObject, QSsl::SslProtocol protocol); + void setSessionTicket(QSslConfiguration* theWrappedObject, const QByteArray& sessionTicket); + void setSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option, bool on); + QList static_QSslConfiguration_supportedCiphers(); + QVector static_QSslConfiguration_supportedEllipticCurves(); + void swap(QSslConfiguration* theWrappedObject, QSslConfiguration& other); + QList static_QSslConfiguration_systemCaCertificates(); + bool testSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option) const; + bool __nonzero__(QSslConfiguration* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslDiffieHellmanParameters : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error ) +enum Error{ + NoError = QSslDiffieHellmanParameters::NoError, InvalidInputDataError = QSslDiffieHellmanParameters::InvalidInputDataError, UnsafeParametersError = QSslDiffieHellmanParameters::UnsafeParametersError}; +public slots: +QSslDiffieHellmanParameters* new_QSslDiffieHellmanParameters(); +QSslDiffieHellmanParameters* new_QSslDiffieHellmanParameters(const QSslDiffieHellmanParameters& other); +void delete_QSslDiffieHellmanParameters(QSslDiffieHellmanParameters* obj) { delete obj; } + QSslDiffieHellmanParameters static_QSslDiffieHellmanParameters_defaultParameters(); + QSslDiffieHellmanParameters::Error error(QSslDiffieHellmanParameters* theWrappedObject) const; + QString errorString(QSslDiffieHellmanParameters* theWrappedObject) const; + QSslDiffieHellmanParameters static_QSslDiffieHellmanParameters_fromEncoded(QIODevice* device, QSsl::EncodingFormat format = QSsl::Pem); + QSslDiffieHellmanParameters static_QSslDiffieHellmanParameters_fromEncoded(const QByteArray& encoded, QSsl::EncodingFormat format = QSsl::Pem); + bool isEmpty(QSslDiffieHellmanParameters* theWrappedObject) const; + bool isValid(QSslDiffieHellmanParameters* theWrappedObject) const; + bool __ne__(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& rhs); + QSslDiffieHellmanParameters* operator_assign(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& other); + bool __eq__(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& rhs); + void swap(QSslDiffieHellmanParameters* theWrappedObject, QSslDiffieHellmanParameters& other); + QString py_toString(QSslDiffieHellmanParameters*); + bool __nonzero__(QSslDiffieHellmanParameters* obj) { return !obj->isEmpty(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslEllipticCurve : public QObject +{ Q_OBJECT +public: +public slots: +QSslEllipticCurve* new_QSslEllipticCurve(); +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*); + bool __nonzero__(QSslEllipticCurve* obj) { return obj->isValid(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslError : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SslError ) +enum SslError{ + NoError = QSslError::NoError, UnableToGetIssuerCertificate = QSslError::UnableToGetIssuerCertificate, UnableToDecryptCertificateSignature = QSslError::UnableToDecryptCertificateSignature, UnableToDecodeIssuerPublicKey = QSslError::UnableToDecodeIssuerPublicKey, CertificateSignatureFailed = QSslError::CertificateSignatureFailed, CertificateNotYetValid = QSslError::CertificateNotYetValid, CertificateExpired = QSslError::CertificateExpired, InvalidNotBeforeField = QSslError::InvalidNotBeforeField, InvalidNotAfterField = QSslError::InvalidNotAfterField, SelfSignedCertificate = QSslError::SelfSignedCertificate, SelfSignedCertificateInChain = QSslError::SelfSignedCertificateInChain, UnableToGetLocalIssuerCertificate = QSslError::UnableToGetLocalIssuerCertificate, UnableToVerifyFirstCertificate = QSslError::UnableToVerifyFirstCertificate, CertificateRevoked = QSslError::CertificateRevoked, InvalidCaCertificate = QSslError::InvalidCaCertificate, PathLengthExceeded = QSslError::PathLengthExceeded, InvalidPurpose = QSslError::InvalidPurpose, CertificateUntrusted = QSslError::CertificateUntrusted, CertificateRejected = QSslError::CertificateRejected, SubjectIssuerMismatch = QSslError::SubjectIssuerMismatch, AuthorityIssuerSerialNumberMismatch = QSslError::AuthorityIssuerSerialNumberMismatch, NoPeerCertificate = QSslError::NoPeerCertificate, HostNameMismatch = QSslError::HostNameMismatch, NoSslSupport = QSslError::NoSslSupport, CertificateBlacklisted = QSslError::CertificateBlacklisted, CertificateStatusUnknown = QSslError::CertificateStatusUnknown, OcspNoResponseFound = QSslError::OcspNoResponseFound, OcspMalformedRequest = QSslError::OcspMalformedRequest, OcspMalformedResponse = QSslError::OcspMalformedResponse, OcspInternalError = QSslError::OcspInternalError, OcspTryLater = QSslError::OcspTryLater, OcspSigRequred = QSslError::OcspSigRequred, OcspUnauthorized = QSslError::OcspUnauthorized, OcspResponseCannotBeTrusted = QSslError::OcspResponseCannotBeTrusted, OcspResponseCertIdUnknown = QSslError::OcspResponseCertIdUnknown, OcspResponseExpired = QSslError::OcspResponseExpired, OcspStatusUnknown = QSslError::OcspStatusUnknown, UnspecifiedError = QSslError::UnspecifiedError}; +public slots: +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; } + QSslCertificate certificate(QSslError* theWrappedObject) const; + QSslError::SslError error(QSslError* theWrappedObject) const; + QString errorString(QSslError* theWrappedObject) const; + bool __ne__(QSslError* theWrappedObject, const QSslError& other) const; + QSslError* operator_assign(QSslError* theWrappedObject, const QSslError& other); + bool __eq__(QSslError* theWrappedObject, const QSslError& other) const; + void swap(QSslError* theWrappedObject, QSslError& other); + QString py_toString(QSslError*); +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslKey : public QObject +{ Q_OBJECT +public: +public slots: +QSslKey* new_QSslKey(); +QSslKey* new_QSslKey(QIODevice* device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray& passPhrase = QByteArray()); +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; } + QSsl::KeyAlgorithm algorithm(QSslKey* theWrappedObject) const; + void clear(QSslKey* theWrappedObject); + Qt::HANDLE handle(QSslKey* theWrappedObject) const; + bool isNull(QSslKey* theWrappedObject) const; + int length(QSslKey* theWrappedObject) const; + bool __ne__(QSslKey* theWrappedObject, const QSslKey& key) const; + QSslKey* operator_assign(QSslKey* theWrappedObject, const QSslKey& other); + bool __eq__(QSslKey* theWrappedObject, const QSslKey& key) const; + void swap(QSslKey* theWrappedObject, QSslKey& other); + QByteArray toDer(QSslKey* theWrappedObject, const QByteArray& passPhrase = QByteArray()) const; + QByteArray toPem(QSslKey* theWrappedObject, const QByteArray& passPhrase = QByteArray()) const; + QSsl::KeyType type(QSslKey* theWrappedObject) const; + QString py_toString(QSslKey*); + bool __nonzero__(QSslKey* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslPreSharedKeyAuthenticator : public QObject +{ Q_OBJECT +public: +public slots: +QSslPreSharedKeyAuthenticator* new_QSslPreSharedKeyAuthenticator(); +QSslPreSharedKeyAuthenticator* new_QSslPreSharedKeyAuthenticator(const QSslPreSharedKeyAuthenticator& authenticator); +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); + bool __eq__(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& rhs); + QByteArray preSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject) const; + void setIdentity(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& identity); + void setPreSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& preSharedKey); + void swap(QSslPreSharedKeyAuthenticator* theWrappedObject, QSslPreSharedKeyAuthenticator& other); +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtShell_QSslSocket : public QSslSocket +{ +public: + 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 +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QSslSocket::atEnd(); } +inline qint64 py_q_bytesAvailable() const { return QSslSocket::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QSslSocket::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QSslSocket::canReadLine(); } +inline void py_q_close() { QSslSocket::close(); } +inline void py_q_connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) { QSslSocket::connectToHost(hostName, port, openMode, protocol); } +inline void py_q_disconnectFromHost() { QSslSocket::disconnectFromHost(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QSslSocket::readData(data, maxlen); } +inline void py_q_resume() { QSslSocket::resume(); } +inline void py_q_setReadBufferSize(qint64 size) { QSslSocket::setReadBufferSize(size); } +inline bool py_q_setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) { return QSslSocket::setSocketDescriptor(socketDescriptor, state, openMode); } +inline void py_q_setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) { QSslSocket::setSocketOption(option, value); } +inline QVariant py_q_socketOption(QAbstractSocket::SocketOption option) { return QSslSocket::socketOption(option); } +inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QSslSocket::waitForBytesWritten(msecs); } +inline bool py_q_waitForConnected(int msecs = 30000) { return QSslSocket::waitForConnected(msecs); } +inline bool py_q_waitForDisconnected(int msecs = 30000) { return QSslSocket::waitForDisconnected(msecs); } +inline bool py_q_waitForReadyRead(int msecs = 30000) { return QSslSocket::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QSslSocket::writeData(data, len); } +}; + +class PythonQtWrapper_QSslSocket : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PeerVerifyMode SslMode ) +enum PeerVerifyMode{ + VerifyNone = QSslSocket::VerifyNone, QueryPeer = QSslSocket::QueryPeer, VerifyPeer = QSslSocket::VerifyPeer, AutoVerifyPeer = QSslSocket::AutoVerifyPeer}; +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 abort(QSslSocket* theWrappedObject); + void addCaCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate); + void addCaCertificates(QSslSocket* theWrappedObject, const QList& certificates); + bool addCaCertificates(QSslSocket* theWrappedObject, const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); + void static_QSslSocket_addDefaultCaCertificate(const QSslCertificate& certificate); + void static_QSslSocket_addDefaultCaCertificates(const QList& certificates); + bool static_QSslSocket_addDefaultCaCertificates(const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); + bool py_q_atEnd(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_atEnd());} + qint64 py_q_bytesAvailable(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_bytesAvailable());} + qint64 py_q_bytesToWrite(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_bytesToWrite());} + QList caCertificates(QSslSocket* theWrappedObject) const; + bool py_q_canReadLine(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_canReadLine());} + QList ciphers(QSslSocket* theWrappedObject) const; + void py_q_close(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_close());} + void py_q_connectToHost(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_connectToHost(hostName, port, openMode, protocol));} + void connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); + void connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, const QString& sslPeerName, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); + QList static_QSslSocket_defaultCaCertificates(); + QList static_QSslSocket_defaultCiphers(); + void py_q_disconnectFromHost(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_disconnectFromHost());} + qint64 encryptedBytesAvailable(QSslSocket* theWrappedObject) const; + qint64 encryptedBytesToWrite(QSslSocket* theWrappedObject) const; + bool flush(QSslSocket* theWrappedObject); + void ignoreSslErrors(QSslSocket* theWrappedObject, const QList& errors); + bool isEncrypted(QSslSocket* theWrappedObject) const; + QSslCertificate localCertificate(QSslSocket* theWrappedObject) const; + QList localCertificateChain(QSslSocket* theWrappedObject) const; + QSslSocket::SslMode mode(QSslSocket* theWrappedObject) const; + QVector ocspResponses(QSslSocket* theWrappedObject) const; + QSslCertificate peerCertificate(QSslSocket* theWrappedObject) const; + QList peerCertificateChain(QSslSocket* theWrappedObject) const; + int peerVerifyDepth(QSslSocket* theWrappedObject) const; + QSslSocket::PeerVerifyMode peerVerifyMode(QSslSocket* theWrappedObject) const; + QString peerVerifyName(QSslSocket* theWrappedObject) const; + QSslKey privateKey(QSslSocket* theWrappedObject) const; + QSsl::SslProtocol protocol(QSslSocket* theWrappedObject) const; + qint64 py_q_readData(QSslSocket* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_readData(data, maxlen));} + void py_q_resume(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_resume());} + QSslCipher sessionCipher(QSslSocket* theWrappedObject) const; + QSsl::SslProtocol sessionProtocol(QSslSocket* theWrappedObject) const; + void setCaCertificates(QSslSocket* theWrappedObject, const QList& certificates); + void setCiphers(QSslSocket* theWrappedObject, const QList& ciphers); + void setCiphers(QSslSocket* theWrappedObject, const QString& ciphers); + void static_QSslSocket_setDefaultCaCertificates(const QList& certificates); + void static_QSslSocket_setDefaultCiphers(const QList& ciphers); + void setLocalCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate); + void setLocalCertificate(QSslSocket* theWrappedObject, const QString& fileName, QSsl::EncodingFormat format = QSsl::Pem); + void setLocalCertificateChain(QSslSocket* theWrappedObject, const QList& localChain); + void setPeerVerifyDepth(QSslSocket* theWrappedObject, int depth); + void setPeerVerifyMode(QSslSocket* theWrappedObject, QSslSocket::PeerVerifyMode mode); + void setPeerVerifyName(QSslSocket* theWrappedObject, const QString& hostName); + void setPrivateKey(QSslSocket* theWrappedObject, const QSslKey& key); + void setPrivateKey(QSslSocket* theWrappedObject, const QString& fileName, QSsl::KeyAlgorithm algorithm = QSsl::Rsa, QSsl::EncodingFormat format = QSsl::Pem, const QByteArray& passPhrase = QByteArray()); + void setProtocol(QSslSocket* theWrappedObject, QSsl::SslProtocol protocol); + void py_q_setReadBufferSize(QSslSocket* theWrappedObject, qint64 size){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setReadBufferSize(size));} + bool py_q_setSocketDescriptor(QSslSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setSocketDescriptor(socketDescriptor, state, openMode));} + void py_q_setSocketOption(QSslSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setSocketOption(option, value));} + void setSslConfiguration(QSslSocket* theWrappedObject, const QSslConfiguration& config); + QVariant py_q_socketOption(QSslSocket* theWrappedObject, QAbstractSocket::SocketOption option){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_socketOption(option));} + QSslConfiguration sslConfiguration(QSslSocket* theWrappedObject) const; + QList sslErrors(QSslSocket* theWrappedObject) const; + QList sslHandshakeErrors(QSslSocket* theWrappedObject) const; + long static_QSslSocket_sslLibraryBuildVersionNumber(); + QString static_QSslSocket_sslLibraryBuildVersionString(); + long static_QSslSocket_sslLibraryVersionNumber(); + QString static_QSslSocket_sslLibraryVersionString(); + QList static_QSslSocket_supportedCiphers(); + bool static_QSslSocket_supportsSsl(); + QList static_QSslSocket_systemCaCertificates(); + bool py_q_waitForBytesWritten(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool py_q_waitForConnected(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForConnected(msecs));} + bool py_q_waitForDisconnected(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForDisconnected(msecs));} + bool waitForEncrypted(QSslSocket* theWrappedObject, int msecs = 30000); + bool py_q_waitForReadyRead(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + qint64 py_q_writeData(QSslSocket* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_writeData(data, len));} + bool __nonzero__(QSslSocket* obj) { return obj->isValid(); } +}; + +#endif + + + + + +class PythonQtShell_QTcpServer : public QTcpServer +{ +public: + 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 +{ public: +inline void promoted_addPendingConnection(QTcpSocket* socket) { this->addPendingConnection(socket); } +inline void promoted_incomingConnection(qintptr handle) { this->incomingConnection(handle); } +inline bool py_q_hasPendingConnections() const { return QTcpServer::hasPendingConnections(); } +inline void py_q_incomingConnection(qintptr handle) { QTcpServer::incomingConnection(handle); } +inline QTcpSocket* py_q_nextPendingConnection() { return QTcpServer::nextPendingConnection(); } +}; + +class PythonQtWrapper_QTcpServer : public QObject +{ Q_OBJECT +public: +public slots: +QTcpServer* new_QTcpServer(QObject* parent = nullptr); +void delete_QTcpServer(QTcpServer* obj) { delete obj; } + void addPendingConnection(QTcpServer* theWrappedObject, QTcpSocket* socket); + void close(QTcpServer* theWrappedObject); + QString errorString(QTcpServer* theWrappedObject) const; + bool hasPendingConnections(QTcpServer* theWrappedObject) const; + bool py_q_hasPendingConnections(QTcpServer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_hasPendingConnections());} + void incomingConnection(QTcpServer* theWrappedObject, qintptr handle); + void py_q_incomingConnection(QTcpServer* theWrappedObject, qintptr handle){ (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_incomingConnection(handle));} + bool isListening(QTcpServer* theWrappedObject) const; + bool listen(QTcpServer* theWrappedObject, const QHostAddress& address = QHostAddress::Any, unsigned short port = 0); + int maxPendingConnections(QTcpServer* theWrappedObject) const; + QTcpSocket* nextPendingConnection(QTcpServer* theWrappedObject); + QTcpSocket* py_q_nextPendingConnection(QTcpServer* theWrappedObject){ return (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_nextPendingConnection());} + void pauseAccepting(QTcpServer* theWrappedObject); + QNetworkProxy proxy(QTcpServer* theWrappedObject) const; + void resumeAccepting(QTcpServer* theWrappedObject); + QHostAddress serverAddress(QTcpServer* theWrappedObject) const; + QAbstractSocket::SocketError serverError(QTcpServer* theWrappedObject) const; + unsigned short serverPort(QTcpServer* theWrappedObject) const; + void setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections); + void setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy); + bool setSocketDescriptor(QTcpServer* theWrappedObject, qintptr socketDescriptor); + qintptr socketDescriptor(QTcpServer* theWrappedObject) const; + bool waitForNewConnection(QTcpServer* theWrappedObject, int msec = 0, bool* timedOut = nullptr); +}; + + + + + +class PythonQtShell_QTcpSocket : public QTcpSocket +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QTcpSocket* new_QTcpSocket(QObject* parent = nullptr); +void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } + bool __nonzero__(QTcpSocket* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QUdpSocket : public QUdpSocket +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +QUdpSocket* new_QUdpSocket(QObject* parent = nullptr); +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); + bool leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress); + bool leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface); + QNetworkInterface multicastInterface(QUdpSocket* theWrappedObject) const; + qint64 pendingDatagramSize(QUdpSocket* theWrappedObject) const; + qint64 readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host = nullptr, unsigned short* port = nullptr); + QNetworkDatagram receiveDatagram(QUdpSocket* theWrappedObject, qint64 maxSize = -1); + void setMulticastInterface(QUdpSocket* theWrappedObject, const QNetworkInterface& iface); + qint64 writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port); + qint64 writeDatagram(QUdpSocket* theWrappedObject, const QNetworkDatagram& datagram); + bool __nonzero__(QUdpSocket* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QtNetwork : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QDtlsError QOcspCertificateStatus QOcspRevocationReason ) +enum class QDtlsError{ + NoError = static_cast(::QDtlsError::NoError), InvalidInputParameters = static_cast(::QDtlsError::InvalidInputParameters), InvalidOperation = static_cast(::QDtlsError::InvalidOperation), UnderlyingSocketError = static_cast(::QDtlsError::UnderlyingSocketError), RemoteClosedConnectionError = static_cast(::QDtlsError::RemoteClosedConnectionError), PeerVerificationError = static_cast(::QDtlsError::PeerVerificationError), TlsInitializationError = static_cast(::QDtlsError::TlsInitializationError), TlsFatalError = static_cast(::QDtlsError::TlsFatalError), TlsNonFatalError = static_cast(::QDtlsError::TlsNonFatalError)}; +enum class QOcspCertificateStatus{ + Good = static_cast(::QOcspCertificateStatus::Good), Revoked = static_cast(::QOcspCertificateStatus::Revoked), Unknown = static_cast(::QOcspCertificateStatus::Unknown)}; +enum class QOcspRevocationReason{ + None = static_cast(::QOcspRevocationReason::None), Unspecified = static_cast(::QOcspRevocationReason::Unspecified), KeyCompromise = static_cast(::QOcspRevocationReason::KeyCompromise), CACompromise = static_cast(::QOcspRevocationReason::CACompromise), AffiliationChanged = static_cast(::QOcspRevocationReason::AffiliationChanged), Superseded = static_cast(::QOcspRevocationReason::Superseded), CessationOfOperation = static_cast(::QOcspRevocationReason::CessationOfOperation), CertificateHold = static_cast(::QOcspRevocationReason::CertificateHold), RemoveFromCRL = static_cast(::QOcspRevocationReason::RemoveFromCRL)}; +public slots: +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp new file mode 100644 index 00000000..fd46f394 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp @@ -0,0 +1,117 @@ +#include +#include +#include "com_trolltech_qt_network0.h" +#include "com_trolltech_qt_network1.h" + + + +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, 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, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsServiceRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsTextRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QDtls::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QDtlsClientVerifier::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDtlsClientVerifier::GeneratorParameters", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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()->registerCPPClass("QHttp2Configuration", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QHttpMultiPart::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkSession::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QOcspResponse", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +#endif +#ifndef QT_NO_SSL +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, nullptr, module, 0); +#endif +#ifndef QT_NO_SSL +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("QSslDiffieHellmanParameters", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +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, nullptr, module, PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +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, nullptr, module, PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerClass(&QSslSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +#endif +PythonQt::priv()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerGlobalNamespace("QtNetwork", "QtNetwork", PythonQtCreateObject, PythonQtWrapper_QtNetwork::staticMetaObject, module); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsDomainNameRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsHostAddressRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsMailExchangeRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsServiceRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsTextRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QHostAddress); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkAddressEntry); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkConfiguration); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkCookie); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkInterface); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkProxy); +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCertificate); +#endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCertificateExtension); +#endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCipher); +#endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslError); +#endif +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QHstsPolicy); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QOcspResponse); +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QSslEllipticCurve); +#endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QSslError); +#endif +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri new file mode 100644 index 00000000..9ef686c4 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_opengl0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_opengl0.cpp \ + $$PWD/com_trolltech_qt_opengl_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp new file mode 100644 index 00000000..3c55bddb --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -0,0 +1,4566 @@ +#include "com_trolltech_qt_opengl0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QGLBuffer* PythonQtWrapper_QGLBuffer::new_QGLBuffer() +{ +return new QGLBuffer(); } + +QGLBuffer* PythonQtWrapper_QGLBuffer::new_QGLBuffer(QGLBuffer::Type type) +{ +return new QGLBuffer(type); } + +QGLBuffer* PythonQtWrapper_QGLBuffer::new_QGLBuffer(const QGLBuffer& other) +{ +return new QGLBuffer(other); } + +void PythonQtWrapper_QGLBuffer::allocate(QGLBuffer* theWrappedObject, const void* data, int count) +{ + ( theWrappedObject->allocate(data, count)); +} + +void PythonQtWrapper_QGLBuffer::allocate(QGLBuffer* theWrappedObject, int count) +{ + ( theWrappedObject->allocate(count)); +} + +bool PythonQtWrapper_QGLBuffer::bind(QGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +uint PythonQtWrapper_QGLBuffer::bufferId(QGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->bufferId()); +} + +bool PythonQtWrapper_QGLBuffer::create(QGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QGLBuffer::destroy(QGLBuffer* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QGLBuffer::isCreated(QGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +void* PythonQtWrapper_QGLBuffer::map(QGLBuffer* theWrappedObject, QGLBuffer::Access access) +{ + return ( theWrappedObject->map(access)); +} + +QGLBuffer* PythonQtWrapper_QGLBuffer::operator_assign(QGLBuffer* theWrappedObject, const QGLBuffer& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QGLBuffer::read(QGLBuffer* theWrappedObject, int offset, void* data, int count) +{ + return ( theWrappedObject->read(offset, data, count)); +} + +void PythonQtWrapper_QGLBuffer::release(QGLBuffer* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QGLBuffer::static_QGLBuffer_release(QGLBuffer::Type type) +{ + (QGLBuffer::release(type)); +} + +void PythonQtWrapper_QGLBuffer::setUsagePattern(QGLBuffer* theWrappedObject, QGLBuffer::UsagePattern value) +{ + ( theWrappedObject->setUsagePattern(value)); +} + +int PythonQtWrapper_QGLBuffer::size(QGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QGLBuffer::Type PythonQtWrapper_QGLBuffer::type(QGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +bool PythonQtWrapper_QGLBuffer::unmap(QGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->unmap()); +} + +QGLBuffer::UsagePattern PythonQtWrapper_QGLBuffer::usagePattern(QGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->usagePattern()); +} + +void PythonQtWrapper_QGLBuffer::write(QGLBuffer* theWrappedObject, int offset, const void* data, int count) +{ + ( theWrappedObject->write(offset, data, count)); +} + + + +PythonQtShell_QGLColormap::~PythonQtShell_QGLColormap() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap() +{ +return new PythonQtShell_QGLColormap(); } + +QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap(const QGLColormap& arg__1) +{ +return new PythonQtShell_QGLColormap(arg__1); } + +QColor PythonQtWrapper_QGLColormap::entryColor(QGLColormap* theWrappedObject, int idx) const +{ + return ( theWrappedObject->entryColor(idx)); +} + +unsigned int PythonQtWrapper_QGLColormap::entryRgb(QGLColormap* theWrappedObject, int idx) const +{ + return ( theWrappedObject->entryRgb(idx)); +} + +int PythonQtWrapper_QGLColormap::find(QGLColormap* theWrappedObject, unsigned int color) const +{ + return ( theWrappedObject->find(color)); +} + +int PythonQtWrapper_QGLColormap::findNearest(QGLColormap* theWrappedObject, unsigned int color) const +{ + return ( theWrappedObject->findNearest(color)); +} + +Qt::HANDLE PythonQtWrapper_QGLColormap::handle(QGLColormap* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QGLColormap*)theWrappedObject)->promoted_handle()); +} + +bool PythonQtWrapper_QGLColormap::isEmpty(QGLColormap* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color) +{ + ( theWrappedObject->setEntry(idx, color)); +} + +void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color) +{ + ( theWrappedObject->setEntry(idx, color)); +} + +void PythonQtWrapper_QGLColormap::setHandle(QGLColormap* theWrappedObject, Qt::HANDLE ahandle) +{ + ( ((PythonQtPublicPromoter_QGLColormap*)theWrappedObject)->promoted_setHandle(ahandle)); +} + +int PythonQtWrapper_QGLColormap::size(QGLColormap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +PythonQtShell_QGLContext::~PythonQtShell_QGLContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("chooseContext"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGLContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("chooseContext", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLContext::chooseContext(shareContext0); +} +bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGLContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLContext::create(shareContext0); +} +void PythonQtShell_QGLContext::doneCurrent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doneCurrent"); + 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(); + } + } +} + QGLContext::doneCurrent(); +} +void PythonQtShell_QGLContext::makeCurrent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("makeCurrent"); + 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(); + } + } +} + QGLContext::makeCurrent(); +} +void PythonQtShell_QGLContext::swapBuffers() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("swapBuffers"); + 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(); + } + } +} + QGLContext::swapBuffers(); +} +QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format) +{ +return new PythonQtShell_QGLContext(format); } + +QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format, QPaintDevice* device) +{ +return new PythonQtShell_QGLContext(format, device); } + +bool PythonQtWrapper_QGLContext::static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2) +{ + return (QGLContext::areSharing(context1, context2)); +} + +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format) +{ + return ( theWrappedObject->bindTexture(image, target, format)); +} + +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(image, target, format, options)); +} + +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format)); +} + +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format, options)); +} + +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->bindTexture(fileName)); +} + +bool PythonQtWrapper_QGLContext::chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext) +{ + return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_chooseContext(shareContext)); +} + +uint PythonQtWrapper_QGLContext::colorIndex(QGLContext* theWrappedObject, const QColor& c) const +{ + return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_colorIndex(c)); +} + +QOpenGLContext* PythonQtWrapper_QGLContext::contextHandle(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->contextHandle()); +} + +bool PythonQtWrapper_QGLContext::create(QGLContext* theWrappedObject, const QGLContext* shareContext) +{ + return ( theWrappedObject->create(shareContext)); +} + +const QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_currentContext() +{ + return (QGLContext::currentContext()); +} + +void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, uint tx_id) +{ + ( theWrappedObject->deleteTexture(tx_id)); +} + +QPaintDevice* PythonQtWrapper_QGLContext::device(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +bool PythonQtWrapper_QGLContext::deviceIsPixmap(QGLContext* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_deviceIsPixmap()); +} + +void PythonQtWrapper_QGLContext::doneCurrent(QGLContext* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFormat PythonQtWrapper_QGLContext::format(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_fromOpenGLContext(QOpenGLContext* platformContext) +{ + return (QGLContext::fromOpenGLContext(platformContext)); +} + +QGLFunctions* PythonQtWrapper_QGLContext::functions(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->functions()); +} + +bool PythonQtWrapper_QGLContext::initialized(QGLContext* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_initialized()); +} + +bool PythonQtWrapper_QGLContext::isSharing(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isSharing()); +} + +bool PythonQtWrapper_QGLContext::isValid(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QGLContext::makeCurrent(QGLContext* theWrappedObject) +{ + ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QGLContext::moveToThread(QGLContext* theWrappedObject, QThread* thread) +{ + ( theWrappedObject->moveToThread(thread)); +} + +QColor PythonQtWrapper_QGLContext::overlayTransparentColor(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->overlayTransparentColor()); +} + +QGLFormat PythonQtWrapper_QGLContext::requestedFormat(QGLContext* theWrappedObject) const +{ + return ( theWrappedObject->requestedFormat()); +} + +void PythonQtWrapper_QGLContext::reset(QGLContext* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QGLContext::setFormat(QGLContext* theWrappedObject, const QGLFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QGLContext::setInitialized(QGLContext* theWrappedObject, bool on) +{ + ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_setInitialized(on)); +} + +void PythonQtWrapper_QGLContext::static_QGLContext_setTextureCacheLimit(int size) +{ + (QGLContext::setTextureCacheLimit(size)); +} + +void PythonQtWrapper_QGLContext::setValid(QGLContext* theWrappedObject, bool valid) +{ + ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_setValid(valid)); +} + +void PythonQtWrapper_QGLContext::setWindowCreated(QGLContext* theWrappedObject, bool on) +{ + ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_setWindowCreated(on)); +} + +void PythonQtWrapper_QGLContext::swapBuffers(QGLContext* theWrappedObject) const +{ + ( theWrappedObject->swapBuffers()); +} + +int PythonQtWrapper_QGLContext::static_QGLContext_textureCacheLimit() +{ + return (QGLContext::textureCacheLimit()); +} + +bool PythonQtWrapper_QGLContext::windowCreated(QGLContext* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_windowCreated()); +} + + + +QGLFormat* PythonQtWrapper_QGLFormat::new_QGLFormat() +{ +return new QGLFormat(); } + +QGLFormat* PythonQtWrapper_QGLFormat::new_QGLFormat(QGL::FormatOptions options, int plane) +{ +return new QGLFormat(options, plane); } + +QGLFormat* PythonQtWrapper_QGLFormat::new_QGLFormat(const QGLFormat& other) +{ +return new QGLFormat(other); } + +bool PythonQtWrapper_QGLFormat::accum(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->accum()); +} + +int PythonQtWrapper_QGLFormat::accumBufferSize(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->accumBufferSize()); +} + +bool PythonQtWrapper_QGLFormat::alpha(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->alpha()); +} + +int PythonQtWrapper_QGLFormat::alphaBufferSize(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaBufferSize()); +} + +int PythonQtWrapper_QGLFormat::blueBufferSize(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->blueBufferSize()); +} + +QGLFormat PythonQtWrapper_QGLFormat::static_QGLFormat_defaultFormat() +{ + return (QGLFormat::defaultFormat()); +} + +QGLFormat PythonQtWrapper_QGLFormat::static_QGLFormat_defaultOverlayFormat() +{ + return (QGLFormat::defaultOverlayFormat()); +} + +bool PythonQtWrapper_QGLFormat::depth(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +int PythonQtWrapper_QGLFormat::depthBufferSize(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->depthBufferSize()); +} + +bool PythonQtWrapper_QGLFormat::directRendering(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->directRendering()); +} + +bool PythonQtWrapper_QGLFormat::doubleBuffer(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->doubleBuffer()); +} + +QGLFormat PythonQtWrapper_QGLFormat::static_QGLFormat_fromSurfaceFormat(const QSurfaceFormat& format) +{ + return (QGLFormat::fromSurfaceFormat(format)); +} + +int PythonQtWrapper_QGLFormat::greenBufferSize(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->greenBufferSize()); +} + +bool PythonQtWrapper_QGLFormat::static_QGLFormat_hasOpenGL() +{ + return (QGLFormat::hasOpenGL()); +} + +bool PythonQtWrapper_QGLFormat::static_QGLFormat_hasOpenGLOverlays() +{ + return (QGLFormat::hasOpenGLOverlays()); +} + +bool PythonQtWrapper_QGLFormat::hasOverlay(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->hasOverlay()); +} + +int PythonQtWrapper_QGLFormat::majorVersion(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->majorVersion()); +} + +int PythonQtWrapper_QGLFormat::minorVersion(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->minorVersion()); +} + +QGLFormat::OpenGLVersionFlags PythonQtWrapper_QGLFormat::static_QGLFormat_openGLVersionFlags() +{ + 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); +} + +int PythonQtWrapper_QGLFormat::plane(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->plane()); +} + +QGLFormat::OpenGLContextProfile PythonQtWrapper_QGLFormat::profile(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->profile()); +} + +int PythonQtWrapper_QGLFormat::redBufferSize(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->redBufferSize()); +} + +bool PythonQtWrapper_QGLFormat::rgba(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->rgba()); +} + +bool PythonQtWrapper_QGLFormat::sampleBuffers(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->sampleBuffers()); +} + +int PythonQtWrapper_QGLFormat::samples(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QGLFormat::setAccum(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAccum(enable)); +} + +void PythonQtWrapper_QGLFormat::setAccumBufferSize(QGLFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setAccumBufferSize(size)); +} + +void PythonQtWrapper_QGLFormat::setAlpha(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAlpha(enable)); +} + +void PythonQtWrapper_QGLFormat::setAlphaBufferSize(QGLFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setAlphaBufferSize(size)); +} + +void PythonQtWrapper_QGLFormat::setBlueBufferSize(QGLFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setBlueBufferSize(size)); +} + +void PythonQtWrapper_QGLFormat::static_QGLFormat_setDefaultFormat(const QGLFormat& f) +{ + (QGLFormat::setDefaultFormat(f)); +} + +void PythonQtWrapper_QGLFormat::static_QGLFormat_setDefaultOverlayFormat(const QGLFormat& f) +{ + (QGLFormat::setDefaultOverlayFormat(f)); +} + +void PythonQtWrapper_QGLFormat::setDepth(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDepth(enable)); +} + +void PythonQtWrapper_QGLFormat::setDepthBufferSize(QGLFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setDepthBufferSize(size)); +} + +void PythonQtWrapper_QGLFormat::setDirectRendering(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDirectRendering(enable)); +} + +void PythonQtWrapper_QGLFormat::setDoubleBuffer(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDoubleBuffer(enable)); +} + +void PythonQtWrapper_QGLFormat::setGreenBufferSize(QGLFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setGreenBufferSize(size)); +} + +void PythonQtWrapper_QGLFormat::setOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt) +{ + ( theWrappedObject->setOption(opt)); +} + +void PythonQtWrapper_QGLFormat::setOverlay(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setOverlay(enable)); +} + +void PythonQtWrapper_QGLFormat::setPlane(QGLFormat* theWrappedObject, int plane) +{ + ( theWrappedObject->setPlane(plane)); +} + +void PythonQtWrapper_QGLFormat::setProfile(QGLFormat* theWrappedObject, QGLFormat::OpenGLContextProfile profile) +{ + ( theWrappedObject->setProfile(profile)); +} + +void PythonQtWrapper_QGLFormat::setRedBufferSize(QGLFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setRedBufferSize(size)); +} + +void PythonQtWrapper_QGLFormat::setRgba(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setRgba(enable)); +} + +void PythonQtWrapper_QGLFormat::setSampleBuffers(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSampleBuffers(enable)); +} + +void PythonQtWrapper_QGLFormat::setSamples(QGLFormat* theWrappedObject, int numSamples) +{ + ( theWrappedObject->setSamples(numSamples)); +} + +void PythonQtWrapper_QGLFormat::setStencil(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setStencil(enable)); +} + +void PythonQtWrapper_QGLFormat::setStencilBufferSize(QGLFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setStencilBufferSize(size)); +} + +void PythonQtWrapper_QGLFormat::setStereo(QGLFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setStereo(enable)); +} + +void PythonQtWrapper_QGLFormat::setSwapInterval(QGLFormat* theWrappedObject, int interval) +{ + ( theWrappedObject->setSwapInterval(interval)); +} + +void PythonQtWrapper_QGLFormat::setVersion(QGLFormat* theWrappedObject, int major, int minor) +{ + ( theWrappedObject->setVersion(major, minor)); +} + +bool PythonQtWrapper_QGLFormat::stencil(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->stencil()); +} + +int PythonQtWrapper_QGLFormat::stencilBufferSize(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->stencilBufferSize()); +} + +bool PythonQtWrapper_QGLFormat::stereo(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->stereo()); +} + +int PythonQtWrapper_QGLFormat::swapInterval(QGLFormat* theWrappedObject) const +{ + return ( theWrappedObject->swapInterval()); +} + +bool PythonQtWrapper_QGLFormat::testOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt) const +{ + return ( theWrappedObject->testOption(opt)); +} + +QSurfaceFormat PythonQtWrapper_QGLFormat::static_QGLFormat_toSurfaceFormat(const QGLFormat& format) +{ + return (QGLFormat::toSurfaceFormat(format)); +} + +QString PythonQtWrapper_QGLFormat::py_toString(QGLFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QGLFramebufferObject::~PythonQtShell_QGLFramebufferObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QGLFramebufferObject::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 QGLFramebufferObject::devType(); +} +void PythonQtShell_QGLFramebufferObject::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(); + } + } +} + QGLFramebufferObject::initPainter(painter0); +} +int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLFramebufferObject::metric(metric0); +} +QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLFramebufferObject::paintEngine(); +} +QPaintDevice* PythonQtShell_QGLFramebufferObject::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 QGLFramebufferObject::redirected(offset0); +} +QPainter* PythonQtShell_QGLFramebufferObject::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 QGLFramebufferObject::sharedPainter(); +} +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, GLenum target) +{ +return new PythonQtShell_QGLFramebufferObject(size, target); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target, GLenum internal_format) +{ +return new PythonQtShell_QGLFramebufferObject(size, attachment, target, internal_format); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QGLFramebufferObject(size, format); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, GLenum target) +{ +return new PythonQtShell_QGLFramebufferObject(width, height, target); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target, GLenum internal_format) +{ +return new PythonQtShell_QGLFramebufferObject(width, height, attachment, target, internal_format); } + +QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QGLFramebufferObject(width, height, format); } + +QGLFramebufferObject::Attachment PythonQtWrapper_QGLFramebufferObject::attachment(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +bool PythonQtWrapper_QGLFramebufferObject::bind(QGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_bindDefault() +{ + return (QGLFramebufferObject::bindDefault()); +} + +void PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_blitFramebuffer(QGLFramebufferObject* target, const QRect& targetRect, QGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) +{ + (QGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); +} + +void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFramebufferObjectFormat PythonQtWrapper_QGLFramebufferObject::format(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +uint PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_hasOpenGLFramebufferBlit() +{ + return (QGLFramebufferObject::hasOpenGLFramebufferBlit()); +} + +bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_hasOpenGLFramebufferObjects() +{ + return (QGLFramebufferObject::hasOpenGLFramebufferObjects()); +} + +bool PythonQtWrapper_QGLFramebufferObject::isBound(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isBound()); +} + +bool PythonQtWrapper_QGLFramebufferObject::isValid(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QGLFramebufferObject::release(QGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->release()); +} + +QSize PythonQtWrapper_QGLFramebufferObject::size(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +uint PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + +QImage PythonQtWrapper_QGLFramebufferObject::toImage(QGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + + + +QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::new_QGLFramebufferObjectFormat() +{ +return new QGLFramebufferObjectFormat(); } + +QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other) +{ +return new QGLFramebufferObjectFormat(other); } + +QGLFramebufferObject::Attachment PythonQtWrapper_QGLFramebufferObjectFormat::attachment(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +GLenum PythonQtWrapper_QGLFramebufferObjectFormat::internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->internalTextureFormat()); +} + +bool PythonQtWrapper_QGLFramebufferObjectFormat::mipmap(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->mipmap()); +} + +bool PythonQtWrapper_QGLFramebufferObjectFormat::__ne__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::operator_assign(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QGLFramebufferObjectFormat::__eq__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QGLFramebufferObjectFormat::samples(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setAttachment(QGLFramebufferObjectFormat* theWrappedObject, QGLFramebufferObject::Attachment attachment) +{ + ( theWrappedObject->setAttachment(attachment)); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setInternalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) +{ + ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setMipmap(QGLFramebufferObjectFormat* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setMipmap(enabled)); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setSamples(QGLFramebufferObjectFormat* theWrappedObject, int samples) +{ + ( theWrappedObject->setSamples(samples)); +} + +void PythonQtWrapper_QGLFramebufferObjectFormat::setTextureTarget(QGLFramebufferObjectFormat* theWrappedObject, GLenum target) +{ + ( theWrappedObject->setTextureTarget(target)); +} + +GLenum PythonQtWrapper_QGLFramebufferObjectFormat::textureTarget(QGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->textureTarget()); +} + + + +QGLFunctions* PythonQtWrapper_QGLFunctions::new_QGLFunctions() +{ +return new QGLFunctions(); } + +QGLFunctions* PythonQtWrapper_QGLFunctions::new_QGLFunctions(const QGLContext* context) +{ +return new QGLFunctions(context); } + +void PythonQtWrapper_QGLFunctions::glActiveTexture(QGLFunctions* theWrappedObject, GLenum texture) +{ + ( theWrappedObject->glActiveTexture(texture)); +} + +void PythonQtWrapper_QGLFunctions::glAttachShader(QGLFunctions* theWrappedObject, uint program, uint shader) +{ + ( theWrappedObject->glAttachShader(program, shader)); +} + +void PythonQtWrapper_QGLFunctions::glBindAttribLocation(QGLFunctions* theWrappedObject, uint program, uint index, const char* name) +{ + ( theWrappedObject->glBindAttribLocation(program, index, name)); +} + +void PythonQtWrapper_QGLFunctions::glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, uint buffer) +{ + ( theWrappedObject->glBindBuffer(target, buffer)); +} + +void PythonQtWrapper_QGLFunctions::glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, uint framebuffer) +{ + ( theWrappedObject->glBindFramebuffer(target, framebuffer)); +} + +void PythonQtWrapper_QGLFunctions::glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, uint renderbuffer) +{ + ( theWrappedObject->glBindRenderbuffer(target, renderbuffer)); +} + +void PythonQtWrapper_QGLFunctions::glBlendColor(QGLFunctions* theWrappedObject, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) +{ + ( theWrappedObject->glBlendColor(red, green, blue, alpha)); +} + +void PythonQtWrapper_QGLFunctions::glBlendEquation(QGLFunctions* theWrappedObject, GLenum mode) +{ + ( theWrappedObject->glBlendEquation(mode)); +} + +void PythonQtWrapper_QGLFunctions::glBlendEquationSeparate(QGLFunctions* theWrappedObject, GLenum modeRGB, GLenum modeAlpha) +{ + ( theWrappedObject->glBlendEquationSeparate(modeRGB, modeAlpha)); +} + +void PythonQtWrapper_QGLFunctions::glBlendFuncSeparate(QGLFunctions* theWrappedObject, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) +{ + ( theWrappedObject->glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha)); +} + +GLenum PythonQtWrapper_QGLFunctions::glCheckFramebufferStatus(QGLFunctions* theWrappedObject, GLenum target) +{ + return ( theWrappedObject->glCheckFramebufferStatus(target)); +} + +void PythonQtWrapper_QGLFunctions::glClearDepthf(QGLFunctions* theWrappedObject, GLclampf depth) +{ + ( theWrappedObject->glClearDepthf(depth)); +} + +void PythonQtWrapper_QGLFunctions::glCompileShader(QGLFunctions* theWrappedObject, uint shader) +{ + ( theWrappedObject->glCompileShader(shader)); +} + +void PythonQtWrapper_QGLFunctions::glCompressedTexImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) +{ + ( theWrappedObject->glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)); +} + +void PythonQtWrapper_QGLFunctions::glCompressedTexSubImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) +{ + ( theWrappedObject->glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)); +} + +uint PythonQtWrapper_QGLFunctions::glCreateProgram(QGLFunctions* theWrappedObject) +{ + return ( theWrappedObject->glCreateProgram()); +} + +uint PythonQtWrapper_QGLFunctions::glCreateShader(QGLFunctions* theWrappedObject, GLenum type) +{ + return ( theWrappedObject->glCreateShader(type)); +} + +void PythonQtWrapper_QGLFunctions::glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* buffers) +{ + ( theWrappedObject->glDeleteBuffers(n, buffers)); +} + +void PythonQtWrapper_QGLFunctions::glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* framebuffers) +{ + ( theWrappedObject->glDeleteFramebuffers(n, framebuffers)); +} + +void PythonQtWrapper_QGLFunctions::glDeleteProgram(QGLFunctions* theWrappedObject, uint program) +{ + ( theWrappedObject->glDeleteProgram(program)); +} + +void PythonQtWrapper_QGLFunctions::glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* renderbuffers) +{ + ( theWrappedObject->glDeleteRenderbuffers(n, renderbuffers)); +} + +void PythonQtWrapper_QGLFunctions::glDeleteShader(QGLFunctions* theWrappedObject, uint shader) +{ + ( theWrappedObject->glDeleteShader(shader)); +} + +void PythonQtWrapper_QGLFunctions::glDepthRangef(QGLFunctions* theWrappedObject, GLclampf zNear, GLclampf zFar) +{ + ( theWrappedObject->glDepthRangef(zNear, zFar)); +} + +void PythonQtWrapper_QGLFunctions::glDetachShader(QGLFunctions* theWrappedObject, uint program, uint shader) +{ + ( theWrappedObject->glDetachShader(program, shader)); +} + +void PythonQtWrapper_QGLFunctions::glDisableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) +{ + ( theWrappedObject->glDisableVertexAttribArray(index)); +} + +void PythonQtWrapper_QGLFunctions::glEnableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) +{ + ( theWrappedObject->glEnableVertexAttribArray(index)); +} + +void PythonQtWrapper_QGLFunctions::glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, uint renderbuffer) +{ + ( theWrappedObject->glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)); +} + +void PythonQtWrapper_QGLFunctions::glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, uint texture, GLint level) +{ + ( theWrappedObject->glFramebufferTexture2D(target, attachment, textarget, texture, level)); +} + +void PythonQtWrapper_QGLFunctions::glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* buffers) +{ + ( theWrappedObject->glGenBuffers(n, buffers)); +} + +void PythonQtWrapper_QGLFunctions::glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* framebuffers) +{ + ( theWrappedObject->glGenFramebuffers(n, framebuffers)); +} + +void PythonQtWrapper_QGLFunctions::glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* renderbuffers) +{ + ( theWrappedObject->glGenRenderbuffers(n, renderbuffers)); +} + +void PythonQtWrapper_QGLFunctions::glGenerateMipmap(QGLFunctions* theWrappedObject, GLenum target) +{ + ( theWrappedObject->glGenerateMipmap(target)); +} + +void PythonQtWrapper_QGLFunctions::glGetActiveAttrib(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) +{ + ( theWrappedObject->glGetActiveAttrib(program, index, bufsize, length, size, type, name)); +} + +void PythonQtWrapper_QGLFunctions::glGetActiveUniform(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) +{ + ( theWrappedObject->glGetActiveUniform(program, index, bufsize, length, size, type, name)); +} + +void PythonQtWrapper_QGLFunctions::glGetAttachedShaders(QGLFunctions* theWrappedObject, uint program, GLsizei maxcount, GLsizei* count, uint* shaders) +{ + ( theWrappedObject->glGetAttachedShaders(program, maxcount, count, shaders)); +} + +int PythonQtWrapper_QGLFunctions::glGetAttribLocation(QGLFunctions* theWrappedObject, uint program, const char* name) +{ + return ( theWrappedObject->glGetAttribLocation(program, name)); +} + +void PythonQtWrapper_QGLFunctions::glGetBufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params) +{ + ( theWrappedObject->glGetBufferParameteriv(target, pname, params)); +} + +void PythonQtWrapper_QGLFunctions::glGetFramebufferAttachmentParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum pname, GLint* params) +{ + ( theWrappedObject->glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)); +} + +void PythonQtWrapper_QGLFunctions::glGetProgramInfoLog(QGLFunctions* theWrappedObject, uint program, GLsizei bufsize, GLsizei* length, char* infolog) +{ + ( theWrappedObject->glGetProgramInfoLog(program, bufsize, length, infolog)); +} + +void PythonQtWrapper_QGLFunctions::glGetProgramiv(QGLFunctions* theWrappedObject, uint program, GLenum pname, GLint* params) +{ + ( theWrappedObject->glGetProgramiv(program, pname, params)); +} + +void PythonQtWrapper_QGLFunctions::glGetRenderbufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params) +{ + ( theWrappedObject->glGetRenderbufferParameteriv(target, pname, params)); +} + +void PythonQtWrapper_QGLFunctions::glGetShaderInfoLog(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* infolog) +{ + ( theWrappedObject->glGetShaderInfoLog(shader, bufsize, length, infolog)); +} + +void PythonQtWrapper_QGLFunctions::glGetShaderPrecisionFormat(QGLFunctions* theWrappedObject, GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) +{ + ( theWrappedObject->glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision)); +} + +void PythonQtWrapper_QGLFunctions::glGetShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* source) +{ + ( theWrappedObject->glGetShaderSource(shader, bufsize, length, source)); +} + +void PythonQtWrapper_QGLFunctions::glGetShaderiv(QGLFunctions* theWrappedObject, uint shader, GLenum pname, GLint* params) +{ + ( theWrappedObject->glGetShaderiv(shader, pname, params)); +} + +int PythonQtWrapper_QGLFunctions::glGetUniformLocation(QGLFunctions* theWrappedObject, uint program, const char* name) +{ + return ( theWrappedObject->glGetUniformLocation(program, name)); +} + +void PythonQtWrapper_QGLFunctions::glGetUniformfv(QGLFunctions* theWrappedObject, uint program, GLint location, GLfloat* params) +{ + ( theWrappedObject->glGetUniformfv(program, location, params)); +} + +void PythonQtWrapper_QGLFunctions::glGetUniformiv(QGLFunctions* theWrappedObject, uint program, GLint location, GLint* params) +{ + ( theWrappedObject->glGetUniformiv(program, location, params)); +} + +void PythonQtWrapper_QGLFunctions::glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, uint index, GLenum pname, void** pointer) +{ + ( theWrappedObject->glGetVertexAttribPointerv(index, pname, pointer)); +} + +void PythonQtWrapper_QGLFunctions::glGetVertexAttribfv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLfloat* params) +{ + ( theWrappedObject->glGetVertexAttribfv(index, pname, params)); +} + +void PythonQtWrapper_QGLFunctions::glGetVertexAttribiv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLint* params) +{ + ( theWrappedObject->glGetVertexAttribiv(index, pname, params)); +} + +GLboolean PythonQtWrapper_QGLFunctions::glIsBuffer(QGLFunctions* theWrappedObject, uint buffer) +{ + return ( theWrappedObject->glIsBuffer(buffer)); +} + +GLboolean PythonQtWrapper_QGLFunctions::glIsFramebuffer(QGLFunctions* theWrappedObject, uint framebuffer) +{ + return ( theWrappedObject->glIsFramebuffer(framebuffer)); +} + +GLboolean PythonQtWrapper_QGLFunctions::glIsProgram(QGLFunctions* theWrappedObject, uint program) +{ + return ( theWrappedObject->glIsProgram(program)); +} + +GLboolean PythonQtWrapper_QGLFunctions::glIsRenderbuffer(QGLFunctions* theWrappedObject, uint renderbuffer) +{ + return ( theWrappedObject->glIsRenderbuffer(renderbuffer)); +} + +GLboolean PythonQtWrapper_QGLFunctions::glIsShader(QGLFunctions* theWrappedObject, uint shader) +{ + return ( theWrappedObject->glIsShader(shader)); +} + +void PythonQtWrapper_QGLFunctions::glLinkProgram(QGLFunctions* theWrappedObject, uint program) +{ + ( theWrappedObject->glLinkProgram(program)); +} + +void PythonQtWrapper_QGLFunctions::glReleaseShaderCompiler(QGLFunctions* theWrappedObject) +{ + ( theWrappedObject->glReleaseShaderCompiler()); +} + +void PythonQtWrapper_QGLFunctions::glRenderbufferStorage(QGLFunctions* theWrappedObject, GLenum target, GLenum internalformat, GLsizei width, GLsizei height) +{ + ( theWrappedObject->glRenderbufferStorage(target, internalformat, width, height)); +} + +void PythonQtWrapper_QGLFunctions::glSampleCoverage(QGLFunctions* theWrappedObject, GLclampf value, GLboolean invert) +{ + ( theWrappedObject->glSampleCoverage(value, invert)); +} + +void PythonQtWrapper_QGLFunctions::glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const uint* shaders, GLenum binaryformat, const void* binary, GLint length) +{ + ( theWrappedObject->glShaderBinary(n, shaders, binaryformat, binary, length)); +} + +void PythonQtWrapper_QGLFunctions::glShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei count, const char** string, const GLint* length) +{ + ( theWrappedObject->glShaderSource(shader, count, string, length)); +} + +void PythonQtWrapper_QGLFunctions::glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, uint mask) +{ + ( theWrappedObject->glStencilFuncSeparate(face, func, ref, mask)); +} + +void PythonQtWrapper_QGLFunctions::glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, uint mask) +{ + ( theWrappedObject->glStencilMaskSeparate(face, mask)); +} + +void PythonQtWrapper_QGLFunctions::glStencilOpSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum fail, GLenum zfail, GLenum zpass) +{ + ( theWrappedObject->glStencilOpSeparate(face, fail, zfail, zpass)); +} + +void PythonQtWrapper_QGLFunctions::glUniform1f(QGLFunctions* theWrappedObject, GLint location, GLfloat x) +{ + ( theWrappedObject->glUniform1f(location, x)); +} + +void PythonQtWrapper_QGLFunctions::glUniform1fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) +{ + ( theWrappedObject->glUniform1fv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniform1i(QGLFunctions* theWrappedObject, GLint location, GLint x) +{ + ( theWrappedObject->glUniform1i(location, x)); +} + +void PythonQtWrapper_QGLFunctions::glUniform1iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) +{ + ( theWrappedObject->glUniform1iv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniform2f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y) +{ + ( theWrappedObject->glUniform2f(location, x, y)); +} + +void PythonQtWrapper_QGLFunctions::glUniform2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) +{ + ( theWrappedObject->glUniform2fv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniform2i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y) +{ + ( theWrappedObject->glUniform2i(location, x, y)); +} + +void PythonQtWrapper_QGLFunctions::glUniform2iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) +{ + ( theWrappedObject->glUniform2iv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniform3f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->glUniform3f(location, x, y, z)); +} + +void PythonQtWrapper_QGLFunctions::glUniform3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) +{ + ( theWrappedObject->glUniform3fv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniform3i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z) +{ + ( theWrappedObject->glUniform3i(location, x, y, z)); +} + +void PythonQtWrapper_QGLFunctions::glUniform3iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) +{ + ( theWrappedObject->glUniform3iv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniform4f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->glUniform4f(location, x, y, z, w)); +} + +void PythonQtWrapper_QGLFunctions::glUniform4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) +{ + ( theWrappedObject->glUniform4fv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniform4i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z, GLint w) +{ + ( theWrappedObject->glUniform4i(location, x, y, z, w)); +} + +void PythonQtWrapper_QGLFunctions::glUniform4iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) +{ + ( theWrappedObject->glUniform4iv(location, count, v)); +} + +void PythonQtWrapper_QGLFunctions::glUniformMatrix2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) +{ + ( theWrappedObject->glUniformMatrix2fv(location, count, transpose, value)); +} + +void PythonQtWrapper_QGLFunctions::glUniformMatrix3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) +{ + ( theWrappedObject->glUniformMatrix3fv(location, count, transpose, value)); +} + +void PythonQtWrapper_QGLFunctions::glUniformMatrix4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) +{ + ( theWrappedObject->glUniformMatrix4fv(location, count, transpose, value)); +} + +void PythonQtWrapper_QGLFunctions::glUseProgram(QGLFunctions* theWrappedObject, uint program) +{ + ( theWrappedObject->glUseProgram(program)); +} + +void PythonQtWrapper_QGLFunctions::glValidateProgram(QGLFunctions* theWrappedObject, uint program) +{ + ( theWrappedObject->glValidateProgram(program)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib1f(QGLFunctions* theWrappedObject, uint indx, GLfloat x) +{ + ( theWrappedObject->glVertexAttrib1f(indx, x)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib1fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) +{ + ( theWrappedObject->glVertexAttrib1fv(indx, values)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib2f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y) +{ + ( theWrappedObject->glVertexAttrib2f(indx, x, y)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib2fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) +{ + ( theWrappedObject->glVertexAttrib2fv(indx, values)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib3f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->glVertexAttrib3f(indx, x, y, z)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib3fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) +{ + ( theWrappedObject->glVertexAttrib3fv(indx, values)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib4f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->glVertexAttrib4f(indx, x, y, z, w)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttrib4fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) +{ + ( theWrappedObject->glVertexAttrib4fv(indx, values)); +} + +void PythonQtWrapper_QGLFunctions::glVertexAttribPointer(QGLFunctions* theWrappedObject, uint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) +{ + ( theWrappedObject->glVertexAttribPointer(indx, size, type, normalized, stride, ptr)); +} + +bool PythonQtWrapper_QGLFunctions::hasOpenGLFeature(QGLFunctions* theWrappedObject, QGLFunctions::OpenGLFeature feature) const +{ + return ( theWrappedObject->hasOpenGLFeature(feature)); +} + +void PythonQtWrapper_QGLFunctions::initializeGLFunctions(QGLFunctions* theWrappedObject, const QGLContext* context) +{ + ( theWrappedObject->initializeGLFunctions(context)); +} + +QGLFunctions::OpenGLFeatures PythonQtWrapper_QGLFunctions::openGLFeatures(QGLFunctions* theWrappedObject) const +{ + return ( theWrappedObject->openGLFeatures()); +} + + + +PythonQtShell_QGLPixelBuffer::~PythonQtShell_QGLPixelBuffer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QGLPixelBuffer::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 QGLPixelBuffer::devType(); +} +void PythonQtShell_QGLPixelBuffer::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(); + } + } +} + QGLPixelBuffer::initPainter(painter0); +} +int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLPixelBuffer::metric(metric0); +} +QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLPixelBuffer::paintEngine(); +} +QPaintDevice* PythonQtShell_QGLPixelBuffer::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 QGLPixelBuffer::redirected(offset0); +} +QPainter* PythonQtShell_QGLPixelBuffer::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 QGLPixelBuffer::sharedPainter(); +} +QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(const QSize& size, const QGLFormat& format, QGLWidget* shareWidget) +{ +return new PythonQtShell_QGLPixelBuffer(size, format, shareWidget); } + +QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(int width, int height, const QGLFormat& format, QGLWidget* shareWidget) +{ +return new PythonQtShell_QGLPixelBuffer(width, height, format, shareWidget); } + +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target) +{ + return ( theWrappedObject->bindTexture(image, target)); +} + +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target) +{ + return ( theWrappedObject->bindTexture(pixmap, target)); +} + +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->bindTexture(fileName)); +} + +bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture) +{ + return ( theWrappedObject->bindToDynamicTexture(texture)); +} + +QGLContext* PythonQtWrapper_QGLPixelBuffer::context(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) +{ + ( theWrappedObject->deleteTexture(texture_id)); +} + +bool PythonQtWrapper_QGLPixelBuffer::doneCurrent(QGLPixelBuffer* theWrappedObject) +{ + return ( theWrappedObject->doneCurrent()); +} + +void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFormat PythonQtWrapper_QGLPixelBuffer::format(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +uint PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->generateDynamicTexture()); +} + +Qt::HANDLE PythonQtWrapper_QGLPixelBuffer::handle(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QGLPixelBuffer::static_QGLPixelBuffer_hasOpenGLPbuffers() +{ + return (QGLPixelBuffer::hasOpenGLPbuffers()); +} + +bool PythonQtWrapper_QGLPixelBuffer::isValid(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QGLPixelBuffer::makeCurrent(QGLPixelBuffer* theWrappedObject) +{ + return ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QGLPixelBuffer::releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject) +{ + ( theWrappedObject->releaseFromDynamicTexture()); +} + +QSize PythonQtWrapper_QGLPixelBuffer::size(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QImage PythonQtWrapper_QGLPixelBuffer::toImage(QGLPixelBuffer* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + +void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const +{ + ( theWrappedObject->updateDynamicTexture(texture_id)); +} + + + +PythonQtShell_QGLShader::~PythonQtShell_QGLShader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGLShader::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(); + } + } +} + QGLShader::childEvent(event0); +} +void PythonQtShell_QGLShader::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(); + } + } +} + QGLShader::customEvent(event0); +} +bool PythonQtShell_QGLShader::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 QGLShader::event(event0); +} +bool PythonQtShell_QGLShader::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 QGLShader::eventFilter(watched0, event1); +} +void PythonQtShell_QGLShader::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(); + } + } +} + QGLShader::timerEvent(event0); +} +QGLShader* PythonQtWrapper_QGLShader::new_QGLShader(QGLShader::ShaderType type, QObject* parent) +{ +return new PythonQtShell_QGLShader(type, parent); } + +QGLShader* PythonQtWrapper_QGLShader::new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent) +{ +return new PythonQtShell_QGLShader(type, context, parent); } + +const QMetaObject* PythonQtShell_QGLShader::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGLShader::staticMetaObject); + } else { + return &QGLShader::staticMetaObject; + } +} +int PythonQtShell_QGLShader::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGLShader::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const QString& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const char* source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QGLShader::compileSourceFile(QGLShader* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->compileSourceFile(fileName)); +} + +bool PythonQtWrapper_QGLShader::static_QGLShader_hasOpenGLShaders(QGLShader::ShaderType type, const QGLContext* context) +{ + return (QGLShader::hasOpenGLShaders(type, context)); +} + +bool PythonQtWrapper_QGLShader::isCompiled(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->isCompiled()); +} + +QString PythonQtWrapper_QGLShader::log(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +uint PythonQtWrapper_QGLShader::shaderId(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderId()); +} + +QGLShader::ShaderType PythonQtWrapper_QGLShader::shaderType(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderType()); +} + +QByteArray PythonQtWrapper_QGLShader::sourceCode(QGLShader* theWrappedObject) const +{ + return ( theWrappedObject->sourceCode()); +} + + + +PythonQtShell_QGLShaderProgram::~PythonQtShell_QGLShaderProgram() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGLShaderProgram::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(); + } + } +} + QGLShaderProgram::childEvent(event0); +} +void PythonQtShell_QGLShaderProgram::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(); + } + } +} + QGLShaderProgram::customEvent(event0); +} +bool PythonQtShell_QGLShaderProgram::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 QGLShaderProgram::event(event0); +} +bool PythonQtShell_QGLShaderProgram::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 QGLShaderProgram::eventFilter(watched0, event1); +} +bool PythonQtShell_QGLShaderProgram::link() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("link"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLShaderProgram::link(); +} +void PythonQtShell_QGLShaderProgram::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(); + } + } +} + QGLShaderProgram::timerEvent(event0); +} +QGLShaderProgram* PythonQtWrapper_QGLShaderProgram::new_QGLShaderProgram(QObject* parent) +{ +return new PythonQtShell_QGLShaderProgram(parent); } + +QGLShaderProgram* PythonQtWrapper_QGLShaderProgram::new_QGLShaderProgram(const QGLContext* context, QObject* parent) +{ +return new PythonQtShell_QGLShaderProgram(context, parent); } + +const QMetaObject* PythonQtShell_QGLShaderProgram::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGLShaderProgram::staticMetaObject); + } else { + return &QGLShaderProgram::staticMetaObject; + } +} +int PythonQtShell_QGLShaderProgram::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGLShaderProgram::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QGLShaderProgram::addShader(QGLShaderProgram* theWrappedObject, QGLShader* shader) +{ + return ( theWrappedObject->addShader(shader)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QByteArray& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const char* source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceFile(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& fileName) +{ + return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); +} + +int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +bool PythonQtWrapper_QGLShaderProgram::bind(QGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QString& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const char* name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QGLShaderProgram::disableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->disableAttributeArray(name)); +} + +void PythonQtWrapper_QGLShaderProgram::disableAttributeArray(QGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->disableAttributeArray(location)); +} + +void PythonQtWrapper_QGLShaderProgram::enableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->enableAttributeArray(name)); +} + +void PythonQtWrapper_QGLShaderProgram::enableAttributeArray(QGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->enableAttributeArray(location)); +} + +GLenum PythonQtWrapper_QGLShaderProgram::geometryInputType(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->geometryInputType()); +} + +GLenum PythonQtWrapper_QGLShaderProgram::geometryOutputType(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->geometryOutputType()); +} + +int PythonQtWrapper_QGLShaderProgram::geometryOutputVertexCount(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->geometryOutputVertexCount()); +} + +bool PythonQtWrapper_QGLShaderProgram::static_QGLShaderProgram_hasOpenGLShaderPrograms(const QGLContext* context) +{ + return (QGLShaderProgram::hasOpenGLShaderPrograms(context)); +} + +bool PythonQtWrapper_QGLShaderProgram::isLinked(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->isLinked()); +} + +bool PythonQtWrapper_QGLShaderProgram::link(QGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->link()); +} + +QString PythonQtWrapper_QGLShaderProgram::log(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +int PythonQtWrapper_QGLShaderProgram::maxGeometryOutputVertices(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->maxGeometryOutputVertices()); +} + +uint PythonQtWrapper_QGLShaderProgram::programId(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->programId()); +} + +void PythonQtWrapper_QGLShaderProgram::release(QGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QGLShaderProgram::removeAllShaders(QGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->removeAllShaders()); +} + +void PythonQtWrapper_QGLShaderProgram::removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader) +{ + ( theWrappedObject->removeShader(shader)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeBuffer(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeBuffer(QGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setAttributeValue(name, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(name, values, columns, rows)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setAttributeValue(location, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(location, values, columns, rows)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setGeometryInputType(QGLShaderProgram* theWrappedObject, GLenum inputType) +{ + ( theWrappedObject->setGeometryInputType(inputType)); +} + +void PythonQtWrapper_QGLShaderProgram::setGeometryOutputType(QGLShaderProgram* theWrappedObject, GLenum outputType) +{ + ( theWrappedObject->setGeometryOutputType(outputType)); +} + +void PythonQtWrapper_QGLShaderProgram::setGeometryOutputVertexCount(QGLShaderProgram* theWrappedObject, int count) +{ + ( theWrappedObject->setGeometryOutputVertexCount(count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setUniformValue(name, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(name, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setUniformValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLint value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& color) +{ + ( theWrappedObject->setUniformValue(name, color)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSize& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, uint value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setUniformValue(location, x, y)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(location, x, y, z)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setUniformValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLint value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QColor& color) +{ + ( theWrappedObject->setUniformValue(location, color)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSize& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, uint value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const uint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const uint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +QList PythonQtWrapper_QGLShaderProgram::shaders(QGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->shaders()); +} + +int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + + + +PythonQtShell_QGLWidget::~PythonQtShell_QGLWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGLWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QGLWidget::actionEvent(event0); +} +void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::changeEvent(arg__1); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::childEvent(event0); +} +void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QGLWidget::closeEvent(event0); +} +void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QGLWidget::contextMenuEvent(event0); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::customEvent(event0); +} +int PythonQtShell_QGLWidget::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 QGLWidget::devType(); +} +void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QGLWidget::dragEnterEvent(event0); +} +void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QGLWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QGLWidget::dragMoveEvent(event0); +} +void PythonQtShell_QGLWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QGLWidget::dropEvent(event0); +} +void PythonQtShell_QGLWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QGLWidget::enterEvent(event0); +} +bool PythonQtShell_QGLWidget::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::event(arg__1); +} +bool PythonQtShell_QGLWidget::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 QGLWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::focusInEvent(event0); +} +bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::focusOutEvent(event0); +} +void PythonQtShell_QGLWidget::glDraw() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("glDraw"); + 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(); + } + } +} + QGLWidget::glDraw(); +} +void PythonQtShell_QGLWidget::glInit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("glInit"); + 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(); + } + } +} + QGLWidget::glInit(); +} +bool PythonQtShell_QGLWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::hasHeightForWidth(); +} +int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::heightForWidth(arg__1); +} +void PythonQtShell_QGLWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::hideEvent(event0); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::initPainter(painter0); +} +void PythonQtShell_QGLWidget::initializeGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeGL"); + 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(); + } + } +} + QGLWidget::initializeGL(); +} +void PythonQtShell_QGLWidget::initializeOverlayGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeOverlayGL"); + 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(); + } + } +} + QGLWidget::initializeOverlayGL(); +} +void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::keyPressEvent(event0); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QGLWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QGLWidget::leaveEvent(event0); +} +int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::metric(arg__1); +} +QSize PythonQtShell_QGLWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::minimumSizeHint(); +} +void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGLWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGLWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGLWidget::mousePressEvent(event0); +} +void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QGLWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QGLWidget::moveEvent(event0); +} +bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::paintEngine(); +} +void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::paintEvent(arg__1); +} +void PythonQtShell_QGLWidget::paintGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintGL"); + 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(); + } + } +} + QGLWidget::paintGL(); +} +void PythonQtShell_QGLWidget::paintOverlayGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintOverlayGL"); + 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(); + } + } +} + QGLWidget::paintOverlayGL(); +} +QPaintDevice* PythonQtShell_QGLWidget::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 QGLWidget::redirected(offset0); +} +void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::resizeEvent(arg__1); +} +void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::resizeGL(w0, h1); +} +void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeOverlayGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::resizeOverlayGL(w0, h1); +} +void PythonQtShell_QGLWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QGLWidget::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 QGLWidget::sharedPainter(); +} +void PythonQtShell_QGLWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QGLWidget::showEvent(event0); +} +QSize PythonQtShell_QGLWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::sizeHint(); +} +void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QGLWidget::tabletEvent(event0); +} +void PythonQtShell_QGLWidget::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(); + } + } +} + QGLWidget::timerEvent(event0); +} +void PythonQtShell_QGLWidget::updateGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGL"); + 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(); + } + } +} + QGLWidget::updateGL(); +} +void PythonQtShell_QGLWidget::updateOverlayGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateOverlayGL"); + 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(); + } + } +} + QGLWidget::updateOverlayGL(); +} +void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QGLWidget::wheelEvent(event0); +} +QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QGLContext* context, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) +{ +return new PythonQtShell_QGLWidget(context, parent, shareWidget, f); } + +QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) +{ +return new PythonQtShell_QGLWidget(parent, shareWidget, f); } + +QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(const QGLFormat& format, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) +{ +return new PythonQtShell_QGLWidget(format, parent, shareWidget, f); } + +const QMetaObject* PythonQtShell_QGLWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGLWidget::staticMetaObject); + } else { + return &QGLWidget::staticMetaObject; + } +} +int PythonQtShell_QGLWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGLWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QGLWidget::autoBufferSwap(QGLWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_autoBufferSwap()); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format) +{ + return ( theWrappedObject->bindTexture(image, target, format)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(image, target, format, options)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format, options)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->bindTexture(fileName)); +} + +const QGLColormap* PythonQtWrapper_QGLWidget::colormap(QGLWidget* theWrappedObject) const +{ + return &( theWrappedObject->colormap()); +} + +QGLContext* PythonQtWrapper_QGLWidget::context(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +QImage PythonQtWrapper_QGLWidget::static_QGLWidget_convertToGLFormat(const QImage& img) +{ + return (QGLWidget::convertToGLFormat(img)); +} + +void PythonQtWrapper_QGLWidget::deleteTexture(QGLWidget* theWrappedObject, uint tx_id) +{ + ( theWrappedObject->deleteTexture(tx_id)); +} + +void PythonQtWrapper_QGLWidget::doneCurrent(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +bool PythonQtWrapper_QGLWidget::doubleBuffer(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->doubleBuffer()); +} + +void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFormat PythonQtWrapper_QGLWidget::format(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QGLWidget::glDraw(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glDraw()); +} + +void PythonQtWrapper_QGLWidget::glInit(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glInit()); +} + +QImage PythonQtWrapper_QGLWidget::grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha) +{ + return ( theWrappedObject->grabFrameBuffer(withAlpha)); +} + +void PythonQtWrapper_QGLWidget::initializeGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeGL()); +} + +void PythonQtWrapper_QGLWidget::initializeOverlayGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeOverlayGL()); +} + +bool PythonQtWrapper_QGLWidget::isSharing(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->isSharing()); +} + +bool PythonQtWrapper_QGLWidget::isValid(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QGLWidget::makeCurrent(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QGLWidget::makeOverlayCurrent(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->makeOverlayCurrent()); +} + +const QGLContext* PythonQtWrapper_QGLWidget::overlayContext(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->overlayContext()); +} + +void PythonQtWrapper_QGLWidget::paintGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintGL()); +} + +void PythonQtWrapper_QGLWidget::paintOverlayGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintOverlayGL()); +} + +void PythonQtWrapper_QGLWidget::qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const +{ + ( theWrappedObject->qglClearColor(c)); +} + +void PythonQtWrapper_QGLWidget::qglColor(QGLWidget* theWrappedObject, const QColor& c) const +{ + ( theWrappedObject->qglColor(c)); +} + +QPixmap PythonQtWrapper_QGLWidget::renderPixmap(QGLWidget* theWrappedObject, int w, int h, bool useContext) +{ + return ( theWrappedObject->renderPixmap(w, h, useContext)); +} + +void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt) +{ + ( theWrappedObject->renderText(x, y, z, str, fnt)); +} + +void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt) +{ + ( theWrappedObject->renderText(x, y, str, fnt)); +} + +void PythonQtWrapper_QGLWidget::resizeGL(QGLWidget* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); +} + +void PythonQtWrapper_QGLWidget::resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeOverlayGL(w, h)); +} + +void PythonQtWrapper_QGLWidget::setAutoBufferSwap(QGLWidget* theWrappedObject, bool on) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_setAutoBufferSwap(on)); +} + +void PythonQtWrapper_QGLWidget::setColormap(QGLWidget* theWrappedObject, const QGLColormap& map) +{ + ( theWrappedObject->setColormap(map)); +} + +void PythonQtWrapper_QGLWidget::swapBuffers(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->swapBuffers()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h new file mode 100644 index 00000000..a3f36f43 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h @@ -0,0 +1,951 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QGLBuffer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Access Type UsagePattern ) +enum Access{ + ReadOnly = QGLBuffer::ReadOnly, WriteOnly = QGLBuffer::WriteOnly, ReadWrite = QGLBuffer::ReadWrite}; +enum Type{ + VertexBuffer = QGLBuffer::VertexBuffer, IndexBuffer = QGLBuffer::IndexBuffer, PixelPackBuffer = QGLBuffer::PixelPackBuffer, PixelUnpackBuffer = QGLBuffer::PixelUnpackBuffer}; +enum UsagePattern{ + StreamDraw = QGLBuffer::StreamDraw, StreamRead = QGLBuffer::StreamRead, StreamCopy = QGLBuffer::StreamCopy, StaticDraw = QGLBuffer::StaticDraw, StaticRead = QGLBuffer::StaticRead, StaticCopy = QGLBuffer::StaticCopy, DynamicDraw = QGLBuffer::DynamicDraw, DynamicRead = QGLBuffer::DynamicRead, DynamicCopy = QGLBuffer::DynamicCopy}; +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 allocate(QGLBuffer* theWrappedObject, const void* data, int count); + void allocate(QGLBuffer* theWrappedObject, int count); + bool bind(QGLBuffer* theWrappedObject); + uint bufferId(QGLBuffer* theWrappedObject) const; + bool create(QGLBuffer* theWrappedObject); + void destroy(QGLBuffer* theWrappedObject); + bool isCreated(QGLBuffer* theWrappedObject) const; + void* map(QGLBuffer* theWrappedObject, QGLBuffer::Access access); + QGLBuffer* operator_assign(QGLBuffer* theWrappedObject, const QGLBuffer& other); + bool read(QGLBuffer* theWrappedObject, int offset, void* data, int count); + void release(QGLBuffer* theWrappedObject); + void static_QGLBuffer_release(QGLBuffer::Type type); + void setUsagePattern(QGLBuffer* theWrappedObject, QGLBuffer::UsagePattern value); + int size(QGLBuffer* theWrappedObject) const; + QGLBuffer::Type type(QGLBuffer* theWrappedObject) const; + bool unmap(QGLBuffer* theWrappedObject); + QGLBuffer::UsagePattern usagePattern(QGLBuffer* theWrappedObject) const; + void write(QGLBuffer* theWrappedObject, int offset, const void* data, int count); +}; + + + + + +class PythonQtShell_QGLColormap : public QGLColormap +{ +public: + PythonQtShell_QGLColormap():QGLColormap(),_wrapper(nullptr) {}; + PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLColormap(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLColormap : public QGLColormap +{ public: +inline Qt::HANDLE promoted_handle() { return this->handle(); } +inline void promoted_setHandle(Qt::HANDLE ahandle) { this->setHandle(ahandle); } +}; + +class PythonQtWrapper_QGLColormap : public QObject +{ Q_OBJECT +public: +public slots: +QGLColormap* new_QGLColormap(); +QGLColormap* new_QGLColormap(const QGLColormap& arg__1); +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; + int findNearest(QGLColormap* theWrappedObject, unsigned int color) const; + Qt::HANDLE handle(QGLColormap* theWrappedObject); + bool isEmpty(QGLColormap* theWrappedObject) const; + void setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color); + void setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color); + void setHandle(QGLColormap* theWrappedObject, Qt::HANDLE ahandle); + int size(QGLColormap* theWrappedObject) const; + bool __nonzero__(QGLColormap* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QGLContext : public QGLContext +{ +public: + PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(nullptr) {}; + PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLContext() override; + +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; +}; + +class PythonQtPublicPromoter_QGLContext : public QGLContext +{ public: +inline bool promoted_chooseContext(const QGLContext* shareContext = nullptr) { return this->chooseContext(shareContext); } +inline uint promoted_colorIndex(const QColor& c) const { return this->colorIndex(c); } +inline bool promoted_deviceIsPixmap() const { return this->deviceIsPixmap(); } +inline bool promoted_initialized() const { return this->initialized(); } +inline void promoted_setInitialized(bool on) { this->setInitialized(on); } +inline void promoted_setValid(bool valid) { this->setValid(valid); } +inline void promoted_setWindowCreated(bool on) { this->setWindowCreated(on); } +inline bool promoted_windowCreated() const { return this->windowCreated(); } +inline bool py_q_chooseContext(const QGLContext* shareContext = nullptr) { return QGLContext::chooseContext(shareContext); } +inline bool py_q_create(const QGLContext* shareContext = nullptr) { return QGLContext::create(shareContext); } +inline void py_q_doneCurrent() { QGLContext::doneCurrent(); } +inline void py_q_makeCurrent() { QGLContext::makeCurrent(); } +inline void py_q_swapBuffers() const { QGLContext::swapBuffers(); } +}; + +class PythonQtWrapper_QGLContext : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BindOption ) +Q_FLAGS(BindOptions ) +enum BindOption{ + NoBindOption = QGLContext::NoBindOption, InvertedYBindOption = QGLContext::InvertedYBindOption, MipmapBindOption = QGLContext::MipmapBindOption, PremultipliedAlphaBindOption = QGLContext::PremultipliedAlphaBindOption, LinearFilteringBindOption = QGLContext::LinearFilteringBindOption, MemoryManagedBindOption = QGLContext::MemoryManagedBindOption, CanFlipNativePixmapBindOption = QGLContext::CanFlipNativePixmapBindOption, TemporarilyCachedBindOption = QGLContext::TemporarilyCachedBindOption, DefaultBindOption = QGLContext::DefaultBindOption, InternalBindOption = QGLContext::InternalBindOption}; +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; } + 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); + uint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); + uint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); + uint bindTexture(QGLContext* theWrappedObject, const QString& fileName); + bool chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr); + bool py_q_chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr){ return (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_chooseContext(shareContext));} + uint colorIndex(QGLContext* theWrappedObject, const QColor& c) const; + QOpenGLContext* contextHandle(QGLContext* theWrappedObject) const; + bool create(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr); + bool py_q_create(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr){ return (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_create(shareContext));} + const QGLContext* static_QGLContext_currentContext(); + void deleteTexture(QGLContext* theWrappedObject, uint tx_id); + QPaintDevice* device(QGLContext* theWrappedObject) const; + bool deviceIsPixmap(QGLContext* theWrappedObject) const; + void doneCurrent(QGLContext* theWrappedObject); + void py_q_doneCurrent(QGLContext* theWrappedObject){ (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_doneCurrent());} + void drawTexture(QGLContext* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLContext* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); + QGLFormat format(QGLContext* theWrappedObject) const; + QGLContext* static_QGLContext_fromOpenGLContext(QOpenGLContext* platformContext); + QGLFunctions* functions(QGLContext* theWrappedObject) const; + bool initialized(QGLContext* theWrappedObject) const; + bool isSharing(QGLContext* theWrappedObject) const; + bool isValid(QGLContext* theWrappedObject) const; + void makeCurrent(QGLContext* theWrappedObject); + void py_q_makeCurrent(QGLContext* theWrappedObject){ (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_makeCurrent());} + void moveToThread(QGLContext* theWrappedObject, QThread* thread); + QColor overlayTransparentColor(QGLContext* theWrappedObject) const; + QGLFormat requestedFormat(QGLContext* theWrappedObject) const; + void reset(QGLContext* theWrappedObject); + void setFormat(QGLContext* theWrappedObject, const QGLFormat& format); + void setInitialized(QGLContext* theWrappedObject, bool on); + void static_QGLContext_setTextureCacheLimit(int size); + void setValid(QGLContext* theWrappedObject, bool valid); + void setWindowCreated(QGLContext* theWrappedObject, bool on); + void swapBuffers(QGLContext* theWrappedObject) const; + void py_q_swapBuffers(QGLContext* theWrappedObject) const{ (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_swapBuffers());} + int static_QGLContext_textureCacheLimit(); + bool windowCreated(QGLContext* theWrappedObject) const; + bool __nonzero__(QGLContext* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QGLFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OpenGLContextProfile OpenGLVersionFlag ) +Q_FLAGS(OpenGLVersionFlags ) +enum OpenGLContextProfile{ + NoProfile = QGLFormat::NoProfile, CoreProfile = QGLFormat::CoreProfile, CompatibilityProfile = QGLFormat::CompatibilityProfile}; +enum OpenGLVersionFlag{ + OpenGL_Version_None = QGLFormat::OpenGL_Version_None, OpenGL_Version_1_1 = QGLFormat::OpenGL_Version_1_1, OpenGL_Version_1_2 = QGLFormat::OpenGL_Version_1_2, OpenGL_Version_1_3 = QGLFormat::OpenGL_Version_1_3, OpenGL_Version_1_4 = QGLFormat::OpenGL_Version_1_4, OpenGL_Version_1_5 = QGLFormat::OpenGL_Version_1_5, OpenGL_Version_2_0 = QGLFormat::OpenGL_Version_2_0, OpenGL_Version_2_1 = QGLFormat::OpenGL_Version_2_1, OpenGL_ES_Common_Version_1_0 = QGLFormat::OpenGL_ES_Common_Version_1_0, OpenGL_ES_CommonLite_Version_1_0 = QGLFormat::OpenGL_ES_CommonLite_Version_1_0, OpenGL_ES_Common_Version_1_1 = QGLFormat::OpenGL_ES_Common_Version_1_1, OpenGL_ES_CommonLite_Version_1_1 = QGLFormat::OpenGL_ES_CommonLite_Version_1_1, OpenGL_ES_Version_2_0 = QGLFormat::OpenGL_ES_Version_2_0, OpenGL_Version_3_0 = QGLFormat::OpenGL_Version_3_0, OpenGL_Version_3_1 = QGLFormat::OpenGL_Version_3_1, OpenGL_Version_3_2 = QGLFormat::OpenGL_Version_3_2, OpenGL_Version_3_3 = QGLFormat::OpenGL_Version_3_3, OpenGL_Version_4_0 = QGLFormat::OpenGL_Version_4_0, OpenGL_Version_4_1 = QGLFormat::OpenGL_Version_4_1, OpenGL_Version_4_2 = QGLFormat::OpenGL_Version_4_2, OpenGL_Version_4_3 = QGLFormat::OpenGL_Version_4_3}; +Q_DECLARE_FLAGS(OpenGLVersionFlags, OpenGLVersionFlag) +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; } + bool accum(QGLFormat* theWrappedObject) const; + int accumBufferSize(QGLFormat* theWrappedObject) const; + bool alpha(QGLFormat* theWrappedObject) const; + int alphaBufferSize(QGLFormat* theWrappedObject) const; + int blueBufferSize(QGLFormat* theWrappedObject) const; + QGLFormat static_QGLFormat_defaultFormat(); + QGLFormat static_QGLFormat_defaultOverlayFormat(); + bool depth(QGLFormat* theWrappedObject) const; + int depthBufferSize(QGLFormat* theWrappedObject) const; + bool directRendering(QGLFormat* theWrappedObject) const; + bool doubleBuffer(QGLFormat* theWrappedObject) const; + QGLFormat static_QGLFormat_fromSurfaceFormat(const QSurfaceFormat& format); + int greenBufferSize(QGLFormat* theWrappedObject) const; + bool static_QGLFormat_hasOpenGL(); + bool static_QGLFormat_hasOpenGLOverlays(); + bool hasOverlay(QGLFormat* theWrappedObject) const; + 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; + int redBufferSize(QGLFormat* theWrappedObject) const; + bool rgba(QGLFormat* theWrappedObject) const; + bool sampleBuffers(QGLFormat* theWrappedObject) const; + int samples(QGLFormat* theWrappedObject) const; + void setAccum(QGLFormat* theWrappedObject, bool enable); + void setAccumBufferSize(QGLFormat* theWrappedObject, int size); + void setAlpha(QGLFormat* theWrappedObject, bool enable); + void setAlphaBufferSize(QGLFormat* theWrappedObject, int size); + void setBlueBufferSize(QGLFormat* theWrappedObject, int size); + void static_QGLFormat_setDefaultFormat(const QGLFormat& f); + void static_QGLFormat_setDefaultOverlayFormat(const QGLFormat& f); + void setDepth(QGLFormat* theWrappedObject, bool enable); + void setDepthBufferSize(QGLFormat* theWrappedObject, int size); + void setDirectRendering(QGLFormat* theWrappedObject, bool enable); + void setDoubleBuffer(QGLFormat* theWrappedObject, bool enable); + void setGreenBufferSize(QGLFormat* theWrappedObject, int size); + void setOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt); + void setOverlay(QGLFormat* theWrappedObject, bool enable); + void setPlane(QGLFormat* theWrappedObject, int plane); + void setProfile(QGLFormat* theWrappedObject, QGLFormat::OpenGLContextProfile profile); + void setRedBufferSize(QGLFormat* theWrappedObject, int size); + void setRgba(QGLFormat* theWrappedObject, bool enable); + void setSampleBuffers(QGLFormat* theWrappedObject, bool enable); + void setSamples(QGLFormat* theWrappedObject, int numSamples); + void setStencil(QGLFormat* theWrappedObject, bool enable); + void setStencilBufferSize(QGLFormat* theWrappedObject, int size); + void setStereo(QGLFormat* theWrappedObject, bool enable); + void setSwapInterval(QGLFormat* theWrappedObject, int interval); + void setVersion(QGLFormat* theWrappedObject, int major, int minor); + bool stencil(QGLFormat* theWrappedObject) const; + int stencilBufferSize(QGLFormat* theWrappedObject) const; + bool stereo(QGLFormat* theWrappedObject) const; + int swapInterval(QGLFormat* theWrappedObject) const; + bool testOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt) const; + QSurfaceFormat static_QGLFormat_toSurfaceFormat(const QGLFormat& format); + QString py_toString(QGLFormat*); +}; + + + + + +class PythonQtShell_QGLFramebufferObject : public QGLFramebufferObject +{ +public: + 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 +{ public: +inline int promoted_devType() const { return this->devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline int py_q_devType() const { return QGLFramebufferObject::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLFramebufferObject::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return QGLFramebufferObject::paintEngine(); } +}; + +class PythonQtWrapper_QGLFramebufferObject : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Attachment ) +enum Attachment{ + NoAttachment = QGLFramebufferObject::NoAttachment, CombinedDepthStencil = QGLFramebufferObject::CombinedDepthStencil, Depth = QGLFramebufferObject::Depth}; +public slots: +QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1); +QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0); +QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format); +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; } + QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const; + bool bind(QGLFramebufferObject* theWrappedObject); + bool static_QGLFramebufferObject_bindDefault(); + void static_QGLFramebufferObject_blitFramebuffer(QGLFramebufferObject* target, const QRect& targetRect, QGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers = 0x00004000, GLenum filter = 0x2600); + int py_q_devType(QGLFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_devType());} + void drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); + QGLFramebufferObjectFormat format(QGLFramebufferObject* theWrappedObject) const; + uint handle(QGLFramebufferObject* theWrappedObject) const; + bool static_QGLFramebufferObject_hasOpenGLFramebufferBlit(); + bool static_QGLFramebufferObject_hasOpenGLFramebufferObjects(); + bool isBound(QGLFramebufferObject* theWrappedObject) const; + bool isValid(QGLFramebufferObject* theWrappedObject) const; + int py_q_metric(QGLFramebufferObject* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_metric(metric));} + QPaintEngine* py_q_paintEngine(QGLFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_paintEngine());} + bool release(QGLFramebufferObject* theWrappedObject); + QSize size(QGLFramebufferObject* theWrappedObject) const; + uint texture(QGLFramebufferObject* theWrappedObject) const; + QImage toImage(QGLFramebufferObject* theWrappedObject) const; + bool __nonzero__(QGLFramebufferObject* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QGLFramebufferObjectFormat : public QObject +{ Q_OBJECT +public: +public slots: +QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(); +QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other); +void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } + QGLFramebufferObject::Attachment attachment(QGLFramebufferObjectFormat* theWrappedObject) const; + GLenum internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const; + bool mipmap(QGLFramebufferObjectFormat* theWrappedObject) const; + bool __ne__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const; + QGLFramebufferObjectFormat* operator_assign(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other); + bool __eq__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const; + int samples(QGLFramebufferObjectFormat* theWrappedObject) const; + void setAttachment(QGLFramebufferObjectFormat* theWrappedObject, QGLFramebufferObject::Attachment attachment); + void setInternalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat); + void setMipmap(QGLFramebufferObjectFormat* theWrappedObject, bool enabled); + void setSamples(QGLFramebufferObjectFormat* theWrappedObject, int samples); + void setTextureTarget(QGLFramebufferObjectFormat* theWrappedObject, GLenum target); + GLenum textureTarget(QGLFramebufferObjectFormat* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QGLFunctions : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OpenGLFeature ) +Q_FLAGS(OpenGLFeatures ) +enum OpenGLFeature{ + Multitexture = QGLFunctions::Multitexture, Shaders = QGLFunctions::Shaders, Buffers = QGLFunctions::Buffers, Framebuffers = QGLFunctions::Framebuffers, BlendColor = QGLFunctions::BlendColor, BlendEquation = QGLFunctions::BlendEquation, BlendEquationSeparate = QGLFunctions::BlendEquationSeparate, BlendFuncSeparate = QGLFunctions::BlendFuncSeparate, BlendSubtract = QGLFunctions::BlendSubtract, CompressedTextures = QGLFunctions::CompressedTextures, Multisample = QGLFunctions::Multisample, StencilSeparate = QGLFunctions::StencilSeparate, NPOTTextures = QGLFunctions::NPOTTextures}; +Q_DECLARE_FLAGS(OpenGLFeatures, OpenGLFeature) +public slots: +QGLFunctions* new_QGLFunctions(); +QGLFunctions* new_QGLFunctions(const QGLContext* context); +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); + void glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, uint buffer); + void glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, uint framebuffer); + void glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, uint renderbuffer); + void glBlendColor(QGLFunctions* theWrappedObject, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); + void glBlendEquation(QGLFunctions* theWrappedObject, GLenum mode); + void glBlendEquationSeparate(QGLFunctions* theWrappedObject, GLenum modeRGB, GLenum modeAlpha); + void glBlendFuncSeparate(QGLFunctions* theWrappedObject, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); + GLenum glCheckFramebufferStatus(QGLFunctions* theWrappedObject, GLenum target); + void glClearDepthf(QGLFunctions* theWrappedObject, GLclampf depth); + void glCompileShader(QGLFunctions* theWrappedObject, uint shader); + void glCompressedTexImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); + void glCompressedTexSubImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); + uint glCreateProgram(QGLFunctions* theWrappedObject); + uint glCreateShader(QGLFunctions* theWrappedObject, GLenum type); + void glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* buffers); + void glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* framebuffers); + void glDeleteProgram(QGLFunctions* theWrappedObject, uint program); + void glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* renderbuffers); + void glDeleteShader(QGLFunctions* theWrappedObject, uint shader); + void glDepthRangef(QGLFunctions* theWrappedObject, GLclampf zNear, GLclampf zFar); + void glDetachShader(QGLFunctions* theWrappedObject, uint program, uint shader); + void glDisableVertexAttribArray(QGLFunctions* theWrappedObject, uint index); + void glEnableVertexAttribArray(QGLFunctions* theWrappedObject, uint index); + void glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, uint renderbuffer); + void glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, uint texture, GLint level); + void glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* buffers); + void glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* framebuffers); + void glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* renderbuffers); + void glGenerateMipmap(QGLFunctions* theWrappedObject, GLenum target); + void glGetActiveAttrib(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); + void glGetActiveUniform(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); + void glGetAttachedShaders(QGLFunctions* theWrappedObject, uint program, GLsizei maxcount, GLsizei* count, uint* shaders); + int glGetAttribLocation(QGLFunctions* theWrappedObject, uint program, const char* name); + void glGetBufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params); + void glGetFramebufferAttachmentParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum pname, GLint* params); + void glGetProgramInfoLog(QGLFunctions* theWrappedObject, uint program, GLsizei bufsize, GLsizei* length, char* infolog); + void glGetProgramiv(QGLFunctions* theWrappedObject, uint program, GLenum pname, GLint* params); + void glGetRenderbufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params); + void glGetShaderInfoLog(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* infolog); + void glGetShaderPrecisionFormat(QGLFunctions* theWrappedObject, GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); + void glGetShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* source); + void glGetShaderiv(QGLFunctions* theWrappedObject, uint shader, GLenum pname, GLint* params); + int glGetUniformLocation(QGLFunctions* theWrappedObject, uint program, const char* name); + void glGetUniformfv(QGLFunctions* theWrappedObject, uint program, GLint location, GLfloat* params); + void glGetUniformiv(QGLFunctions* theWrappedObject, uint program, GLint location, GLint* params); + void glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, uint index, GLenum pname, void** pointer); + void glGetVertexAttribfv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLfloat* params); + void glGetVertexAttribiv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLint* params); + GLboolean glIsBuffer(QGLFunctions* theWrappedObject, uint buffer); + GLboolean glIsFramebuffer(QGLFunctions* theWrappedObject, uint framebuffer); + GLboolean glIsProgram(QGLFunctions* theWrappedObject, uint program); + GLboolean glIsRenderbuffer(QGLFunctions* theWrappedObject, uint renderbuffer); + GLboolean glIsShader(QGLFunctions* theWrappedObject, uint shader); + void glLinkProgram(QGLFunctions* theWrappedObject, uint program); + void glReleaseShaderCompiler(QGLFunctions* theWrappedObject); + void glRenderbufferStorage(QGLFunctions* theWrappedObject, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); + void glSampleCoverage(QGLFunctions* theWrappedObject, GLclampf value, GLboolean invert); + void glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const uint* shaders, GLenum binaryformat, const void* binary, GLint length); + void glShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei count, const char** string, const GLint* length); + void glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, uint mask); + void glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, uint mask); + void glStencilOpSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum fail, GLenum zfail, GLenum zpass); + void glUniform1f(QGLFunctions* theWrappedObject, GLint location, GLfloat x); + void glUniform1fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); + void glUniform1i(QGLFunctions* theWrappedObject, GLint location, GLint x); + void glUniform1iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); + void glUniform2f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y); + void glUniform2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); + void glUniform2i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y); + void glUniform2iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); + void glUniform3f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z); + void glUniform3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); + void glUniform3i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z); + void glUniform3iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); + void glUniform4f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void glUniform4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); + void glUniform4i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z, GLint w); + void glUniform4iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); + void glUniformMatrix2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); + void glUniformMatrix3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); + void glUniformMatrix4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); + void glUseProgram(QGLFunctions* theWrappedObject, uint program); + void glValidateProgram(QGLFunctions* theWrappedObject, uint program); + void glVertexAttrib1f(QGLFunctions* theWrappedObject, uint indx, GLfloat x); + void glVertexAttrib1fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttrib2f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y); + void glVertexAttrib2fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttrib3f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z); + void glVertexAttrib3fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttrib4f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void glVertexAttrib4fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttribPointer(QGLFunctions* theWrappedObject, uint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); + bool hasOpenGLFeature(QGLFunctions* theWrappedObject, QGLFunctions::OpenGLFeature feature) const; + void initializeGLFunctions(QGLFunctions* theWrappedObject, const QGLContext* context = nullptr); + QGLFunctions::OpenGLFeatures openGLFeatures(QGLFunctions* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer +{ +public: + 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() 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_QGLPixelBuffer : public QGLPixelBuffer +{ public: +inline int promoted_devType() const { return this->devType(); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline int py_q_devType() const { return QGLPixelBuffer::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLPixelBuffer::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return QGLPixelBuffer::paintEngine(); } +}; + +class PythonQtWrapper_QGLPixelBuffer : public QObject +{ Q_OBJECT +public: +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; } + 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); + bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture); + QGLContext* context(QGLPixelBuffer* theWrappedObject) const; + void deleteTexture(QGLPixelBuffer* theWrappedObject, uint texture_id); + int py_q_devType(QGLPixelBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->py_q_devType());} + bool doneCurrent(QGLPixelBuffer* theWrappedObject); + void drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); + QGLFormat format(QGLPixelBuffer* theWrappedObject) const; + uint generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; + Qt::HANDLE handle(QGLPixelBuffer* theWrappedObject) const; + bool static_QGLPixelBuffer_hasOpenGLPbuffers(); + bool isValid(QGLPixelBuffer* theWrappedObject) const; + bool makeCurrent(QGLPixelBuffer* theWrappedObject); + int py_q_metric(QGLPixelBuffer* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->py_q_metric(metric));} + QPaintEngine* py_q_paintEngine(QGLPixelBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->py_q_paintEngine());} + void releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject); + QSize size(QGLPixelBuffer* theWrappedObject) const; + QImage toImage(QGLPixelBuffer* theWrappedObject) const; + void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const; + bool __nonzero__(QGLPixelBuffer* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QGLShader : public QGLShader +{ +public: + 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() 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_QGLShader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ShaderTypeBit ) +Q_FLAGS(ShaderType ) +enum ShaderTypeBit{ + Vertex = QGLShader::Vertex, Fragment = QGLShader::Fragment, Geometry = QGLShader::Geometry}; +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; } + bool compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source); + bool compileSourceCode(QGLShader* theWrappedObject, const QString& source); + bool compileSourceCode(QGLShader* theWrappedObject, const char* source); + bool compileSourceFile(QGLShader* theWrappedObject, const QString& fileName); + bool static_QGLShader_hasOpenGLShaders(QGLShader::ShaderType type, const QGLContext* context = nullptr); + bool isCompiled(QGLShader* theWrappedObject) const; + QString log(QGLShader* theWrappedObject) const; + uint shaderId(QGLShader* theWrappedObject) const; + QGLShader::ShaderType shaderType(QGLShader* theWrappedObject) const; + QByteArray sourceCode(QGLShader* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGLShaderProgram : public QGLShaderProgram +{ +public: + PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(nullptr) {}; + PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLShaderProgram() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLShaderProgram : public QGLShaderProgram +{ public: +inline bool py_q_link() { return QGLShaderProgram::link(); } +}; + +class PythonQtWrapper_QGLShaderProgram : public QObject +{ Q_OBJECT +public: +public slots: +QGLShaderProgram* new_QGLShaderProgram(QObject* parent = nullptr); +QGLShaderProgram* new_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr); +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); + bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const char* source); + bool addShaderFromSourceFile(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& fileName); + int attributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const; + int attributeLocation(QGLShaderProgram* theWrappedObject, const QString& name) const; + int attributeLocation(QGLShaderProgram* theWrappedObject, const char* name) const; + bool bind(QGLShaderProgram* theWrappedObject); + void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name, int location); + void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QString& name, int location); + void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const char* name, int location); + void disableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name); + void disableAttributeArray(QGLShaderProgram* theWrappedObject, int location); + void enableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name); + void enableAttributeArray(QGLShaderProgram* theWrappedObject, int location); + GLenum geometryInputType(QGLShaderProgram* theWrappedObject) const; + GLenum geometryOutputType(QGLShaderProgram* theWrappedObject) const; + int geometryOutputVertexCount(QGLShaderProgram* theWrappedObject) const; + bool static_QGLShaderProgram_hasOpenGLShaderPrograms(const QGLContext* context = nullptr); + bool isLinked(QGLShaderProgram* theWrappedObject) const; + bool link(QGLShaderProgram* theWrappedObject); + bool py_q_link(QGLShaderProgram* theWrappedObject){ return (((PythonQtPublicPromoter_QGLShaderProgram*)theWrappedObject)->py_q_link());} + QString log(QGLShaderProgram* theWrappedObject) const; + int maxGeometryOutputVertices(QGLShaderProgram* theWrappedObject) const; + uint programId(QGLShaderProgram* theWrappedObject) const; + void release(QGLShaderProgram* theWrappedObject); + void removeAllShaders(QGLShaderProgram* theWrappedObject); + void removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride = 0); + void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride = 0); + void setAttributeBuffer(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride = 0); + void setAttributeBuffer(QGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride = 0); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QColor& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value); + void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value); + void setGeometryInputType(QGLShaderProgram* theWrappedObject, GLenum inputType); + void setGeometryOutputType(QGLShaderProgram* theWrappedObject, GLenum outputType); + void setGeometryOutputVertexCount(QGLShaderProgram* theWrappedObject, int count); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLint value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& color); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPoint& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPointF& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSize& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QTransform& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, uint value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLint value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QColor& color); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPoint& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPointF& point); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSize& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSizeF& size); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QTransform& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, uint value); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const uint* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const uint* values, int count); + QList shaders(QGLShaderProgram* theWrappedObject) const; + int uniformLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const; + int uniformLocation(QGLShaderProgram* theWrappedObject, const QString& name) const; + int uniformLocation(QGLShaderProgram* theWrappedObject, const char* name) const; +}; + + + + + +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(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 +{ public: +inline bool promoted_autoBufferSwap() const { return this->autoBufferSwap(); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_glDraw() { this->glDraw(); } +inline void promoted_glInit() { this->glInit(); } +inline void promoted_initializeGL() { this->initializeGL(); } +inline void promoted_initializeOverlayGL() { this->initializeOverlayGL(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_paintGL() { this->paintGL(); } +inline void promoted_paintOverlayGL() { this->paintOverlayGL(); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_resizeGL(int w, int h) { this->resizeGL(w, h); } +inline void promoted_resizeOverlayGL(int w, int h) { this->resizeOverlayGL(w, h); } +inline void promoted_setAutoBufferSwap(bool on) { this->setAutoBufferSwap(on); } +inline bool py_q_event(QEvent* arg__1) { return QGLWidget::event(arg__1); } +inline void py_q_glDraw() { QGLWidget::glDraw(); } +inline void py_q_glInit() { QGLWidget::glInit(); } +inline void py_q_initializeGL() { QGLWidget::initializeGL(); } +inline void py_q_initializeOverlayGL() { QGLWidget::initializeOverlayGL(); } +inline QPaintEngine* py_q_paintEngine() const { return QGLWidget::paintEngine(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QGLWidget::paintEvent(arg__1); } +inline void py_q_paintGL() { QGLWidget::paintGL(); } +inline void py_q_paintOverlayGL() { QGLWidget::paintOverlayGL(); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QGLWidget::resizeEvent(arg__1); } +inline void py_q_resizeGL(int w, int h) { QGLWidget::resizeGL(w, h); } +inline void py_q_resizeOverlayGL(int w, int h) { QGLWidget::resizeOverlayGL(w, h); } +inline void py_q_updateGL() { QGLWidget::updateGL(); } +inline void py_q_updateOverlayGL() { QGLWidget::updateOverlayGL(); } +}; + +class PythonQtWrapper_QGLWidget : public QObject +{ Q_OBJECT +public: +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; } + 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); + uint bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); + uint bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); + uint bindTexture(QGLWidget* theWrappedObject, const QString& fileName); + const QGLColormap* colormap(QGLWidget* theWrappedObject) const; + QGLContext* context(QGLWidget* theWrappedObject) const; + QImage static_QGLWidget_convertToGLFormat(const QImage& img); + void deleteTexture(QGLWidget* theWrappedObject, uint tx_id); + void doneCurrent(QGLWidget* theWrappedObject); + bool doubleBuffer(QGLWidget* theWrappedObject) const; + void drawTexture(QGLWidget* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLWidget* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); + bool py_q_event(QGLWidget* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_event(arg__1));} + QGLFormat format(QGLWidget* theWrappedObject) const; + void glDraw(QGLWidget* theWrappedObject); + void py_q_glDraw(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_glDraw());} + void glInit(QGLWidget* theWrappedObject); + void py_q_glInit(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_glInit());} + QImage grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha = false); + void initializeGL(QGLWidget* theWrappedObject); + void py_q_initializeGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_initializeGL());} + void initializeOverlayGL(QGLWidget* theWrappedObject); + void py_q_initializeOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_initializeOverlayGL());} + bool isSharing(QGLWidget* theWrappedObject) const; + bool isValid(QGLWidget* theWrappedObject) const; + void makeCurrent(QGLWidget* theWrappedObject); + void makeOverlayCurrent(QGLWidget* theWrappedObject); + const QGLContext* overlayContext(QGLWidget* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QGLWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintEngine());} + void py_q_paintEvent(QGLWidget* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintEvent(arg__1));} + void paintGL(QGLWidget* theWrappedObject); + void py_q_paintGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintGL());} + void paintOverlayGL(QGLWidget* theWrappedObject); + void py_q_paintOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintOverlayGL());} + void qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const; + void qglColor(QGLWidget* theWrappedObject, const QColor& c) const; + QPixmap renderPixmap(QGLWidget* theWrappedObject, int w = 0, int h = 0, bool useContext = false); + void renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt = QFont()); + void renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt = QFont()); + void py_q_resizeEvent(QGLWidget* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void resizeGL(QGLWidget* theWrappedObject, int w, int h); + void py_q_resizeGL(QGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeGL(w, h));} + void resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h); + void py_q_resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeOverlayGL(w, h));} + void setAutoBufferSwap(QGLWidget* theWrappedObject, bool on); + void setColormap(QGLWidget* theWrappedObject, const QGLColormap& map); + void swapBuffers(QGLWidget* theWrappedObject); + void py_q_updateGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_updateGL());} + void py_q_updateOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_updateOverlayGL());} + bool __nonzero__(QGLWidget* obj) { return obj->isValid(); } +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp new file mode 100644 index 00000000..ffde511f --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp @@ -0,0 +1,23 @@ +#include +#include +#include "com_trolltech_qt_opengl0.h" + + + +void PythonQt_init_QtOpenGL(PyObject* module) { +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, 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, 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); +PythonQt::priv()->registerClass(&QGLShaderProgram::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGLWidget::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); + + +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml.pri b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml.pri new file mode 100644 index 00000000..7f02ea66 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_qml0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_qml0.cpp \ + $$PWD/com_trolltech_qt_qml_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp new file mode 100644 index 00000000..236cfdb3 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp @@ -0,0 +1,3460 @@ +#include "com_trolltech_qt_qml0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QJSEngine::~PythonQtShell_QJSEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QJSEngine::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(); + } + } +} + QJSEngine::childEvent(event0); +} +void PythonQtShell_QJSEngine::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(); + } + } +} + QJSEngine::customEvent(event0); +} +bool PythonQtShell_QJSEngine::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 QJSEngine::event(event0); +} +bool PythonQtShell_QJSEngine::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 QJSEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QJSEngine::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(); + } + } +} + QJSEngine::timerEvent(event0); +} +QJSEngine* PythonQtWrapper_QJSEngine::new_QJSEngine() +{ +return new PythonQtShell_QJSEngine(); } + +QJSEngine* PythonQtWrapper_QJSEngine::new_QJSEngine(QObject* parent) +{ +return new PythonQtShell_QJSEngine(parent); } + +const QMetaObject* PythonQtShell_QJSEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QJSEngine::staticMetaObject); + } else { + return &QJSEngine::staticMetaObject; + } +} +int PythonQtShell_QJSEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QJSEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QJSEngine::collectGarbage(QJSEngine* theWrappedObject) +{ + ( theWrappedObject->collectGarbage()); +} + +QJSValue PythonQtWrapper_QJSEngine::evaluate(QJSEngine* theWrappedObject, const QString& program, const QString& fileName, int lineNumber) +{ + return ( theWrappedObject->evaluate(program, fileName, lineNumber)); +} + +QJSValue PythonQtWrapper_QJSEngine::globalObject(QJSEngine* theWrappedObject) const +{ + return ( theWrappedObject->globalObject()); +} + +QJSValue PythonQtWrapper_QJSEngine::importModule(QJSEngine* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->importModule(fileName)); +} + +void PythonQtWrapper_QJSEngine::installTranslatorFunctions(QJSEngine* theWrappedObject, const QJSValue& object) +{ + ( theWrappedObject->installTranslatorFunctions(object)); +} + +bool PythonQtWrapper_QJSEngine::isInterrupted(QJSEngine* theWrappedObject) const +{ + return ( theWrappedObject->isInterrupted()); +} + +QJSValue PythonQtWrapper_QJSEngine::newArray(QJSEngine* theWrappedObject, uint length) +{ + return ( theWrappedObject->newArray(length)); +} + +QJSValue PythonQtWrapper_QJSEngine::newErrorObject(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message) +{ + return ( theWrappedObject->newErrorObject(errorType, message)); +} + +QJSValue PythonQtWrapper_QJSEngine::newObject(QJSEngine* theWrappedObject) +{ + return ( theWrappedObject->newObject()); +} + +QJSValue PythonQtWrapper_QJSEngine::newQMetaObject(QJSEngine* theWrappedObject, const QMetaObject* metaObject) +{ + return ( theWrappedObject->newQMetaObject(metaObject)); +} + +QJSValue PythonQtWrapper_QJSEngine::newQObject(QJSEngine* theWrappedObject, QObject* object) +{ + return ( theWrappedObject->newQObject(object)); +} + +void PythonQtWrapper_QJSEngine::setInterrupted(QJSEngine* theWrappedObject, bool interrupted) +{ + ( theWrappedObject->setInterrupted(interrupted)); +} + +void PythonQtWrapper_QJSEngine::setUiLanguage(QJSEngine* theWrappedObject, const QString& language) +{ + ( theWrappedObject->setUiLanguage(language)); +} + +void PythonQtWrapper_QJSEngine::throwError(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message) +{ + ( theWrappedObject->throwError(errorType, message)); +} + +void PythonQtWrapper_QJSEngine::throwError(QJSEngine* theWrappedObject, const QString& message) +{ + ( theWrappedObject->throwError(message)); +} + +QString PythonQtWrapper_QJSEngine::uiLanguage(QJSEngine* theWrappedObject) const +{ + return ( theWrappedObject->uiLanguage()); +} + + + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(QJSValue::SpecialValue value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(bool value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QJSValue& other) +{ +return new QJSValue(other); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QString& value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const char* str) +{ +return new QJSValue(str); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(double value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(int value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(uint value) +{ +return new QJSValue(value); } + +QJSValue PythonQtWrapper_QJSValue::call(QJSValue* theWrappedObject, const QList& args) +{ + return ( theWrappedObject->call(args)); +} + +QJSValue PythonQtWrapper_QJSValue::callAsConstructor(QJSValue* theWrappedObject, const QList& args) +{ + return ( theWrappedObject->callAsConstructor(args)); +} + +QJSValue PythonQtWrapper_QJSValue::callWithInstance(QJSValue* theWrappedObject, const QJSValue& instance, const QList& args) +{ + return ( theWrappedObject->callWithInstance(instance, args)); +} + +bool PythonQtWrapper_QJSValue::deleteProperty(QJSValue* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->deleteProperty(name)); +} + +QJSEngine* PythonQtWrapper_QJSValue::engine(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +bool PythonQtWrapper_QJSValue::equals(QJSValue* theWrappedObject, const QJSValue& other) const +{ + return ( theWrappedObject->equals(other)); +} + +QJSValue::ErrorType PythonQtWrapper_QJSValue::errorType(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->errorType()); +} + +bool PythonQtWrapper_QJSValue::hasOwnProperty(QJSValue* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasOwnProperty(name)); +} + +bool PythonQtWrapper_QJSValue::hasProperty(QJSValue* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasProperty(name)); +} + +bool PythonQtWrapper_QJSValue::isArray(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QJSValue::isBool(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isBool()); +} + +bool PythonQtWrapper_QJSValue::isCallable(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isCallable()); +} + +bool PythonQtWrapper_QJSValue::isDate(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isDate()); +} + +bool PythonQtWrapper_QJSValue::isError(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QJSValue::isNull(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QJSValue::isNumber(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isNumber()); +} + +bool PythonQtWrapper_QJSValue::isObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isObject()); +} + +bool PythonQtWrapper_QJSValue::isQMetaObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isQMetaObject()); +} + +bool PythonQtWrapper_QJSValue::isQObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isQObject()); +} + +bool PythonQtWrapper_QJSValue::isRegExp(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isRegExp()); +} + +bool PythonQtWrapper_QJSValue::isString(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isString()); +} + +bool PythonQtWrapper_QJSValue::isUndefined(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isUndefined()); +} + +bool PythonQtWrapper_QJSValue::isVariant(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isVariant()); +} + +QJSValue* PythonQtWrapper_QJSValue::operator_assign(QJSValue* theWrappedObject, const QJSValue& other) +{ + return &( (*theWrappedObject)= other); +} + +QJSValue PythonQtWrapper_QJSValue::property(QJSValue* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->property(name)); +} + +QJSValue PythonQtWrapper_QJSValue::property(QJSValue* theWrappedObject, unsigned int arrayIndex) const +{ + return ( theWrappedObject->property(arrayIndex)); +} + +QJSValue PythonQtWrapper_QJSValue::prototype(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->prototype()); +} + +void PythonQtWrapper_QJSValue::setProperty(QJSValue* theWrappedObject, const QString& name, const QJSValue& value) +{ + ( theWrappedObject->setProperty(name, value)); +} + +void PythonQtWrapper_QJSValue::setProperty(QJSValue* theWrappedObject, unsigned int arrayIndex, const QJSValue& value) +{ + ( theWrappedObject->setProperty(arrayIndex, value)); +} + +void PythonQtWrapper_QJSValue::setPrototype(QJSValue* theWrappedObject, const QJSValue& prototype) +{ + ( theWrappedObject->setPrototype(prototype)); +} + +bool PythonQtWrapper_QJSValue::strictlyEquals(QJSValue* theWrappedObject, const QJSValue& other) const +{ + return ( theWrappedObject->strictlyEquals(other)); +} + +bool PythonQtWrapper_QJSValue::toBool(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toBool()); +} + +QDateTime PythonQtWrapper_QJSValue::toDateTime(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toDateTime()); +} + +int PythonQtWrapper_QJSValue::toInt(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toInt()); +} + +double PythonQtWrapper_QJSValue::toNumber(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toNumber()); +} + +const QMetaObject* PythonQtWrapper_QJSValue::toQMetaObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toQMetaObject()); +} + +QObject* PythonQtWrapper_QJSValue::toQObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toQObject()); +} + +QString PythonQtWrapper_QJSValue::toString(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +unsigned int PythonQtWrapper_QJSValue::toUInt(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toUInt()); +} + +QVariant PythonQtWrapper_QJSValue::toVariant(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toVariant()); +} + +QString PythonQtWrapper_QJSValue::py_toString(QJSValue* obj) { return obj->toString(); } + + +PythonQtShell_QQmlAbstractUrlInterceptor::~PythonQtShell_QQmlAbstractUrlInterceptor() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QUrl PythonQtShell_QQmlAbstractUrlInterceptor::intercept(const QUrl& path0, QQmlAbstractUrlInterceptor::DataType type1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("intercept"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QUrl&" , "QQmlAbstractUrlInterceptor::DataType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("intercept", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QQmlAbstractUrlInterceptor* PythonQtWrapper_QQmlAbstractUrlInterceptor::new_QQmlAbstractUrlInterceptor() +{ +return new PythonQtShell_QQmlAbstractUrlInterceptor(); } + +QUrl PythonQtWrapper_QQmlAbstractUrlInterceptor::intercept(QQmlAbstractUrlInterceptor* theWrappedObject, const QUrl& path, QQmlAbstractUrlInterceptor::DataType type) +{ + return ( theWrappedObject->intercept(path, type)); +} + + + +PythonQtShell_QQmlApplicationEngine::~PythonQtShell_QQmlApplicationEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlApplicationEngine::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(); + } + } +} + QQmlApplicationEngine::childEvent(event0); +} +void PythonQtShell_QQmlApplicationEngine::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(); + } + } +} + QQmlApplicationEngine::customEvent(event0); +} +bool PythonQtShell_QQmlApplicationEngine::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlApplicationEngine::event(arg__1); +} +bool PythonQtShell_QQmlApplicationEngine::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 QQmlApplicationEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlApplicationEngine::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(); + } + } +} + QQmlApplicationEngine::timerEvent(event0); +} +QQmlApplicationEngine* PythonQtWrapper_QQmlApplicationEngine::new_QQmlApplicationEngine(QObject* parent) +{ +return new PythonQtShell_QQmlApplicationEngine(parent); } + +QQmlApplicationEngine* PythonQtWrapper_QQmlApplicationEngine::new_QQmlApplicationEngine(const QString& filePath, QObject* parent) +{ +return new PythonQtShell_QQmlApplicationEngine(filePath, parent); } + +QQmlApplicationEngine* PythonQtWrapper_QQmlApplicationEngine::new_QQmlApplicationEngine(const QUrl& url, QObject* parent) +{ +return new PythonQtShell_QQmlApplicationEngine(url, parent); } + +const QMetaObject* PythonQtShell_QQmlApplicationEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlApplicationEngine::staticMetaObject); + } else { + return &QQmlApplicationEngine::staticMetaObject; + } +} +int PythonQtShell_QQmlApplicationEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlApplicationEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QQmlApplicationEngine::rootObjects(QQmlApplicationEngine* theWrappedObject) +{ + return ( theWrappedObject->rootObjects()); +} + +QList PythonQtWrapper_QQmlApplicationEngine::rootObjects(QQmlApplicationEngine* theWrappedObject) const +{ + return ( theWrappedObject->rootObjects()); +} + + + +PythonQtShell_QQmlComponent::~PythonQtShell_QQmlComponent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QObject* PythonQtShell_QQmlComponent::beginCreate(QQmlContext* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("beginCreate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*" , "QQmlContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("beginCreate", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlComponent::beginCreate(arg__1); +} +void PythonQtShell_QQmlComponent::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(); + } + } +} + QQmlComponent::childEvent(event0); +} +void PythonQtShell_QQmlComponent::completeCreate() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("completeCreate"); + 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(); + } + } +} + QQmlComponent::completeCreate(); +} +QObject* PythonQtShell_QQmlComponent::create(QQmlContext* context0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*" , "QQmlContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlComponent::create(context0); +} +void PythonQtShell_QQmlComponent::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(); + } + } +} + QQmlComponent::customEvent(event0); +} +bool PythonQtShell_QQmlComponent::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 QQmlComponent::event(event0); +} +bool PythonQtShell_QQmlComponent::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 QQmlComponent::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlComponent::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(); + } + } +} + QQmlComponent::timerEvent(event0); +} +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QObject* parent) +{ +return new PythonQtShell_QQmlComponent(parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, fileName, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent::CompilationMode mode, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, fileName, mode, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, url, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QQmlComponent::CompilationMode mode, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, url, mode, parent); } + +const QMetaObject* PythonQtShell_QQmlComponent::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlComponent::staticMetaObject); + } else { + return &QQmlComponent::staticMetaObject; + } +} +int PythonQtShell_QQmlComponent::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlComponent::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QQmlComponent::beginCreate(QQmlComponent* theWrappedObject, QQmlContext* arg__1) +{ + return ( theWrappedObject->beginCreate(arg__1)); +} + +void PythonQtWrapper_QQmlComponent::completeCreate(QQmlComponent* theWrappedObject) +{ + ( theWrappedObject->completeCreate()); +} + +QObject* PythonQtWrapper_QQmlComponent::create(QQmlComponent* theWrappedObject, QQmlContext* context) +{ + return ( theWrappedObject->create(context)); +} + +void PythonQtWrapper_QQmlComponent::create(QQmlComponent* theWrappedObject, QQmlIncubator& arg__1, QQmlContext* context, QQmlContext* forContext) +{ + ( theWrappedObject->create(arg__1, context, forContext)); +} + +QObject* PythonQtWrapper_QQmlComponent::createWithInitialProperties(QQmlComponent* theWrappedObject, const QMap& initialProperties, QQmlContext* context) +{ + return ( theWrappedObject->createWithInitialProperties(initialProperties, context)); +} + +QQmlContext* PythonQtWrapper_QQmlComponent::creationContext(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->creationContext()); +} + +QQmlEngine* PythonQtWrapper_QQmlComponent::engine(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QString PythonQtWrapper_QQmlComponent::errorString(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QList PythonQtWrapper_QQmlComponent::errors(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +bool PythonQtWrapper_QQmlComponent::isError(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QQmlComponent::isLoading(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isLoading()); +} + +bool PythonQtWrapper_QQmlComponent::isNull(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QQmlComponent::isReady(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isReady()); +} + +qreal PythonQtWrapper_QQmlComponent::progress(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->progress()); +} + +void PythonQtWrapper_QQmlComponent::setInitialProperties(QQmlComponent* theWrappedObject, QObject* component, const QMap& properties) +{ + ( theWrappedObject->setInitialProperties(component, properties)); +} + +QQmlComponent::Status PythonQtWrapper_QQmlComponent::status(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +QUrl PythonQtWrapper_QQmlComponent::url(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +PythonQtShell_QQmlContext::~PythonQtShell_QQmlContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlContext::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(); + } + } +} + QQmlContext::childEvent(event0); +} +void PythonQtShell_QQmlContext::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(); + } + } +} + QQmlContext::customEvent(event0); +} +bool PythonQtShell_QQmlContext::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 QQmlContext::event(event0); +} +bool PythonQtShell_QQmlContext::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 QQmlContext::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlContext::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(); + } + } +} + QQmlContext::timerEvent(event0); +} +QQmlContext* PythonQtWrapper_QQmlContext::new_QQmlContext(QQmlContext* parent, QObject* objParent) +{ +return new PythonQtShell_QQmlContext(parent, objParent); } + +QQmlContext* PythonQtWrapper_QQmlContext::new_QQmlContext(QQmlEngine* parent, QObject* objParent) +{ +return new PythonQtShell_QQmlContext(parent, objParent); } + +const QMetaObject* PythonQtShell_QQmlContext::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlContext::staticMetaObject); + } else { + return &QQmlContext::staticMetaObject; + } +} +int PythonQtShell_QQmlContext::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlContext::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUrl PythonQtWrapper_QQmlContext::baseUrl(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +QObject* PythonQtWrapper_QQmlContext::contextObject(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->contextObject()); +} + +QVariant PythonQtWrapper_QQmlContext::contextProperty(QQmlContext* theWrappedObject, const QString& arg__1) const +{ + return ( theWrappedObject->contextProperty(arg__1)); +} + +QQmlEngine* PythonQtWrapper_QQmlContext::engine(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +bool PythonQtWrapper_QQmlContext::isValid(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QQmlContext::nameForObject(QQmlContext* theWrappedObject, QObject* arg__1) const +{ + return ( theWrappedObject->nameForObject(arg__1)); +} + +QQmlContext* PythonQtWrapper_QQmlContext::parentContext(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->parentContext()); +} + +QUrl PythonQtWrapper_QQmlContext::resolvedUrl(QQmlContext* theWrappedObject, const QUrl& arg__1) +{ + return ( theWrappedObject->resolvedUrl(arg__1)); +} + +void PythonQtWrapper_QQmlContext::setBaseUrl(QQmlContext* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setBaseUrl(arg__1)); +} + +void PythonQtWrapper_QQmlContext::setContextObject(QQmlContext* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->setContextObject(arg__1)); +} + +void PythonQtWrapper_QQmlContext::setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, QObject* arg__2) +{ + ( theWrappedObject->setContextProperty(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlContext::setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, const QVariant& arg__2) +{ + ( theWrappedObject->setContextProperty(arg__1, arg__2)); +} + + + +QQmlDebuggingEnabler* PythonQtWrapper_QQmlDebuggingEnabler::new_QQmlDebuggingEnabler(bool printWarning) +{ +return new QQmlDebuggingEnabler(printWarning); } + +bool PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_connectToLocalDebugger(const QString& socketFileName, QQmlDebuggingEnabler::StartMode mode) +{ + return (QQmlDebuggingEnabler::connectToLocalDebugger(socketFileName, mode)); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_debuggerServices() +{ + return (QQmlDebuggingEnabler::debuggerServices()); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_inspectorServices() +{ + return (QQmlDebuggingEnabler::inspectorServices()); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_nativeDebuggerServices() +{ + return (QQmlDebuggingEnabler::nativeDebuggerServices()); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_profilerServices() +{ + return (QQmlDebuggingEnabler::profilerServices()); +} + +void PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_setServices(const QStringList& services) +{ + (QQmlDebuggingEnabler::setServices(services)); +} + +bool PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_startDebugConnector(const QString& pluginName, const QHash& configuration) +{ + return (QQmlDebuggingEnabler::startDebugConnector(pluginName, configuration)); +} + +bool PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_startTcpDebugServer(int port, QQmlDebuggingEnabler::StartMode mode, const QString& hostName) +{ + return (QQmlDebuggingEnabler::startTcpDebugServer(port, mode, hostName)); +} + + + +PythonQtShell_QQmlEngine::~PythonQtShell_QQmlEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlEngine::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(); + } + } +} + QQmlEngine::childEvent(event0); +} +void PythonQtShell_QQmlEngine::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(); + } + } +} + QQmlEngine::customEvent(event0); +} +bool PythonQtShell_QQmlEngine::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlEngine::event(arg__1); +} +bool PythonQtShell_QQmlEngine::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 QQmlEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlEngine::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(); + } + } +} + QQmlEngine::timerEvent(event0); +} +QQmlEngine* PythonQtWrapper_QQmlEngine::new_QQmlEngine(QObject* p) +{ +return new PythonQtShell_QQmlEngine(p); } + +const QMetaObject* PythonQtShell_QQmlEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlEngine::staticMetaObject); + } else { + return &QQmlEngine::staticMetaObject; + } +} +int PythonQtShell_QQmlEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQmlEngine::addImportPath(QQmlEngine* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->addImportPath(dir)); +} + +bool PythonQtWrapper_QQmlEngine::addNamedBundle(QQmlEngine* theWrappedObject, const QString& name, const QString& fileName) +{ + return ( theWrappedObject->addNamedBundle(name, fileName)); +} + +void PythonQtWrapper_QQmlEngine::addPluginPath(QQmlEngine* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->addPluginPath(dir)); +} + +QUrl PythonQtWrapper_QQmlEngine::baseUrl(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +void PythonQtWrapper_QQmlEngine::clearComponentCache(QQmlEngine* theWrappedObject) +{ + ( theWrappedObject->clearComponentCache()); +} + +QQmlContext* PythonQtWrapper_QQmlEngine::static_QQmlEngine_contextForObject(const QObject* arg__1) +{ + return (QQmlEngine::contextForObject(arg__1)); +} + +QStringList PythonQtWrapper_QQmlEngine::importPathList(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->importPathList()); +} + +bool PythonQtWrapper_QQmlEngine::importPlugin(QQmlEngine* theWrappedObject, const QString& filePath, const QString& uri, QList* errors) +{ + return ( theWrappedObject->importPlugin(filePath, uri, errors)); +} + +QQmlIncubationController* PythonQtWrapper_QQmlEngine::incubationController(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->incubationController()); +} + +QNetworkAccessManager* PythonQtWrapper_QQmlEngine::networkAccessManager(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QQmlNetworkAccessManagerFactory* PythonQtWrapper_QQmlEngine::networkAccessManagerFactory(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManagerFactory()); +} + +QQmlEngine::ObjectOwnership PythonQtWrapper_QQmlEngine::static_QQmlEngine_objectOwnership(QObject* arg__1) +{ + return (QQmlEngine::objectOwnership(arg__1)); +} + +QString PythonQtWrapper_QQmlEngine::offlineStorageDatabaseFilePath(QQmlEngine* theWrappedObject, const QString& databaseName) const +{ + return ( theWrappedObject->offlineStorageDatabaseFilePath(databaseName)); +} + +QString PythonQtWrapper_QQmlEngine::offlineStoragePath(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->offlineStoragePath()); +} + +bool PythonQtWrapper_QQmlEngine::outputWarningsToStandardError(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->outputWarningsToStandardError()); +} + +QStringList PythonQtWrapper_QQmlEngine::pluginPathList(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->pluginPathList()); +} + +void PythonQtWrapper_QQmlEngine::removeImageProvider(QQmlEngine* theWrappedObject, const QString& id) +{ + ( theWrappedObject->removeImageProvider(id)); +} + +QQmlContext* PythonQtWrapper_QQmlEngine::rootContext(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->rootContext()); +} + +void PythonQtWrapper_QQmlEngine::setBaseUrl(QQmlEngine* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setBaseUrl(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::static_QQmlEngine_setContextForObject(QObject* arg__1, QQmlContext* arg__2) +{ + (QQmlEngine::setContextForObject(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlEngine::setImportPathList(QQmlEngine* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setImportPathList(paths)); +} + +void PythonQtWrapper_QQmlEngine::setIncubationController(QQmlEngine* theWrappedObject, QQmlIncubationController* arg__1) +{ + ( theWrappedObject->setIncubationController(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::setNetworkAccessManagerFactory(QQmlEngine* theWrappedObject, QQmlNetworkAccessManagerFactory* arg__1) +{ + ( theWrappedObject->setNetworkAccessManagerFactory(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::static_QQmlEngine_setObjectOwnership(QObject* arg__1, QQmlEngine::ObjectOwnership arg__2) +{ + (QQmlEngine::setObjectOwnership(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlEngine::setOfflineStoragePath(QQmlEngine* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->setOfflineStoragePath(dir)); +} + +void PythonQtWrapper_QQmlEngine::setOutputWarningsToStandardError(QQmlEngine* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setOutputWarningsToStandardError(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::setPluginPathList(QQmlEngine* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setPluginPathList(paths)); +} + +void PythonQtWrapper_QQmlEngine::setUrlInterceptor(QQmlEngine* theWrappedObject, QQmlAbstractUrlInterceptor* urlInterceptor) +{ + ( theWrappedObject->setUrlInterceptor(urlInterceptor)); +} + +void PythonQtWrapper_QQmlEngine::trimComponentCache(QQmlEngine* theWrappedObject) +{ + ( theWrappedObject->trimComponentCache()); +} + +QQmlAbstractUrlInterceptor* PythonQtWrapper_QQmlEngine::urlInterceptor(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->urlInterceptor()); +} + + + +QQmlError* PythonQtWrapper_QQmlError::new_QQmlError() +{ +return new QQmlError(); } + +QQmlError* PythonQtWrapper_QQmlError::new_QQmlError(const QQmlError& arg__1) +{ +return new QQmlError(arg__1); } + +int PythonQtWrapper_QQmlError::column(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QString PythonQtWrapper_QQmlError::description(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +bool PythonQtWrapper_QQmlError::isValid(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QQmlError::line(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +QtMsgType PythonQtWrapper_QQmlError::messageType(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->messageType()); +} + +QObject* PythonQtWrapper_QQmlError::object(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +QQmlError* PythonQtWrapper_QQmlError::operator_assign(QQmlError* theWrappedObject, const QQmlError& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +void PythonQtWrapper_QQmlError::setColumn(QQmlError* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setColumn(arg__1)); +} + +void PythonQtWrapper_QQmlError::setDescription(QQmlError* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setDescription(arg__1)); +} + +void PythonQtWrapper_QQmlError::setLine(QQmlError* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setLine(arg__1)); +} + +void PythonQtWrapper_QQmlError::setMessageType(QQmlError* theWrappedObject, QtMsgType messageType) +{ + ( theWrappedObject->setMessageType(messageType)); +} + +void PythonQtWrapper_QQmlError::setObject(QQmlError* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->setObject(arg__1)); +} + +void PythonQtWrapper_QQmlError::setUrl(QQmlError* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setUrl(arg__1)); +} + +QString PythonQtWrapper_QQmlError::toString(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QUrl PythonQtWrapper_QQmlError::url(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +QString PythonQtWrapper_QQmlError::py_toString(QQmlError* obj) { return obj->toString(); } + + +PythonQtShell_QQmlExpression::~PythonQtShell_QQmlExpression() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlExpression::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(); + } + } +} + QQmlExpression::childEvent(event0); +} +void PythonQtShell_QQmlExpression::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(); + } + } +} + QQmlExpression::customEvent(event0); +} +bool PythonQtShell_QQmlExpression::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 QQmlExpression::event(event0); +} +bool PythonQtShell_QQmlExpression::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 QQmlExpression::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlExpression::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(); + } + } +} + QQmlExpression::timerEvent(event0); +} +QQmlExpression* PythonQtWrapper_QQmlExpression::new_QQmlExpression() +{ +return new PythonQtShell_QQmlExpression(); } + +QQmlExpression* PythonQtWrapper_QQmlExpression::new_QQmlExpression(QQmlContext* arg__1, QObject* arg__2, const QString& arg__3, QObject* arg__4) +{ +return new PythonQtShell_QQmlExpression(arg__1, arg__2, arg__3, arg__4); } + +QQmlExpression* PythonQtWrapper_QQmlExpression::new_QQmlExpression(const QQmlScriptString& arg__1, QQmlContext* arg__2, QObject* arg__3, QObject* arg__4) +{ +return new PythonQtShell_QQmlExpression(arg__1, arg__2, arg__3, arg__4); } + +const QMetaObject* PythonQtShell_QQmlExpression::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlExpression::staticMetaObject); + } else { + return &QQmlExpression::staticMetaObject; + } +} +int PythonQtShell_QQmlExpression::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlExpression::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQmlExpression::clearError(QQmlExpression* theWrappedObject) +{ + ( theWrappedObject->clearError()); +} + +int PythonQtWrapper_QQmlExpression::columnNumber(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QQmlContext* PythonQtWrapper_QQmlExpression::context(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +QQmlEngine* PythonQtWrapper_QQmlExpression::engine(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QQmlError PythonQtWrapper_QQmlExpression::error(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QVariant PythonQtWrapper_QQmlExpression::evaluate(QQmlExpression* theWrappedObject, bool* valueIsUndefined) +{ + return ( theWrappedObject->evaluate(valueIsUndefined)); +} + +QString PythonQtWrapper_QQmlExpression::expression(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->expression()); +} + +bool PythonQtWrapper_QQmlExpression::hasError(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +int PythonQtWrapper_QQmlExpression::lineNumber(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +bool PythonQtWrapper_QQmlExpression::notifyOnValueChanged(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->notifyOnValueChanged()); +} + +QObject* PythonQtWrapper_QQmlExpression::scopeObject(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->scopeObject()); +} + +void PythonQtWrapper_QQmlExpression::setExpression(QQmlExpression* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setExpression(arg__1)); +} + +void PythonQtWrapper_QQmlExpression::setNotifyOnValueChanged(QQmlExpression* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setNotifyOnValueChanged(arg__1)); +} + +void PythonQtWrapper_QQmlExpression::setSourceLocation(QQmlExpression* theWrappedObject, const QString& fileName, int line, int column) +{ + ( theWrappedObject->setSourceLocation(fileName, line, column)); +} + +QString PythonQtWrapper_QQmlExpression::sourceFile(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->sourceFile()); +} + + + +PythonQtShell_QQmlExtensionInterface::~PythonQtShell_QQmlExtensionInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlExtensionInterface::initializeEngine(QQmlEngine* engine0, const char* uri1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQmlEngine*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&engine0, (void*)&uri1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QQmlExtensionInterface::registerTypes(const char* uri0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("registerTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&uri0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlExtensionInterface* PythonQtWrapper_QQmlExtensionInterface::new_QQmlExtensionInterface() +{ +return new PythonQtShell_QQmlExtensionInterface(); } + +void PythonQtWrapper_QQmlExtensionInterface::initializeEngine(QQmlExtensionInterface* theWrappedObject, QQmlEngine* engine, const char* uri) +{ + ( theWrappedObject->initializeEngine(engine, uri)); +} + + + +PythonQtShell_QQmlExtensionPlugin::~PythonQtShell_QQmlExtensionPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlExtensionPlugin::initializeEngine(QQmlEngine* engine0, const char* uri1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQmlEngine*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&engine0, (void*)&uri1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlExtensionPlugin::initializeEngine(engine0, uri1); +} +void PythonQtShell_QQmlExtensionPlugin::registerTypes(const char* uri0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("registerTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&uri0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlExtensionPlugin* PythonQtWrapper_QQmlExtensionPlugin::new_QQmlExtensionPlugin(QObject* parent) +{ +return new PythonQtShell_QQmlExtensionPlugin(parent); } + +const QMetaObject* PythonQtShell_QQmlExtensionPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlExtensionPlugin::staticMetaObject); + } else { + return &QQmlExtensionPlugin::staticMetaObject; + } +} +int PythonQtShell_QQmlExtensionPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlExtensionPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUrl PythonQtWrapper_QQmlExtensionPlugin::baseUrl(QQmlExtensionPlugin* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +void PythonQtWrapper_QQmlExtensionPlugin::initializeEngine(QQmlExtensionPlugin* theWrappedObject, QQmlEngine* engine, const char* uri) +{ + ( theWrappedObject->initializeEngine(engine, uri)); +} + +void PythonQtWrapper_QQmlExtensionPlugin::registerTypes(QQmlExtensionPlugin* theWrappedObject, const char* uri) +{ + ( theWrappedObject->registerTypes(uri)); +} + + + +QQmlFile* PythonQtWrapper_QQmlFile::new_QQmlFile() +{ +return new QQmlFile(); } + +QQmlFile* PythonQtWrapper_QQmlFile::new_QQmlFile(QQmlEngine* arg__1, const QString& arg__2) +{ +return new QQmlFile(arg__1, arg__2); } + +QQmlFile* PythonQtWrapper_QQmlFile::new_QQmlFile(QQmlEngine* arg__1, const QUrl& arg__2) +{ +return new QQmlFile(arg__1, arg__2); } + +void PythonQtWrapper_QQmlFile::clear(QQmlFile* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QQmlFile::clear(QQmlFile* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->clear(arg__1)); +} + +bool PythonQtWrapper_QQmlFile::connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2) +{ + return ( theWrappedObject->connectDownloadProgress(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQmlFile::connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2) +{ + return ( theWrappedObject->connectDownloadProgress(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQmlFile::connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2) +{ + return ( theWrappedObject->connectFinished(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQmlFile::connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2) +{ + return ( theWrappedObject->connectFinished(arg__1, arg__2)); +} + +const char* PythonQtWrapper_QQmlFile::data(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QByteArray PythonQtWrapper_QQmlFile::dataByteArray(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->dataByteArray()); +} + +QString PythonQtWrapper_QQmlFile::error(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QQmlFile::isError(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QQmlFile::isLoading(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isLoading()); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isLocalFile(const QString& url) +{ + return (QQmlFile::isLocalFile(url)); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isLocalFile(const QUrl& url) +{ + return (QQmlFile::isLocalFile(url)); +} + +bool PythonQtWrapper_QQmlFile::isNull(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QQmlFile::isReady(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isReady()); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isSynchronous(const QString& url) +{ + return (QQmlFile::isSynchronous(url)); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isSynchronous(const QUrl& url) +{ + return (QQmlFile::isSynchronous(url)); +} + +void PythonQtWrapper_QQmlFile::load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QString& arg__2) +{ + ( theWrappedObject->load(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlFile::load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QUrl& arg__2) +{ + ( theWrappedObject->load(arg__1, arg__2)); +} + +qint64 PythonQtWrapper_QQmlFile::size(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QQmlFile::Status PythonQtWrapper_QQmlFile::status(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +QUrl PythonQtWrapper_QQmlFile::url(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +QString PythonQtWrapper_QQmlFile::static_QQmlFile_urlToLocalFileOrQrc(const QString& arg__1) +{ + return (QQmlFile::urlToLocalFileOrQrc(arg__1)); +} + +QString PythonQtWrapper_QQmlFile::static_QQmlFile_urlToLocalFileOrQrc(const QUrl& arg__1) +{ + return (QQmlFile::urlToLocalFileOrQrc(arg__1)); +} + + + +PythonQtShell_QQmlFileSelector::~PythonQtShell_QQmlFileSelector() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlFileSelector::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(); + } + } +} + QQmlFileSelector::childEvent(event0); +} +void PythonQtShell_QQmlFileSelector::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(); + } + } +} + QQmlFileSelector::customEvent(event0); +} +bool PythonQtShell_QQmlFileSelector::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 QQmlFileSelector::event(event0); +} +bool PythonQtShell_QQmlFileSelector::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 QQmlFileSelector::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlFileSelector::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(); + } + } +} + QQmlFileSelector::timerEvent(event0); +} +QQmlFileSelector* PythonQtWrapper_QQmlFileSelector::new_QQmlFileSelector(QQmlEngine* engine, QObject* parent) +{ +return new PythonQtShell_QQmlFileSelector(engine, parent); } + +const QMetaObject* PythonQtShell_QQmlFileSelector::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlFileSelector::staticMetaObject); + } else { + return &QQmlFileSelector::staticMetaObject; + } +} +int PythonQtShell_QQmlFileSelector::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlFileSelector::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQmlFileSelector* PythonQtWrapper_QQmlFileSelector::static_QQmlFileSelector_get(QQmlEngine* arg__1) +{ + return (QQmlFileSelector::get(arg__1)); +} + +QFileSelector* PythonQtWrapper_QQmlFileSelector::selector(QQmlFileSelector* theWrappedObject) const +{ + return ( theWrappedObject->selector()); +} + +void PythonQtWrapper_QQmlFileSelector::setExtraSelectors(QQmlFileSelector* theWrappedObject, QStringList& strings) +{ + ( theWrappedObject->setExtraSelectors(strings)); +} + +void PythonQtWrapper_QQmlFileSelector::setExtraSelectors(QQmlFileSelector* theWrappedObject, const QStringList& strings) +{ + ( theWrappedObject->setExtraSelectors(strings)); +} + +void PythonQtWrapper_QQmlFileSelector::setSelector(QQmlFileSelector* theWrappedObject, QFileSelector* selector) +{ + ( theWrappedObject->setSelector(selector)); +} + + + +PythonQtShell_QQmlIncubationController::~PythonQtShell_QQmlIncubationController() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlIncubationController::incubatingObjectCountChanged(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("incubatingObjectCountChanged"); + 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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlIncubationController::incubatingObjectCountChanged(arg__1); +} +QQmlIncubationController* PythonQtWrapper_QQmlIncubationController::new_QQmlIncubationController() +{ +return new PythonQtShell_QQmlIncubationController(); } + +QQmlEngine* PythonQtWrapper_QQmlIncubationController::engine(QQmlIncubationController* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +void PythonQtWrapper_QQmlIncubationController::incubateFor(QQmlIncubationController* theWrappedObject, int msecs) +{ + ( theWrappedObject->incubateFor(msecs)); +} + +void PythonQtWrapper_QQmlIncubationController::incubateWhile(QQmlIncubationController* theWrappedObject, bool* flag, int msecs) +{ + ( theWrappedObject->incubateWhile(flag, msecs)); +} + +int PythonQtWrapper_QQmlIncubationController::incubatingObjectCount(QQmlIncubationController* theWrappedObject) const +{ + return ( theWrappedObject->incubatingObjectCount()); +} + +void PythonQtWrapper_QQmlIncubationController::incubatingObjectCountChanged(QQmlIncubationController* theWrappedObject, int arg__1) +{ + ( ((PythonQtPublicPromoter_QQmlIncubationController*)theWrappedObject)->promoted_incubatingObjectCountChanged(arg__1)); +} + + + +PythonQtShell_QQmlIncubator::~PythonQtShell_QQmlIncubator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlIncubator::setInitialState(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setInitialState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlIncubator::setInitialState(arg__1); +} +void PythonQtShell_QQmlIncubator::statusChanged(QQmlIncubator::Status arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("statusChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQmlIncubator::Status"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlIncubator::statusChanged(arg__1); +} +QQmlIncubator* PythonQtWrapper_QQmlIncubator::new_QQmlIncubator(QQmlIncubator::IncubationMode arg__1) +{ +return new PythonQtShell_QQmlIncubator(arg__1); } + +void PythonQtWrapper_QQmlIncubator::clear(QQmlIncubator* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QList PythonQtWrapper_QQmlIncubator::errors(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +void PythonQtWrapper_QQmlIncubator::forceCompletion(QQmlIncubator* theWrappedObject) +{ + ( theWrappedObject->forceCompletion()); +} + +QQmlIncubator::IncubationMode PythonQtWrapper_QQmlIncubator::incubationMode(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->incubationMode()); +} + +bool PythonQtWrapper_QQmlIncubator::isError(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QQmlIncubator::isLoading(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isLoading()); +} + +bool PythonQtWrapper_QQmlIncubator::isNull(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QQmlIncubator::isReady(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isReady()); +} + +QObject* PythonQtWrapper_QQmlIncubator::object(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +void PythonQtWrapper_QQmlIncubator::setInitialProperties(QQmlIncubator* theWrappedObject, const QMap& initialProperties) +{ + ( theWrappedObject->setInitialProperties(initialProperties)); +} + +void PythonQtWrapper_QQmlIncubator::setInitialState(QQmlIncubator* theWrappedObject, QObject* arg__1) +{ + ( ((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->promoted_setInitialState(arg__1)); +} + +QQmlIncubator::Status PythonQtWrapper_QQmlIncubator::status(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +void PythonQtWrapper_QQmlIncubator::statusChanged(QQmlIncubator* theWrappedObject, QQmlIncubator::Status arg__1) +{ + ( ((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->promoted_statusChanged(arg__1)); +} + + + +QQmlInfo* PythonQtWrapper_QQmlInfo::new_QQmlInfo(const QQmlInfo& arg__1) +{ +return new QQmlInfo(arg__1); } + +QQmlInfo* PythonQtWrapper_QQmlInfo::__lshift__(QQmlInfo* theWrappedObject, QChar t) +{ + return &( (*theWrappedObject) <append(arg__1)); +} + +QObject* PythonQtWrapper_QQmlListReference::at(QQmlListReference* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->at(arg__1)); +} + +bool PythonQtWrapper_QQmlListReference::canAppend(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canAppend()); +} + +bool PythonQtWrapper_QQmlListReference::canAt(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canAt()); +} + +bool PythonQtWrapper_QQmlListReference::canClear(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canClear()); +} + +bool PythonQtWrapper_QQmlListReference::canCount(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canCount()); +} + +bool PythonQtWrapper_QQmlListReference::canRemoveLast(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canRemoveLast()); +} + +bool PythonQtWrapper_QQmlListReference::canReplace(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canReplace()); +} + +bool PythonQtWrapper_QQmlListReference::clear(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QQmlListReference::count(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QQmlListReference::isManipulable(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->isManipulable()); +} + +bool PythonQtWrapper_QQmlListReference::isReadable(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QQmlListReference::isValid(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const QMetaObject* PythonQtWrapper_QQmlListReference::listElementType(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->listElementType()); +} + +QObject* PythonQtWrapper_QQmlListReference::object(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +QQmlListReference* PythonQtWrapper_QQmlListReference::operator_assign(QQmlListReference* theWrappedObject, const QQmlListReference& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QQmlListReference::removeLast(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QQmlListReference::replace(QQmlListReference* theWrappedObject, int arg__1, QObject* arg__2) const +{ + return ( theWrappedObject->replace(arg__1, arg__2)); +} + + + +PythonQtShell_QQmlNetworkAccessManagerFactory::~PythonQtShell_QQmlNetworkAccessManagerFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QNetworkAccessManager* PythonQtShell_QQmlNetworkAccessManagerFactory::create(QObject* parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkAccessManager*" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QNetworkAccessManager**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QQmlNetworkAccessManagerFactory* PythonQtWrapper_QQmlNetworkAccessManagerFactory::new_QQmlNetworkAccessManagerFactory() +{ +return new PythonQtShell_QQmlNetworkAccessManagerFactory(); } + +QNetworkAccessManager* PythonQtWrapper_QQmlNetworkAccessManagerFactory::create(QQmlNetworkAccessManagerFactory* theWrappedObject, QObject* parent) +{ + return ( theWrappedObject->create(parent)); +} + + + +PythonQtShell_QQmlParserStatus::~PythonQtShell_QQmlParserStatus() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlParserStatus::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + 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(); + } + } +} + +} +void PythonQtShell_QQmlParserStatus::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + 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(); + } + } +} + +} +QQmlParserStatus* PythonQtWrapper_QQmlParserStatus::new_QQmlParserStatus() +{ +return new PythonQtShell_QQmlParserStatus(); } + +void PythonQtWrapper_QQmlParserStatus::classBegin(QQmlParserStatus* theWrappedObject) +{ + ( theWrappedObject->classBegin()); +} + +void PythonQtWrapper_QQmlParserStatus::componentComplete(QQmlParserStatus* theWrappedObject) +{ + ( theWrappedObject->componentComplete()); +} + + + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty() +{ +return new QQmlProperty(); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1) +{ +return new QQmlProperty(arg__1); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, QQmlContext* arg__2) +{ +return new QQmlProperty(arg__1, arg__2); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, QQmlEngine* arg__2) +{ +return new QQmlProperty(arg__1, arg__2); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, const QString& arg__2) +{ +return new QQmlProperty(arg__1, arg__2); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlContext* arg__3) +{ +return new QQmlProperty(arg__1, arg__2, arg__3); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3) +{ +return new QQmlProperty(arg__1, arg__2, arg__3); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(const QQmlProperty& arg__1) +{ +return new QQmlProperty(arg__1); } + +bool PythonQtWrapper_QQmlProperty::connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, const char* slot) const +{ + return ( theWrappedObject->connectNotifySignal(dest, slot)); +} + +bool PythonQtWrapper_QQmlProperty::connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, int method) const +{ + return ( theWrappedObject->connectNotifySignal(dest, method)); +} + +bool PythonQtWrapper_QQmlProperty::hasNotifySignal(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->hasNotifySignal()); +} + +int PythonQtWrapper_QQmlProperty::index(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +bool PythonQtWrapper_QQmlProperty::isDesignable(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isDesignable()); +} + +bool PythonQtWrapper_QQmlProperty::isProperty(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isProperty()); +} + +bool PythonQtWrapper_QQmlProperty::isResettable(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isResettable()); +} + +bool PythonQtWrapper_QQmlProperty::isSignalProperty(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isSignalProperty()); +} + +bool PythonQtWrapper_QQmlProperty::isValid(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QQmlProperty::isWritable(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QMetaMethod PythonQtWrapper_QQmlProperty::method(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->method()); +} + +QString PythonQtWrapper_QQmlProperty::name(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QQmlProperty::needsNotifySignal(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->needsNotifySignal()); +} + +QObject* PythonQtWrapper_QQmlProperty::object(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +QQmlProperty* PythonQtWrapper_QQmlProperty::operator_assign(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QQmlProperty::__eq__(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QMetaProperty PythonQtWrapper_QQmlProperty::property(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->property()); +} + +int PythonQtWrapper_QQmlProperty::propertyType(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyType()); +} + +QQmlProperty::PropertyTypeCategory PythonQtWrapper_QQmlProperty::propertyTypeCategory(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyTypeCategory()); +} + +const char* PythonQtWrapper_QQmlProperty::propertyTypeName(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyTypeName()); +} + +QVariant PythonQtWrapper_QQmlProperty::read(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->read()); +} + +QVariant PythonQtWrapper_QQmlProperty::static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2) +{ + return (QQmlProperty::read(arg__1, arg__2)); +} + +QVariant PythonQtWrapper_QQmlProperty::static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlContext* arg__3) +{ + return (QQmlProperty::read(arg__1, arg__2, arg__3)); +} + +QVariant PythonQtWrapper_QQmlProperty::static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3) +{ + return (QQmlProperty::read(arg__1, arg__2, arg__3)); +} + +bool PythonQtWrapper_QQmlProperty::reset(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->reset()); +} + +QQmlProperty::Type PythonQtWrapper_QQmlProperty::type(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +bool PythonQtWrapper_QQmlProperty::static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3) +{ + return (QQmlProperty::write(arg__1, arg__2, arg__3)); +} + +bool PythonQtWrapper_QQmlProperty::static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlContext* arg__4) +{ + return (QQmlProperty::write(arg__1, arg__2, arg__3, arg__4)); +} + +bool PythonQtWrapper_QQmlProperty::static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlEngine* arg__4) +{ + return (QQmlProperty::write(arg__1, arg__2, arg__3, arg__4)); +} + +bool PythonQtWrapper_QQmlProperty::write(QQmlProperty* theWrappedObject, const QVariant& arg__1) const +{ + return ( theWrappedObject->write(arg__1)); +} + + + +PythonQtShell_QQmlPropertyMap::~PythonQtShell_QQmlPropertyMap() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlPropertyMap::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(); + } + } +} + QQmlPropertyMap::childEvent(event0); +} +void PythonQtShell_QQmlPropertyMap::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(); + } + } +} + QQmlPropertyMap::customEvent(event0); +} +bool PythonQtShell_QQmlPropertyMap::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 QQmlPropertyMap::event(event0); +} +bool PythonQtShell_QQmlPropertyMap::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 QQmlPropertyMap::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlPropertyMap::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(); + } + } +} + QQmlPropertyMap::timerEvent(event0); +} +QVariant PythonQtShell_QQmlPropertyMap::updateValue(const QString& key0, const QVariant& input1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateValue"); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlPropertyMap::updateValue(key0, input1); +} +QQmlPropertyMap* PythonQtWrapper_QQmlPropertyMap::new_QQmlPropertyMap(QObject* parent) +{ +return new PythonQtShell_QQmlPropertyMap(parent); } + +const QMetaObject* PythonQtShell_QQmlPropertyMap::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlPropertyMap::staticMetaObject); + } else { + return &QQmlPropertyMap::staticMetaObject; + } +} +int PythonQtShell_QQmlPropertyMap::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlPropertyMap::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQmlPropertyMap::clear(QQmlPropertyMap* theWrappedObject, const QString& key) +{ + ( theWrappedObject->clear(key)); +} + +bool PythonQtWrapper_QQmlPropertyMap::contains(QQmlPropertyMap* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->contains(key)); +} + +int PythonQtWrapper_QQmlPropertyMap::count(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +void PythonQtWrapper_QQmlPropertyMap::insert(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->insert(key, value)); +} + +bool PythonQtWrapper_QQmlPropertyMap::isEmpty(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QStringList PythonQtWrapper_QQmlPropertyMap::keys(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +QVariant PythonQtWrapper_QQmlPropertyMap::operator_subscript(QQmlPropertyMap* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +int PythonQtWrapper_QQmlPropertyMap::size(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QVariant PythonQtWrapper_QQmlPropertyMap::updateValue(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& input) +{ + return ( ((PythonQtPublicPromoter_QQmlPropertyMap*)theWrappedObject)->promoted_updateValue(key, input)); +} + +QVariant PythonQtWrapper_QQmlPropertyMap::value(QQmlPropertyMap* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->value(key)); +} + + + +PythonQtShell_QQmlPropertyValueSource::~PythonQtShell_QQmlPropertyValueSource() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlPropertyValueSource::setTarget(const QQmlProperty& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setTarget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QQmlProperty&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlPropertyValueSource* PythonQtWrapper_QQmlPropertyValueSource::new_QQmlPropertyValueSource() +{ +return new PythonQtShell_QQmlPropertyValueSource(); } + +void PythonQtWrapper_QQmlPropertyValueSource::setTarget(QQmlPropertyValueSource* theWrappedObject, const QQmlProperty& arg__1) +{ + ( theWrappedObject->setTarget(arg__1)); +} + + + +QQmlScriptString* PythonQtWrapper_QQmlScriptString::new_QQmlScriptString() +{ +return new QQmlScriptString(); } + +QQmlScriptString* PythonQtWrapper_QQmlScriptString::new_QQmlScriptString(const QQmlScriptString& arg__1) +{ +return new QQmlScriptString(arg__1); } + +bool PythonQtWrapper_QQmlScriptString::booleanLiteral(QQmlScriptString* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->booleanLiteral(ok)); +} + +bool PythonQtWrapper_QQmlScriptString::isEmpty(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QQmlScriptString::isNullLiteral(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->isNullLiteral()); +} + +bool PythonQtWrapper_QQmlScriptString::isUndefinedLiteral(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->isUndefinedLiteral()); +} + +qreal PythonQtWrapper_QQmlScriptString::numberLiteral(QQmlScriptString* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->numberLiteral(ok)); +} + +bool PythonQtWrapper_QQmlScriptString::__ne__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QQmlScriptString* PythonQtWrapper_QQmlScriptString::operator_assign(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QQmlScriptString::__eq__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QString PythonQtWrapper_QQmlScriptString::stringLiteral(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->stringLiteral()); +} + + + +PythonQtShell_QQmlTypesExtensionInterface::~PythonQtShell_QQmlTypesExtensionInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlTypesExtensionInterface::registerTypes(const char* uri0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("registerTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&uri0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlTypesExtensionInterface* PythonQtWrapper_QQmlTypesExtensionInterface::new_QQmlTypesExtensionInterface() +{ +return new PythonQtShell_QQmlTypesExtensionInterface(); } + +void PythonQtWrapper_QQmlTypesExtensionInterface::registerTypes(QQmlTypesExtensionInterface* theWrappedObject, const char* uri) +{ + ( theWrappedObject->registerTypes(uri)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.h b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.h new file mode 100644 index 00000000..bc05c491 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml0.h @@ -0,0 +1,1067 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QJSEngine : public QJSEngine +{ +public: + PythonQtShell_QJSEngine():QJSEngine(),_wrapper(nullptr) {}; + PythonQtShell_QJSEngine(QObject* parent):QJSEngine(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QJSEngine() 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_QJSEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Extension ) +enum Extension{ + TranslationExtension = QJSEngine::TranslationExtension, ConsoleExtension = QJSEngine::ConsoleExtension, GarbageCollectionExtension = QJSEngine::GarbageCollectionExtension, AllExtensions = QJSEngine::AllExtensions}; +public slots: +QJSEngine* new_QJSEngine(); +QJSEngine* new_QJSEngine(QObject* parent); +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; + QJSValue importModule(QJSEngine* theWrappedObject, const QString& fileName); + void installTranslatorFunctions(QJSEngine* theWrappedObject, const QJSValue& object = QJSValue()); + bool isInterrupted(QJSEngine* theWrappedObject) const; + QJSValue newArray(QJSEngine* theWrappedObject, uint length = 0); + QJSValue newErrorObject(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message = QString()); + QJSValue newObject(QJSEngine* theWrappedObject); + QJSValue newQMetaObject(QJSEngine* theWrappedObject, const QMetaObject* metaObject); + QJSValue newQObject(QJSEngine* theWrappedObject, QObject* object); + void setInterrupted(QJSEngine* theWrappedObject, bool interrupted); + void setUiLanguage(QJSEngine* theWrappedObject, const QString& language); + void throwError(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message = QString()); + void throwError(QJSEngine* theWrappedObject, const QString& message); + QString uiLanguage(QJSEngine* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QJSValue : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ErrorType SpecialValue ) +enum ErrorType{ + NoError = QJSValue::NoError, GenericError = QJSValue::GenericError, EvalError = QJSValue::EvalError, RangeError = QJSValue::RangeError, ReferenceError = QJSValue::ReferenceError, SyntaxError = QJSValue::SyntaxError, TypeError = QJSValue::TypeError, URIError = QJSValue::URIError}; +enum SpecialValue{ + NullValue = QJSValue::NullValue, UndefinedValue = QJSValue::UndefinedValue}; +public slots: +QJSValue* new_QJSValue(QJSValue::SpecialValue value = QJSValue::UndefinedValue); +QJSValue* new_QJSValue(bool value); +QJSValue* new_QJSValue(const QJSValue& other); +QJSValue* new_QJSValue(const QString& value); +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; } + 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()); + bool deleteProperty(QJSValue* theWrappedObject, const QString& name); + QJSEngine* engine(QJSValue* theWrappedObject) const; + bool equals(QJSValue* theWrappedObject, const QJSValue& other) const; + QJSValue::ErrorType errorType(QJSValue* theWrappedObject) const; + bool hasOwnProperty(QJSValue* theWrappedObject, const QString& name) const; + bool hasProperty(QJSValue* theWrappedObject, const QString& name) const; + bool isArray(QJSValue* theWrappedObject) const; + bool isBool(QJSValue* theWrappedObject) const; + bool isCallable(QJSValue* theWrappedObject) const; + bool isDate(QJSValue* theWrappedObject) const; + bool isError(QJSValue* theWrappedObject) const; + bool isNull(QJSValue* theWrappedObject) const; + bool isNumber(QJSValue* theWrappedObject) const; + bool isObject(QJSValue* theWrappedObject) const; + bool isQMetaObject(QJSValue* theWrappedObject) const; + bool isQObject(QJSValue* theWrappedObject) const; + bool isRegExp(QJSValue* theWrappedObject) const; + bool isString(QJSValue* theWrappedObject) const; + bool isUndefined(QJSValue* theWrappedObject) const; + bool isVariant(QJSValue* theWrappedObject) const; + QJSValue* operator_assign(QJSValue* theWrappedObject, const QJSValue& other); + QJSValue property(QJSValue* theWrappedObject, const QString& name) const; + QJSValue property(QJSValue* theWrappedObject, unsigned int arrayIndex) const; + QJSValue prototype(QJSValue* theWrappedObject) const; + void setProperty(QJSValue* theWrappedObject, const QString& name, const QJSValue& value); + void setProperty(QJSValue* theWrappedObject, unsigned int arrayIndex, const QJSValue& value); + void setPrototype(QJSValue* theWrappedObject, const QJSValue& prototype); + bool strictlyEquals(QJSValue* theWrappedObject, const QJSValue& other) const; + bool toBool(QJSValue* theWrappedObject) const; + QDateTime toDateTime(QJSValue* theWrappedObject) const; + int toInt(QJSValue* theWrappedObject) const; + double toNumber(QJSValue* theWrappedObject) const; + const QMetaObject* toQMetaObject(QJSValue* theWrappedObject) const; + QObject* toQObject(QJSValue* theWrappedObject) const; + QString toString(QJSValue* theWrappedObject) const; + unsigned int toUInt(QJSValue* theWrappedObject) const; + QVariant toVariant(QJSValue* theWrappedObject) const; + QString py_toString(QJSValue*); + bool __nonzero__(QJSValue* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QQmlAbstractUrlInterceptor : public QQmlAbstractUrlInterceptor +{ +public: + PythonQtShell_QQmlAbstractUrlInterceptor():QQmlAbstractUrlInterceptor(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlAbstractUrlInterceptor() override; + +QUrl intercept(const QUrl& path, QQmlAbstractUrlInterceptor::DataType type) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlAbstractUrlInterceptor : public QQmlAbstractUrlInterceptor +{ public: +inline QUrl py_q_intercept(const QUrl& path, QQmlAbstractUrlInterceptor::DataType type) { return this->intercept(path, type); } +}; + +class PythonQtWrapper_QQmlAbstractUrlInterceptor : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DataType ) +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; } + 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));} +}; + + + + + +class PythonQtShell_QQmlApplicationEngine : public QQmlApplicationEngine +{ +public: + 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() 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 timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QQmlApplicationEngine : public QObject +{ Q_OBJECT +public: +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; } + QList rootObjects(QQmlApplicationEngine* theWrappedObject); + QList rootObjects(QQmlApplicationEngine* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QQmlComponent : public QQmlComponent +{ +public: + 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 +{ public: +inline QObject* py_q_beginCreate(QQmlContext* arg__1) { return QQmlComponent::beginCreate(arg__1); } +inline void py_q_completeCreate() { QQmlComponent::completeCreate(); } +inline QObject* py_q_create(QQmlContext* context = nullptr) { return QQmlComponent::create(context); } +}; + +class PythonQtWrapper_QQmlComponent : public QObject +{ Q_OBJECT +public: +public slots: +QQmlComponent* new_QQmlComponent(QObject* parent = nullptr); +QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, QObject* parent = nullptr); +QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QObject* parent = nullptr); +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; } + 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); + void py_q_completeCreate(QQmlComponent* theWrappedObject){ (((PythonQtPublicPromoter_QQmlComponent*)theWrappedObject)->py_q_completeCreate());} + QObject* create(QQmlComponent* theWrappedObject, QQmlContext* context = nullptr); + QObject* py_q_create(QQmlComponent* theWrappedObject, QQmlContext* context = nullptr){ return (((PythonQtPublicPromoter_QQmlComponent*)theWrappedObject)->py_q_create(context));} + void create(QQmlComponent* theWrappedObject, QQmlIncubator& arg__1, QQmlContext* context = nullptr, QQmlContext* forContext = nullptr); + QObject* createWithInitialProperties(QQmlComponent* theWrappedObject, const QMap& initialProperties, QQmlContext* context = nullptr); + QQmlContext* creationContext(QQmlComponent* theWrappedObject) const; + QQmlEngine* engine(QQmlComponent* theWrappedObject) const; + QString errorString(QQmlComponent* theWrappedObject) const; + QList errors(QQmlComponent* theWrappedObject) const; + bool isError(QQmlComponent* theWrappedObject) const; + bool isLoading(QQmlComponent* theWrappedObject) const; + bool isNull(QQmlComponent* theWrappedObject) const; + bool isReady(QQmlComponent* theWrappedObject) const; + qreal progress(QQmlComponent* theWrappedObject) const; + void setInitialProperties(QQmlComponent* theWrappedObject, QObject* component, const QMap& properties); + QQmlComponent::Status status(QQmlComponent* theWrappedObject) const; + QUrl url(QQmlComponent* theWrappedObject) const; + bool __nonzero__(QQmlComponent* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QQmlContext : public QQmlContext +{ +public: + 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() 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_QQmlContext : public QObject +{ Q_OBJECT +public: +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; } + QUrl baseUrl(QQmlContext* theWrappedObject) const; + QObject* contextObject(QQmlContext* theWrappedObject) const; + QVariant contextProperty(QQmlContext* theWrappedObject, const QString& arg__1) const; + QQmlEngine* engine(QQmlContext* theWrappedObject) const; + bool isValid(QQmlContext* theWrappedObject) const; + QString nameForObject(QQmlContext* theWrappedObject, QObject* arg__1) const; + QQmlContext* parentContext(QQmlContext* theWrappedObject) const; + QUrl resolvedUrl(QQmlContext* theWrappedObject, const QUrl& arg__1); + void setBaseUrl(QQmlContext* theWrappedObject, const QUrl& arg__1); + void setContextObject(QQmlContext* theWrappedObject, QObject* arg__1); + void setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, QObject* arg__2); + void setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, const QVariant& arg__2); + bool __nonzero__(QQmlContext* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QQmlDebuggingEnabler : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StartMode ) +enum StartMode{ + DoNotWaitForClient = QQmlDebuggingEnabler::DoNotWaitForClient, WaitForClient = QQmlDebuggingEnabler::WaitForClient}; +public slots: +QQmlDebuggingEnabler* new_QQmlDebuggingEnabler(bool printWarning = true); +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(); + QStringList static_QQmlDebuggingEnabler_nativeDebuggerServices(); + QStringList static_QQmlDebuggingEnabler_profilerServices(); + void static_QQmlDebuggingEnabler_setServices(const QStringList& services); + bool static_QQmlDebuggingEnabler_startDebugConnector(const QString& pluginName, const QHash& configuration = QVariantHash()); + bool static_QQmlDebuggingEnabler_startTcpDebugServer(int port, QQmlDebuggingEnabler::StartMode mode = QQmlDebuggingEnabler::DoNotWaitForClient, const QString& hostName = QString()); +}; + + + + + +class PythonQtShell_QQmlEngine : public QQmlEngine +{ +public: + PythonQtShell_QQmlEngine(QObject* p = nullptr):QQmlEngine(p),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlEngine() 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 timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlEngine : public QQmlEngine +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQmlEngine::event(arg__1); } +}; + +class PythonQtWrapper_QQmlEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ObjectOwnership ) +enum ObjectOwnership{ + CppOwnership = QQmlEngine::CppOwnership, JavaScriptOwnership = QQmlEngine::JavaScriptOwnership}; +public slots: +QQmlEngine* new_QQmlEngine(QObject* p = nullptr); +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); + QUrl baseUrl(QQmlEngine* theWrappedObject) const; + void clearComponentCache(QQmlEngine* theWrappedObject); + QQmlContext* static_QQmlEngine_contextForObject(const QObject* arg__1); + bool py_q_event(QQmlEngine* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQmlEngine*)theWrappedObject)->py_q_event(arg__1));} + QStringList importPathList(QQmlEngine* theWrappedObject) const; + bool importPlugin(QQmlEngine* theWrappedObject, const QString& filePath, const QString& uri, QList* errors); + QQmlIncubationController* incubationController(QQmlEngine* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QQmlEngine* theWrappedObject) const; + QQmlNetworkAccessManagerFactory* networkAccessManagerFactory(QQmlEngine* theWrappedObject) const; + QQmlEngine::ObjectOwnership static_QQmlEngine_objectOwnership(QObject* arg__1); + QString offlineStorageDatabaseFilePath(QQmlEngine* theWrappedObject, const QString& databaseName) const; + QString offlineStoragePath(QQmlEngine* theWrappedObject) const; + bool outputWarningsToStandardError(QQmlEngine* theWrappedObject) const; + QStringList pluginPathList(QQmlEngine* theWrappedObject) const; + void removeImageProvider(QQmlEngine* theWrappedObject, const QString& id); + QQmlContext* rootContext(QQmlEngine* theWrappedObject) const; + void setBaseUrl(QQmlEngine* theWrappedObject, const QUrl& arg__1); + void static_QQmlEngine_setContextForObject(QObject* arg__1, QQmlContext* arg__2); + void setImportPathList(QQmlEngine* theWrappedObject, const QStringList& paths); + void setIncubationController(QQmlEngine* theWrappedObject, QQmlIncubationController* arg__1); + void setNetworkAccessManagerFactory(QQmlEngine* theWrappedObject, QQmlNetworkAccessManagerFactory* arg__1); + void static_QQmlEngine_setObjectOwnership(QObject* arg__1, QQmlEngine::ObjectOwnership arg__2); + void setOfflineStoragePath(QQmlEngine* theWrappedObject, const QString& dir); + void setOutputWarningsToStandardError(QQmlEngine* theWrappedObject, bool arg__1); + void setPluginPathList(QQmlEngine* theWrappedObject, const QStringList& paths); + void setUrlInterceptor(QQmlEngine* theWrappedObject, QQmlAbstractUrlInterceptor* urlInterceptor); + void trimComponentCache(QQmlEngine* theWrappedObject); + QQmlAbstractUrlInterceptor* urlInterceptor(QQmlEngine* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QQmlError : public QObject +{ Q_OBJECT +public: +public slots: +QQmlError* new_QQmlError(); +QQmlError* new_QQmlError(const QQmlError& arg__1); +void delete_QQmlError(QQmlError* obj) { delete obj; } + int column(QQmlError* theWrappedObject) const; + QString description(QQmlError* theWrappedObject) const; + bool isValid(QQmlError* theWrappedObject) const; + int line(QQmlError* theWrappedObject) const; + QtMsgType messageType(QQmlError* theWrappedObject) const; + QObject* object(QQmlError* theWrappedObject) const; + QQmlError* operator_assign(QQmlError* theWrappedObject, const QQmlError& arg__1); + void setColumn(QQmlError* theWrappedObject, int arg__1); + void setDescription(QQmlError* theWrappedObject, const QString& arg__1); + void setLine(QQmlError* theWrappedObject, int arg__1); + void setMessageType(QQmlError* theWrappedObject, QtMsgType messageType); + void setObject(QQmlError* theWrappedObject, QObject* arg__1); + void setUrl(QQmlError* theWrappedObject, const QUrl& arg__1); + QString toString(QQmlError* theWrappedObject) const; + QUrl url(QQmlError* theWrappedObject) const; + QString py_toString(QQmlError*); + bool __nonzero__(QQmlError* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QQmlExpression : public QQmlExpression +{ +public: + 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() 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_QQmlExpression : public QObject +{ Q_OBJECT +public: +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 clearError(QQmlExpression* theWrappedObject); + int columnNumber(QQmlExpression* theWrappedObject) const; + QQmlContext* context(QQmlExpression* theWrappedObject) const; + QQmlEngine* engine(QQmlExpression* theWrappedObject) const; + QQmlError error(QQmlExpression* theWrappedObject) const; + QVariant evaluate(QQmlExpression* theWrappedObject, bool* valueIsUndefined = nullptr); + QString expression(QQmlExpression* theWrappedObject) const; + bool hasError(QQmlExpression* theWrappedObject) const; + int lineNumber(QQmlExpression* theWrappedObject) const; + bool notifyOnValueChanged(QQmlExpression* theWrappedObject) const; + QObject* scopeObject(QQmlExpression* theWrappedObject) const; + void setExpression(QQmlExpression* theWrappedObject, const QString& arg__1); + void setNotifyOnValueChanged(QQmlExpression* theWrappedObject, bool arg__1); + void setSourceLocation(QQmlExpression* theWrappedObject, const QString& fileName, int line, int column = 0); + QString sourceFile(QQmlExpression* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QQmlExtensionInterface : public QQmlExtensionInterface +{ +public: + PythonQtShell_QQmlExtensionInterface():QQmlExtensionInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlExtensionInterface() override; + +void initializeEngine(QQmlEngine* engine, const char* uri) override; +void registerTypes(const char* uri) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlExtensionInterface : public QQmlExtensionInterface +{ public: +inline void py_q_initializeEngine(QQmlEngine* engine, const char* uri) { this->initializeEngine(engine, uri); } +}; + +class PythonQtWrapper_QQmlExtensionInterface : public QObject +{ Q_OBJECT +public: +public slots: +QQmlExtensionInterface* new_QQmlExtensionInterface(); +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));} +}; + + + + + +class PythonQtShell_QQmlExtensionPlugin : public QQmlExtensionPlugin +{ +public: + PythonQtShell_QQmlExtensionPlugin(QObject* parent = nullptr):QQmlExtensionPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlExtensionPlugin() override; + +void initializeEngine(QQmlEngine* engine, const char* uri) override; +void registerTypes(const char* uri) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlExtensionPlugin : public QQmlExtensionPlugin +{ public: +inline void py_q_initializeEngine(QQmlEngine* engine, const char* uri) { QQmlExtensionPlugin::initializeEngine(engine, uri); } +inline void py_q_registerTypes(const char* uri) { this->registerTypes(uri); } +}; + +class PythonQtWrapper_QQmlExtensionPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QQmlExtensionPlugin* new_QQmlExtensionPlugin(QObject* parent = nullptr); +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));} + void registerTypes(QQmlExtensionPlugin* theWrappedObject, const char* uri); + void py_q_registerTypes(QQmlExtensionPlugin* theWrappedObject, const char* uri){ (((PythonQtPublicPromoter_QQmlExtensionPlugin*)theWrappedObject)->py_q_registerTypes(uri));} +}; + + + + + +class PythonQtWrapper_QQmlFile : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Status ) +enum Status{ + Null = QQmlFile::Null, Ready = QQmlFile::Ready, Error = QQmlFile::Error, Loading = QQmlFile::Loading}; +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 clear(QQmlFile* theWrappedObject); + void clear(QQmlFile* theWrappedObject, QObject* arg__1); + bool connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2); + bool connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2); + bool connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2); + bool connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2); + const char* data(QQmlFile* theWrappedObject) const; + QByteArray dataByteArray(QQmlFile* theWrappedObject) const; + QString error(QQmlFile* theWrappedObject) const; + bool isError(QQmlFile* theWrappedObject) const; + bool isLoading(QQmlFile* theWrappedObject) const; + bool static_QQmlFile_isLocalFile(const QString& url); + bool static_QQmlFile_isLocalFile(const QUrl& url); + bool isNull(QQmlFile* theWrappedObject) const; + bool isReady(QQmlFile* theWrappedObject) const; + bool static_QQmlFile_isSynchronous(const QString& url); + bool static_QQmlFile_isSynchronous(const QUrl& url); + void load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QString& arg__2); + void load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QUrl& arg__2); + qint64 size(QQmlFile* theWrappedObject) const; + QQmlFile::Status status(QQmlFile* theWrappedObject) const; + QUrl url(QQmlFile* theWrappedObject) const; + QString static_QQmlFile_urlToLocalFileOrQrc(const QString& arg__1); + QString static_QQmlFile_urlToLocalFileOrQrc(const QUrl& arg__1); + bool __nonzero__(QQmlFile* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QQmlFileSelector : public QQmlFileSelector +{ +public: + PythonQtShell_QQmlFileSelector(QQmlEngine* engine, QObject* parent = nullptr):QQmlFileSelector(engine, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlFileSelector() 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_QQmlFileSelector : public QObject +{ Q_OBJECT +public: +public slots: +QQmlFileSelector* new_QQmlFileSelector(QQmlEngine* engine, QObject* parent = nullptr); +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); + void setExtraSelectors(QQmlFileSelector* theWrappedObject, const QStringList& strings); + void setSelector(QQmlFileSelector* theWrappedObject, QFileSelector* selector); +}; + + + + + +class PythonQtShell_QQmlIncubationController : public QQmlIncubationController +{ +public: + PythonQtShell_QQmlIncubationController():QQmlIncubationController(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlIncubationController() override; + +void incubatingObjectCountChanged(int arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlIncubationController : public QQmlIncubationController +{ public: +inline void promoted_incubatingObjectCountChanged(int arg__1) { this->incubatingObjectCountChanged(arg__1); } +inline void py_q_incubatingObjectCountChanged(int arg__1) { QQmlIncubationController::incubatingObjectCountChanged(arg__1); } +}; + +class PythonQtWrapper_QQmlIncubationController : public QObject +{ Q_OBJECT +public: +public slots: +QQmlIncubationController* new_QQmlIncubationController(); +void delete_QQmlIncubationController(QQmlIncubationController* obj) { delete obj; } + QQmlEngine* engine(QQmlIncubationController* theWrappedObject) const; + void incubateFor(QQmlIncubationController* theWrappedObject, int msecs); + void incubateWhile(QQmlIncubationController* theWrappedObject, bool* flag, int msecs = 0); + int incubatingObjectCount(QQmlIncubationController* theWrappedObject) const; + void incubatingObjectCountChanged(QQmlIncubationController* theWrappedObject, int arg__1); + void py_q_incubatingObjectCountChanged(QQmlIncubationController* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QQmlIncubationController*)theWrappedObject)->py_q_incubatingObjectCountChanged(arg__1));} +}; + + + + + +class PythonQtShell_QQmlIncubator : public QQmlIncubator +{ +public: + PythonQtShell_QQmlIncubator(QQmlIncubator::IncubationMode arg__1 = QQmlIncubator::Asynchronous):QQmlIncubator(arg__1),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlIncubator() override; + +void setInitialState(QObject* arg__1) override; +void statusChanged(QQmlIncubator::Status arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlIncubator : public QQmlIncubator +{ public: +inline void promoted_setInitialState(QObject* arg__1) { this->setInitialState(arg__1); } +inline void promoted_statusChanged(QQmlIncubator::Status arg__1) { this->statusChanged(arg__1); } +inline void py_q_setInitialState(QObject* arg__1) { QQmlIncubator::setInitialState(arg__1); } +inline void py_q_statusChanged(QQmlIncubator::Status arg__1) { QQmlIncubator::statusChanged(arg__1); } +}; + +class PythonQtWrapper_QQmlIncubator : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IncubationMode Status ) +enum IncubationMode{ + Asynchronous = QQmlIncubator::Asynchronous, AsynchronousIfNested = QQmlIncubator::AsynchronousIfNested, Synchronous = QQmlIncubator::Synchronous}; +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 clear(QQmlIncubator* theWrappedObject); + QList errors(QQmlIncubator* theWrappedObject) const; + void forceCompletion(QQmlIncubator* theWrappedObject); + QQmlIncubator::IncubationMode incubationMode(QQmlIncubator* theWrappedObject) const; + bool isError(QQmlIncubator* theWrappedObject) const; + bool isLoading(QQmlIncubator* theWrappedObject) const; + bool isNull(QQmlIncubator* theWrappedObject) const; + bool isReady(QQmlIncubator* theWrappedObject) const; + QObject* object(QQmlIncubator* theWrappedObject) const; + void setInitialProperties(QQmlIncubator* theWrappedObject, const QMap& initialProperties); + void setInitialState(QQmlIncubator* theWrappedObject, QObject* arg__1); + void py_q_setInitialState(QQmlIncubator* theWrappedObject, QObject* arg__1){ (((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->py_q_setInitialState(arg__1));} + QQmlIncubator::Status status(QQmlIncubator* theWrappedObject) const; + void statusChanged(QQmlIncubator* theWrappedObject, QQmlIncubator::Status arg__1); + void py_q_statusChanged(QQmlIncubator* theWrappedObject, QQmlIncubator::Status arg__1){ (((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->py_q_statusChanged(arg__1));} + bool __nonzero__(QQmlIncubator* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QQmlInfo : public QObject +{ Q_OBJECT +public: +public slots: +QQmlInfo* new_QQmlInfo(const QQmlInfo& arg__1); +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); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QByteArray& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QString& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QUrl& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const char* t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const void* t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, double t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, float t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, qint64 t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, quint64 t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, signed int t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, signed long t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, signed short t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, unsigned int t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, unsigned long t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, unsigned short t); +}; + + + + + +class PythonQtWrapper_QQmlListReference : public QObject +{ Q_OBJECT +public: +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; } + bool append(QQmlListReference* theWrappedObject, QObject* arg__1) const; + QObject* at(QQmlListReference* theWrappedObject, int arg__1) const; + bool canAppend(QQmlListReference* theWrappedObject) const; + bool canAt(QQmlListReference* theWrappedObject) const; + bool canClear(QQmlListReference* theWrappedObject) const; + bool canCount(QQmlListReference* theWrappedObject) const; + bool canRemoveLast(QQmlListReference* theWrappedObject) const; + bool canReplace(QQmlListReference* theWrappedObject) const; + bool clear(QQmlListReference* theWrappedObject) const; + int count(QQmlListReference* theWrappedObject) const; + bool isManipulable(QQmlListReference* theWrappedObject) const; + bool isReadable(QQmlListReference* theWrappedObject) const; + bool isValid(QQmlListReference* theWrappedObject) const; + const QMetaObject* listElementType(QQmlListReference* theWrappedObject) const; + QObject* object(QQmlListReference* theWrappedObject) const; + QQmlListReference* operator_assign(QQmlListReference* theWrappedObject, const QQmlListReference& arg__1); + bool removeLast(QQmlListReference* theWrappedObject) const; + bool replace(QQmlListReference* theWrappedObject, int arg__1, QObject* arg__2) const; + bool __nonzero__(QQmlListReference* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessManagerFactory +{ +public: + PythonQtShell_QQmlNetworkAccessManagerFactory():QQmlNetworkAccessManagerFactory(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlNetworkAccessManagerFactory() override; + +QNetworkAccessManager* create(QObject* parent) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessManagerFactory +{ public: +inline QNetworkAccessManager* py_q_create(QObject* parent) { return this->create(parent); } +}; + +class PythonQtWrapper_QQmlNetworkAccessManagerFactory : public QObject +{ Q_OBJECT +public: +public slots: +QQmlNetworkAccessManagerFactory* new_QQmlNetworkAccessManagerFactory(); +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));} +}; + + + + + +class PythonQtShell_QQmlParserStatus : public QQmlParserStatus +{ +public: + PythonQtShell_QQmlParserStatus():QQmlParserStatus(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlParserStatus() override; + +void classBegin() override; +void componentComplete() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlParserStatus : public QQmlParserStatus +{ public: +inline void py_q_classBegin() { this->classBegin(); } +inline void py_q_componentComplete() { this->componentComplete(); } +}; + +class PythonQtWrapper_QQmlParserStatus : public QObject +{ Q_OBJECT +public: +public slots: +QQmlParserStatus* new_QQmlParserStatus(); +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); + void py_q_componentComplete(QQmlParserStatus* theWrappedObject){ (((PythonQtPublicPromoter_QQmlParserStatus*)theWrappedObject)->py_q_componentComplete());} +}; + + + + + +class PythonQtWrapper_QQmlProperty : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PropertyTypeCategory Type ) +enum PropertyTypeCategory{ + InvalidCategory = QQmlProperty::InvalidCategory, List = QQmlProperty::List, Object = QQmlProperty::Object, Normal = QQmlProperty::Normal}; +enum Type{ + Invalid = QQmlProperty::Invalid, Property = QQmlProperty::Property, SignalProperty = QQmlProperty::SignalProperty}; +public slots: +QQmlProperty* new_QQmlProperty(); +QQmlProperty* new_QQmlProperty(QObject* arg__1); +QQmlProperty* new_QQmlProperty(QObject* arg__1, QQmlContext* arg__2); +QQmlProperty* new_QQmlProperty(QObject* arg__1, QQmlEngine* arg__2); +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; } + bool connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, const char* slot) const; + bool connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, int method) const; + bool hasNotifySignal(QQmlProperty* theWrappedObject) const; + int index(QQmlProperty* theWrappedObject) const; + bool isDesignable(QQmlProperty* theWrappedObject) const; + bool isProperty(QQmlProperty* theWrappedObject) const; + bool isResettable(QQmlProperty* theWrappedObject) const; + bool isSignalProperty(QQmlProperty* theWrappedObject) const; + bool isValid(QQmlProperty* theWrappedObject) const; + bool isWritable(QQmlProperty* theWrappedObject) const; + QMetaMethod method(QQmlProperty* theWrappedObject) const; + QString name(QQmlProperty* theWrappedObject) const; + bool needsNotifySignal(QQmlProperty* theWrappedObject) const; + QObject* object(QQmlProperty* theWrappedObject) const; + QQmlProperty* operator_assign(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1); + bool __eq__(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1) const; + QMetaProperty property(QQmlProperty* theWrappedObject) const; + int propertyType(QQmlProperty* theWrappedObject) const; + QQmlProperty::PropertyTypeCategory propertyTypeCategory(QQmlProperty* theWrappedObject) const; + const char* propertyTypeName(QQmlProperty* theWrappedObject) const; + QVariant read(QQmlProperty* theWrappedObject) const; + QVariant static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2); + QVariant static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlContext* arg__3); + QVariant static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3); + bool reset(QQmlProperty* theWrappedObject) const; + QQmlProperty::Type type(QQmlProperty* theWrappedObject) const; + bool static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3); + bool static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlContext* arg__4); + bool static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlEngine* arg__4); + bool write(QQmlProperty* theWrappedObject, const QVariant& arg__1) const; + bool __nonzero__(QQmlProperty* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QQmlPropertyMap : public QQmlPropertyMap +{ +public: + PythonQtShell_QQmlPropertyMap(QObject* parent = nullptr):QQmlPropertyMap(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlPropertyMap() 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; +QVariant updateValue(const QString& key, const QVariant& input) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlPropertyMap : public QQmlPropertyMap +{ public: +inline QVariant promoted_updateValue(const QString& key, const QVariant& input) { return this->updateValue(key, input); } +inline QVariant py_q_updateValue(const QString& key, const QVariant& input) { return QQmlPropertyMap::updateValue(key, input); } +}; + +class PythonQtWrapper_QQmlPropertyMap : public QObject +{ Q_OBJECT +public: +public slots: +QQmlPropertyMap* new_QQmlPropertyMap(QObject* parent = nullptr); +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; + void insert(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& value); + bool isEmpty(QQmlPropertyMap* theWrappedObject) const; + QStringList keys(QQmlPropertyMap* theWrappedObject) const; + QVariant operator_subscript(QQmlPropertyMap* theWrappedObject, const QString& key) const; + int size(QQmlPropertyMap* theWrappedObject) const; + QVariant updateValue(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& input); + QVariant py_q_updateValue(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& input){ return (((PythonQtPublicPromoter_QQmlPropertyMap*)theWrappedObject)->py_q_updateValue(key, input));} + QVariant value(QQmlPropertyMap* theWrappedObject, const QString& key) const; + bool __nonzero__(QQmlPropertyMap* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QQmlPropertyValueSource : public QQmlPropertyValueSource +{ +public: + PythonQtShell_QQmlPropertyValueSource():QQmlPropertyValueSource(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlPropertyValueSource() override; + +void setTarget(const QQmlProperty& arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlPropertyValueSource : public QQmlPropertyValueSource +{ public: +inline void py_q_setTarget(const QQmlProperty& arg__1) { this->setTarget(arg__1); } +}; + +class PythonQtWrapper_QQmlPropertyValueSource : public QObject +{ Q_OBJECT +public: +public slots: +QQmlPropertyValueSource* new_QQmlPropertyValueSource(); +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));} +}; + + + + + +class PythonQtWrapper_QQmlScriptString : public QObject +{ Q_OBJECT +public: +public slots: +QQmlScriptString* new_QQmlScriptString(); +QQmlScriptString* new_QQmlScriptString(const QQmlScriptString& arg__1); +void delete_QQmlScriptString(QQmlScriptString* obj) { delete obj; } + bool booleanLiteral(QQmlScriptString* theWrappedObject, bool* ok) const; + bool isEmpty(QQmlScriptString* theWrappedObject) const; + bool isNullLiteral(QQmlScriptString* theWrappedObject) const; + bool isUndefinedLiteral(QQmlScriptString* theWrappedObject) const; + qreal numberLiteral(QQmlScriptString* theWrappedObject, bool* ok) const; + bool __ne__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const; + QQmlScriptString* operator_assign(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1); + bool __eq__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const; + QString stringLiteral(QQmlScriptString* theWrappedObject) const; + bool __nonzero__(QQmlScriptString* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QQmlTypesExtensionInterface : public QQmlTypesExtensionInterface +{ +public: + PythonQtShell_QQmlTypesExtensionInterface():QQmlTypesExtensionInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlTypesExtensionInterface() override; + +void registerTypes(const char* uri) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlTypesExtensionInterface : public QQmlTypesExtensionInterface +{ public: +inline void py_q_registerTypes(const char* uri) { this->registerTypes(uri); } +}; + +class PythonQtWrapper_QQmlTypesExtensionInterface : public QObject +{ Q_OBJECT +public: +public slots: +QQmlTypesExtensionInterface* new_QQmlTypesExtensionInterface(); +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_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp new file mode 100644 index 00000000..f568cf96 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp @@ -0,0 +1,37 @@ +#include +#include +#include "com_trolltech_qt_qml0.h" + + + +void PythonQt_init_QtQml(PyObject* module) { +PythonQt::priv()->registerClass(&QJSEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QQmlEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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, 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, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QQmlTypesExtensionInterface", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QJSValue); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QQmlError); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick.pri b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick.pri new file mode 100644 index 00000000..1dcdced7 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick.pri @@ -0,0 +1,8 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_quick0.h \ + $$PWD/com_trolltech_qt_quick1.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_quick0.cpp \ + $$PWD/com_trolltech_qt_quick1.cpp \ + $$PWD/com_trolltech_qt_quick_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp new file mode 100644 index 00000000..f755e65d --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp @@ -0,0 +1,9072 @@ +#include "com_trolltech_qt_quick0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QQuickFramebufferObject::~PythonQtShell_QQuickFramebufferObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QQuickFramebufferObject::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 QQuickFramebufferObject::boundingRect(); +} +bool PythonQtShell_QQuickFramebufferObject::childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childMouseEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::childMouseEventFilter(arg__1, arg__2); +} +void PythonQtShell_QQuickFramebufferObject::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + 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(); + } + } +} + QQuickFramebufferObject::classBegin(); +} +QRectF PythonQtShell_QQuickFramebufferObject::clipRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRect"); + 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("clipRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::clipRect(); +} +void PythonQtShell_QQuickFramebufferObject::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + 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(); + } + } +} + QQuickFramebufferObject::componentComplete(); +} +bool PythonQtShell_QQuickFramebufferObject::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 QQuickFramebufferObject::contains(point0); +} +QQuickFramebufferObject::Renderer* PythonQtShell_QQuickFramebufferObject::createRenderer() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createRenderer"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QQuickFramebufferObject::Renderer*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createRenderer", methodInfo, result); + } else { + returnValue = *((QQuickFramebufferObject::Renderer**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QQuickFramebufferObject::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +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[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::dragMoveEvent(QDragMoveEvent* arg__1) +{ +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[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dropEvent(arg__1); +} +bool PythonQtShell_QQuickFramebufferObject::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::event(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::focusInEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::focusOutEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::geometryChanged(const QRectF& newGeometry0, const QRectF& oldGeometry1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometryChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::geometryChanged(newGeometry0, oldGeometry1); +} +void PythonQtShell_QQuickFramebufferObject::hoverEnterEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::hoverEnterEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::hoverLeaveEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::hoverLeaveEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::hoverMoveEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::hoverMoveEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickFramebufferObject::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 QQuickFramebufferObject::inputMethodQuery(query0); +} +bool PythonQtShell_QQuickFramebufferObject::isTextureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isTextureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::isTextureProvider(); +} +void PythonQtShell_QQuickFramebufferObject::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(); + } + } +} + QQuickFramebufferObject::keyPressEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::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(); + } + } +} + QQuickFramebufferObject::keyReleaseEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::mouseMoveEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::mousePressEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::mouseReleaseEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseUngrabEvent"); + 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(); + } + } +} + QQuickFramebufferObject::mouseUngrabEvent(); +} +void PythonQtShell_QQuickFramebufferObject::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + 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(); + } + } +} + QQuickFramebufferObject::releaseResources(); +} +QSGTextureProvider* PythonQtShell_QQuickFramebufferObject::textureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTextureProvider*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); + } else { + returnValue = *((QSGTextureProvider**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::textureProvider(); +} +void PythonQtShell_QQuickFramebufferObject::touchEvent(QTouchEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::touchEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::touchUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchUngrabEvent"); + 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(); + } + } +} + QQuickFramebufferObject::touchUngrabEvent(); +} +QSGNode* PythonQtShell_QQuickFramebufferObject::updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePaintNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); + } else { + returnValue = *((QSGNode**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::updatePaintNode(arg__1, arg__2); +} +void PythonQtShell_QQuickFramebufferObject::updatePolish() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePolish"); + 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(); + } + } +} + QQuickFramebufferObject::updatePolish(); +} +void PythonQtShell_QQuickFramebufferObject::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QQuickFramebufferObject::wheelEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::windowDeactivateEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowDeactivateEvent"); + 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(); + } + } +} + QQuickFramebufferObject::windowDeactivateEvent(); +} +QQuickFramebufferObject* PythonQtWrapper_QQuickFramebufferObject::new_QQuickFramebufferObject(QQuickItem* parent) +{ +return new PythonQtShell_QQuickFramebufferObject(parent); } + +const QMetaObject* PythonQtShell_QQuickFramebufferObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickFramebufferObject::staticMetaObject); + } else { + return &QQuickFramebufferObject::staticMetaObject; + } +} +int PythonQtShell_QQuickFramebufferObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickFramebufferObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQuickFramebufferObject::Renderer* PythonQtWrapper_QQuickFramebufferObject::createRenderer(QQuickFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->createRenderer()); +} + +bool PythonQtWrapper_QQuickFramebufferObject::mirrorVertically(QQuickFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->mirrorVertically()); +} + +void PythonQtWrapper_QQuickFramebufferObject::setMirrorVertically(QQuickFramebufferObject* theWrappedObject, bool enable) +{ + ( theWrappedObject->setMirrorVertically(enable)); +} + +void PythonQtWrapper_QQuickFramebufferObject::setTextureFollowsItemSize(QQuickFramebufferObject* theWrappedObject, bool follows) +{ + ( theWrappedObject->setTextureFollowsItemSize(follows)); +} + +bool PythonQtWrapper_QQuickFramebufferObject::textureFollowsItemSize(QQuickFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->textureFollowsItemSize()); +} + + + +PythonQtShell_QQuickFramebufferObject__Renderer::~PythonQtShell_QQuickFramebufferObject__Renderer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QOpenGLFramebufferObject* PythonQtShell_QQuickFramebufferObject__Renderer::createFramebufferObject(const QSize& size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createFramebufferObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QOpenGLFramebufferObject*" , "const QSize&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createFramebufferObject", methodInfo, result); + } else { + returnValue = *((QOpenGLFramebufferObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::Renderer::createFramebufferObject(size0); +} +void PythonQtShell_QQuickFramebufferObject__Renderer::render() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("render"); + 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(); + } + } +} + +} +void PythonQtShell_QQuickFramebufferObject__Renderer::synchronize(QQuickFramebufferObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("synchronize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQuickFramebufferObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::Renderer::synchronize(arg__1); +} +QQuickFramebufferObject::Renderer* PythonQtWrapper_QQuickFramebufferObject__Renderer::new_QQuickFramebufferObject__Renderer() +{ +return new PythonQtShell_QQuickFramebufferObject__Renderer(); } + +QOpenGLFramebufferObject* PythonQtWrapper_QQuickFramebufferObject__Renderer::createFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject, const QSize& size) +{ + return ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_createFramebufferObject(size)); +} + +QOpenGLFramebufferObject* PythonQtWrapper_QQuickFramebufferObject__Renderer::framebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_framebufferObject()); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::invalidateFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_invalidateFramebufferObject()); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::render(QQuickFramebufferObject::Renderer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_render()); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::synchronize(QQuickFramebufferObject::Renderer* theWrappedObject, QQuickFramebufferObject* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_synchronize(arg__1)); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::update(QQuickFramebufferObject::Renderer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_update()); +} + + + +QImage PythonQtWrapper_QQuickImageProvider::requestImage(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize) +{ + return ( theWrappedObject->requestImage(id, size, requestedSize)); +} + +QPixmap PythonQtWrapper_QQuickImageProvider::requestPixmap(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize) +{ + return ( theWrappedObject->requestPixmap(id, size, requestedSize)); +} + + + +PythonQtShell_QQuickItem::~PythonQtShell_QQuickItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QQuickItem::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 QQuickItem::boundingRect(); +} +bool PythonQtShell_QQuickItem::childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childMouseEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::childMouseEventFilter(arg__1, arg__2); +} +void PythonQtShell_QQuickItem::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + 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(); + } + } +} + QQuickItem::classBegin(); +} +QRectF PythonQtShell_QQuickItem::clipRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRect"); + 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("clipRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::clipRect(); +} +void PythonQtShell_QQuickItem::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + 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(); + } + } +} + QQuickItem::componentComplete(); +} +bool PythonQtShell_QQuickItem::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 QQuickItem::contains(point0); +} +void PythonQtShell_QQuickItem::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickItem::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +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[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickItem::dragMoveEvent(QDragMoveEvent* arg__1) +{ +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[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickItem::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dropEvent(arg__1); +} +bool PythonQtShell_QQuickItem::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::event(arg__1); +} +void PythonQtShell_QQuickItem::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::focusInEvent(arg__1); +} +void PythonQtShell_QQuickItem::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::focusOutEvent(arg__1); +} +void PythonQtShell_QQuickItem::geometryChanged(const QRectF& newGeometry0, const QRectF& oldGeometry1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometryChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::geometryChanged(newGeometry0, oldGeometry1); +} +void PythonQtShell_QQuickItem::hoverEnterEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickItem::hoverEnterEvent(event0); +} +void PythonQtShell_QQuickItem::hoverLeaveEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QQuickItem::hoverMoveEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickItem::hoverMoveEvent(event0); +} +void PythonQtShell_QQuickItem::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickItem::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 QQuickItem::inputMethodQuery(query0); +} +bool PythonQtShell_QQuickItem::isTextureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isTextureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::isTextureProvider(); +} +void PythonQtShell_QQuickItem::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(); + } + } +} + QQuickItem::keyPressEvent(event0); +} +void PythonQtShell_QQuickItem::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(); + } + } +} + QQuickItem::keyReleaseEvent(event0); +} +void PythonQtShell_QQuickItem::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QQuickItem::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickItem::mouseMoveEvent(event0); +} +void PythonQtShell_QQuickItem::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickItem::mousePressEvent(event0); +} +void PythonQtShell_QQuickItem::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickItem::mouseReleaseEvent(event0); +} +void PythonQtShell_QQuickItem::mouseUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseUngrabEvent"); + 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(); + } + } +} + QQuickItem::mouseUngrabEvent(); +} +void PythonQtShell_QQuickItem::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + 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(); + } + } +} + QQuickItem::releaseResources(); +} +QSGTextureProvider* PythonQtShell_QQuickItem::textureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTextureProvider*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); + } else { + returnValue = *((QSGTextureProvider**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::textureProvider(); +} +void PythonQtShell_QQuickItem::touchEvent(QTouchEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + 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(); + } + } +} + QQuickItem::touchEvent(event0); +} +void PythonQtShell_QQuickItem::touchUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchUngrabEvent"); + 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(); + } + } +} + QQuickItem::touchUngrabEvent(); +} +QSGNode* PythonQtShell_QQuickItem::updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePaintNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); + } else { + returnValue = *((QSGNode**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::updatePaintNode(arg__1, arg__2); +} +void PythonQtShell_QQuickItem::updatePolish() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePolish"); + 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(); + } + } +} + QQuickItem::updatePolish(); +} +void PythonQtShell_QQuickItem::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QQuickItem::wheelEvent(event0); +} +void PythonQtShell_QQuickItem::windowDeactivateEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowDeactivateEvent"); + 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(); + } + } +} + QQuickItem::windowDeactivateEvent(); +} +QQuickItem* PythonQtWrapper_QQuickItem::new_QQuickItem(QQuickItem* parent) +{ +return new PythonQtShell_QQuickItem(parent); } + +const QMetaObject* PythonQtShell_QQuickItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickItem::staticMetaObject); + } else { + return &QQuickItem::staticMetaObject; + } +} +int PythonQtShell_QQuickItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QQuickItem::acceptHoverEvents(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptHoverEvents()); +} + +bool PythonQtWrapper_QQuickItem::acceptTouchEvents(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptTouchEvents()); +} + +Qt::MouseButtons PythonQtWrapper_QQuickItem::acceptedMouseButtons(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptedMouseButtons()); +} + +bool PythonQtWrapper_QQuickItem::activeFocusOnTab(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->activeFocusOnTab()); +} + +bool PythonQtWrapper_QQuickItem::antialiasing(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->antialiasing()); +} + +qreal PythonQtWrapper_QQuickItem::baselineOffset(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->baselineOffset()); +} + +QRectF PythonQtWrapper_QQuickItem::boundingRect(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::childAt(QQuickItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->childAt(x, y)); +} + +QList PythonQtWrapper_QQuickItem::childItems(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->childItems()); +} + +bool PythonQtWrapper_QQuickItem::childMouseEventFilter(QQuickItem* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_childMouseEventFilter(arg__1, arg__2)); +} + +QRectF PythonQtWrapper_QQuickItem::childrenRect(QQuickItem* theWrappedObject) +{ + return ( theWrappedObject->childrenRect()); +} + +void PythonQtWrapper_QQuickItem::classBegin(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_classBegin()); +} + +bool PythonQtWrapper_QQuickItem::clip(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->clip()); +} + +QRectF PythonQtWrapper_QQuickItem::clipRect(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->clipRect()); +} + +void PythonQtWrapper_QQuickItem::componentComplete(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_componentComplete()); +} + +QObject* PythonQtWrapper_QQuickItem::containmentMask(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->containmentMask()); +} + +bool PythonQtWrapper_QQuickItem::contains(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +QCursor PythonQtWrapper_QQuickItem::cursor(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} + +void PythonQtWrapper_QQuickItem::dragEnterEvent(QQuickItem* theWrappedObject, QDragEnterEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::dragLeaveEvent(QQuickItem* theWrappedObject, QDragLeaveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::dragMoveEvent(QQuickItem* theWrappedObject, QDragMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::dropEvent(QQuickItem* theWrappedObject, QDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dropEvent(arg__1)); +} + +bool PythonQtWrapper_QQuickItem::event(QQuickItem* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QQuickItem::filtersChildMouseEvents(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->filtersChildMouseEvents()); +} + +void PythonQtWrapper_QQuickItem::focusInEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::focusOutEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::forceActiveFocus(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->forceActiveFocus()); +} + +void PythonQtWrapper_QQuickItem::forceActiveFocus(QQuickItem* theWrappedObject, Qt::FocusReason reason) +{ + ( theWrappedObject->forceActiveFocus(reason)); +} + +void PythonQtWrapper_QQuickItem::geometryChanged(QQuickItem* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_geometryChanged(newGeometry, oldGeometry)); +} + +void PythonQtWrapper_QQuickItem::grabMouse(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->grabMouse()); +} + +bool PythonQtWrapper_QQuickItem::grabToImage(QQuickItem* theWrappedObject, const QJSValue& callback, const QSize& targetSize) +{ + return ( theWrappedObject->grabToImage(callback, targetSize)); +} + +void PythonQtWrapper_QQuickItem::grabTouchPoints(QQuickItem* theWrappedObject, const QVector& ids) +{ + ( theWrappedObject->grabTouchPoints(ids)); +} + +bool PythonQtWrapper_QQuickItem::hasActiveFocus(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->hasActiveFocus()); +} + +bool PythonQtWrapper_QQuickItem::hasFocus(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +qreal PythonQtWrapper_QQuickItem::height(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QQuickItem::heightValid(QQuickItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_heightValid()); +} + +void PythonQtWrapper_QQuickItem::hoverEnterEvent(QQuickItem* theWrappedObject, QHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); +} + +void PythonQtWrapper_QQuickItem::hoverLeaveEvent(QQuickItem* theWrappedObject, QHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +} + +void PythonQtWrapper_QQuickItem::hoverMoveEvent(QQuickItem* theWrappedObject, QHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); +} + +qreal PythonQtWrapper_QQuickItem::implicitHeight(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->implicitHeight()); +} + +qreal PythonQtWrapper_QQuickItem::implicitWidth(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->implicitWidth()); +} + +void PythonQtWrapper_QQuickItem::inputMethodEvent(QQuickItem* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QQuickItem::inputMethodQuery(QQuickItem* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( theWrappedObject->inputMethodQuery(query)); +} + +bool PythonQtWrapper_QQuickItem::isAncestorOf(QQuickItem* theWrappedObject, const QQuickItem* child) const +{ + return ( theWrappedObject->isAncestorOf(child)); +} + +bool PythonQtWrapper_QQuickItem::isComponentComplete(QQuickItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_isComponentComplete()); +} + +bool PythonQtWrapper_QQuickItem::isEnabled(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QQuickItem::isFocusScope(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isFocusScope()); +} + +bool PythonQtWrapper_QQuickItem::isTextureProvider(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isTextureProvider()); +} + +bool PythonQtWrapper_QQuickItem::isUnderMouse(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isUnderMouse()); +} + +bool PythonQtWrapper_QQuickItem::isVisible(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +QTransform PythonQtWrapper_QQuickItem::itemTransform(QQuickItem* theWrappedObject, QQuickItem* arg__1, bool* arg__2) const +{ + return ( theWrappedObject->itemTransform(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQuickItem::keepMouseGrab(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->keepMouseGrab()); +} + +bool PythonQtWrapper_QQuickItem::keepTouchGrab(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->keepTouchGrab()); +} + +void PythonQtWrapper_QQuickItem::keyPressEvent(QQuickItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QQuickItem::keyReleaseEvent(QQuickItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +QPointF PythonQtWrapper_QQuickItem::mapFromGlobal(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromGlobal(point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapFromItem(item, point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapFromScene(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromScene(point)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromItem(item, rect)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectFromScene(QQuickItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromScene(rect)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToItem(item, rect)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectToScene(QQuickItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToScene(rect)); +} + +QPointF PythonQtWrapper_QQuickItem::mapToGlobal(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToGlobal(point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapToItem(item, point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapToScene(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToScene(point)); +} + +void PythonQtWrapper_QQuickItem::mouseDoubleClickEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mouseMoveEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mousePressEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mouseReleaseEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mouseUngrabEvent(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseUngrabEvent()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::nextItemInFocusChain(QQuickItem* theWrappedObject, bool forward) +{ + return ( theWrappedObject->nextItemInFocusChain(forward)); +} + +qreal PythonQtWrapper_QQuickItem::opacity(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::parentItem(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->parentItem()); +} + +void PythonQtWrapper_QQuickItem::polish(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->polish()); +} + +QPointF PythonQtWrapper_QQuickItem::position(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QQuickItem::releaseResources(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_releaseResources()); +} + +void PythonQtWrapper_QQuickItem::resetAntialiasing(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->resetAntialiasing()); +} + +void PythonQtWrapper_QQuickItem::resetHeight(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->resetHeight()); +} + +void PythonQtWrapper_QQuickItem::resetWidth(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->resetWidth()); +} + +qreal PythonQtWrapper_QQuickItem::rotation(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +qreal PythonQtWrapper_QQuickItem::scale(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->scale()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::scopedFocusItem(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->scopedFocusItem()); +} + +void PythonQtWrapper_QQuickItem::setAcceptHoverEvents(QQuickItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptHoverEvents(enabled)); +} + +void PythonQtWrapper_QQuickItem::setAcceptTouchEvents(QQuickItem* theWrappedObject, bool accept) +{ + ( theWrappedObject->setAcceptTouchEvents(accept)); +} + +void PythonQtWrapper_QQuickItem::setAcceptedMouseButtons(QQuickItem* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setAcceptedMouseButtons(buttons)); +} + +void PythonQtWrapper_QQuickItem::setActiveFocusOnTab(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setActiveFocusOnTab(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setAntialiasing(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAntialiasing(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setBaselineOffset(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setBaselineOffset(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setClip(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setClip(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setContainmentMask(QQuickItem* theWrappedObject, QObject* mask) +{ + ( theWrappedObject->setContainmentMask(mask)); +} + +void PythonQtWrapper_QQuickItem::setCursor(QQuickItem* theWrappedObject, const QCursor& cursor) +{ + ( theWrappedObject->setCursor(cursor)); +} + +void PythonQtWrapper_QQuickItem::setEnabled(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setEnabled(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setFiltersChildMouseEvents(QQuickItem* theWrappedObject, bool filter) +{ + ( theWrappedObject->setFiltersChildMouseEvents(filter)); +} + +void PythonQtWrapper_QQuickItem::setFlag(QQuickItem* theWrappedObject, QQuickItem::Flag flag, bool enabled) +{ + ( theWrappedObject->setFlag(flag, enabled)); +} + +void PythonQtWrapper_QQuickItem::setFocus(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFocus(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setFocus(QQuickItem* theWrappedObject, bool focus, Qt::FocusReason reason) +{ + ( theWrappedObject->setFocus(focus, reason)); +} + +void PythonQtWrapper_QQuickItem::setHeight(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setHeight(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setImplicitHeight(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setImplicitHeight(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setImplicitSize(QQuickItem* theWrappedObject, qreal arg__1, qreal arg__2) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_setImplicitSize(arg__1, arg__2)); +} + +void PythonQtWrapper_QQuickItem::setImplicitWidth(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setImplicitWidth(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setKeepMouseGrab(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setKeepMouseGrab(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setKeepTouchGrab(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setKeepTouchGrab(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setOpacity(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setOpacity(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setParentItem(QQuickItem* theWrappedObject, QQuickItem* parent) +{ + ( theWrappedObject->setParentItem(parent)); +} + +void PythonQtWrapper_QQuickItem::setPosition(QQuickItem* theWrappedObject, const QPointF& arg__1) +{ + ( theWrappedObject->setPosition(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setRotation(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setRotation(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setScale(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setScale(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setSize(QQuickItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setSize(size)); +} + +void PythonQtWrapper_QQuickItem::setSmooth(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSmooth(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setState(QQuickItem* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setState(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setTransformOrigin(QQuickItem* theWrappedObject, QQuickItem::TransformOrigin arg__1) +{ + ( theWrappedObject->setTransformOrigin(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setTransformOriginPoint(QQuickItem* theWrappedObject, const QPointF& arg__1) +{ + ( theWrappedObject->setTransformOriginPoint(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setVisible(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setVisible(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setWidth(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setWidth(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setX(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setX(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setY(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setY(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setZ(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setZ(arg__1)); +} + +QSizeF PythonQtWrapper_QQuickItem::size(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +bool PythonQtWrapper_QQuickItem::smooth(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->smooth()); +} + +void PythonQtWrapper_QQuickItem::stackAfter(QQuickItem* theWrappedObject, const QQuickItem* arg__1) +{ + ( theWrappedObject->stackAfter(arg__1)); +} + +void PythonQtWrapper_QQuickItem::stackBefore(QQuickItem* theWrappedObject, const QQuickItem* arg__1) +{ + ( theWrappedObject->stackBefore(arg__1)); +} + +QString PythonQtWrapper_QQuickItem::state(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QSGTextureProvider* PythonQtWrapper_QQuickItem::textureProvider(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->textureProvider()); +} + +void PythonQtWrapper_QQuickItem::touchEvent(QQuickItem* theWrappedObject, QTouchEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_touchEvent(event)); +} + +void PythonQtWrapper_QQuickItem::touchUngrabEvent(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_touchUngrabEvent()); +} + +QQuickItem::TransformOrigin PythonQtWrapper_QQuickItem::transformOrigin(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOrigin()); +} + +QPointF PythonQtWrapper_QQuickItem::transformOriginPoint(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOriginPoint()); +} + +void PythonQtWrapper_QQuickItem::ungrabMouse(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->ungrabMouse()); +} + +void PythonQtWrapper_QQuickItem::ungrabTouchPoints(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->ungrabTouchPoints()); +} + +void PythonQtWrapper_QQuickItem::unsetCursor(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} + +void PythonQtWrapper_QQuickItem::updateInputMethod(QQuickItem* theWrappedObject, Qt::InputMethodQueries queries) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_updateInputMethod(queries)); +} + +QSGNode* PythonQtWrapper_QQuickItem::updatePaintNode(QQuickItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_updatePaintNode(arg__1, arg__2)); +} + +void PythonQtWrapper_QQuickItem::updatePolish(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_updatePolish()); +} + +void PythonQtWrapper_QQuickItem::wheelEvent(QQuickItem* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_wheelEvent(event)); +} + +qreal PythonQtWrapper_QQuickItem::width(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +bool PythonQtWrapper_QQuickItem::widthValid(QQuickItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_widthValid()); +} + +QQuickWindow* PythonQtWrapper_QQuickItem::window(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +void PythonQtWrapper_QQuickItem::windowDeactivateEvent(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_windowDeactivateEvent()); +} + +qreal PythonQtWrapper_QQuickItem::x(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QQuickItem::y(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +qreal PythonQtWrapper_QQuickItem::z(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QQuickItem::py_toString(QQuickItem* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QImage PythonQtWrapper_QQuickItemGrabResult::image(QQuickItemGrabResult* theWrappedObject) const +{ + return ( theWrappedObject->image()); +} + +bool PythonQtWrapper_QQuickItemGrabResult::saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->saveToFile(fileName)); +} + +bool PythonQtWrapper_QQuickItemGrabResult::saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->saveToFile(fileName)); +} + +QUrl PythonQtWrapper_QQuickItemGrabResult::url(QQuickItemGrabResult* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + + + +PythonQtShell_QQuickPaintedItem::~PythonQtShell_QQuickPaintedItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QQuickPaintedItem::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 QQuickPaintedItem::boundingRect(); +} +bool PythonQtShell_QQuickPaintedItem::childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childMouseEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::childMouseEventFilter(arg__1, arg__2); +} +void PythonQtShell_QQuickPaintedItem::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + 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(); + } + } +} + QQuickPaintedItem::classBegin(); +} +QRectF PythonQtShell_QQuickPaintedItem::clipRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRect"); + 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("clipRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::clipRect(); +} +void PythonQtShell_QQuickPaintedItem::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + 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(); + } + } +} + QQuickPaintedItem::componentComplete(); +} +bool PythonQtShell_QQuickPaintedItem::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 QQuickPaintedItem::contains(point0); +} +void PythonQtShell_QQuickPaintedItem::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +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[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::dragMoveEvent(QDragMoveEvent* arg__1) +{ +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[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dropEvent(arg__1); +} +bool PythonQtShell_QQuickPaintedItem::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::event(arg__1); +} +void PythonQtShell_QQuickPaintedItem::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::focusInEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::focusOutEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::geometryChanged(const QRectF& newGeometry0, const QRectF& oldGeometry1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometryChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::geometryChanged(newGeometry0, oldGeometry1); +} +void PythonQtShell_QQuickPaintedItem::hoverEnterEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::hoverEnterEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::hoverLeaveEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::hoverMoveEvent(QHoverEvent* 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[] ={"" , "QHoverEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::hoverMoveEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickPaintedItem::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 QQuickPaintedItem::inputMethodQuery(query0); +} +bool PythonQtShell_QQuickPaintedItem::isTextureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isTextureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::isTextureProvider(); +} +void PythonQtShell_QQuickPaintedItem::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(); + } + } +} + QQuickPaintedItem::keyPressEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::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(); + } + } +} + QQuickPaintedItem::keyReleaseEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::mouseMoveEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::mousePressEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::mouseReleaseEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseUngrabEvent"); + 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(); + } + } +} + QQuickPaintedItem::mouseUngrabEvent(); +} +void PythonQtShell_QQuickPaintedItem::paint(QPainter* painter0) +{ +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*"}; + 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(); + } + } +} + +} +void PythonQtShell_QQuickPaintedItem::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + 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(); + } + } +} + QQuickPaintedItem::releaseResources(); +} +QSGTextureProvider* PythonQtShell_QQuickPaintedItem::textureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTextureProvider*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); + } else { + returnValue = *((QSGTextureProvider**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::textureProvider(); +} +void PythonQtShell_QQuickPaintedItem::touchEvent(QTouchEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::touchEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::touchUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchUngrabEvent"); + 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(); + } + } +} + QQuickPaintedItem::touchUngrabEvent(); +} +QSGNode* PythonQtShell_QQuickPaintedItem::updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePaintNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); + } else { + returnValue = *((QSGNode**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::updatePaintNode(arg__1, arg__2); +} +void PythonQtShell_QQuickPaintedItem::updatePolish() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePolish"); + 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(); + } + } +} + QQuickPaintedItem::updatePolish(); +} +void PythonQtShell_QQuickPaintedItem::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QQuickPaintedItem::wheelEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::windowDeactivateEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowDeactivateEvent"); + 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(); + } + } +} + QQuickPaintedItem::windowDeactivateEvent(); +} +QQuickPaintedItem* PythonQtWrapper_QQuickPaintedItem::new_QQuickPaintedItem(QQuickItem* parent) +{ +return new PythonQtShell_QQuickPaintedItem(parent); } + +const QMetaObject* PythonQtShell_QQuickPaintedItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickPaintedItem::staticMetaObject); + } else { + return &QQuickPaintedItem::staticMetaObject; + } +} +int PythonQtShell_QQuickPaintedItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickPaintedItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QQuickPaintedItem::antialiasing(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->antialiasing()); +} + +QRectF PythonQtWrapper_QQuickPaintedItem::contentsBoundingRect(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->contentsBoundingRect()); +} + +qreal PythonQtWrapper_QQuickPaintedItem::contentsScale(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->contentsScale()); +} + +QSize PythonQtWrapper_QQuickPaintedItem::contentsSize(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->contentsSize()); +} + +QColor PythonQtWrapper_QQuickPaintedItem::fillColor(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->fillColor()); +} + +bool PythonQtWrapper_QQuickPaintedItem::mipmap(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->mipmap()); +} + +bool PythonQtWrapper_QQuickPaintedItem::opaquePainting(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->opaquePainting()); +} + +void PythonQtWrapper_QQuickPaintedItem::paint(QQuickPaintedItem* theWrappedObject, QPainter* painter) +{ + ( theWrappedObject->paint(painter)); +} + +QQuickPaintedItem::RenderTarget PythonQtWrapper_QQuickPaintedItem::renderTarget(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->renderTarget()); +} + +void PythonQtWrapper_QQuickPaintedItem::resetContentsSize(QQuickPaintedItem* theWrappedObject) +{ + ( theWrappedObject->resetContentsSize()); +} + +void PythonQtWrapper_QQuickPaintedItem::setAntialiasing(QQuickPaintedItem* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAntialiasing(enable)); +} + +void PythonQtWrapper_QQuickPaintedItem::setContentsScale(QQuickPaintedItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setContentsScale(arg__1)); +} + +void PythonQtWrapper_QQuickPaintedItem::setContentsSize(QQuickPaintedItem* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setContentsSize(arg__1)); +} + +void PythonQtWrapper_QQuickPaintedItem::setFillColor(QQuickPaintedItem* theWrappedObject, const QColor& arg__1) +{ + ( theWrappedObject->setFillColor(arg__1)); +} + +void PythonQtWrapper_QQuickPaintedItem::setMipmap(QQuickPaintedItem* theWrappedObject, bool enable) +{ + ( theWrappedObject->setMipmap(enable)); +} + +void PythonQtWrapper_QQuickPaintedItem::setOpaquePainting(QQuickPaintedItem* theWrappedObject, bool opaque) +{ + ( theWrappedObject->setOpaquePainting(opaque)); +} + +void PythonQtWrapper_QQuickPaintedItem::setPerformanceHint(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::PerformanceHint hint, bool enabled) +{ + ( theWrappedObject->setPerformanceHint(hint, enabled)); +} + +void PythonQtWrapper_QQuickPaintedItem::setRenderTarget(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::RenderTarget target) +{ + ( theWrappedObject->setRenderTarget(target)); +} + +void PythonQtWrapper_QQuickPaintedItem::setTextureSize(QQuickPaintedItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setTextureSize(size)); +} + +QSize PythonQtWrapper_QQuickPaintedItem::textureSize(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->textureSize()); +} + +void PythonQtWrapper_QQuickPaintedItem::update(QQuickPaintedItem* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->update(rect)); +} + + + +PythonQtShell_QQuickRenderControl::~PythonQtShell_QQuickRenderControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickRenderControl::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(); + } + } +} + QQuickRenderControl::childEvent(event0); +} +void PythonQtShell_QQuickRenderControl::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(); + } + } +} + QQuickRenderControl::customEvent(event0); +} +bool PythonQtShell_QQuickRenderControl::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 QQuickRenderControl::event(event0); +} +bool PythonQtShell_QQuickRenderControl::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 QQuickRenderControl::eventFilter(watched0, event1); +} +QWindow* PythonQtShell_QQuickRenderControl::renderWindow(QPoint* offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("renderWindow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWindow*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("renderWindow", methodInfo, result); + } else { + returnValue = *((QWindow**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickRenderControl::renderWindow(offset0); +} +void PythonQtShell_QQuickRenderControl::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(); + } + } +} + QQuickRenderControl::timerEvent(event0); +} +QQuickRenderControl* PythonQtWrapper_QQuickRenderControl::new_QQuickRenderControl(QObject* parent) +{ +return new PythonQtShell_QQuickRenderControl(parent); } + +const QMetaObject* PythonQtShell_QQuickRenderControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickRenderControl::staticMetaObject); + } else { + return &QQuickRenderControl::staticMetaObject; + } +} +int PythonQtShell_QQuickRenderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickRenderControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QImage PythonQtWrapper_QQuickRenderControl::grab(QQuickRenderControl* theWrappedObject) +{ + return ( theWrappedObject->grab()); +} + +void PythonQtWrapper_QQuickRenderControl::initialize(QQuickRenderControl* theWrappedObject, QOpenGLContext* gl) +{ + ( theWrappedObject->initialize(gl)); +} + +void PythonQtWrapper_QQuickRenderControl::invalidate(QQuickRenderControl* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + +void PythonQtWrapper_QQuickRenderControl::polishItems(QQuickRenderControl* theWrappedObject) +{ + ( theWrappedObject->polishItems()); +} + +void PythonQtWrapper_QQuickRenderControl::prepareThread(QQuickRenderControl* theWrappedObject, QThread* targetThread) +{ + ( theWrappedObject->prepareThread(targetThread)); +} + +void PythonQtWrapper_QQuickRenderControl::render(QQuickRenderControl* theWrappedObject) +{ + ( theWrappedObject->render()); +} + +QWindow* PythonQtWrapper_QQuickRenderControl::renderWindow(QQuickRenderControl* theWrappedObject, QPoint* offset) +{ + return ( theWrappedObject->renderWindow(offset)); +} + +QWindow* PythonQtWrapper_QQuickRenderControl::static_QQuickRenderControl_renderWindowFor(QQuickWindow* win, QPoint* offset) +{ + return (QQuickRenderControl::renderWindowFor(win, offset)); +} + +bool PythonQtWrapper_QQuickRenderControl::sync(QQuickRenderControl* theWrappedObject) +{ + return ( theWrappedObject->sync()); +} + + + +PythonQtShell_QQuickTextDocument::~PythonQtShell_QQuickTextDocument() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickTextDocument::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(); + } + } +} + QQuickTextDocument::childEvent(event0); +} +void PythonQtShell_QQuickTextDocument::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(); + } + } +} + QQuickTextDocument::customEvent(event0); +} +bool PythonQtShell_QQuickTextDocument::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 QQuickTextDocument::event(event0); +} +bool PythonQtShell_QQuickTextDocument::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 QQuickTextDocument::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickTextDocument::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(); + } + } +} + QQuickTextDocument::timerEvent(event0); +} +QQuickTextDocument* PythonQtWrapper_QQuickTextDocument::new_QQuickTextDocument(QQuickItem* parent) +{ +return new PythonQtShell_QQuickTextDocument(parent); } + +const QMetaObject* PythonQtShell_QQuickTextDocument::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickTextDocument::staticMetaObject); + } else { + return &QQuickTextDocument::staticMetaObject; + } +} +int PythonQtShell_QQuickTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickTextDocument::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextDocument* PythonQtWrapper_QQuickTextDocument::textDocument(QQuickTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->textDocument()); +} + + + +PythonQtShell_QQuickTransform::~PythonQtShell_QQuickTransform() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickTransform::applyTo(QMatrix4x4* matrix0) const +{ +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 PythonQtShell_QQuickTransform::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(); + } + } +} + QQuickTransform::childEvent(event0); +} +void PythonQtShell_QQuickTransform::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(); + } + } +} + QQuickTransform::customEvent(event0); +} +bool PythonQtShell_QQuickTransform::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 QQuickTransform::event(event0); +} +bool PythonQtShell_QQuickTransform::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 QQuickTransform::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickTransform::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(); + } + } +} + QQuickTransform::timerEvent(event0); +} +QQuickTransform* PythonQtWrapper_QQuickTransform::new_QQuickTransform(QObject* parent) +{ +return new PythonQtShell_QQuickTransform(parent); } + +const QMetaObject* PythonQtShell_QQuickTransform::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickTransform::staticMetaObject); + } else { + return &QQuickTransform::staticMetaObject; + } +} +int PythonQtShell_QQuickTransform::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickTransform::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQuickTransform::appendToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1) +{ + ( theWrappedObject->appendToItem(arg__1)); +} + +void PythonQtWrapper_QQuickTransform::applyTo(QQuickTransform* theWrappedObject, QMatrix4x4* matrix) const +{ + ( theWrappedObject->applyTo(matrix)); +} + +void PythonQtWrapper_QQuickTransform::prependToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1) +{ + ( theWrappedObject->prependToItem(arg__1)); +} + + + +PythonQtShell_QQuickView::~PythonQtShell_QQuickView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickView::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(); + } + } +} + QQuickView::childEvent(event0); +} +void PythonQtShell_QQuickView::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(); + } + } +} + QQuickView::customEvent(event0); +} +bool PythonQtShell_QQuickView::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::event(arg__1); +} +bool PythonQtShell_QQuickView::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 QQuickView::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickView::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::exposeEvent(arg__1); +} +void PythonQtShell_QQuickView::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::focusInEvent(arg__1); +} +QObject* PythonQtShell_QQuickView::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::focusObject(); +} +void PythonQtShell_QQuickView::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QQuickView::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::format(); +} +void PythonQtShell_QQuickView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::hideEvent(arg__1); +} +void PythonQtShell_QQuickView::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::keyPressEvent(arg__1); +} +void PythonQtShell_QQuickView::keyReleaseEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QQuickView::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QQuickView::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mouseMoveEvent(arg__1); +} +void PythonQtShell_QQuickView::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mousePressEvent(arg__1); +} +void PythonQtShell_QQuickView::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QQuickView::moveEvent(QMoveEvent* arg__1) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::moveEvent(arg__1); +} +bool PythonQtShell_QQuickView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QQuickView::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::resizeEvent(arg__1); +} +void PythonQtShell_QQuickView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::showEvent(arg__1); +} +QSize PythonQtShell_QQuickView::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::size(); +} +QSurface::SurfaceType PythonQtShell_QQuickView::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::surfaceType(); +} +void PythonQtShell_QQuickView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::tabletEvent(arg__1); +} +void PythonQtShell_QQuickView::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::timerEvent(arg__1); +} +void PythonQtShell_QQuickView::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::touchEvent(arg__1); +} +void PythonQtShell_QQuickView::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::wheelEvent(arg__1); +} +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(QQmlEngine* engine, QWindow* parent) +{ +return new PythonQtShell_QQuickView(engine, parent); } + +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(QWindow* parent) +{ +return new PythonQtShell_QQuickView(parent); } + +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(const QUrl& source, QQuickRenderControl* renderControl) +{ +return new PythonQtShell_QQuickView(source, renderControl); } + +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(const QUrl& source, QWindow* parent) +{ +return new PythonQtShell_QQuickView(source, parent); } + +const QMetaObject* PythonQtShell_QQuickView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickView::staticMetaObject); + } else { + return &QQuickView::staticMetaObject; + } +} +int PythonQtShell_QQuickView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQmlEngine* PythonQtWrapper_QQuickView::engine(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QList PythonQtWrapper_QQuickView::errors(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +QSize PythonQtWrapper_QQuickView::initialSize(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->initialSize()); +} + +QQuickView::ResizeMode PythonQtWrapper_QQuickView::resizeMode(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->resizeMode()); +} + +QQmlContext* PythonQtWrapper_QQuickView::rootContext(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->rootContext()); +} + +QQuickItem* PythonQtWrapper_QQuickView::rootObject(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->rootObject()); +} + +void PythonQtWrapper_QQuickView::setResizeMode(QQuickView* theWrappedObject, QQuickView::ResizeMode arg__1) +{ + ( theWrappedObject->setResizeMode(arg__1)); +} + +QSize PythonQtWrapper_QQuickView::sizeHint(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QUrl PythonQtWrapper_QQuickView::source(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +QQuickView::Status PythonQtWrapper_QQuickView::status(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +PythonQtShell_QQuickWidget::~PythonQtShell_QQuickWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QQuickWidget::actionEvent(event0); +} +void PythonQtShell_QQuickWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::changeEvent(arg__1); +} +void PythonQtShell_QQuickWidget::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(); + } + } +} + QQuickWidget::childEvent(event0); +} +void PythonQtShell_QQuickWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QQuickWidget::closeEvent(event0); +} +void PythonQtShell_QQuickWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QQuickWidget::contextMenuEvent(event0); +} +void PythonQtShell_QQuickWidget::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(); + } + } +} + QQuickWidget::customEvent(event0); +} +int PythonQtShell_QQuickWidget::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 QQuickWidget::devType(); +} +void PythonQtShell_QQuickWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +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[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +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[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +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[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickWidget::dropEvent(QDropEvent* arg__1) +{ +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[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dropEvent(arg__1); +} +void PythonQtShell_QQuickWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QQuickWidget::enterEvent(event0); +} +bool PythonQtShell_QQuickWidget::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::event(arg__1); +} +bool PythonQtShell_QQuickWidget::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 QQuickWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickWidget::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(); + } + } +} + QQuickWidget::focusInEvent(event0); +} +bool PythonQtShell_QQuickWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QQuickWidget::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(); + } + } +} + QQuickWidget::focusOutEvent(event0); +} +bool PythonQtShell_QQuickWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::hasHeightForWidth(); +} +int PythonQtShell_QQuickWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::heightForWidth(arg__1); +} +void PythonQtShell_QQuickWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::hideEvent(arg__1); +} +void PythonQtShell_QQuickWidget::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(); + } + } +} + QQuickWidget::initPainter(painter0); +} +void PythonQtShell_QQuickWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QQuickWidget::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QQuickWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QQuickWidget::leaveEvent(event0); +} +int PythonQtShell_QQuickWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::metric(arg__1); +} +QSize PythonQtShell_QQuickWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::minimumSizeHint(); +} +void PythonQtShell_QQuickWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QQuickWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QQuickWidget::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QQuickWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QQuickWidget::moveEvent(event0); +} +bool PythonQtShell_QQuickWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QQuickWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::paintEngine(); +} +void PythonQtShell_QQuickWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QQuickWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QQuickWidget::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 QQuickWidget::redirected(offset0); +} +void PythonQtShell_QQuickWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::resizeEvent(arg__1); +} +void PythonQtShell_QQuickWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QQuickWidget::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 QQuickWidget::sharedPainter(); +} +void PythonQtShell_QQuickWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::showEvent(arg__1); +} +QSize PythonQtShell_QQuickWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::sizeHint(); +} +void PythonQtShell_QQuickWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QQuickWidget::tabletEvent(event0); +} +void PythonQtShell_QQuickWidget::timerEvent(QTimerEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::timerEvent(arg__1); +} +void PythonQtShell_QQuickWidget::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::wheelEvent(arg__1); +} +QQuickWidget* PythonQtWrapper_QQuickWidget::new_QQuickWidget(QQmlEngine* engine, QWidget* parent) +{ +return new PythonQtShell_QQuickWidget(engine, parent); } + +QQuickWidget* PythonQtWrapper_QQuickWidget::new_QQuickWidget(QWidget* parent) +{ +return new PythonQtShell_QQuickWidget(parent); } + +QQuickWidget* PythonQtWrapper_QQuickWidget::new_QQuickWidget(const QUrl& source, QWidget* parent) +{ +return new PythonQtShell_QQuickWidget(source, parent); } + +const QMetaObject* PythonQtShell_QQuickWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickWidget::staticMetaObject); + } else { + return &QQuickWidget::staticMetaObject; + } +} +int PythonQtShell_QQuickWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQmlEngine* PythonQtWrapper_QQuickWidget::engine(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QList PythonQtWrapper_QQuickWidget::errors(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +QSurfaceFormat PythonQtWrapper_QQuickWidget::format(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QImage PythonQtWrapper_QQuickWidget::grabFramebuffer(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->grabFramebuffer()); +} + +QSize PythonQtWrapper_QQuickWidget::initialSize(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->initialSize()); +} + +QQuickWindow* PythonQtWrapper_QQuickWidget::quickWindow(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->quickWindow()); +} + +QQuickWidget::ResizeMode PythonQtWrapper_QQuickWidget::resizeMode(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->resizeMode()); +} + +QQmlContext* PythonQtWrapper_QQuickWidget::rootContext(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->rootContext()); +} + +QQuickItem* PythonQtWrapper_QQuickWidget::rootObject(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->rootObject()); +} + +void PythonQtWrapper_QQuickWidget::setClearColor(QQuickWidget* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setClearColor(color)); +} + +void PythonQtWrapper_QQuickWidget::setFormat(QQuickWidget* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QQuickWidget::setResizeMode(QQuickWidget* theWrappedObject, QQuickWidget::ResizeMode arg__1) +{ + ( theWrappedObject->setResizeMode(arg__1)); +} + +QSize PythonQtWrapper_QQuickWidget::sizeHint(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QUrl PythonQtWrapper_QQuickWidget::source(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +QQuickWidget::Status PythonQtWrapper_QQuickWidget::status(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +PythonQtShell_QQuickWindow::~PythonQtShell_QQuickWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickWindow::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(); + } + } +} + QQuickWindow::childEvent(event0); +} +void PythonQtShell_QQuickWindow::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(); + } + } +} + QQuickWindow::customEvent(event0); +} +bool PythonQtShell_QQuickWindow::event(QEvent* arg__1) +{ +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*)&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("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::event(arg__1); +} +bool PythonQtShell_QQuickWindow::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 QQuickWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickWindow::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::exposeEvent(arg__1); +} +void PythonQtShell_QQuickWindow::focusInEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::focusInEvent(arg__1); +} +QObject* PythonQtShell_QQuickWindow::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::focusObject(); +} +void PythonQtShell_QQuickWindow::focusOutEvent(QFocusEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QQuickWindow::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::format(); +} +void PythonQtShell_QQuickWindow::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::hideEvent(arg__1); +} +void PythonQtShell_QQuickWindow::keyPressEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::keyPressEvent(arg__1); +} +void PythonQtShell_QQuickWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::keyReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mouseMoveEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mouseMoveEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mousePressEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mousePressEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mouseReleaseEvent(QMouseEvent* arg__1) +{ +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[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWindow::moveEvent(QMoveEvent* arg__1) +{ +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[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::moveEvent(arg__1); +} +bool PythonQtShell_QQuickWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QQuickWindow::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::resizeEvent(arg__1); +} +void PythonQtShell_QQuickWindow::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::showEvent(arg__1); +} +QSize PythonQtShell_QQuickWindow::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::size(); +} +QSurface::SurfaceType PythonQtShell_QQuickWindow::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::surfaceType(); +} +void PythonQtShell_QQuickWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::tabletEvent(arg__1); +} +void PythonQtShell_QQuickWindow::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(); + } + } +} + QQuickWindow::timerEvent(event0); +} +void PythonQtShell_QQuickWindow::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::touchEvent(arg__1); +} +void PythonQtShell_QQuickWindow::wheelEvent(QWheelEvent* arg__1) +{ +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[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::wheelEvent(arg__1); +} +QQuickWindow* PythonQtWrapper_QQuickWindow::new_QQuickWindow(QQuickRenderControl* renderControl) +{ +return new PythonQtShell_QQuickWindow(renderControl); } + +QQuickWindow* PythonQtWrapper_QQuickWindow::new_QQuickWindow(QWindow* parent) +{ +return new PythonQtShell_QQuickWindow(parent); } + +const QMetaObject* PythonQtShell_QQuickWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickWindow::staticMetaObject); + } else { + return &QQuickWindow::staticMetaObject; + } +} +int PythonQtShell_QQuickWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQuickItem* PythonQtWrapper_QQuickWindow::activeFocusItem(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->activeFocusItem()); +} + +void PythonQtWrapper_QQuickWindow::beginExternalCommands(QQuickWindow* theWrappedObject) +{ + ( theWrappedObject->beginExternalCommands()); +} + +bool PythonQtWrapper_QQuickWindow::clearBeforeRendering(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->clearBeforeRendering()); +} + +QColor PythonQtWrapper_QQuickWindow::color(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +QQuickItem* PythonQtWrapper_QQuickWindow::contentItem(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->contentItem()); +} + +QSGImageNode* PythonQtWrapper_QQuickWindow::createImageNode(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->createImageNode()); +} + +QSGNinePatchNode* PythonQtWrapper_QQuickWindow::createNinePatchNode(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->createNinePatchNode()); +} + +QSGRectangleNode* PythonQtWrapper_QQuickWindow::createRectangleNode(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->createRectangleNode()); +} + +QSGTexture* PythonQtWrapper_QQuickWindow::createTextureFromImage(QQuickWindow* theWrappedObject, const QImage& image) const +{ + return ( theWrappedObject->createTextureFromImage(image)); +} + +qreal PythonQtWrapper_QQuickWindow::effectiveDevicePixelRatio(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->effectiveDevicePixelRatio()); +} + +void PythonQtWrapper_QQuickWindow::endExternalCommands(QQuickWindow* theWrappedObject) +{ + ( theWrappedObject->endExternalCommands()); +} + +QImage PythonQtWrapper_QQuickWindow::grabWindow(QQuickWindow* theWrappedObject) +{ + return ( theWrappedObject->grabWindow()); +} + +const QQuickWindow::GraphicsStateInfo* PythonQtWrapper_QQuickWindow::graphicsStateInfo(QQuickWindow* theWrappedObject) +{ + return &( theWrappedObject->graphicsStateInfo()); +} + +bool PythonQtWrapper_QQuickWindow::static_QQuickWindow_hasDefaultAlphaBuffer() +{ + return (QQuickWindow::hasDefaultAlphaBuffer()); +} + +QQmlIncubationController* PythonQtWrapper_QQuickWindow::incubationController(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->incubationController()); +} + +bool PythonQtWrapper_QQuickWindow::isPersistentOpenGLContext(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->isPersistentOpenGLContext()); +} + +bool PythonQtWrapper_QQuickWindow::isPersistentSceneGraph(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->isPersistentSceneGraph()); +} + +bool PythonQtWrapper_QQuickWindow::isSceneGraphInitialized(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->isSceneGraphInitialized()); +} + +QQuickItem* PythonQtWrapper_QQuickWindow::mouseGrabberItem(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->mouseGrabberItem()); +} + +QOpenGLContext* PythonQtWrapper_QQuickWindow::openglContext(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->openglContext()); +} + +QOpenGLFramebufferObject* PythonQtWrapper_QQuickWindow::renderTarget(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->renderTarget()); +} + +uint PythonQtWrapper_QQuickWindow::renderTargetId(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->renderTargetId()); +} + +QSize PythonQtWrapper_QQuickWindow::renderTargetSize(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->renderTargetSize()); +} + +QSGRendererInterface* PythonQtWrapper_QQuickWindow::rendererInterface(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->rendererInterface()); +} + +void PythonQtWrapper_QQuickWindow::resetOpenGLState(QQuickWindow* theWrappedObject) +{ + ( theWrappedObject->resetOpenGLState()); +} + +QString PythonQtWrapper_QQuickWindow::static_QQuickWindow_sceneGraphBackend() +{ + return (QQuickWindow::sceneGraphBackend()); +} + +void PythonQtWrapper_QQuickWindow::scheduleRenderJob(QQuickWindow* theWrappedObject, QRunnable* job, QQuickWindow::RenderStage schedule) +{ + ( theWrappedObject->scheduleRenderJob(job, schedule)); +} + +bool PythonQtWrapper_QQuickWindow::sendEvent(QQuickWindow* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2) +{ + return ( theWrappedObject->sendEvent(arg__1, arg__2)); +} + +void PythonQtWrapper_QQuickWindow::setClearBeforeRendering(QQuickWindow* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setClearBeforeRendering(enabled)); +} + +void PythonQtWrapper_QQuickWindow::setColor(QQuickWindow* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QQuickWindow::static_QQuickWindow_setDefaultAlphaBuffer(bool useAlpha) +{ + (QQuickWindow::setDefaultAlphaBuffer(useAlpha)); +} + +void PythonQtWrapper_QQuickWindow::setPersistentOpenGLContext(QQuickWindow* theWrappedObject, bool persistent) +{ + ( theWrappedObject->setPersistentOpenGLContext(persistent)); +} + +void PythonQtWrapper_QQuickWindow::setPersistentSceneGraph(QQuickWindow* theWrappedObject, bool persistent) +{ + ( theWrappedObject->setPersistentSceneGraph(persistent)); +} + +void PythonQtWrapper_QQuickWindow::setRenderTarget(QQuickWindow* theWrappedObject, QOpenGLFramebufferObject* fbo) +{ + ( theWrappedObject->setRenderTarget(fbo)); +} + +void PythonQtWrapper_QQuickWindow::setRenderTarget(QQuickWindow* theWrappedObject, uint fboId, const QSize& size) +{ + ( theWrappedObject->setRenderTarget(fboId, size)); +} + +void PythonQtWrapper_QQuickWindow::static_QQuickWindow_setSceneGraphBackend(QSGRendererInterface::GraphicsApi api) +{ + (QQuickWindow::setSceneGraphBackend(api)); +} + +void PythonQtWrapper_QQuickWindow::static_QQuickWindow_setSceneGraphBackend(const QString& backend) +{ + (QQuickWindow::setSceneGraphBackend(backend)); +} + +void PythonQtWrapper_QQuickWindow::static_QQuickWindow_setTextRenderType(QQuickWindow::TextRenderType renderType) +{ + (QQuickWindow::setTextRenderType(renderType)); +} + +QQuickWindow::TextRenderType PythonQtWrapper_QQuickWindow::static_QQuickWindow_textRenderType() +{ + return (QQuickWindow::textRenderType()); +} + +QString PythonQtWrapper_QQuickWindow::py_toString(QQuickWindow* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QQuickWindow__GraphicsStateInfo::~PythonQtShell_QQuickWindow__GraphicsStateInfo() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QQuickWindow::GraphicsStateInfo* PythonQtWrapper_QQuickWindow__GraphicsStateInfo::new_QQuickWindow__GraphicsStateInfo() +{ +return new PythonQtShell_QQuickWindow__GraphicsStateInfo(); } + + + +PythonQtShell_QSGAbstractRenderer::~PythonQtShell_QSGAbstractRenderer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGAbstractRenderer::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(); + } + } +} + QSGAbstractRenderer::childEvent(event0); +} +void PythonQtShell_QSGAbstractRenderer::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(); + } + } +} + QSGAbstractRenderer::customEvent(event0); +} +bool PythonQtShell_QSGAbstractRenderer::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 QSGAbstractRenderer::event(event0); +} +bool PythonQtShell_QSGAbstractRenderer::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 QSGAbstractRenderer::eventFilter(watched0, event1); +} +void PythonQtShell_QSGAbstractRenderer::nodeChanged(QSGNode* node0, QSGNode::DirtyState state1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nodeChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGNode*" , "QSGNode::DirtyState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&node0, (void*)&state1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGAbstractRenderer::renderScene(uint fboId0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("renderScene"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "uint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&fboId0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGAbstractRenderer::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(); + } + } +} + QSGAbstractRenderer::timerEvent(event0); +} +QSGAbstractRenderer* PythonQtWrapper_QSGAbstractRenderer::new_QSGAbstractRenderer(QObject* parent) +{ +return new PythonQtShell_QSGAbstractRenderer(parent); } + +const QMetaObject* PythonQtShell_QSGAbstractRenderer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGAbstractRenderer::staticMetaObject); + } else { + return &QSGAbstractRenderer::staticMetaObject; + } +} +int PythonQtShell_QSGAbstractRenderer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGAbstractRenderer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QColor PythonQtWrapper_QSGAbstractRenderer::clearColor(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->clearColor()); +} + +QRect PythonQtWrapper_QSGAbstractRenderer::deviceRect(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->deviceRect()); +} + +void PythonQtWrapper_QSGAbstractRenderer::nodeChanged(QSGAbstractRenderer* theWrappedObject, QSGNode* node, QSGNode::DirtyState state) +{ + ( ((PythonQtPublicPromoter_QSGAbstractRenderer*)theWrappedObject)->promoted_nodeChanged(node, state)); +} + +QMatrix4x4 PythonQtWrapper_QSGAbstractRenderer::projectionMatrix(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->projectionMatrix()); +} + +QMatrix4x4 PythonQtWrapper_QSGAbstractRenderer::projectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->projectionMatrixWithNativeNDC()); +} + +void PythonQtWrapper_QSGAbstractRenderer::renderScene(QSGAbstractRenderer* theWrappedObject, uint fboId) +{ + ( theWrappedObject->renderScene(fboId)); +} + +QSGRootNode* PythonQtWrapper_QSGAbstractRenderer::rootNode(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->rootNode()); +} + +void PythonQtWrapper_QSGAbstractRenderer::setClearColor(QSGAbstractRenderer* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setClearColor(color)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setDeviceRect(rect)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setDeviceRect(size)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setProjectionMatrix(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setProjectionMatrix(matrix)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setProjectionMatrixToRect(QSGAbstractRenderer* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setProjectionMatrixToRect(rect)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setProjectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setProjectionMatrixWithNativeNDC(matrix)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setRootNode(QSGAbstractRenderer* theWrappedObject, QSGRootNode* node) +{ + ( theWrappedObject->setRootNode(node)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setViewportRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setViewportRect(rect)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setViewportRect(QSGAbstractRenderer* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setViewportRect(size)); +} + +QRect PythonQtWrapper_QSGAbstractRenderer::viewportRect(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->viewportRect()); +} + + + +PythonQtShell_QSGBasicGeometryNode::~PythonQtShell_QSGBasicGeometryNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGBasicGeometryNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGBasicGeometryNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGBasicGeometryNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGBasicGeometryNode::preprocess(); +} +QSGBasicGeometryNode* PythonQtWrapper_QSGBasicGeometryNode::new_QSGBasicGeometryNode(QSGNode::NodeType type) +{ +return new PythonQtShell_QSGBasicGeometryNode(type); } + +const QSGClipNode* PythonQtWrapper_QSGBasicGeometryNode::clipList(QSGBasicGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->clipList()); +} + +QSGGeometry* PythonQtWrapper_QSGBasicGeometryNode::geometry(QSGBasicGeometryNode* theWrappedObject) +{ + return ( theWrappedObject->geometry()); +} + +const QSGGeometry* PythonQtWrapper_QSGBasicGeometryNode::geometry(QSGBasicGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +const QMatrix4x4* PythonQtWrapper_QSGBasicGeometryNode::matrix(QSGBasicGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +void PythonQtWrapper_QSGBasicGeometryNode::setGeometry(QSGBasicGeometryNode* theWrappedObject, QSGGeometry* geometry) +{ + ( theWrappedObject->setGeometry(geometry)); +} + +void PythonQtWrapper_QSGBasicGeometryNode::setRendererClipList(QSGBasicGeometryNode* theWrappedObject, const QSGClipNode* c) +{ + ( theWrappedObject->setRendererClipList(c)); +} + +void PythonQtWrapper_QSGBasicGeometryNode::setRendererMatrix(QSGBasicGeometryNode* theWrappedObject, const QMatrix4x4* m) +{ + ( theWrappedObject->setRendererMatrix(m)); +} + + + +PythonQtShell_QSGClipNode::~PythonQtShell_QSGClipNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGClipNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGClipNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGClipNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGClipNode::preprocess(); +} +QSGClipNode* PythonQtWrapper_QSGClipNode::new_QSGClipNode() +{ +return new PythonQtShell_QSGClipNode(); } + +QRectF PythonQtWrapper_QSGClipNode::clipRect(QSGClipNode* theWrappedObject) const +{ + return ( theWrappedObject->clipRect()); +} + +bool PythonQtWrapper_QSGClipNode::isRectangular(QSGClipNode* theWrappedObject) const +{ + return ( theWrappedObject->isRectangular()); +} + +void PythonQtWrapper_QSGClipNode::setClipRect(QSGClipNode* theWrappedObject, const QRectF& arg__1) +{ + ( theWrappedObject->setClipRect(arg__1)); +} + +void PythonQtWrapper_QSGClipNode::setIsRectangular(QSGClipNode* theWrappedObject, bool rectHint) +{ + ( theWrappedObject->setIsRectangular(rectHint)); +} + + + +PythonQtShell_QSGDynamicTexture::~PythonQtShell_QSGDynamicTexture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGDynamicTexture::bind() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + 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(); + } + } +} + +} +void PythonQtShell_QSGDynamicTexture::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(); + } + } +} + QSGDynamicTexture::childEvent(event0); +} +void PythonQtShell_QSGDynamicTexture::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(); + } + } +} + QSGDynamicTexture::customEvent(event0); +} +bool PythonQtShell_QSGDynamicTexture::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 QSGDynamicTexture::event(event0); +} +bool PythonQtShell_QSGDynamicTexture::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 QSGDynamicTexture::eventFilter(watched0, event1); +} +bool PythonQtShell_QSGDynamicTexture::hasAlphaChannel() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasAlphaChannel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasAlphaChannel", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGDynamicTexture::hasMipmaps() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasMipmaps"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasMipmaps", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGDynamicTexture::isAtlasTexture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAtlasTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAtlasTexture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::isAtlasTexture(); +} +QRectF PythonQtShell_QSGDynamicTexture::normalizedTextureSubRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("normalizedTextureSubRect"); + 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("normalizedTextureSubRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::normalizedTextureSubRect(); +} +QSGTexture* PythonQtShell_QSGDynamicTexture::removedFromAtlas() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removedFromAtlas"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removedFromAtlas", methodInfo, result); + } else { + returnValue = *((QSGTexture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::removedFromAtlas(); +} +int PythonQtShell_QSGDynamicTexture::textureId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureId"); + 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("textureId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QSize PythonQtShell_QSGDynamicTexture::textureSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +void PythonQtShell_QSGDynamicTexture::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(); + } + } +} + QSGDynamicTexture::timerEvent(event0); +} +bool PythonQtShell_QSGDynamicTexture::updateTexture() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateTexture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QSGDynamicTexture* PythonQtWrapper_QSGDynamicTexture::new_QSGDynamicTexture() +{ +return new PythonQtShell_QSGDynamicTexture(); } + +const QMetaObject* PythonQtShell_QSGDynamicTexture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGDynamicTexture::staticMetaObject); + } else { + return &QSGDynamicTexture::staticMetaObject; + } +} +int PythonQtShell_QSGDynamicTexture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGDynamicTexture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSGDynamicTexture::updateTexture(QSGDynamicTexture* theWrappedObject) +{ + return ( theWrappedObject->updateTexture()); +} + + + +PythonQtShell_QSGEngine::~PythonQtShell_QSGEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGEngine::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(); + } + } +} + QSGEngine::childEvent(event0); +} +void PythonQtShell_QSGEngine::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(); + } + } +} + QSGEngine::customEvent(event0); +} +bool PythonQtShell_QSGEngine::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 QSGEngine::event(event0); +} +bool PythonQtShell_QSGEngine::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 QSGEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QSGEngine::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(); + } + } +} + QSGEngine::timerEvent(event0); +} +QSGEngine* PythonQtWrapper_QSGEngine::new_QSGEngine(QObject* parent) +{ +return new PythonQtShell_QSGEngine(parent); } + +const QMetaObject* PythonQtShell_QSGEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGEngine::staticMetaObject); + } else { + return &QSGEngine::staticMetaObject; + } +} +int PythonQtShell_QSGEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSGImageNode* PythonQtWrapper_QSGEngine::createImageNode(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createImageNode()); +} + +QSGNinePatchNode* PythonQtWrapper_QSGEngine::createNinePatchNode(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createNinePatchNode()); +} + +QSGRectangleNode* PythonQtWrapper_QSGEngine::createRectangleNode(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createRectangleNode()); +} + +QSGAbstractRenderer* PythonQtWrapper_QSGEngine::createRenderer(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createRenderer()); +} + +void PythonQtWrapper_QSGEngine::initialize(QSGEngine* theWrappedObject, QOpenGLContext* context) +{ + ( theWrappedObject->initialize(context)); +} + +void PythonQtWrapper_QSGEngine::invalidate(QSGEngine* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + +QSGRendererInterface* PythonQtWrapper_QSGEngine::rendererInterface(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->rendererInterface()); +} + + + +PythonQtShell_QSGFlatColorMaterial::~PythonQtShell_QSGFlatColorMaterial() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGMaterialType* PythonQtShell_QSGFlatColorMaterial::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[] ={"QSGMaterialType*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QSGMaterialType**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGFlatColorMaterial::type(); +} +QSGFlatColorMaterial* PythonQtWrapper_QSGFlatColorMaterial::new_QSGFlatColorMaterial() +{ +return new PythonQtShell_QSGFlatColorMaterial(); } + +const QColor* PythonQtWrapper_QSGFlatColorMaterial::color(QSGFlatColorMaterial* theWrappedObject) const +{ + return &( theWrappedObject->color()); +} + +void PythonQtWrapper_QSGFlatColorMaterial::setColor(QSGFlatColorMaterial* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +QSGMaterialType* PythonQtWrapper_QSGFlatColorMaterial::type(QSGFlatColorMaterial* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QSGGeometry::~PythonQtShell_QSGGeometry() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry* PythonQtWrapper_QSGGeometry::new_QSGGeometry(const QSGGeometry::AttributeSet& attribs, int vertexCount, int indexCount, int indexType) +{ +return new PythonQtShell_QSGGeometry(attribs, vertexCount, indexCount, indexType); } + +void PythonQtWrapper_QSGGeometry::allocate(QSGGeometry* theWrappedObject, int vertexCount, int indexCount) +{ + ( theWrappedObject->allocate(vertexCount, indexCount)); +} + +int PythonQtWrapper_QSGGeometry::attributeCount(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->attributeCount()); +} + +const QSGGeometry::Attribute* PythonQtWrapper_QSGGeometry::attributes(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +const QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry::static_QSGGeometry_defaultAttributes_ColoredPoint2D() +{ + return &(QSGGeometry::defaultAttributes_ColoredPoint2D()); +} + +const QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry::static_QSGGeometry_defaultAttributes_Point2D() +{ + return &(QSGGeometry::defaultAttributes_Point2D()); +} + +const QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry::static_QSGGeometry_defaultAttributes_TexturedPoint2D() +{ + return &(QSGGeometry::defaultAttributes_TexturedPoint2D()); +} + +unsigned int PythonQtWrapper_QSGGeometry::drawingMode(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->drawingMode()); +} + +int PythonQtWrapper_QSGGeometry::indexCount(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexCount()); +} + +void* PythonQtWrapper_QSGGeometry::indexData(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->indexData()); +} + +const void* PythonQtWrapper_QSGGeometry::indexData(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexData()); +} + +uint* PythonQtWrapper_QSGGeometry::indexDataAsUInt(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->indexDataAsUInt()); +} + +const uint* PythonQtWrapper_QSGGeometry::indexDataAsUInt(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexDataAsUInt()); +} + +unsigned short* PythonQtWrapper_QSGGeometry::indexDataAsUShort(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->indexDataAsUShort()); +} + +const unsigned short* PythonQtWrapper_QSGGeometry::indexDataAsUShort(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexDataAsUShort()); +} + +QSGGeometry::DataPattern PythonQtWrapper_QSGGeometry::indexDataPattern(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexDataPattern()); +} + +int PythonQtWrapper_QSGGeometry::indexType(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexType()); +} + +float PythonQtWrapper_QSGGeometry::lineWidth(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +void PythonQtWrapper_QSGGeometry::markIndexDataDirty(QSGGeometry* theWrappedObject) +{ + ( theWrappedObject->markIndexDataDirty()); +} + +void PythonQtWrapper_QSGGeometry::markVertexDataDirty(QSGGeometry* theWrappedObject) +{ + ( theWrappedObject->markVertexDataDirty()); +} + +void PythonQtWrapper_QSGGeometry::setDrawingMode(QSGGeometry* theWrappedObject, unsigned int mode) +{ + ( theWrappedObject->setDrawingMode(mode)); +} + +void PythonQtWrapper_QSGGeometry::setIndexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p) +{ + ( theWrappedObject->setIndexDataPattern(p)); +} + +void PythonQtWrapper_QSGGeometry::setLineWidth(QSGGeometry* theWrappedObject, float w) +{ + ( theWrappedObject->setLineWidth(w)); +} + +void PythonQtWrapper_QSGGeometry::setVertexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p) +{ + ( theWrappedObject->setVertexDataPattern(p)); +} + +int PythonQtWrapper_QSGGeometry::sizeOfIndex(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->sizeOfIndex()); +} + +int PythonQtWrapper_QSGGeometry::sizeOfVertex(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->sizeOfVertex()); +} + +void PythonQtWrapper_QSGGeometry::static_QSGGeometry_updateColoredRectGeometry(QSGGeometry* g, const QRectF& rect) +{ + (QSGGeometry::updateColoredRectGeometry(g, rect)); +} + +void PythonQtWrapper_QSGGeometry::static_QSGGeometry_updateRectGeometry(QSGGeometry* g, const QRectF& rect) +{ + (QSGGeometry::updateRectGeometry(g, rect)); +} + +void PythonQtWrapper_QSGGeometry::static_QSGGeometry_updateTexturedRectGeometry(QSGGeometry* g, const QRectF& rect, const QRectF& sourceRect) +{ + (QSGGeometry::updateTexturedRectGeometry(g, rect, sourceRect)); +} + +int PythonQtWrapper_QSGGeometry::vertexCount(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexCount()); +} + +void* PythonQtWrapper_QSGGeometry::vertexData(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexData()); +} + +const void* PythonQtWrapper_QSGGeometry::vertexData(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexData()); +} + +QSGGeometry::ColoredPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexDataAsColoredPoint2D()); +} + +const QSGGeometry::ColoredPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataAsColoredPoint2D()); +} + +QSGGeometry::Point2D* PythonQtWrapper_QSGGeometry::vertexDataAsPoint2D(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexDataAsPoint2D()); +} + +const QSGGeometry::Point2D* PythonQtWrapper_QSGGeometry::vertexDataAsPoint2D(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataAsPoint2D()); +} + +QSGGeometry::TexturedPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexDataAsTexturedPoint2D()); +} + +const QSGGeometry::TexturedPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataAsTexturedPoint2D()); +} + +QSGGeometry::DataPattern PythonQtWrapper_QSGGeometry::vertexDataPattern(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataPattern()); +} + + + +PythonQtShell_QSGGeometryNode::~PythonQtShell_QSGGeometryNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGGeometryNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGGeometryNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGGeometryNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGGeometryNode::preprocess(); +} +QSGGeometryNode* PythonQtWrapper_QSGGeometryNode::new_QSGGeometryNode() +{ +return new PythonQtShell_QSGGeometryNode(); } + +qreal PythonQtWrapper_QSGGeometryNode::inheritedOpacity(QSGGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->inheritedOpacity()); +} + +int PythonQtWrapper_QSGGeometryNode::renderOrder(QSGGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->renderOrder()); +} + +void PythonQtWrapper_QSGGeometryNode::setInheritedOpacity(QSGGeometryNode* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setInheritedOpacity(opacity)); +} + +void PythonQtWrapper_QSGGeometryNode::setRenderOrder(QSGGeometryNode* theWrappedObject, int order) +{ + ( theWrappedObject->setRenderOrder(order)); +} + +QString PythonQtWrapper_QSGGeometryNode::py_toString(QSGGeometryNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGGeometry__Attribute::~PythonQtShell_QSGGeometry__Attribute() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::Attribute* PythonQtWrapper_QSGGeometry__Attribute::new_QSGGeometry__Attribute() +{ +return new PythonQtShell_QSGGeometry__Attribute(); } + +QSGGeometry::Attribute PythonQtWrapper_QSGGeometry__Attribute::static_QSGGeometry__Attribute_create(int pos, int tupleSize, int primitiveType, bool isPosition) +{ + return (QSGGeometry::Attribute::create(pos, tupleSize, primitiveType, isPosition)); +} + +QSGGeometry::Attribute PythonQtWrapper_QSGGeometry__Attribute::static_QSGGeometry__Attribute_createWithAttributeType(int pos, int tupleSize, int primitiveType, QSGGeometry::AttributeType attributeType) +{ + return (QSGGeometry::Attribute::createWithAttributeType(pos, tupleSize, primitiveType, attributeType)); +} + + + +PythonQtShell_QSGGeometry__AttributeSet::~PythonQtShell_QSGGeometry__AttributeSet() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry__AttributeSet::new_QSGGeometry__AttributeSet() +{ +return new PythonQtShell_QSGGeometry__AttributeSet(); } + + + +PythonQtShell_QSGGeometry__ColoredPoint2D::~PythonQtShell_QSGGeometry__ColoredPoint2D() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::ColoredPoint2D* PythonQtWrapper_QSGGeometry__ColoredPoint2D::new_QSGGeometry__ColoredPoint2D() +{ +return new PythonQtShell_QSGGeometry__ColoredPoint2D(); } + +void PythonQtWrapper_QSGGeometry__ColoredPoint2D::set(QSGGeometry::ColoredPoint2D* theWrappedObject, float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na) +{ + ( theWrappedObject->set(nx, ny, nr, ng, nb, na)); +} + + + +PythonQtShell_QSGGeometry__Point2D::~PythonQtShell_QSGGeometry__Point2D() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::Point2D* PythonQtWrapper_QSGGeometry__Point2D::new_QSGGeometry__Point2D() +{ +return new PythonQtShell_QSGGeometry__Point2D(); } + +void PythonQtWrapper_QSGGeometry__Point2D::set(QSGGeometry::Point2D* theWrappedObject, float nx, float ny) +{ + ( theWrappedObject->set(nx, ny)); +} + + + +PythonQtShell_QSGGeometry__TexturedPoint2D::~PythonQtShell_QSGGeometry__TexturedPoint2D() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::TexturedPoint2D* PythonQtWrapper_QSGGeometry__TexturedPoint2D::new_QSGGeometry__TexturedPoint2D() +{ +return new PythonQtShell_QSGGeometry__TexturedPoint2D(); } + +void PythonQtWrapper_QSGGeometry__TexturedPoint2D::set(QSGGeometry::TexturedPoint2D* theWrappedObject, float nx, float ny, float ntx, float nty) +{ + ( theWrappedObject->set(nx, ny, ntx, nty)); +} + + + +QSGTexture::Filtering PythonQtWrapper_QSGImageNode::filtering(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->filtering()); +} + +QSGTexture::Filtering PythonQtWrapper_QSGImageNode::mipmapFiltering(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->mipmapFiltering()); +} + +bool PythonQtWrapper_QSGImageNode::ownsTexture(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->ownsTexture()); +} + +QRectF PythonQtWrapper_QSGImageNode::rect(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QSGImageNode::setFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering) +{ + ( theWrappedObject->setFiltering(filtering)); +} + +void PythonQtWrapper_QSGImageNode::setMipmapFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering) +{ + ( theWrappedObject->setMipmapFiltering(filtering)); +} + +void PythonQtWrapper_QSGImageNode::setOwnsTexture(QSGImageNode* theWrappedObject, bool owns) +{ + ( theWrappedObject->setOwnsTexture(owns)); +} + +void PythonQtWrapper_QSGImageNode::setRect(QSGImageNode* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QSGImageNode::setRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QSGImageNode::setSourceRect(QSGImageNode* theWrappedObject, const QRectF& r) +{ + ( theWrappedObject->setSourceRect(r)); +} + +void PythonQtWrapper_QSGImageNode::setSourceRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setSourceRect(x, y, w, h)); +} + +void PythonQtWrapper_QSGImageNode::setTexture(QSGImageNode* theWrappedObject, QSGTexture* texture) +{ + ( theWrappedObject->setTexture(texture)); +} + +QRectF PythonQtWrapper_QSGImageNode::sourceRect(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->sourceRect()); +} + +QSGTexture* PythonQtWrapper_QSGImageNode::texture(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + + + +PythonQtShell_QSGMaterialType::~PythonQtShell_QSGMaterialType() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGMaterialType* PythonQtWrapper_QSGMaterialType::new_QSGMaterialType() +{ +return new PythonQtShell_QSGMaterialType(); } + + + +PythonQtShell_QSGNinePatchNode::~PythonQtShell_QSGNinePatchNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGNinePatchNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGNinePatchNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGNinePatchNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGNinePatchNode::preprocess(); +} +void PythonQtShell_QSGNinePatchNode::setBounds(const QRectF& bounds0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBounds"); + 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*)&bounds0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::setDevicePixelRatio(qreal ratio0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDevicePixelRatio"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ratio0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::setPadding(qreal left0, qreal top1, qreal right2, qreal bottom3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPadding"); + 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(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::setTexture(QSGTexture* texture0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&texture0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::update() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("update"); + 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(); + } + } +} + +} +QSGNinePatchNode* PythonQtWrapper_QSGNinePatchNode::new_QSGNinePatchNode() +{ +return new PythonQtShell_QSGNinePatchNode(); } + +void PythonQtWrapper_QSGNinePatchNode::static_QSGNinePatchNode_rebuildGeometry(QSGTexture* texture, QSGGeometry* geometry, const QVector4D& padding, const QRectF& bounds, qreal dpr) +{ + (QSGNinePatchNode::rebuildGeometry(texture, geometry, padding, bounds, dpr)); +} + +void PythonQtWrapper_QSGNinePatchNode::setBounds(QSGNinePatchNode* theWrappedObject, const QRectF& bounds) +{ + ( theWrappedObject->setBounds(bounds)); +} + +void PythonQtWrapper_QSGNinePatchNode::setDevicePixelRatio(QSGNinePatchNode* theWrappedObject, qreal ratio) +{ + ( theWrappedObject->setDevicePixelRatio(ratio)); +} + +void PythonQtWrapper_QSGNinePatchNode::setPadding(QSGNinePatchNode* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setPadding(left, top, right, bottom)); +} + +void PythonQtWrapper_QSGNinePatchNode::setTexture(QSGNinePatchNode* theWrappedObject, QSGTexture* texture) +{ + ( theWrappedObject->setTexture(texture)); +} + +void PythonQtWrapper_QSGNinePatchNode::update(QSGNinePatchNode* theWrappedObject) +{ + ( theWrappedObject->update()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.h b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.h new file mode 100644 index 00000000..a7b9d440 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick0.h @@ -0,0 +1,1853 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QQuickFramebufferObject : public QQuickFramebufferObject +{ +public: + 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 +{ public: +inline void promoted_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { this->geometryChanged(newGeometry, oldGeometry); } +inline QSGNode* promoted_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return this->updatePaintNode(arg__1, arg__2); } +inline QQuickFramebufferObject::Renderer* py_q_createRenderer() const { return this->createRenderer(); } +inline void py_q_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { QQuickFramebufferObject::geometryChanged(newGeometry, oldGeometry); } +inline bool py_q_isTextureProvider() const { return QQuickFramebufferObject::isTextureProvider(); } +inline void py_q_releaseResources() { QQuickFramebufferObject::releaseResources(); } +inline QSGTextureProvider* py_q_textureProvider() const { return QQuickFramebufferObject::textureProvider(); } +inline QSGNode* py_q_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return QQuickFramebufferObject::updatePaintNode(arg__1, arg__2); } +}; + +class PythonQtWrapper_QQuickFramebufferObject : public QObject +{ Q_OBJECT +public: +public slots: +QQuickFramebufferObject* new_QQuickFramebufferObject(QQuickItem* parent = nullptr); +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));} + bool py_q_isTextureProvider(QQuickFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_isTextureProvider());} + bool mirrorVertically(QQuickFramebufferObject* theWrappedObject) const; + void py_q_releaseResources(QQuickFramebufferObject* theWrappedObject){ (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_releaseResources());} + void setMirrorVertically(QQuickFramebufferObject* theWrappedObject, bool enable); + void setTextureFollowsItemSize(QQuickFramebufferObject* theWrappedObject, bool follows); + bool textureFollowsItemSize(QQuickFramebufferObject* theWrappedObject) const; + QSGTextureProvider* py_q_textureProvider(QQuickFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_textureProvider());} + QSGNode* py_q_updatePaintNode(QQuickFramebufferObject* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2){ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_updatePaintNode(arg__1, arg__2));} +}; + + + + + +class PythonQtShell_QQuickFramebufferObject__Renderer : public QQuickFramebufferObject::Renderer +{ +public: + PythonQtShell_QQuickFramebufferObject__Renderer():QQuickFramebufferObject::Renderer(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickFramebufferObject__Renderer() override; + +QOpenGLFramebufferObject* createFramebufferObject(const QSize& size) override; +void render() override; +void synchronize(QQuickFramebufferObject* arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickFramebufferObject__Renderer : public QQuickFramebufferObject::Renderer +{ public: +inline QOpenGLFramebufferObject* promoted_createFramebufferObject(const QSize& size) { return this->createFramebufferObject(size); } +inline QOpenGLFramebufferObject* promoted_framebufferObject() const { return this->framebufferObject(); } +inline void promoted_invalidateFramebufferObject() { this->invalidateFramebufferObject(); } +inline void promoted_render() { this->render(); } +inline void promoted_synchronize(QQuickFramebufferObject* arg__1) { this->synchronize(arg__1); } +inline void promoted_update() { this->update(); } +inline QOpenGLFramebufferObject* py_q_createFramebufferObject(const QSize& size) { return QQuickFramebufferObject::Renderer::createFramebufferObject(size); } +inline void py_q_render() { this->render(); } +inline void py_q_synchronize(QQuickFramebufferObject* arg__1) { QQuickFramebufferObject::Renderer::synchronize(arg__1); } +}; + +class PythonQtWrapper_QQuickFramebufferObject__Renderer : public QObject +{ Q_OBJECT +public: +public slots: +QQuickFramebufferObject::Renderer* new_QQuickFramebufferObject__Renderer(); + QOpenGLFramebufferObject* createFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject, const QSize& size); + QOpenGLFramebufferObject* py_q_createFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject, const QSize& size){ return (((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->py_q_createFramebufferObject(size));} + QOpenGLFramebufferObject* framebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject) const; + void invalidateFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject); + void render(QQuickFramebufferObject::Renderer* theWrappedObject); + void py_q_render(QQuickFramebufferObject::Renderer* theWrappedObject){ (((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->py_q_render());} + void synchronize(QQuickFramebufferObject::Renderer* theWrappedObject, QQuickFramebufferObject* arg__1); + void py_q_synchronize(QQuickFramebufferObject::Renderer* theWrappedObject, QQuickFramebufferObject* arg__1){ (((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->py_q_synchronize(arg__1));} + void update(QQuickFramebufferObject::Renderer* theWrappedObject); +}; + + + + + +class PythonQtPublicPromoter_QQuickImageProvider : public QQuickImageProvider +{ public: +inline QImage py_q_requestImage(const QString& id, QSize* size, const QSize& requestedSize) { return QQuickImageProvider::requestImage(id, size, requestedSize); } +inline QPixmap py_q_requestPixmap(const QString& id, QSize* size, const QSize& requestedSize) { return QQuickImageProvider::requestPixmap(id, size, requestedSize); } +}; + +class PythonQtWrapper_QQuickImageProvider : public QObject +{ Q_OBJECT +public: +public slots: +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); + QPixmap py_q_requestPixmap(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize){ return (((PythonQtPublicPromoter_QQuickImageProvider*)theWrappedObject)->py_q_requestPixmap(id, size, requestedSize));} +}; + + + + + +class PythonQtShell_QQuickItem : public QQuickItem +{ +public: + 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 +{ public: +inline bool promoted_childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) { return this->childMouseEventFilter(arg__1, arg__2); } +inline void promoted_classBegin() { this->classBegin(); } +inline void promoted_componentComplete() { this->componentComplete(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { this->dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { this->dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { this->dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { this->geometryChanged(newGeometry, oldGeometry); } +inline bool promoted_heightValid() const { return this->heightValid(); } +inline void promoted_hoverEnterEvent(QHoverEvent* event) { this->hoverEnterEvent(event); } +inline void promoted_hoverLeaveEvent(QHoverEvent* event) { this->hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QHoverEvent* event) { this->hoverMoveEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline bool promoted_isComponentComplete() const { return this->isComponentComplete(); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_mouseUngrabEvent() { this->mouseUngrabEvent(); } +inline void promoted_releaseResources() { this->releaseResources(); } +inline void promoted_setImplicitSize(qreal arg__1, qreal arg__2) { this->setImplicitSize(arg__1, arg__2); } +inline void promoted_touchEvent(QTouchEvent* event) { this->touchEvent(event); } +inline void promoted_touchUngrabEvent() { this->touchUngrabEvent(); } +inline void promoted_updateInputMethod(Qt::InputMethodQueries queries = Qt::ImQueryInput) { this->updateInputMethod(queries); } +inline QSGNode* promoted_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return this->updatePaintNode(arg__1, arg__2); } +inline void promoted_updatePolish() { this->updatePolish(); } +inline void promoted_wheelEvent(QWheelEvent* event) { this->wheelEvent(event); } +inline bool promoted_widthValid() const { return this->widthValid(); } +inline void promoted_windowDeactivateEvent() { this->windowDeactivateEvent(); } +inline QRectF py_q_boundingRect() const { return QQuickItem::boundingRect(); } +inline bool py_q_childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) { return QQuickItem::childMouseEventFilter(arg__1, arg__2); } +inline void py_q_classBegin() { QQuickItem::classBegin(); } +inline QRectF py_q_clipRect() const { return QQuickItem::clipRect(); } +inline void py_q_componentComplete() { QQuickItem::componentComplete(); } +inline bool py_q_contains(const QPointF& point) const { return QQuickItem::contains(point); } +inline void py_q_dragEnterEvent(QDragEnterEvent* arg__1) { QQuickItem::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* arg__1) { QQuickItem::dragLeaveEvent(arg__1); } +inline void py_q_dragMoveEvent(QDragMoveEvent* arg__1) { QQuickItem::dragMoveEvent(arg__1); } +inline void py_q_dropEvent(QDropEvent* arg__1) { QQuickItem::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickItem::event(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QQuickItem::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QQuickItem::focusOutEvent(arg__1); } +inline void py_q_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { QQuickItem::geometryChanged(newGeometry, oldGeometry); } +inline void py_q_hoverEnterEvent(QHoverEvent* event) { QQuickItem::hoverEnterEvent(event); } +inline void py_q_hoverLeaveEvent(QHoverEvent* event) { QQuickItem::hoverLeaveEvent(event); } +inline void py_q_hoverMoveEvent(QHoverEvent* event) { QQuickItem::hoverMoveEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QQuickItem::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QQuickItem::inputMethodQuery(query); } +inline bool py_q_isTextureProvider() const { return QQuickItem::isTextureProvider(); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QQuickItem::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QQuickItem::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QQuickItem::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QQuickItem::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QQuickItem::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QQuickItem::mouseReleaseEvent(event); } +inline void py_q_mouseUngrabEvent() { QQuickItem::mouseUngrabEvent(); } +inline void py_q_releaseResources() { QQuickItem::releaseResources(); } +inline QSGTextureProvider* py_q_textureProvider() const { return QQuickItem::textureProvider(); } +inline void py_q_touchEvent(QTouchEvent* event) { QQuickItem::touchEvent(event); } +inline void py_q_touchUngrabEvent() { QQuickItem::touchUngrabEvent(); } +inline QSGNode* py_q_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return QQuickItem::updatePaintNode(arg__1, arg__2); } +inline void py_q_updatePolish() { QQuickItem::updatePolish(); } +inline void py_q_wheelEvent(QWheelEvent* event) { QQuickItem::wheelEvent(event); } +inline void py_q_windowDeactivateEvent() { QQuickItem::windowDeactivateEvent(); } +}; + +class PythonQtWrapper_QQuickItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Flag ItemChange ) +enum Flag{ + ItemClipsChildrenToShape = QQuickItem::ItemClipsChildrenToShape, ItemAcceptsInputMethod = QQuickItem::ItemAcceptsInputMethod, ItemIsFocusScope = QQuickItem::ItemIsFocusScope, ItemHasContents = QQuickItem::ItemHasContents, ItemAcceptsDrops = QQuickItem::ItemAcceptsDrops}; +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; } + bool acceptHoverEvents(QQuickItem* theWrappedObject) const; + bool acceptTouchEvents(QQuickItem* theWrappedObject) const; + Qt::MouseButtons acceptedMouseButtons(QQuickItem* theWrappedObject) const; + bool activeFocusOnTab(QQuickItem* theWrappedObject) const; + bool antialiasing(QQuickItem* theWrappedObject) const; + qreal baselineOffset(QQuickItem* theWrappedObject) const; + QRectF boundingRect(QQuickItem* theWrappedObject) const; + QRectF py_q_boundingRect(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_boundingRect());} + QQuickItem* childAt(QQuickItem* theWrappedObject, qreal x, qreal y) const; + QList childItems(QQuickItem* theWrappedObject) const; + bool childMouseEventFilter(QQuickItem* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2); + bool py_q_childMouseEventFilter(QQuickItem* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_childMouseEventFilter(arg__1, arg__2));} + QRectF childrenRect(QQuickItem* theWrappedObject); + void classBegin(QQuickItem* theWrappedObject); + void py_q_classBegin(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_classBegin());} + bool clip(QQuickItem* theWrappedObject) const; + QRectF clipRect(QQuickItem* theWrappedObject) const; + QRectF py_q_clipRect(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_clipRect());} + void componentComplete(QQuickItem* theWrappedObject); + void py_q_componentComplete(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_componentComplete());} + QObject* containmentMask(QQuickItem* theWrappedObject) const; + bool contains(QQuickItem* theWrappedObject, const QPointF& point) const; + bool py_q_contains(QQuickItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_contains(point));} + QCursor cursor(QQuickItem* theWrappedObject) const; + void dragEnterEvent(QQuickItem* theWrappedObject, QDragEnterEvent* arg__1); + void py_q_dragEnterEvent(QQuickItem* theWrappedObject, QDragEnterEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} + void dragLeaveEvent(QQuickItem* theWrappedObject, QDragLeaveEvent* arg__1); + void py_q_dragLeaveEvent(QQuickItem* theWrappedObject, QDragLeaveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dragLeaveEvent(arg__1));} + void dragMoveEvent(QQuickItem* theWrappedObject, QDragMoveEvent* arg__1); + void py_q_dragMoveEvent(QQuickItem* theWrappedObject, QDragMoveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} + void dropEvent(QQuickItem* theWrappedObject, QDropEvent* arg__1); + void py_q_dropEvent(QQuickItem* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dropEvent(arg__1));} + bool event(QQuickItem* theWrappedObject, QEvent* arg__1); + bool py_q_event(QQuickItem* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_event(arg__1));} + bool filtersChildMouseEvents(QQuickItem* theWrappedObject) const; + void focusInEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1); + void py_q_focusInEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_focusInEvent(arg__1));} + void focusOutEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1); + void py_q_focusOutEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + void forceActiveFocus(QQuickItem* theWrappedObject); + void forceActiveFocus(QQuickItem* theWrappedObject, Qt::FocusReason reason); + void geometryChanged(QQuickItem* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry); + void py_q_geometryChanged(QQuickItem* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_geometryChanged(newGeometry, oldGeometry));} + void grabMouse(QQuickItem* theWrappedObject); + bool grabToImage(QQuickItem* theWrappedObject, const QJSValue& callback, const QSize& targetSize = QSize()); + void grabTouchPoints(QQuickItem* theWrappedObject, const QVector& ids); + bool hasActiveFocus(QQuickItem* theWrappedObject) const; + bool hasFocus(QQuickItem* theWrappedObject) const; + qreal height(QQuickItem* theWrappedObject) const; + bool heightValid(QQuickItem* theWrappedObject) const; + void hoverEnterEvent(QQuickItem* theWrappedObject, QHoverEvent* event); + void py_q_hoverEnterEvent(QQuickItem* theWrappedObject, QHoverEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} + void hoverLeaveEvent(QQuickItem* theWrappedObject, QHoverEvent* event); + void py_q_hoverLeaveEvent(QQuickItem* theWrappedObject, QHoverEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} + void hoverMoveEvent(QQuickItem* theWrappedObject, QHoverEvent* event); + void py_q_hoverMoveEvent(QQuickItem* theWrappedObject, QHoverEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} + qreal implicitHeight(QQuickItem* theWrappedObject) const; + qreal implicitWidth(QQuickItem* theWrappedObject) const; + void inputMethodEvent(QQuickItem* theWrappedObject, QInputMethodEvent* arg__1); + void py_q_inputMethodEvent(QQuickItem* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant inputMethodQuery(QQuickItem* theWrappedObject, Qt::InputMethodQuery query) const; + QVariant py_q_inputMethodQuery(QQuickItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_inputMethodQuery(query));} + bool isAncestorOf(QQuickItem* theWrappedObject, const QQuickItem* child) const; + bool isComponentComplete(QQuickItem* theWrappedObject) const; + bool isEnabled(QQuickItem* theWrappedObject) const; + bool isFocusScope(QQuickItem* theWrappedObject) const; + bool isTextureProvider(QQuickItem* theWrappedObject) const; + bool py_q_isTextureProvider(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_isTextureProvider());} + bool isUnderMouse(QQuickItem* theWrappedObject) const; + bool isVisible(QQuickItem* theWrappedObject) const; + QTransform itemTransform(QQuickItem* theWrappedObject, QQuickItem* arg__1, bool* arg__2) const; + bool keepMouseGrab(QQuickItem* theWrappedObject) const; + bool keepTouchGrab(QQuickItem* theWrappedObject) const; + void keyPressEvent(QQuickItem* theWrappedObject, QKeyEvent* event); + void py_q_keyPressEvent(QQuickItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_keyPressEvent(event));} + void keyReleaseEvent(QQuickItem* theWrappedObject, QKeyEvent* event); + void py_q_keyReleaseEvent(QQuickItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} + QPointF mapFromGlobal(QQuickItem* theWrappedObject, const QPointF& point) const; + QPointF mapFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const; + QPointF mapFromScene(QQuickItem* theWrappedObject, const QPointF& point) const; + QRectF mapRectFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const; + QRectF mapRectFromScene(QQuickItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const; + QRectF mapRectToScene(QQuickItem* theWrappedObject, const QRectF& rect) const; + QPointF mapToGlobal(QQuickItem* theWrappedObject, const QPointF& point) const; + QPointF mapToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const; + QPointF mapToScene(QQuickItem* theWrappedObject, const QPointF& point) const; + void mouseDoubleClickEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mouseDoubleClickEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void mouseMoveEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mouseMoveEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void mousePressEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mousePressEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mousePressEvent(event));} + void mouseReleaseEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mouseReleaseEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + void mouseUngrabEvent(QQuickItem* theWrappedObject); + void py_q_mouseUngrabEvent(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseUngrabEvent());} + QQuickItem* nextItemInFocusChain(QQuickItem* theWrappedObject, bool forward = true); + qreal opacity(QQuickItem* theWrappedObject) const; + QQuickItem* parentItem(QQuickItem* theWrappedObject) const; + void polish(QQuickItem* theWrappedObject); + QPointF position(QQuickItem* theWrappedObject) const; + void releaseResources(QQuickItem* theWrappedObject); + void py_q_releaseResources(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_releaseResources());} + void resetAntialiasing(QQuickItem* theWrappedObject); + void resetHeight(QQuickItem* theWrappedObject); + void resetWidth(QQuickItem* theWrappedObject); + qreal rotation(QQuickItem* theWrappedObject) const; + qreal scale(QQuickItem* theWrappedObject) const; + QQuickItem* scopedFocusItem(QQuickItem* theWrappedObject) const; + void setAcceptHoverEvents(QQuickItem* theWrappedObject, bool enabled); + void setAcceptTouchEvents(QQuickItem* theWrappedObject, bool accept); + void setAcceptedMouseButtons(QQuickItem* theWrappedObject, Qt::MouseButtons buttons); + void setActiveFocusOnTab(QQuickItem* theWrappedObject, bool arg__1); + void setAntialiasing(QQuickItem* theWrappedObject, bool arg__1); + void setBaselineOffset(QQuickItem* theWrappedObject, qreal arg__1); + void setClip(QQuickItem* theWrappedObject, bool arg__1); + void setContainmentMask(QQuickItem* theWrappedObject, QObject* mask); + void setCursor(QQuickItem* theWrappedObject, const QCursor& cursor); + void setEnabled(QQuickItem* theWrappedObject, bool arg__1); + void setFiltersChildMouseEvents(QQuickItem* theWrappedObject, bool filter); + void setFlag(QQuickItem* theWrappedObject, QQuickItem::Flag flag, bool enabled = true); + void setFocus(QQuickItem* theWrappedObject, bool arg__1); + void setFocus(QQuickItem* theWrappedObject, bool focus, Qt::FocusReason reason); + void setHeight(QQuickItem* theWrappedObject, qreal arg__1); + void setImplicitHeight(QQuickItem* theWrappedObject, qreal arg__1); + void setImplicitSize(QQuickItem* theWrappedObject, qreal arg__1, qreal arg__2); + void setImplicitWidth(QQuickItem* theWrappedObject, qreal arg__1); + void setKeepMouseGrab(QQuickItem* theWrappedObject, bool arg__1); + void setKeepTouchGrab(QQuickItem* theWrappedObject, bool arg__1); + void setOpacity(QQuickItem* theWrappedObject, qreal arg__1); + void setParentItem(QQuickItem* theWrappedObject, QQuickItem* parent); + void setPosition(QQuickItem* theWrappedObject, const QPointF& arg__1); + void setRotation(QQuickItem* theWrappedObject, qreal arg__1); + void setScale(QQuickItem* theWrappedObject, qreal arg__1); + void setSize(QQuickItem* theWrappedObject, const QSizeF& size); + void setSmooth(QQuickItem* theWrappedObject, bool arg__1); + void setState(QQuickItem* theWrappedObject, const QString& arg__1); + void setTransformOrigin(QQuickItem* theWrappedObject, QQuickItem::TransformOrigin arg__1); + void setTransformOriginPoint(QQuickItem* theWrappedObject, const QPointF& arg__1); + void setVisible(QQuickItem* theWrappedObject, bool arg__1); + void setWidth(QQuickItem* theWrappedObject, qreal arg__1); + void setX(QQuickItem* theWrappedObject, qreal arg__1); + void setY(QQuickItem* theWrappedObject, qreal arg__1); + void setZ(QQuickItem* theWrappedObject, qreal arg__1); + QSizeF size(QQuickItem* theWrappedObject) const; + bool smooth(QQuickItem* theWrappedObject) const; + void stackAfter(QQuickItem* theWrappedObject, const QQuickItem* arg__1); + void stackBefore(QQuickItem* theWrappedObject, const QQuickItem* arg__1); + QString state(QQuickItem* theWrappedObject) const; + QSGTextureProvider* textureProvider(QQuickItem* theWrappedObject) const; + QSGTextureProvider* py_q_textureProvider(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_textureProvider());} + void touchEvent(QQuickItem* theWrappedObject, QTouchEvent* event); + void py_q_touchEvent(QQuickItem* theWrappedObject, QTouchEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_touchEvent(event));} + void touchUngrabEvent(QQuickItem* theWrappedObject); + void py_q_touchUngrabEvent(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_touchUngrabEvent());} + QQuickItem::TransformOrigin transformOrigin(QQuickItem* theWrappedObject) const; + QPointF transformOriginPoint(QQuickItem* theWrappedObject) const; + void ungrabMouse(QQuickItem* theWrappedObject); + void ungrabTouchPoints(QQuickItem* theWrappedObject); + void unsetCursor(QQuickItem* theWrappedObject); + void updateInputMethod(QQuickItem* theWrappedObject, Qt::InputMethodQueries queries = Qt::ImQueryInput); + QSGNode* updatePaintNode(QQuickItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2); + QSGNode* py_q_updatePaintNode(QQuickItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2){ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_updatePaintNode(arg__1, arg__2));} + void updatePolish(QQuickItem* theWrappedObject); + void py_q_updatePolish(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_updatePolish());} + void wheelEvent(QQuickItem* theWrappedObject, QWheelEvent* event); + void py_q_wheelEvent(QQuickItem* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_wheelEvent(event));} + qreal width(QQuickItem* theWrappedObject) const; + bool widthValid(QQuickItem* theWrappedObject) const; + QQuickWindow* window(QQuickItem* theWrappedObject) const; + void windowDeactivateEvent(QQuickItem* theWrappedObject); + void py_q_windowDeactivateEvent(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_windowDeactivateEvent());} + qreal x(QQuickItem* theWrappedObject) const; + qreal y(QQuickItem* theWrappedObject) const; + qreal z(QQuickItem* theWrappedObject) const; + QString py_toString(QQuickItem*); +}; + + + + + +class PythonQtPublicPromoter_QQuickItemGrabResult : public QQuickItemGrabResult +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickItemGrabResult::event(arg__1); } +}; + +class PythonQtWrapper_QQuickItemGrabResult : public QObject +{ Q_OBJECT +public: +public slots: +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); + bool saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName) const; + QUrl url(QQuickItemGrabResult* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QQuickItem__UpdatePaintNodeData : public QObject +{ Q_OBJECT +public: +public slots: +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; } +}; + + + + + +class PythonQtShell_QQuickPaintedItem : public QQuickPaintedItem +{ +public: + 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 +{ public: +inline void promoted_releaseResources() { this->releaseResources(); } +inline QSGNode* promoted_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return this->updatePaintNode(arg__1, arg__2); } +inline bool py_q_isTextureProvider() const { return QQuickPaintedItem::isTextureProvider(); } +inline void py_q_paint(QPainter* painter) { this->paint(painter); } +inline void py_q_releaseResources() { QQuickPaintedItem::releaseResources(); } +inline QSGTextureProvider* py_q_textureProvider() const { return QQuickPaintedItem::textureProvider(); } +inline QSGNode* py_q_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return QQuickPaintedItem::updatePaintNode(arg__1, arg__2); } +}; + +class PythonQtWrapper_QQuickPaintedItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PerformanceHint ) +enum PerformanceHint{ + FastFBOResizing = QQuickPaintedItem::FastFBOResizing}; +public slots: +QQuickPaintedItem* new_QQuickPaintedItem(QQuickItem* parent = nullptr); +void delete_QQuickPaintedItem(QQuickPaintedItem* obj) { delete obj; } + bool antialiasing(QQuickPaintedItem* theWrappedObject) const; + QRectF contentsBoundingRect(QQuickPaintedItem* theWrappedObject) const; + qreal contentsScale(QQuickPaintedItem* theWrappedObject) const; + QSize contentsSize(QQuickPaintedItem* theWrappedObject) const; + QColor fillColor(QQuickPaintedItem* theWrappedObject) const; + bool py_q_isTextureProvider(QQuickPaintedItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_isTextureProvider());} + bool mipmap(QQuickPaintedItem* theWrappedObject) const; + bool opaquePainting(QQuickPaintedItem* theWrappedObject) const; + void paint(QQuickPaintedItem* theWrappedObject, QPainter* painter); + void py_q_paint(QQuickPaintedItem* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_paint(painter));} + void py_q_releaseResources(QQuickPaintedItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_releaseResources());} + QQuickPaintedItem::RenderTarget renderTarget(QQuickPaintedItem* theWrappedObject) const; + void resetContentsSize(QQuickPaintedItem* theWrappedObject); + void setAntialiasing(QQuickPaintedItem* theWrappedObject, bool enable); + void setContentsScale(QQuickPaintedItem* theWrappedObject, qreal arg__1); + void setContentsSize(QQuickPaintedItem* theWrappedObject, const QSize& arg__1); + void setFillColor(QQuickPaintedItem* theWrappedObject, const QColor& arg__1); + void setMipmap(QQuickPaintedItem* theWrappedObject, bool enable); + void setOpaquePainting(QQuickPaintedItem* theWrappedObject, bool opaque); + void setPerformanceHint(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::PerformanceHint hint, bool enabled = true); + void setRenderTarget(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::RenderTarget target); + void setTextureSize(QQuickPaintedItem* theWrappedObject, const QSize& size); + QSGTextureProvider* py_q_textureProvider(QQuickPaintedItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_textureProvider());} + QSize textureSize(QQuickPaintedItem* theWrappedObject) const; + void update(QQuickPaintedItem* theWrappedObject, const QRect& rect = QRect()); + QSGNode* py_q_updatePaintNode(QQuickPaintedItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2){ return (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_updatePaintNode(arg__1, arg__2));} +}; + + + + + +class PythonQtShell_QQuickRenderControl : public QQuickRenderControl +{ +public: + PythonQtShell_QQuickRenderControl(QObject* parent = nullptr):QQuickRenderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickRenderControl() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickRenderControl : public QQuickRenderControl +{ public: +inline QWindow* py_q_renderWindow(QPoint* offset) { return QQuickRenderControl::renderWindow(offset); } +}; + +class PythonQtWrapper_QQuickRenderControl : public QObject +{ Q_OBJECT +public: +public slots: +QQuickRenderControl* new_QQuickRenderControl(QObject* parent = nullptr); +void delete_QQuickRenderControl(QQuickRenderControl* obj) { delete obj; } + QImage grab(QQuickRenderControl* theWrappedObject); + void initialize(QQuickRenderControl* theWrappedObject, QOpenGLContext* gl); + void invalidate(QQuickRenderControl* theWrappedObject); + void polishItems(QQuickRenderControl* theWrappedObject); + void prepareThread(QQuickRenderControl* theWrappedObject, QThread* targetThread); + void render(QQuickRenderControl* theWrappedObject); + QWindow* renderWindow(QQuickRenderControl* theWrappedObject, QPoint* offset); + QWindow* py_q_renderWindow(QQuickRenderControl* theWrappedObject, QPoint* offset){ return (((PythonQtPublicPromoter_QQuickRenderControl*)theWrappedObject)->py_q_renderWindow(offset));} + QWindow* static_QQuickRenderControl_renderWindowFor(QQuickWindow* win, QPoint* offset = nullptr); + bool sync(QQuickRenderControl* theWrappedObject); +}; + + + + + +class PythonQtShell_QQuickTextDocument : public QQuickTextDocument +{ +public: + PythonQtShell_QQuickTextDocument(QQuickItem* parent):QQuickTextDocument(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickTextDocument() 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_QQuickTextDocument : public QObject +{ Q_OBJECT +public: +public slots: +QQuickTextDocument* new_QQuickTextDocument(QQuickItem* parent); +void delete_QQuickTextDocument(QQuickTextDocument* obj) { delete obj; } + QTextDocument* textDocument(QQuickTextDocument* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QQuickTransform : public QQuickTransform +{ +public: + PythonQtShell_QQuickTransform(QObject* parent = nullptr):QQuickTransform(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickTransform() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickTransform : public QQuickTransform +{ public: +inline void promoted_update() { this->update(); } +inline void py_q_applyTo(QMatrix4x4* matrix) const { this->applyTo(matrix); } +}; + +class PythonQtWrapper_QQuickTransform : public QObject +{ Q_OBJECT +public: +public slots: +QQuickTransform* new_QQuickTransform(QObject* parent = nullptr); +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));} + void prependToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1); +}; + + + + + +class PythonQtShell_QQuickView : public QQuickView +{ +public: + 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 +{ public: +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QQuickView::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QQuickView::keyReleaseEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QQuickView::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QQuickView::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QQuickView::mouseReleaseEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QQuickView::resizeEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QQuickView::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QQuickView : public QObject +{ Q_OBJECT +public: +public slots: +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; } + QQmlEngine* engine(QQuickView* theWrappedObject) const; + QList errors(QQuickView* theWrappedObject) const; + QSize initialSize(QQuickView* theWrappedObject) const; + void py_q_keyPressEvent(QQuickView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QQuickView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void py_q_mouseMoveEvent(QQuickView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QQuickView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QQuickView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_resizeEvent(QQuickView* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QQuickView::ResizeMode resizeMode(QQuickView* theWrappedObject) const; + QQmlContext* rootContext(QQuickView* theWrappedObject) const; + QQuickItem* rootObject(QQuickView* theWrappedObject) const; + void setResizeMode(QQuickView* theWrappedObject, QQuickView::ResizeMode arg__1); + QSize sizeHint(QQuickView* theWrappedObject) const; + QUrl source(QQuickView* theWrappedObject) const; + QQuickView::Status status(QQuickView* theWrappedObject) const; + void py_q_timerEvent(QQuickView* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_timerEvent(arg__1));} +}; + + + + + +class PythonQtShell_QQuickWidget : public QQuickWidget +{ +public: + 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 +{ public: +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { this->dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { this->dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { this->dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_dragEnterEvent(QDragEnterEvent* arg__1) { QQuickWidget::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* arg__1) { QQuickWidget::dragLeaveEvent(arg__1); } +inline void py_q_dragMoveEvent(QDragMoveEvent* arg__1) { QQuickWidget::dragMoveEvent(arg__1); } +inline void py_q_dropEvent(QDropEvent* arg__1) { QQuickWidget::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickWidget::event(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* event) { QQuickWidget::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QQuickWidget::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QQuickWidget::focusOutEvent(event); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QQuickWidget::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QQuickWidget::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QQuickWidget::keyReleaseEvent(arg__1); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QQuickWidget::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QQuickWidget::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QQuickWidget::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QQuickWidget::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* event) { QQuickWidget::paintEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QQuickWidget::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QQuickWidget::showEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QQuickWidget::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QQuickWidget::timerEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QQuickWidget::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QQuickWidget : public QObject +{ Q_OBJECT +public: +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 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));} + void py_q_dropEvent(QQuickWidget* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dropEvent(arg__1));} + QQmlEngine* engine(QQuickWidget* theWrappedObject) const; + QList errors(QQuickWidget* theWrappedObject) const; + bool py_q_event(QQuickWidget* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_event(arg__1));} + void py_q_focusInEvent(QQuickWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_focusInEvent(event));} + bool py_q_focusNextPrevChild(QQuickWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QQuickWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_focusOutEvent(event));} + QSurfaceFormat format(QQuickWidget* theWrappedObject) const; + QImage grabFramebuffer(QQuickWidget* theWrappedObject) const; + void py_q_hideEvent(QQuickWidget* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_hideEvent(arg__1));} + QSize initialSize(QQuickWidget* theWrappedObject) const; + void py_q_keyPressEvent(QQuickWidget* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QQuickWidget* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void py_q_mouseDoubleClickEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + void py_q_mouseMoveEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QQuickWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_paintEvent(event));} + QQuickWindow* quickWindow(QQuickWidget* theWrappedObject) const; + void py_q_resizeEvent(QQuickWidget* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QQuickWidget::ResizeMode resizeMode(QQuickWidget* theWrappedObject) const; + QQmlContext* rootContext(QQuickWidget* theWrappedObject) const; + QQuickItem* rootObject(QQuickWidget* theWrappedObject) const; + void setClearColor(QQuickWidget* theWrappedObject, const QColor& color); + void setFormat(QQuickWidget* theWrappedObject, const QSurfaceFormat& format); + void setResizeMode(QQuickWidget* theWrappedObject, QQuickWidget::ResizeMode arg__1); + void py_q_showEvent(QQuickWidget* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_showEvent(arg__1));} + QSize sizeHint(QQuickWidget* theWrappedObject) const; + QSize py_q_sizeHint(QQuickWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_sizeHint());} + QUrl source(QQuickWidget* theWrappedObject) const; + QQuickWidget::Status status(QQuickWidget* theWrappedObject) const; + void py_q_timerEvent(QQuickWidget* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_timerEvent(arg__1));} + void py_q_wheelEvent(QQuickWidget* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_wheelEvent(arg__1));} +}; + + + + + +class PythonQtShell_QQuickWindow : public QQuickWindow +{ +public: + 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 +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_exposeEvent(QExposeEvent* arg__1) { this->exposeEvent(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_tabletEvent(QTabletEvent* arg__1) { this->tabletEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickWindow::event(arg__1); } +inline void py_q_exposeEvent(QExposeEvent* arg__1) { QQuickWindow::exposeEvent(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QQuickWindow::focusInEvent(arg__1); } +inline QObject* py_q_focusObject() const { return QQuickWindow::focusObject(); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QQuickWindow::focusOutEvent(arg__1); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QQuickWindow::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QQuickWindow::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QQuickWindow::keyReleaseEvent(arg__1); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QQuickWindow::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QQuickWindow::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QQuickWindow::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QQuickWindow::mouseReleaseEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QQuickWindow::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QQuickWindow::showEvent(arg__1); } +inline void py_q_tabletEvent(QTabletEvent* arg__1) { QQuickWindow::tabletEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QQuickWindow::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QQuickWindow : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CreateTextureOption RenderStage ) +enum CreateTextureOption{ + TextureHasAlphaChannel = QQuickWindow::TextureHasAlphaChannel, TextureHasMipmaps = QQuickWindow::TextureHasMipmaps, TextureOwnsGLTexture = QQuickWindow::TextureOwnsGLTexture, TextureCanUseAtlas = QQuickWindow::TextureCanUseAtlas, TextureIsOpaque = QQuickWindow::TextureIsOpaque}; +enum RenderStage{ + BeforeSynchronizingStage = QQuickWindow::BeforeSynchronizingStage, AfterSynchronizingStage = QQuickWindow::AfterSynchronizingStage, BeforeRenderingStage = QQuickWindow::BeforeRenderingStage, AfterRenderingStage = QQuickWindow::AfterRenderingStage, AfterSwapStage = QQuickWindow::AfterSwapStage, NoStage = QQuickWindow::NoStage}; +public slots: +QQuickWindow* new_QQuickWindow(QQuickRenderControl* renderControl); +QQuickWindow* new_QQuickWindow(QWindow* parent = nullptr); +void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } + QQuickItem* activeFocusItem(QQuickWindow* theWrappedObject) const; + void beginExternalCommands(QQuickWindow* theWrappedObject); + bool clearBeforeRendering(QQuickWindow* theWrappedObject) const; + QColor color(QQuickWindow* theWrappedObject) const; + QQuickItem* contentItem(QQuickWindow* theWrappedObject) const; + QSGImageNode* createImageNode(QQuickWindow* theWrappedObject) const; + QSGNinePatchNode* createNinePatchNode(QQuickWindow* theWrappedObject) const; + QSGRectangleNode* createRectangleNode(QQuickWindow* theWrappedObject) const; + QSGTexture* createTextureFromImage(QQuickWindow* theWrappedObject, const QImage& image) const; + qreal effectiveDevicePixelRatio(QQuickWindow* theWrappedObject) const; + void endExternalCommands(QQuickWindow* theWrappedObject); + bool py_q_event(QQuickWindow* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_event(arg__1));} + void py_q_exposeEvent(QQuickWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} + void py_q_focusInEvent(QQuickWindow* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_focusInEvent(arg__1));} + QObject* py_q_focusObject(QQuickWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_focusObject());} + void py_q_focusOutEvent(QQuickWindow* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + QImage grabWindow(QQuickWindow* theWrappedObject); + const QQuickWindow::GraphicsStateInfo* graphicsStateInfo(QQuickWindow* theWrappedObject); + bool static_QQuickWindow_hasDefaultAlphaBuffer(); + void py_q_hideEvent(QQuickWindow* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_hideEvent(arg__1));} + QQmlIncubationController* incubationController(QQuickWindow* theWrappedObject) const; + bool isPersistentOpenGLContext(QQuickWindow* theWrappedObject) const; + bool isPersistentSceneGraph(QQuickWindow* theWrappedObject) const; + bool isSceneGraphInitialized(QQuickWindow* theWrappedObject) const; + void py_q_keyPressEvent(QQuickWindow* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QQuickWindow* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void py_q_mouseDoubleClickEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + QQuickItem* mouseGrabberItem(QQuickWindow* theWrappedObject) const; + void py_q_mouseMoveEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + QOpenGLContext* openglContext(QQuickWindow* theWrappedObject) const; + QOpenGLFramebufferObject* renderTarget(QQuickWindow* theWrappedObject) const; + uint renderTargetId(QQuickWindow* theWrappedObject) const; + QSize renderTargetSize(QQuickWindow* theWrappedObject) const; + QSGRendererInterface* rendererInterface(QQuickWindow* theWrappedObject) const; + void resetOpenGLState(QQuickWindow* theWrappedObject); + void py_q_resizeEvent(QQuickWindow* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QString static_QQuickWindow_sceneGraphBackend(); + void scheduleRenderJob(QQuickWindow* theWrappedObject, QRunnable* job, QQuickWindow::RenderStage schedule); + bool sendEvent(QQuickWindow* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2); + void setClearBeforeRendering(QQuickWindow* theWrappedObject, bool enabled); + void setColor(QQuickWindow* theWrappedObject, const QColor& color); + void static_QQuickWindow_setDefaultAlphaBuffer(bool useAlpha); + void setPersistentOpenGLContext(QQuickWindow* theWrappedObject, bool persistent); + void setPersistentSceneGraph(QQuickWindow* theWrappedObject, bool persistent); + void setRenderTarget(QQuickWindow* theWrappedObject, QOpenGLFramebufferObject* fbo); + void setRenderTarget(QQuickWindow* theWrappedObject, uint fboId, const QSize& size); + void static_QQuickWindow_setSceneGraphBackend(QSGRendererInterface::GraphicsApi api); + void static_QQuickWindow_setSceneGraphBackend(const QString& backend); + void static_QQuickWindow_setTextRenderType(QQuickWindow::TextRenderType renderType); + void py_q_showEvent(QQuickWindow* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_showEvent(arg__1));} + void py_q_tabletEvent(QQuickWindow* theWrappedObject, QTabletEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_tabletEvent(arg__1));} + QQuickWindow::TextRenderType static_QQuickWindow_textRenderType(); + void py_q_wheelEvent(QQuickWindow* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_wheelEvent(arg__1));} + QString py_toString(QQuickWindow*); +}; + + + + + +class PythonQtShell_QQuickWindow__GraphicsStateInfo : public QQuickWindow::GraphicsStateInfo +{ +public: + PythonQtShell_QQuickWindow__GraphicsStateInfo():QQuickWindow::GraphicsStateInfo(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickWindow__GraphicsStateInfo(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QQuickWindow__GraphicsStateInfo : public QObject +{ Q_OBJECT +public: +public slots: +QQuickWindow::GraphicsStateInfo* new_QQuickWindow__GraphicsStateInfo(); +void delete_QQuickWindow__GraphicsStateInfo(QQuickWindow::GraphicsStateInfo* obj) { delete obj; } +void py_set_currentFrameSlot(QQuickWindow::GraphicsStateInfo* theWrappedObject, int currentFrameSlot){ theWrappedObject->currentFrameSlot = currentFrameSlot; } +int py_get_currentFrameSlot(QQuickWindow::GraphicsStateInfo* theWrappedObject){ return theWrappedObject->currentFrameSlot; } +void py_set_framesInFlight(QQuickWindow::GraphicsStateInfo* theWrappedObject, int framesInFlight){ theWrappedObject->framesInFlight = framesInFlight; } +int py_get_framesInFlight(QQuickWindow::GraphicsStateInfo* theWrappedObject){ return theWrappedObject->framesInFlight; } +}; + + + + + +class PythonQtShell_QSGAbstractRenderer : public QSGAbstractRenderer +{ +public: + PythonQtShell_QSGAbstractRenderer(QObject* parent = nullptr):QSGAbstractRenderer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGAbstractRenderer() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGAbstractRenderer : public QSGAbstractRenderer +{ public: +inline void promoted_nodeChanged(QSGNode* node, QSGNode::DirtyState state) { this->nodeChanged(node, state); } +inline void py_q_nodeChanged(QSGNode* node, QSGNode::DirtyState state) { this->nodeChanged(node, state); } +inline void py_q_renderScene(uint fboId = 0) { this->renderScene(fboId); } +}; + +class PythonQtWrapper_QSGAbstractRenderer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ClearModeBit ) +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; } + QColor clearColor(QSGAbstractRenderer* theWrappedObject) const; + QRect deviceRect(QSGAbstractRenderer* theWrappedObject) const; + void nodeChanged(QSGAbstractRenderer* theWrappedObject, QSGNode* node, QSGNode::DirtyState state); + void py_q_nodeChanged(QSGAbstractRenderer* theWrappedObject, QSGNode* node, QSGNode::DirtyState state){ (((PythonQtPublicPromoter_QSGAbstractRenderer*)theWrappedObject)->py_q_nodeChanged(node, state));} + QMatrix4x4 projectionMatrix(QSGAbstractRenderer* theWrappedObject) const; + QMatrix4x4 projectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject) const; + void renderScene(QSGAbstractRenderer* theWrappedObject, uint fboId = 0); + void py_q_renderScene(QSGAbstractRenderer* theWrappedObject, uint fboId = 0){ (((PythonQtPublicPromoter_QSGAbstractRenderer*)theWrappedObject)->py_q_renderScene(fboId));} + QSGRootNode* rootNode(QSGAbstractRenderer* theWrappedObject) const; + void setClearColor(QSGAbstractRenderer* theWrappedObject, const QColor& color); + void setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect); + void setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QSize& size); + void setProjectionMatrix(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix); + void setProjectionMatrixToRect(QSGAbstractRenderer* theWrappedObject, const QRectF& rect); + void setProjectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix); + void setRootNode(QSGAbstractRenderer* theWrappedObject, QSGRootNode* node); + void setViewportRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect); + void setViewportRect(QSGAbstractRenderer* theWrappedObject, const QSize& size); + QRect viewportRect(QSGAbstractRenderer* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSGBasicGeometryNode : public QSGBasicGeometryNode +{ +public: + PythonQtShell_QSGBasicGeometryNode(QSGNode::NodeType type):QSGBasicGeometryNode(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGBasicGeometryNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGBasicGeometryNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGBasicGeometryNode* new_QSGBasicGeometryNode(QSGNode::NodeType type); +void delete_QSGBasicGeometryNode(QSGBasicGeometryNode* obj) { delete obj; } + const QSGClipNode* clipList(QSGBasicGeometryNode* theWrappedObject) const; + QSGGeometry* geometry(QSGBasicGeometryNode* theWrappedObject); + const QSGGeometry* geometry(QSGBasicGeometryNode* theWrappedObject) const; + const QMatrix4x4* matrix(QSGBasicGeometryNode* theWrappedObject) const; + void setGeometry(QSGBasicGeometryNode* theWrappedObject, QSGGeometry* geometry); + void setRendererClipList(QSGBasicGeometryNode* theWrappedObject, const QSGClipNode* c); + void setRendererMatrix(QSGBasicGeometryNode* theWrappedObject, const QMatrix4x4* m); +}; + + + + + +class PythonQtShell_QSGClipNode : public QSGClipNode +{ +public: + PythonQtShell_QSGClipNode():QSGClipNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGClipNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGClipNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGClipNode* new_QSGClipNode(); +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); + void setIsRectangular(QSGClipNode* theWrappedObject, bool rectHint); +}; + + + + + +class PythonQtShell_QSGDynamicTexture : public QSGDynamicTexture +{ +public: + 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 +{ public: +inline bool py_q_updateTexture() { return this->updateTexture(); } +}; + +class PythonQtWrapper_QSGDynamicTexture : public QObject +{ Q_OBJECT +public: +public slots: +QSGDynamicTexture* new_QSGDynamicTexture(); +void delete_QSGDynamicTexture(QSGDynamicTexture* obj) { delete obj; } + bool updateTexture(QSGDynamicTexture* theWrappedObject); + bool py_q_updateTexture(QSGDynamicTexture* theWrappedObject){ return (((PythonQtPublicPromoter_QSGDynamicTexture*)theWrappedObject)->py_q_updateTexture());} +}; + + + + + +class PythonQtShell_QSGEngine : public QSGEngine +{ +public: + PythonQtShell_QSGEngine(QObject* parent = nullptr):QSGEngine(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGEngine() 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_QSGEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CreateTextureOption ) +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; } + QSGImageNode* createImageNode(QSGEngine* theWrappedObject) const; + QSGNinePatchNode* createNinePatchNode(QSGEngine* theWrappedObject) const; + QSGRectangleNode* createRectangleNode(QSGEngine* theWrappedObject) const; + QSGAbstractRenderer* createRenderer(QSGEngine* theWrappedObject) const; + void initialize(QSGEngine* theWrappedObject, QOpenGLContext* context); + void invalidate(QSGEngine* theWrappedObject); + QSGRendererInterface* rendererInterface(QSGEngine* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSGFlatColorMaterial : public QSGFlatColorMaterial +{ +public: + PythonQtShell_QSGFlatColorMaterial():QSGFlatColorMaterial(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGFlatColorMaterial(); + +QSGMaterialType* type() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGFlatColorMaterial : public QSGFlatColorMaterial +{ public: +inline QSGMaterialType* py_q_type() const { return QSGFlatColorMaterial::type(); } +}; + +class PythonQtWrapper_QSGFlatColorMaterial : public QObject +{ Q_OBJECT +public: +public slots: +QSGFlatColorMaterial* new_QSGFlatColorMaterial(); +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; + QSGMaterialType* py_q_type(QSGFlatColorMaterial* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGFlatColorMaterial*)theWrappedObject)->py_q_type());} +}; + + + + + +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(nullptr) {}; + + ~PythonQtShell_QSGGeometry() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AttributeType DataPattern DrawingMode Type ) +enum AttributeType{ + UnknownAttribute = QSGGeometry::UnknownAttribute, PositionAttribute = QSGGeometry::PositionAttribute, ColorAttribute = QSGGeometry::ColorAttribute, TexCoordAttribute = QSGGeometry::TexCoordAttribute, TexCoord1Attribute = QSGGeometry::TexCoord1Attribute, TexCoord2Attribute = QSGGeometry::TexCoord2Attribute}; +enum DataPattern{ + AlwaysUploadPattern = QSGGeometry::AlwaysUploadPattern, StreamPattern = QSGGeometry::StreamPattern, DynamicPattern = QSGGeometry::DynamicPattern, StaticPattern = QSGGeometry::StaticPattern}; +enum DrawingMode{ + DrawPoints = QSGGeometry::DrawPoints, DrawLines = QSGGeometry::DrawLines, DrawLineLoop = QSGGeometry::DrawLineLoop, DrawLineStrip = QSGGeometry::DrawLineStrip, DrawTriangles = QSGGeometry::DrawTriangles, DrawTriangleStrip = QSGGeometry::DrawTriangleStrip, DrawTriangleFan = QSGGeometry::DrawTriangleFan}; +enum Type{ + ByteType = QSGGeometry::ByteType, UnsignedByteType = QSGGeometry::UnsignedByteType, ShortType = QSGGeometry::ShortType, UnsignedShortType = QSGGeometry::UnsignedShortType, IntType = QSGGeometry::IntType, UnsignedIntType = QSGGeometry::UnsignedIntType, FloatType = QSGGeometry::FloatType, Bytes2Type = QSGGeometry::Bytes2Type, Bytes3Type = QSGGeometry::Bytes3Type, Bytes4Type = QSGGeometry::Bytes4Type, DoubleType = QSGGeometry::DoubleType}; +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 allocate(QSGGeometry* theWrappedObject, int vertexCount, int indexCount = 0); + int attributeCount(QSGGeometry* theWrappedObject) const; + const QSGGeometry::Attribute* attributes(QSGGeometry* theWrappedObject) const; + const QSGGeometry::AttributeSet* static_QSGGeometry_defaultAttributes_ColoredPoint2D(); + const QSGGeometry::AttributeSet* static_QSGGeometry_defaultAttributes_Point2D(); + const QSGGeometry::AttributeSet* static_QSGGeometry_defaultAttributes_TexturedPoint2D(); + unsigned int drawingMode(QSGGeometry* theWrappedObject) const; + int indexCount(QSGGeometry* theWrappedObject) const; + void* indexData(QSGGeometry* theWrappedObject); + const void* indexData(QSGGeometry* theWrappedObject) const; + uint* indexDataAsUInt(QSGGeometry* theWrappedObject); + const uint* indexDataAsUInt(QSGGeometry* theWrappedObject) const; + unsigned short* indexDataAsUShort(QSGGeometry* theWrappedObject); + const unsigned short* indexDataAsUShort(QSGGeometry* theWrappedObject) const; + QSGGeometry::DataPattern indexDataPattern(QSGGeometry* theWrappedObject) const; + int indexType(QSGGeometry* theWrappedObject) const; + float lineWidth(QSGGeometry* theWrappedObject) const; + void markIndexDataDirty(QSGGeometry* theWrappedObject); + void markVertexDataDirty(QSGGeometry* theWrappedObject); + void setDrawingMode(QSGGeometry* theWrappedObject, unsigned int mode); + void setIndexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p); + void setLineWidth(QSGGeometry* theWrappedObject, float w); + void setVertexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p); + int sizeOfIndex(QSGGeometry* theWrappedObject) const; + int sizeOfVertex(QSGGeometry* theWrappedObject) const; + void static_QSGGeometry_updateColoredRectGeometry(QSGGeometry* g, const QRectF& rect); + void static_QSGGeometry_updateRectGeometry(QSGGeometry* g, const QRectF& rect); + void static_QSGGeometry_updateTexturedRectGeometry(QSGGeometry* g, const QRectF& rect, const QRectF& sourceRect); + int vertexCount(QSGGeometry* theWrappedObject) const; + void* vertexData(QSGGeometry* theWrappedObject); + const void* vertexData(QSGGeometry* theWrappedObject) const; + QSGGeometry::ColoredPoint2D* vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject); + const QSGGeometry::ColoredPoint2D* vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject) const; + QSGGeometry::Point2D* vertexDataAsPoint2D(QSGGeometry* theWrappedObject); + const QSGGeometry::Point2D* vertexDataAsPoint2D(QSGGeometry* theWrappedObject) const; + QSGGeometry::TexturedPoint2D* vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject); + const QSGGeometry::TexturedPoint2D* vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject) const; + QSGGeometry::DataPattern vertexDataPattern(QSGGeometry* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSGGeometryNode : public QSGGeometryNode +{ +public: + PythonQtShell_QSGGeometryNode():QSGGeometryNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometryNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometryNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometryNode* new_QSGGeometryNode(); +void delete_QSGGeometryNode(QSGGeometryNode* obj) { delete obj; } + qreal inheritedOpacity(QSGGeometryNode* theWrappedObject) const; + int renderOrder(QSGGeometryNode* theWrappedObject) const; + void setInheritedOpacity(QSGGeometryNode* theWrappedObject, qreal opacity); + void setRenderOrder(QSGGeometryNode* theWrappedObject, int order); + QString py_toString(QSGGeometryNode*); +}; + + + + + +class PythonQtShell_QSGGeometry__Attribute : public QSGGeometry::Attribute +{ +public: + PythonQtShell_QSGGeometry__Attribute():QSGGeometry::Attribute(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__Attribute(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__Attribute : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::Attribute* new_QSGGeometry__Attribute(); +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; } +QSGGeometry::AttributeType py_get_attributeType(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->attributeType; } +void py_set_isVertexCoordinate(QSGGeometry::Attribute* theWrappedObject, uint isVertexCoordinate){ theWrappedObject->isVertexCoordinate = isVertexCoordinate; } +uint py_get_isVertexCoordinate(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->isVertexCoordinate; } +void py_set_position(QSGGeometry::Attribute* theWrappedObject, int position){ theWrappedObject->position = position; } +int py_get_position(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->position; } +void py_set_reserved(QSGGeometry::Attribute* theWrappedObject, uint reserved){ theWrappedObject->reserved = reserved; } +uint py_get_reserved(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->reserved; } +void py_set_tupleSize(QSGGeometry::Attribute* theWrappedObject, int tupleSize){ theWrappedObject->tupleSize = tupleSize; } +int py_get_tupleSize(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->tupleSize; } +void py_set_type(QSGGeometry::Attribute* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->type; } +}; + + + + + +class PythonQtShell_QSGGeometry__AttributeSet : public QSGGeometry::AttributeSet +{ +public: + PythonQtShell_QSGGeometry__AttributeSet():QSGGeometry::AttributeSet(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__AttributeSet(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__AttributeSet : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::AttributeSet* new_QSGGeometry__AttributeSet(); +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; } +void py_set_stride(QSGGeometry::AttributeSet* theWrappedObject, int stride){ theWrappedObject->stride = stride; } +int py_get_stride(QSGGeometry::AttributeSet* theWrappedObject){ return theWrappedObject->stride; } +}; + + + + + +class PythonQtShell_QSGGeometry__ColoredPoint2D : public QSGGeometry::ColoredPoint2D +{ +public: + PythonQtShell_QSGGeometry__ColoredPoint2D():QSGGeometry::ColoredPoint2D(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__ColoredPoint2D(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__ColoredPoint2D : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::ColoredPoint2D* new_QSGGeometry__ColoredPoint2D(); +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; } +void py_set_b(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char b){ theWrappedObject->b = b; } +unsigned char py_get_b(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->b; } +void py_set_g(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char g){ theWrappedObject->g = g; } +unsigned char py_get_g(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->g; } +void py_set_r(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char r){ theWrappedObject->r = r; } +unsigned char py_get_r(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->r; } +void py_set_x(QSGGeometry::ColoredPoint2D* theWrappedObject, float x){ theWrappedObject->x = x; } +float py_get_x(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QSGGeometry::ColoredPoint2D* theWrappedObject, float y){ theWrappedObject->y = y; } +float py_get_y(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QSGGeometry__Point2D : public QSGGeometry::Point2D +{ +public: + PythonQtShell_QSGGeometry__Point2D():QSGGeometry::Point2D(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__Point2D(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__Point2D : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::Point2D* new_QSGGeometry__Point2D(); +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; } +void py_set_y(QSGGeometry::Point2D* theWrappedObject, float y){ theWrappedObject->y = y; } +float py_get_y(QSGGeometry::Point2D* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QSGGeometry__TexturedPoint2D : public QSGGeometry::TexturedPoint2D +{ +public: + PythonQtShell_QSGGeometry__TexturedPoint2D():QSGGeometry::TexturedPoint2D(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__TexturedPoint2D(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__TexturedPoint2D : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::TexturedPoint2D* new_QSGGeometry__TexturedPoint2D(); +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; } +void py_set_ty(QSGGeometry::TexturedPoint2D* theWrappedObject, float ty){ theWrappedObject->ty = ty; } +float py_get_ty(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->ty; } +void py_set_x(QSGGeometry::TexturedPoint2D* theWrappedObject, float x){ theWrappedObject->x = x; } +float py_get_x(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QSGGeometry::TexturedPoint2D* theWrappedObject, float y){ theWrappedObject->y = y; } +float py_get_y(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtPublicPromoter_QSGImageNode : public QSGImageNode +{ public: +inline QSGTexture::Filtering py_q_filtering() const { return this->filtering(); } +inline QSGTexture::Filtering py_q_mipmapFiltering() const { return this->mipmapFiltering(); } +inline bool py_q_ownsTexture() const { return this->ownsTexture(); } +inline QRectF py_q_rect() const { return this->rect(); } +inline void py_q_setFiltering(QSGTexture::Filtering filtering) { this->setFiltering(filtering); } +inline void py_q_setMipmapFiltering(QSGTexture::Filtering filtering) { this->setMipmapFiltering(filtering); } +inline void py_q_setOwnsTexture(bool owns) { this->setOwnsTexture(owns); } +inline void py_q_setRect(const QRectF& rect) { this->setRect(rect); } +inline void py_q_setSourceRect(const QRectF& r) { this->setSourceRect(r); } +inline void py_q_setTexture(QSGTexture* texture) { this->setTexture(texture); } +inline QRectF py_q_sourceRect() const { return this->sourceRect(); } +inline QSGTexture* py_q_texture() const { return this->texture(); } +}; + +class PythonQtWrapper_QSGImageNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TextureCoordinatesTransformFlag ) +enum TextureCoordinatesTransformFlag{ + NoTransform = QSGImageNode::NoTransform, MirrorHorizontally = QSGImageNode::MirrorHorizontally, MirrorVertically = QSGImageNode::MirrorVertically}; +public slots: +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; + QSGTexture::Filtering py_q_mipmapFiltering(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_mipmapFiltering());} + bool ownsTexture(QSGImageNode* theWrappedObject) const; + bool py_q_ownsTexture(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_ownsTexture());} + QRectF rect(QSGImageNode* theWrappedObject) const; + QRectF py_q_rect(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_rect());} + void setFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering); + void py_q_setFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setFiltering(filtering));} + void setMipmapFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering); + void py_q_setMipmapFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setMipmapFiltering(filtering));} + void setOwnsTexture(QSGImageNode* theWrappedObject, bool owns); + void py_q_setOwnsTexture(QSGImageNode* theWrappedObject, bool owns){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setOwnsTexture(owns));} + void setRect(QSGImageNode* theWrappedObject, const QRectF& rect); + void py_q_setRect(QSGImageNode* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setRect(rect));} + void setRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setSourceRect(QSGImageNode* theWrappedObject, const QRectF& r); + void py_q_setSourceRect(QSGImageNode* theWrappedObject, const QRectF& r){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setSourceRect(r));} + void setSourceRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setTexture(QSGImageNode* theWrappedObject, QSGTexture* texture); + void py_q_setTexture(QSGImageNode* theWrappedObject, QSGTexture* texture){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setTexture(texture));} + QRectF sourceRect(QSGImageNode* theWrappedObject) const; + QRectF py_q_sourceRect(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_sourceRect());} + QSGTexture* texture(QSGImageNode* theWrappedObject) const; + QSGTexture* py_q_texture(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_texture());} +}; + + + + + +class PythonQtShell_QSGMaterialType : public QSGMaterialType +{ +public: + PythonQtShell_QSGMaterialType():QSGMaterialType(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGMaterialType(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGMaterialType : public QObject +{ Q_OBJECT +public: +public slots: +QSGMaterialType* new_QSGMaterialType(); +void delete_QSGMaterialType(QSGMaterialType* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QSGNinePatchNode : public QSGNinePatchNode +{ +public: + PythonQtShell_QSGNinePatchNode():QSGNinePatchNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGNinePatchNode() override; + +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; +}; + +class PythonQtPublicPromoter_QSGNinePatchNode : public QSGNinePatchNode +{ public: +inline void py_q_setBounds(const QRectF& bounds) { this->setBounds(bounds); } +inline void py_q_setDevicePixelRatio(qreal ratio) { this->setDevicePixelRatio(ratio); } +inline void py_q_setPadding(qreal left, qreal top, qreal right, qreal bottom) { this->setPadding(left, top, right, bottom); } +inline void py_q_setTexture(QSGTexture* texture) { this->setTexture(texture); } +inline void py_q_update() { this->update(); } +}; + +class PythonQtWrapper_QSGNinePatchNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGNinePatchNode* new_QSGNinePatchNode(); +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));} + void setDevicePixelRatio(QSGNinePatchNode* theWrappedObject, qreal ratio); + void py_q_setDevicePixelRatio(QSGNinePatchNode* theWrappedObject, qreal ratio){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setDevicePixelRatio(ratio));} + void setPadding(QSGNinePatchNode* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); + void py_q_setPadding(QSGNinePatchNode* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setPadding(left, top, right, bottom));} + void setTexture(QSGNinePatchNode* theWrappedObject, QSGTexture* texture); + void py_q_setTexture(QSGNinePatchNode* theWrappedObject, QSGTexture* texture){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setTexture(texture));} + void update(QSGNinePatchNode* theWrappedObject); + void py_q_update(QSGNinePatchNode* theWrappedObject){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_update());} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp new file mode 100644 index 00000000..39a0e732 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp @@ -0,0 +1,2307 @@ +#include "com_trolltech_qt_quick1.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QSGNode::~PythonQtShell_QSGNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGNode::preprocess(); +} +QSGNode* PythonQtWrapper_QSGNode::new_QSGNode() +{ +return new PythonQtShell_QSGNode(); } + +QSGNode* PythonQtWrapper_QSGNode::new_QSGNode(QSGNode::NodeType type) +{ +return new PythonQtShell_QSGNode(type); } + +void PythonQtWrapper_QSGNode::appendChildNode(QSGNode* theWrappedObject, QSGNode* node) +{ + ( theWrappedObject->appendChildNode(node)); +} + +QSGNode* PythonQtWrapper_QSGNode::childAtIndex(QSGNode* theWrappedObject, int i) const +{ + return ( theWrappedObject->childAtIndex(i)); +} + +int PythonQtWrapper_QSGNode::childCount(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->childCount()); +} + +void PythonQtWrapper_QSGNode::clearDirty(QSGNode* theWrappedObject) +{ + ( theWrappedObject->clearDirty()); +} + +QSGNode::DirtyState PythonQtWrapper_QSGNode::dirtyState(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->dirtyState()); +} + +QSGNode* PythonQtWrapper_QSGNode::firstChild(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->firstChild()); +} + +void PythonQtWrapper_QSGNode::insertChildNodeAfter(QSGNode* theWrappedObject, QSGNode* node, QSGNode* after) +{ + ( theWrappedObject->insertChildNodeAfter(node, after)); +} + +void PythonQtWrapper_QSGNode::insertChildNodeBefore(QSGNode* theWrappedObject, QSGNode* node, QSGNode* before) +{ + ( theWrappedObject->insertChildNodeBefore(node, before)); +} + +bool PythonQtWrapper_QSGNode::isSubtreeBlocked(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->isSubtreeBlocked()); +} + +QSGNode* PythonQtWrapper_QSGNode::lastChild(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->lastChild()); +} + +void PythonQtWrapper_QSGNode::markDirty(QSGNode* theWrappedObject, QSGNode::DirtyState bits) +{ + ( theWrappedObject->markDirty(bits)); +} + +QSGNode* PythonQtWrapper_QSGNode::nextSibling(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->nextSibling()); +} + +QSGNode* PythonQtWrapper_QSGNode::parent(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +void PythonQtWrapper_QSGNode::prependChildNode(QSGNode* theWrappedObject, QSGNode* node) +{ + ( theWrappedObject->prependChildNode(node)); +} + +void PythonQtWrapper_QSGNode::preprocess(QSGNode* theWrappedObject) +{ + ( theWrappedObject->preprocess()); +} + +QSGNode* PythonQtWrapper_QSGNode::previousSibling(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->previousSibling()); +} + +void PythonQtWrapper_QSGNode::removeAllChildNodes(QSGNode* theWrappedObject) +{ + ( theWrappedObject->removeAllChildNodes()); +} + +void PythonQtWrapper_QSGNode::removeChildNode(QSGNode* theWrappedObject, QSGNode* node) +{ + ( theWrappedObject->removeChildNode(node)); +} + +void PythonQtWrapper_QSGNode::reparentChildNodesTo(QSGNode* theWrappedObject, QSGNode* newParent) +{ + ( theWrappedObject->reparentChildNodesTo(newParent)); +} + +void PythonQtWrapper_QSGNode::setFlag(QSGNode* theWrappedObject, QSGNode::Flag arg__1, bool arg__2) +{ + ( theWrappedObject->setFlag(arg__1, arg__2)); +} + +QSGNode::NodeType PythonQtWrapper_QSGNode::type(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QSGNode::py_toString(QSGNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGNodeVisitor::~PythonQtShell_QSGNodeVisitor() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGNodeVisitor::enterClipNode(QSGClipNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterClipNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGClipNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterClipNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::enterGeometryNode(QSGGeometryNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterGeometryNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGGeometryNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterGeometryNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::enterOpacityNode(QSGOpacityNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterOpacityNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGOpacityNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterOpacityNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::enterTransformNode(QSGTransformNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterTransformNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGTransformNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterTransformNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveClipNode(QSGClipNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveClipNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGClipNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveClipNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveGeometryNode(QSGGeometryNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveGeometryNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGGeometryNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveGeometryNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveOpacityNode(QSGOpacityNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveOpacityNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGOpacityNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveOpacityNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveTransformNode(QSGTransformNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveTransformNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGTransformNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveTransformNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::visitChildren(QSGNode* n0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visitChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::visitChildren(n0); +} +void PythonQtShell_QSGNodeVisitor::visitNode(QSGNode* n0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visitNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::visitNode(n0); +} +QSGNodeVisitor* PythonQtWrapper_QSGNodeVisitor::new_QSGNodeVisitor() +{ +return new PythonQtShell_QSGNodeVisitor(); } + +void PythonQtWrapper_QSGNodeVisitor::enterClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterClipNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::enterGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterGeometryNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::enterOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterOpacityNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::enterTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterTransformNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveClipNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveGeometryNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveOpacityNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveTransformNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::visitChildren(QSGNodeVisitor* theWrappedObject, QSGNode* n) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_visitChildren(n)); +} + +void PythonQtWrapper_QSGNodeVisitor::visitNode(QSGNodeVisitor* theWrappedObject, QSGNode* n) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_visitNode(n)); +} + + + +PythonQtShell_QSGOpacityNode::~PythonQtShell_QSGOpacityNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGOpacityNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGOpacityNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGOpacityNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGOpacityNode::preprocess(); +} +QSGOpacityNode* PythonQtWrapper_QSGOpacityNode::new_QSGOpacityNode() +{ +return new PythonQtShell_QSGOpacityNode(); } + +qreal PythonQtWrapper_QSGOpacityNode::combinedOpacity(QSGOpacityNode* theWrappedObject) const +{ + return ( theWrappedObject->combinedOpacity()); +} + +qreal PythonQtWrapper_QSGOpacityNode::opacity(QSGOpacityNode* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +void PythonQtWrapper_QSGOpacityNode::setCombinedOpacity(QSGOpacityNode* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setCombinedOpacity(opacity)); +} + +void PythonQtWrapper_QSGOpacityNode::setOpacity(QSGOpacityNode* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +QString PythonQtWrapper_QSGOpacityNode::py_toString(QSGOpacityNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGRectangleNode::~PythonQtShell_QSGRectangleNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QColor PythonQtShell_QSGRectangleNode::color() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("color"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QColor"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("color", methodInfo, result); + } else { + returnValue = *((QColor*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColor(); +} +bool PythonQtShell_QSGRectangleNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRectangleNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGRectangleNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGRectangleNode::preprocess(); +} +QRectF PythonQtShell_QSGRectangleNode::rect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rect"); + 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("rect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRectF(); +} +void PythonQtShell_QSGRectangleNode::setColor(const QColor& color0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setColor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QColor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&color0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGRectangleNode::setRect(const QRectF& rect0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRect"); + 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(); + } + } +} + +} +QSGRectangleNode* PythonQtWrapper_QSGRectangleNode::new_QSGRectangleNode() +{ +return new PythonQtShell_QSGRectangleNode(); } + +QColor PythonQtWrapper_QSGRectangleNode::color(QSGRectangleNode* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +QRectF PythonQtWrapper_QSGRectangleNode::rect(QSGRectangleNode* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QSGRectangleNode::setColor(QSGRectangleNode* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QSGRectangleNode::setRect(QSGRectangleNode* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QSGRectangleNode::setRect(QSGRectangleNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + + + +PythonQtShell_QSGRenderNode::~PythonQtShell_QSGRenderNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGRenderNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRenderNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGRenderNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGRenderNode::preprocess(); +} +QRectF PythonQtShell_QSGRenderNode::rect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rect"); + 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("rect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRenderNode::rect(); +} +void PythonQtShell_QSGRenderNode::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + 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(); + } + } +} + QSGRenderNode::releaseResources(); +} +void PythonQtShell_QSGRenderNode::render(const QSGRenderNode::RenderState* state0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("render"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSGRenderNode::RenderState*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QSGRenderNode* PythonQtWrapper_QSGRenderNode::new_QSGRenderNode() +{ +return new PythonQtShell_QSGRenderNode(); } + +const QSGClipNode* PythonQtWrapper_QSGRenderNode::clipList(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->clipList()); +} + +qreal PythonQtWrapper_QSGRenderNode::inheritedOpacity(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->inheritedOpacity()); +} + +const QMatrix4x4* PythonQtWrapper_QSGRenderNode::matrix(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +QRectF PythonQtWrapper_QSGRenderNode::rect(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QSGRenderNode::releaseResources(QSGRenderNode* theWrappedObject) +{ + ( theWrappedObject->releaseResources()); +} + +void PythonQtWrapper_QSGRenderNode::render(QSGRenderNode* theWrappedObject, const QSGRenderNode::RenderState* state) +{ + ( theWrappedObject->render(state)); +} + + + +PythonQtShell_QSGRenderNode__RenderState::~PythonQtShell_QSGRenderNode__RenderState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +const QRegion* PythonQtShell_QSGRenderNode__RenderState::clipRegion() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRegion"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"const QRegion*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clipRegion", methodInfo, result); + } else { + returnValue = *((const QRegion**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void* PythonQtShell_QSGRenderNode__RenderState::get(const char* state0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("get"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"void*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("get", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRenderNode::RenderState::get(state0); +} +const QMatrix4x4* PythonQtShell_QSGRenderNode__RenderState::projectionMatrix() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("projectionMatrix"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"const QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("projectionMatrix", methodInfo, result); + } else { + returnValue = *((const QMatrix4x4**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QSGRenderNode__RenderState::scissorEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scissorEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("scissorEnabled", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QRect PythonQtShell_QSGRenderNode__RenderState::scissorRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scissorRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("scissorRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRect(); +} +bool PythonQtShell_QSGRenderNode__RenderState::stencilEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stencilEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stencilEnabled", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +int PythonQtShell_QSGRenderNode__RenderState::stencilValue() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stencilValue"); + 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("stencilValue", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QSGRenderNode::RenderState* PythonQtWrapper_QSGRenderNode__RenderState::new_QSGRenderNode__RenderState() +{ +return new PythonQtShell_QSGRenderNode__RenderState(); } + +const QRegion* PythonQtWrapper_QSGRenderNode__RenderState::clipRegion(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->clipRegion()); +} + +void* PythonQtWrapper_QSGRenderNode__RenderState::get(QSGRenderNode::RenderState* theWrappedObject, const char* state) const +{ + return ( theWrappedObject->get(state)); +} + +const QMatrix4x4* PythonQtWrapper_QSGRenderNode__RenderState::projectionMatrix(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->projectionMatrix()); +} + +bool PythonQtWrapper_QSGRenderNode__RenderState::scissorEnabled(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->scissorEnabled()); +} + +QRect PythonQtWrapper_QSGRenderNode__RenderState::scissorRect(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->scissorRect()); +} + +bool PythonQtWrapper_QSGRenderNode__RenderState::stencilEnabled(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->stencilEnabled()); +} + +int PythonQtWrapper_QSGRenderNode__RenderState::stencilValue(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->stencilValue()); +} + + + +PythonQtShell_QSGRendererInterface::~PythonQtShell_QSGRendererInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGRendererInterface::GraphicsApi PythonQtShell_QSGRendererInterface::graphicsApi() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("graphicsApi"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGRendererInterface::GraphicsApi"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGRendererInterface::GraphicsApi returnValue{}; + 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("graphicsApi", methodInfo, result); + } else { + returnValue = *((QSGRendererInterface::GraphicsApi*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRendererInterface::GraphicsApi(); +} +QSGRendererInterface::ShaderCompilationTypes PythonQtShell_QSGRendererInterface::shaderCompilationType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shaderCompilationType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGRendererInterface::ShaderCompilationTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGRendererInterface::ShaderCompilationTypes returnValue{}; + 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("shaderCompilationType", methodInfo, result); + } else { + returnValue = *((QSGRendererInterface::ShaderCompilationTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRendererInterface::ShaderCompilationTypes(); +} +QSGRendererInterface::ShaderSourceTypes PythonQtShell_QSGRendererInterface::shaderSourceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shaderSourceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGRendererInterface::ShaderSourceTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGRendererInterface::ShaderSourceTypes returnValue{}; + 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("shaderSourceType", methodInfo, result); + } else { + returnValue = *((QSGRendererInterface::ShaderSourceTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRendererInterface::ShaderSourceTypes(); +} +QSGRendererInterface::ShaderType PythonQtShell_QSGRendererInterface::shaderType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shaderType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGRendererInterface::ShaderType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGRendererInterface::ShaderType returnValue{}; + 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("shaderType", methodInfo, result); + } else { + returnValue = *((QSGRendererInterface::ShaderType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRendererInterface::ShaderType(); +} +QSGRendererInterface* PythonQtWrapper_QSGRendererInterface::new_QSGRendererInterface() +{ +return new PythonQtShell_QSGRendererInterface(); } + +QSGRendererInterface::GraphicsApi PythonQtWrapper_QSGRendererInterface::graphicsApi(QSGRendererInterface* theWrappedObject) const +{ + return ( theWrappedObject->graphicsApi()); +} + +bool PythonQtWrapper_QSGRendererInterface::static_QSGRendererInterface_isApiRhiBased(QSGRendererInterface::GraphicsApi api) +{ + return (QSGRendererInterface::isApiRhiBased(api)); +} + +QSGRendererInterface::ShaderCompilationTypes PythonQtWrapper_QSGRendererInterface::shaderCompilationType(QSGRendererInterface* theWrappedObject) const +{ + return ( theWrappedObject->shaderCompilationType()); +} + +QSGRendererInterface::ShaderSourceTypes PythonQtWrapper_QSGRendererInterface::shaderSourceType(QSGRendererInterface* theWrappedObject) const +{ + return ( theWrappedObject->shaderSourceType()); +} + +QSGRendererInterface::ShaderType PythonQtWrapper_QSGRendererInterface::shaderType(QSGRendererInterface* theWrappedObject) const +{ + return ( theWrappedObject->shaderType()); +} + + + +PythonQtShell_QSGRootNode::~PythonQtShell_QSGRootNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGRootNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRootNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGRootNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGRootNode::preprocess(); +} +QSGRootNode* PythonQtWrapper_QSGRootNode::new_QSGRootNode() +{ +return new PythonQtShell_QSGRootNode(); } + +QString PythonQtWrapper_QSGRootNode::py_toString(QSGRootNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGTexture::~PythonQtShell_QSGTexture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGTexture::bind() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + 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(); + } + } +} + +} +void PythonQtShell_QSGTexture::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(); + } + } +} + QSGTexture::childEvent(event0); +} +void PythonQtShell_QSGTexture::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(); + } + } +} + QSGTexture::customEvent(event0); +} +bool PythonQtShell_QSGTexture::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 QSGTexture::event(event0); +} +bool PythonQtShell_QSGTexture::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 QSGTexture::eventFilter(watched0, event1); +} +bool PythonQtShell_QSGTexture::hasAlphaChannel() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasAlphaChannel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasAlphaChannel", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGTexture::hasMipmaps() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasMipmaps"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasMipmaps", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGTexture::isAtlasTexture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAtlasTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAtlasTexture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::isAtlasTexture(); +} +QRectF PythonQtShell_QSGTexture::normalizedTextureSubRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("normalizedTextureSubRect"); + 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("normalizedTextureSubRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::normalizedTextureSubRect(); +} +QSGTexture* PythonQtShell_QSGTexture::removedFromAtlas() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removedFromAtlas"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removedFromAtlas", methodInfo, result); + } else { + returnValue = *((QSGTexture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::removedFromAtlas(); +} +int PythonQtShell_QSGTexture::textureId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureId"); + 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("textureId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QSize PythonQtShell_QSGTexture::textureSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +void PythonQtShell_QSGTexture::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(); + } + } +} + QSGTexture::timerEvent(event0); +} +QSGTexture* PythonQtWrapper_QSGTexture::new_QSGTexture() +{ +return new PythonQtShell_QSGTexture(); } + +const QMetaObject* PythonQtShell_QSGTexture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGTexture::staticMetaObject); + } else { + return &QSGTexture::staticMetaObject; + } +} +int PythonQtShell_QSGTexture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGTexture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSGTexture::AnisotropyLevel PythonQtWrapper_QSGTexture::anisotropyLevel(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->anisotropyLevel()); +} + +void PythonQtWrapper_QSGTexture::bind(QSGTexture* theWrappedObject) +{ + ( theWrappedObject->bind()); +} + +int PythonQtWrapper_QSGTexture::comparisonKey(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->comparisonKey()); +} + +QRectF PythonQtWrapper_QSGTexture::convertToNormalizedSourceRect(QSGTexture* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->convertToNormalizedSourceRect(rect)); +} + +QSGTexture::Filtering PythonQtWrapper_QSGTexture::filtering(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->filtering()); +} + +bool PythonQtWrapper_QSGTexture::hasAlphaChannel(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->hasAlphaChannel()); +} + +bool PythonQtWrapper_QSGTexture::hasMipmaps(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->hasMipmaps()); +} + +QSGTexture::WrapMode PythonQtWrapper_QSGTexture::horizontalWrapMode(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->horizontalWrapMode()); +} + +bool PythonQtWrapper_QSGTexture::isAtlasTexture(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->isAtlasTexture()); +} + +QSGTexture::Filtering PythonQtWrapper_QSGTexture::mipmapFiltering(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipmapFiltering()); +} + +QRectF PythonQtWrapper_QSGTexture::normalizedTextureSubRect(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->normalizedTextureSubRect()); +} + +QSGTexture* PythonQtWrapper_QSGTexture::removedFromAtlas(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->removedFromAtlas()); +} + +void PythonQtWrapper_QSGTexture::setAnisotropyLevel(QSGTexture* theWrappedObject, QSGTexture::AnisotropyLevel level) +{ + ( theWrappedObject->setAnisotropyLevel(level)); +} + +void PythonQtWrapper_QSGTexture::setFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter) +{ + ( theWrappedObject->setFiltering(filter)); +} + +void PythonQtWrapper_QSGTexture::setHorizontalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode hwrap) +{ + ( theWrappedObject->setHorizontalWrapMode(hwrap)); +} + +void PythonQtWrapper_QSGTexture::setMipmapFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter) +{ + ( theWrappedObject->setMipmapFiltering(filter)); +} + +void PythonQtWrapper_QSGTexture::setVerticalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode vwrap) +{ + ( theWrappedObject->setVerticalWrapMode(vwrap)); +} + +int PythonQtWrapper_QSGTexture::textureId(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->textureId()); +} + +QSize PythonQtWrapper_QSGTexture::textureSize(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->textureSize()); +} + +void PythonQtWrapper_QSGTexture::updateBindOptions(QSGTexture* theWrappedObject, bool force) +{ + ( theWrappedObject->updateBindOptions(force)); +} + +QSGTexture::WrapMode PythonQtWrapper_QSGTexture::verticalWrapMode(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->verticalWrapMode()); +} + + + +PythonQtShell_QSGTextureMaterial::~PythonQtShell_QSGTextureMaterial() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGMaterialType* PythonQtShell_QSGTextureMaterial::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[] ={"QSGMaterialType*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QSGMaterialType**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTextureMaterial::type(); +} +QSGTextureMaterial* PythonQtWrapper_QSGTextureMaterial::new_QSGTextureMaterial() +{ +return new PythonQtShell_QSGTextureMaterial(); } + +QSGMaterialType* PythonQtWrapper_QSGTextureMaterial::type(QSGTextureMaterial* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QSGTextureProvider::~PythonQtShell_QSGTextureProvider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGTextureProvider::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(); + } + } +} + QSGTextureProvider::childEvent(event0); +} +void PythonQtShell_QSGTextureProvider::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(); + } + } +} + QSGTextureProvider::customEvent(event0); +} +bool PythonQtShell_QSGTextureProvider::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 QSGTextureProvider::event(event0); +} +bool PythonQtShell_QSGTextureProvider::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 QSGTextureProvider::eventFilter(watched0, event1); +} +QSGTexture* PythonQtShell_QSGTextureProvider::texture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("texture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("texture", methodInfo, result); + } else { + returnValue = *((QSGTexture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QSGTextureProvider::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(); + } + } +} + QSGTextureProvider::timerEvent(event0); +} +QSGTextureProvider* PythonQtWrapper_QSGTextureProvider::new_QSGTextureProvider() +{ +return new PythonQtShell_QSGTextureProvider(); } + +const QMetaObject* PythonQtShell_QSGTextureProvider::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGTextureProvider::staticMetaObject); + } else { + return &QSGTextureProvider::staticMetaObject; + } +} +int PythonQtShell_QSGTextureProvider::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGTextureProvider::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSGTexture* PythonQtWrapper_QSGTextureProvider::texture(QSGTextureProvider* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + + + +PythonQtShell_QSGTransformNode::~PythonQtShell_QSGTransformNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGTransformNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTransformNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGTransformNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + 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(); + } + } +} + QSGTransformNode::preprocess(); +} +QSGTransformNode* PythonQtWrapper_QSGTransformNode::new_QSGTransformNode() +{ +return new PythonQtShell_QSGTransformNode(); } + +const QMatrix4x4* PythonQtWrapper_QSGTransformNode::combinedMatrix(QSGTransformNode* theWrappedObject) const +{ + return &( theWrappedObject->combinedMatrix()); +} + +const QMatrix4x4* PythonQtWrapper_QSGTransformNode::matrix(QSGTransformNode* theWrappedObject) const +{ + return &( theWrappedObject->matrix()); +} + +void PythonQtWrapper_QSGTransformNode::setCombinedMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setCombinedMatrix(matrix)); +} + +void PythonQtWrapper_QSGTransformNode::setMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setMatrix(matrix)); +} + +QString PythonQtWrapper_QSGTransformNode::py_toString(QSGTransformNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.h b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.h new file mode 100644 index 00000000..cdeccef8 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick1.h @@ -0,0 +1,617 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QSGNode : public QSGNode +{ +public: + PythonQtShell_QSGNode():QSGNode(),_wrapper(nullptr) {}; + PythonQtShell_QSGNode(QSGNode::NodeType type):QSGNode(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGNode : public QSGNode +{ public: +inline bool py_q_isSubtreeBlocked() const { return QSGNode::isSubtreeBlocked(); } +inline void py_q_preprocess() { QSGNode::preprocess(); } +}; + +class PythonQtWrapper_QSGNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DirtyStateBit Flag NodeType ) +enum DirtyStateBit{ + DirtySubtreeBlocked = QSGNode::DirtySubtreeBlocked, DirtyMatrix = QSGNode::DirtyMatrix, DirtyNodeAdded = QSGNode::DirtyNodeAdded, DirtyNodeRemoved = QSGNode::DirtyNodeRemoved, DirtyGeometry = QSGNode::DirtyGeometry, DirtyMaterial = QSGNode::DirtyMaterial, DirtyOpacity = QSGNode::DirtyOpacity, DirtyForceUpdate = QSGNode::DirtyForceUpdate, DirtyUsePreprocess = QSGNode::DirtyUsePreprocess, DirtyPropagationMask = QSGNode::DirtyPropagationMask}; +enum Flag{ + OwnedByParent = QSGNode::OwnedByParent, UsePreprocess = QSGNode::UsePreprocess, OwnsGeometry = QSGNode::OwnsGeometry, OwnsMaterial = QSGNode::OwnsMaterial, OwnsOpaqueMaterial = QSGNode::OwnsOpaqueMaterial, IsVisitableNode = QSGNode::IsVisitableNode}; +enum NodeType{ + BasicNodeType = QSGNode::BasicNodeType, GeometryNodeType = QSGNode::GeometryNodeType, TransformNodeType = QSGNode::TransformNodeType, ClipNodeType = QSGNode::ClipNodeType, OpacityNodeType = QSGNode::OpacityNodeType, RootNodeType = QSGNode::RootNodeType, RenderNodeType = QSGNode::RenderNodeType}; +public slots: +QSGNode* new_QSGNode(); +QSGNode* new_QSGNode(QSGNode::NodeType type); +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; + void clearDirty(QSGNode* theWrappedObject); + QSGNode::DirtyState dirtyState(QSGNode* theWrappedObject) const; + QSGNode* firstChild(QSGNode* theWrappedObject) const; + void insertChildNodeAfter(QSGNode* theWrappedObject, QSGNode* node, QSGNode* after); + void insertChildNodeBefore(QSGNode* theWrappedObject, QSGNode* node, QSGNode* before); + bool isSubtreeBlocked(QSGNode* theWrappedObject) const; + bool py_q_isSubtreeBlocked(QSGNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGNode*)theWrappedObject)->py_q_isSubtreeBlocked());} + QSGNode* lastChild(QSGNode* theWrappedObject) const; + void markDirty(QSGNode* theWrappedObject, QSGNode::DirtyState bits); + QSGNode* nextSibling(QSGNode* theWrappedObject) const; + QSGNode* parent(QSGNode* theWrappedObject) const; + void prependChildNode(QSGNode* theWrappedObject, QSGNode* node); + void preprocess(QSGNode* theWrappedObject); + void py_q_preprocess(QSGNode* theWrappedObject){ (((PythonQtPublicPromoter_QSGNode*)theWrappedObject)->py_q_preprocess());} + QSGNode* previousSibling(QSGNode* theWrappedObject) const; + void removeAllChildNodes(QSGNode* theWrappedObject); + void removeChildNode(QSGNode* theWrappedObject, QSGNode* node); + void reparentChildNodesTo(QSGNode* theWrappedObject, QSGNode* newParent); + void setFlag(QSGNode* theWrappedObject, QSGNode::Flag arg__1, bool arg__2 = true); + QSGNode::NodeType type(QSGNode* theWrappedObject) const; + QString py_toString(QSGNode*); +}; + + + + + +class PythonQtShell_QSGNodeVisitor : public QSGNodeVisitor +{ +public: + 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 +{ public: +inline void promoted_enterClipNode(QSGClipNode* arg__1) { this->enterClipNode(arg__1); } +inline void promoted_enterGeometryNode(QSGGeometryNode* arg__1) { this->enterGeometryNode(arg__1); } +inline void promoted_enterOpacityNode(QSGOpacityNode* arg__1) { this->enterOpacityNode(arg__1); } +inline void promoted_enterTransformNode(QSGTransformNode* arg__1) { this->enterTransformNode(arg__1); } +inline void promoted_leaveClipNode(QSGClipNode* arg__1) { this->leaveClipNode(arg__1); } +inline void promoted_leaveGeometryNode(QSGGeometryNode* arg__1) { this->leaveGeometryNode(arg__1); } +inline void promoted_leaveOpacityNode(QSGOpacityNode* arg__1) { this->leaveOpacityNode(arg__1); } +inline void promoted_leaveTransformNode(QSGTransformNode* arg__1) { this->leaveTransformNode(arg__1); } +inline void promoted_visitChildren(QSGNode* n) { this->visitChildren(n); } +inline void promoted_visitNode(QSGNode* n) { this->visitNode(n); } +inline void py_q_enterClipNode(QSGClipNode* arg__1) { QSGNodeVisitor::enterClipNode(arg__1); } +inline void py_q_enterGeometryNode(QSGGeometryNode* arg__1) { QSGNodeVisitor::enterGeometryNode(arg__1); } +inline void py_q_enterOpacityNode(QSGOpacityNode* arg__1) { QSGNodeVisitor::enterOpacityNode(arg__1); } +inline void py_q_enterTransformNode(QSGTransformNode* arg__1) { QSGNodeVisitor::enterTransformNode(arg__1); } +inline void py_q_leaveClipNode(QSGClipNode* arg__1) { QSGNodeVisitor::leaveClipNode(arg__1); } +inline void py_q_leaveGeometryNode(QSGGeometryNode* arg__1) { QSGNodeVisitor::leaveGeometryNode(arg__1); } +inline void py_q_leaveOpacityNode(QSGOpacityNode* arg__1) { QSGNodeVisitor::leaveOpacityNode(arg__1); } +inline void py_q_leaveTransformNode(QSGTransformNode* arg__1) { QSGNodeVisitor::leaveTransformNode(arg__1); } +inline void py_q_visitChildren(QSGNode* n) { QSGNodeVisitor::visitChildren(n); } +inline void py_q_visitNode(QSGNode* n) { QSGNodeVisitor::visitNode(n); } +}; + +class PythonQtWrapper_QSGNodeVisitor : public QObject +{ Q_OBJECT +public: +public slots: +QSGNodeVisitor* new_QSGNodeVisitor(); +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); + void py_q_enterGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterGeometryNode(arg__1));} + void enterOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1); + void py_q_enterOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterOpacityNode(arg__1));} + void enterTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1); + void py_q_enterTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterTransformNode(arg__1));} + void leaveClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1); + void py_q_leaveClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveClipNode(arg__1));} + void leaveGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1); + void py_q_leaveGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveGeometryNode(arg__1));} + void leaveOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1); + void py_q_leaveOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveOpacityNode(arg__1));} + void leaveTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1); + void py_q_leaveTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveTransformNode(arg__1));} + void visitChildren(QSGNodeVisitor* theWrappedObject, QSGNode* n); + void py_q_visitChildren(QSGNodeVisitor* theWrappedObject, QSGNode* n){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_visitChildren(n));} + void visitNode(QSGNodeVisitor* theWrappedObject, QSGNode* n); + void py_q_visitNode(QSGNodeVisitor* theWrappedObject, QSGNode* n){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_visitNode(n));} +}; + + + + + +class PythonQtShell_QSGOpacityNode : public QSGOpacityNode +{ +public: + PythonQtShell_QSGOpacityNode():QSGOpacityNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGOpacityNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGOpacityNode : public QSGOpacityNode +{ public: +inline bool py_q_isSubtreeBlocked() const { return QSGOpacityNode::isSubtreeBlocked(); } +}; + +class PythonQtWrapper_QSGOpacityNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGOpacityNode* new_QSGOpacityNode(); +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; + void setCombinedOpacity(QSGOpacityNode* theWrappedObject, qreal opacity); + void setOpacity(QSGOpacityNode* theWrappedObject, qreal opacity); + QString py_toString(QSGOpacityNode*); +}; + + + + + +class PythonQtShell_QSGRectangleNode : public QSGRectangleNode +{ +public: + PythonQtShell_QSGRectangleNode():QSGRectangleNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRectangleNode() override; + +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; +}; + +class PythonQtPublicPromoter_QSGRectangleNode : public QSGRectangleNode +{ public: +inline QColor py_q_color() const { return this->color(); } +inline QRectF py_q_rect() const { return this->rect(); } +inline void py_q_setColor(const QColor& color) { this->setColor(color); } +inline void py_q_setRect(const QRectF& rect) { this->setRect(rect); } +}; + +class PythonQtWrapper_QSGRectangleNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGRectangleNode* new_QSGRectangleNode(); +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; + QRectF py_q_rect(QSGRectangleNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_rect());} + void setColor(QSGRectangleNode* theWrappedObject, const QColor& color); + void py_q_setColor(QSGRectangleNode* theWrappedObject, const QColor& color){ (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_setColor(color));} + void setRect(QSGRectangleNode* theWrappedObject, const QRectF& rect); + void py_q_setRect(QSGRectangleNode* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_setRect(rect));} + void setRect(QSGRectangleNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h); +}; + + + + + +class PythonQtShell_QSGRenderNode : public QSGRenderNode +{ +public: + PythonQtShell_QSGRenderNode():QSGRenderNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRenderNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; +QRectF rect() const override; +void releaseResources() override; +void render(const QSGRenderNode::RenderState* state) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGRenderNode : public QSGRenderNode +{ public: +inline QRectF py_q_rect() const { return QSGRenderNode::rect(); } +inline void py_q_releaseResources() { QSGRenderNode::releaseResources(); } +inline void py_q_render(const QSGRenderNode::RenderState* state) { this->render(state); } +}; + +class PythonQtWrapper_QSGRenderNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RenderingFlag StateFlag ) +enum RenderingFlag{ + BoundedRectRendering = QSGRenderNode::BoundedRectRendering, DepthAwareRendering = QSGRenderNode::DepthAwareRendering, OpaqueRendering = QSGRenderNode::OpaqueRendering}; +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; } + const QSGClipNode* clipList(QSGRenderNode* theWrappedObject) const; + qreal inheritedOpacity(QSGRenderNode* theWrappedObject) const; + const QMatrix4x4* matrix(QSGRenderNode* theWrappedObject) const; + QRectF rect(QSGRenderNode* theWrappedObject) const; + QRectF py_q_rect(QSGRenderNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode*)theWrappedObject)->py_q_rect());} + void releaseResources(QSGRenderNode* theWrappedObject); + void py_q_releaseResources(QSGRenderNode* theWrappedObject){ (((PythonQtPublicPromoter_QSGRenderNode*)theWrappedObject)->py_q_releaseResources());} + void render(QSGRenderNode* theWrappedObject, const QSGRenderNode::RenderState* state); + void py_q_render(QSGRenderNode* theWrappedObject, const QSGRenderNode::RenderState* state){ (((PythonQtPublicPromoter_QSGRenderNode*)theWrappedObject)->py_q_render(state));} +}; + + + + + +class PythonQtShell_QSGRenderNode__RenderState : public QSGRenderNode::RenderState +{ +public: + PythonQtShell_QSGRenderNode__RenderState():QSGRenderNode::RenderState(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRenderNode__RenderState() override; + +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; +}; + +class PythonQtPublicPromoter_QSGRenderNode__RenderState : public QSGRenderNode::RenderState +{ public: +inline const QRegion* py_q_clipRegion() const { return this->clipRegion(); } +inline void* py_q_get(const char* state) const { return QSGRenderNode::RenderState::get(state); } +inline const QMatrix4x4* py_q_projectionMatrix() const { return this->projectionMatrix(); } +inline bool py_q_scissorEnabled() const { return this->scissorEnabled(); } +inline QRect py_q_scissorRect() const { return this->scissorRect(); } +inline bool py_q_stencilEnabled() const { return this->stencilEnabled(); } +inline int py_q_stencilValue() const { return this->stencilValue(); } +}; + +class PythonQtWrapper_QSGRenderNode__RenderState : public QObject +{ Q_OBJECT +public: +public slots: +QSGRenderNode::RenderState* new_QSGRenderNode__RenderState(); +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; + void* py_q_get(QSGRenderNode::RenderState* theWrappedObject, const char* state) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_get(state));} + const QMatrix4x4* projectionMatrix(QSGRenderNode::RenderState* theWrappedObject) const; + const QMatrix4x4* py_q_projectionMatrix(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_projectionMatrix());} + bool scissorEnabled(QSGRenderNode::RenderState* theWrappedObject) const; + bool py_q_scissorEnabled(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_scissorEnabled());} + QRect scissorRect(QSGRenderNode::RenderState* theWrappedObject) const; + QRect py_q_scissorRect(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_scissorRect());} + bool stencilEnabled(QSGRenderNode::RenderState* theWrappedObject) const; + bool py_q_stencilEnabled(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_stencilEnabled());} + int stencilValue(QSGRenderNode::RenderState* theWrappedObject) const; + int py_q_stencilValue(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_stencilValue());} +}; + + + + + +class PythonQtShell_QSGRendererInterface : public QSGRendererInterface +{ +public: + PythonQtShell_QSGRendererInterface():QSGRendererInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRendererInterface() override; + +QSGRendererInterface::GraphicsApi graphicsApi() const override; +QSGRendererInterface::ShaderCompilationTypes shaderCompilationType() const override; +QSGRendererInterface::ShaderSourceTypes shaderSourceType() const override; +QSGRendererInterface::ShaderType shaderType() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGRendererInterface : public QSGRendererInterface +{ public: +inline QSGRendererInterface::GraphicsApi py_q_graphicsApi() const { return this->graphicsApi(); } +inline QSGRendererInterface::ShaderCompilationTypes py_q_shaderCompilationType() const { return this->shaderCompilationType(); } +inline QSGRendererInterface::ShaderSourceTypes py_q_shaderSourceType() const { return this->shaderSourceType(); } +inline QSGRendererInterface::ShaderType py_q_shaderType() const { return this->shaderType(); } +}; + +class PythonQtWrapper_QSGRendererInterface : public QObject +{ Q_OBJECT +public: +Q_ENUMS(GraphicsApi ShaderCompilationType ShaderSourceType ShaderType ) +Q_FLAGS(ShaderCompilationTypes ShaderSourceTypes ) +enum GraphicsApi{ + Unknown = QSGRendererInterface::Unknown, Software = QSGRendererInterface::Software, OpenGL = QSGRendererInterface::OpenGL, Direct3D12 = QSGRendererInterface::Direct3D12, OpenVG = QSGRendererInterface::OpenVG, OpenGLRhi = QSGRendererInterface::OpenGLRhi, Direct3D11Rhi = QSGRendererInterface::Direct3D11Rhi, VulkanRhi = QSGRendererInterface::VulkanRhi, MetalRhi = QSGRendererInterface::MetalRhi, NullRhi = QSGRendererInterface::NullRhi}; +enum ShaderCompilationType{ + RuntimeCompilation = QSGRendererInterface::RuntimeCompilation, OfflineCompilation = QSGRendererInterface::OfflineCompilation}; +enum ShaderSourceType{ + ShaderSourceString = QSGRendererInterface::ShaderSourceString, ShaderSourceFile = QSGRendererInterface::ShaderSourceFile, ShaderByteCode = QSGRendererInterface::ShaderByteCode}; +enum ShaderType{ + UnknownShadingLanguage = QSGRendererInterface::UnknownShadingLanguage, GLSL = QSGRendererInterface::GLSL, HLSL = QSGRendererInterface::HLSL, RhiShader = QSGRendererInterface::RhiShader}; +Q_DECLARE_FLAGS(ShaderCompilationTypes, ShaderCompilationType) +Q_DECLARE_FLAGS(ShaderSourceTypes, ShaderSourceType) +public slots: +QSGRendererInterface* new_QSGRendererInterface(); +void delete_QSGRendererInterface(QSGRendererInterface* obj) { delete obj; } + QSGRendererInterface::GraphicsApi graphicsApi(QSGRendererInterface* theWrappedObject) const; + QSGRendererInterface::GraphicsApi py_q_graphicsApi(QSGRendererInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRendererInterface*)theWrappedObject)->py_q_graphicsApi());} + bool static_QSGRendererInterface_isApiRhiBased(QSGRendererInterface::GraphicsApi api); + QSGRendererInterface::ShaderCompilationTypes shaderCompilationType(QSGRendererInterface* theWrappedObject) const; + QSGRendererInterface::ShaderCompilationTypes py_q_shaderCompilationType(QSGRendererInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRendererInterface*)theWrappedObject)->py_q_shaderCompilationType());} + QSGRendererInterface::ShaderSourceTypes shaderSourceType(QSGRendererInterface* theWrappedObject) const; + QSGRendererInterface::ShaderSourceTypes py_q_shaderSourceType(QSGRendererInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRendererInterface*)theWrappedObject)->py_q_shaderSourceType());} + QSGRendererInterface::ShaderType shaderType(QSGRendererInterface* theWrappedObject) const; + QSGRendererInterface::ShaderType py_q_shaderType(QSGRendererInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRendererInterface*)theWrappedObject)->py_q_shaderType());} +}; + + + + + +class PythonQtShell_QSGRootNode : public QSGRootNode +{ +public: + PythonQtShell_QSGRootNode():QSGRootNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRootNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGRootNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGRootNode* new_QSGRootNode(); +void delete_QSGRootNode(QSGRootNode* obj) { delete obj; } + QString py_toString(QSGRootNode*); +}; + + + + + +class PythonQtShell_QSGTexture : public QSGTexture +{ +public: + 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 +{ public: +inline void py_q_bind() { this->bind(); } +inline bool py_q_hasAlphaChannel() const { return this->hasAlphaChannel(); } +inline bool py_q_hasMipmaps() const { return this->hasMipmaps(); } +inline bool py_q_isAtlasTexture() const { return QSGTexture::isAtlasTexture(); } +inline QRectF py_q_normalizedTextureSubRect() const { return QSGTexture::normalizedTextureSubRect(); } +inline QSGTexture* py_q_removedFromAtlas() const { return QSGTexture::removedFromAtlas(); } +inline int py_q_textureId() const { return this->textureId(); } +inline QSize py_q_textureSize() const { return this->textureSize(); } +}; + +class PythonQtWrapper_QSGTexture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AnisotropyLevel Filtering WrapMode ) +enum AnisotropyLevel{ + AnisotropyNone = QSGTexture::AnisotropyNone, Anisotropy2x = QSGTexture::Anisotropy2x, Anisotropy4x = QSGTexture::Anisotropy4x, Anisotropy8x = QSGTexture::Anisotropy8x, Anisotropy16x = QSGTexture::Anisotropy16x}; +enum Filtering{ + None = QSGTexture::None, Nearest = QSGTexture::Nearest, Linear = QSGTexture::Linear}; +enum WrapMode{ + Repeat = QSGTexture::Repeat, ClampToEdge = QSGTexture::ClampToEdge, MirroredRepeat = QSGTexture::MirroredRepeat}; +public slots: +QSGTexture* new_QSGTexture(); +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());} + int comparisonKey(QSGTexture* theWrappedObject) const; + QRectF convertToNormalizedSourceRect(QSGTexture* theWrappedObject, const QRectF& rect) const; + QSGTexture::Filtering filtering(QSGTexture* theWrappedObject) const; + bool hasAlphaChannel(QSGTexture* theWrappedObject) const; + bool py_q_hasAlphaChannel(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_hasAlphaChannel());} + bool hasMipmaps(QSGTexture* theWrappedObject) const; + bool py_q_hasMipmaps(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_hasMipmaps());} + QSGTexture::WrapMode horizontalWrapMode(QSGTexture* theWrappedObject) const; + bool isAtlasTexture(QSGTexture* theWrappedObject) const; + bool py_q_isAtlasTexture(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_isAtlasTexture());} + QSGTexture::Filtering mipmapFiltering(QSGTexture* theWrappedObject) const; + QRectF normalizedTextureSubRect(QSGTexture* theWrappedObject) const; + QRectF py_q_normalizedTextureSubRect(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_normalizedTextureSubRect());} + QSGTexture* removedFromAtlas(QSGTexture* theWrappedObject) const; + QSGTexture* py_q_removedFromAtlas(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_removedFromAtlas());} + void setAnisotropyLevel(QSGTexture* theWrappedObject, QSGTexture::AnisotropyLevel level); + void setFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter); + void setHorizontalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode hwrap); + void setMipmapFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter); + void setVerticalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode vwrap); + int textureId(QSGTexture* theWrappedObject) const; + int py_q_textureId(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_textureId());} + QSize textureSize(QSGTexture* theWrappedObject) const; + QSize py_q_textureSize(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_textureSize());} + void updateBindOptions(QSGTexture* theWrappedObject, bool force = false); + QSGTexture::WrapMode verticalWrapMode(QSGTexture* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSGTextureMaterial : public QSGTextureMaterial +{ +public: + PythonQtShell_QSGTextureMaterial():QSGTextureMaterial(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTextureMaterial(); + +QSGMaterialType* type() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGTextureMaterial : public QSGTextureMaterial +{ public: +inline QSGMaterialType* py_q_type() const { return QSGTextureMaterial::type(); } +}; + +class PythonQtWrapper_QSGTextureMaterial : public QObject +{ Q_OBJECT +public: +public slots: +QSGTextureMaterial* new_QSGTextureMaterial(); +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());} +}; + + + + + +class PythonQtShell_QSGTextureProvider : public QSGTextureProvider +{ +public: + PythonQtShell_QSGTextureProvider():QSGTextureProvider(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTextureProvider() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGTextureProvider : public QSGTextureProvider +{ public: +inline QSGTexture* py_q_texture() const { return this->texture(); } +}; + +class PythonQtWrapper_QSGTextureProvider : public QObject +{ Q_OBJECT +public: +public slots: +QSGTextureProvider* new_QSGTextureProvider(); +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());} +}; + + + + + +class PythonQtShell_QSGTransformNode : public QSGTransformNode +{ +public: + PythonQtShell_QSGTransformNode():QSGTransformNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTransformNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGTransformNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGTransformNode* new_QSGTransformNode(); +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); + void setMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix); + QString py_toString(QSGTransformNode*); +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp new file mode 100644 index 00000000..a93e251f --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp @@ -0,0 +1,54 @@ +#include +#include +#include "com_trolltech_qt_quick0.h" +#include "com_trolltech_qt_quick1.h" + + + +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, nullptr, module, 0); +PythonQt::priv()->registerClass(&QQuickItem::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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); +PythonQt::priv()->registerClass(&QQuickTransform::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickView::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickWidget::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickWindow::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQuickWindow::GraphicsStateInfo", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGAbstractRenderer::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGBasicGeometryNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGClipNode", "QSGBasicGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGDynamicTexture::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGEngine::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGFlatColorMaterial", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometryNode", "QSGBasicGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry::Attribute", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry::AttributeSet", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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); +PythonQt::priv()->registerCPPClass("QSGNodeVisitor", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGOpacityNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRectangleNode", "QSGGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRenderNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRenderNode::RenderState", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRendererInterface", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRootNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGTexture::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGTextureMaterial", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGTextureProvider::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGTransformNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QQmlError); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql.pri b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql.pri new file mode 100644 index 00000000..38611e2c --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_sql0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_sql0.cpp \ + $$PWD/com_trolltech_qt_sql_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp new file mode 100644 index 00000000..76c6f72a --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -0,0 +1,7906 @@ +#include "com_trolltech_qt_sql0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +PythonQtShell_QSqlDatabase::~PythonQtShell_QSqlDatabase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase() +{ +return new PythonQtShell_QSqlDatabase(); } + +QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase(QSqlDriver* driver) +{ +return new PythonQtShell_QSqlDatabase(driver); } + +QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase(const QSqlDatabase& other) +{ +return new PythonQtShell_QSqlDatabase(other); } + +QSqlDatabase* PythonQtWrapper_QSqlDatabase::new_QSqlDatabase(const QString& type) +{ +return new PythonQtShell_QSqlDatabase(type); } + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_addDatabase(QSqlDriver* driver, const QString& connectionName) +{ + return (QSqlDatabase::addDatabase(driver, connectionName)); +} + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_addDatabase(const QString& type, const QString& connectionName) +{ + return (QSqlDatabase::addDatabase(type, connectionName)); +} + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_cloneDatabase(const QSqlDatabase& other, const QString& connectionName) +{ + return (QSqlDatabase::cloneDatabase(other, connectionName)); +} + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_cloneDatabase(const QString& other, const QString& connectionName) +{ + return (QSqlDatabase::cloneDatabase(other, connectionName)); +} + +void PythonQtWrapper_QSqlDatabase::close(QSqlDatabase* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +bool PythonQtWrapper_QSqlDatabase::commit(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->commit()); +} + +QString PythonQtWrapper_QSqlDatabase::connectOptions(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->connectOptions()); +} + +QString PythonQtWrapper_QSqlDatabase::connectionName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->connectionName()); +} + +QStringList PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_connectionNames() +{ + return (QSqlDatabase::connectionNames()); +} + +bool PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_contains(const QString& connectionName) +{ + return (QSqlDatabase::contains(connectionName)); +} + +QSqlDatabase PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_database(const QString& connectionName, bool open) +{ + return (QSqlDatabase::database(connectionName, open)); +} + +QString PythonQtWrapper_QSqlDatabase::databaseName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->databaseName()); +} + +QSqlDriver* PythonQtWrapper_QSqlDatabase::driver(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->driver()); +} + +QString PythonQtWrapper_QSqlDatabase::driverName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->driverName()); +} + +QStringList PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_drivers() +{ + return (QSqlDatabase::drivers()); +} + +QSqlQuery PythonQtWrapper_QSqlDatabase::exec(QSqlDatabase* theWrappedObject, const QString& query) const +{ + return ( theWrappedObject->exec(query)); +} + +QString PythonQtWrapper_QSqlDatabase::hostName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->hostName()); +} + +bool PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_isDriverAvailable(const QString& name) +{ + return (QSqlDatabase::isDriverAvailable(name)); +} + +bool PythonQtWrapper_QSqlDatabase::isOpen(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->isOpen()); +} + +bool PythonQtWrapper_QSqlDatabase::isOpenError(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->isOpenError()); +} + +bool PythonQtWrapper_QSqlDatabase::isValid(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QSqlError PythonQtWrapper_QSqlDatabase::lastError(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlDatabase::numericalPrecisionPolicy(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->numericalPrecisionPolicy()); +} + +bool PythonQtWrapper_QSqlDatabase::open(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->open()); +} + +bool PythonQtWrapper_QSqlDatabase::open(QSqlDatabase* theWrappedObject, const QString& user, const QString& password) +{ + return ( theWrappedObject->open(user, password)); +} + +QString PythonQtWrapper_QSqlDatabase::password(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} + +int PythonQtWrapper_QSqlDatabase::port(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +QSqlIndex PythonQtWrapper_QSqlDatabase::primaryIndex(QSqlDatabase* theWrappedObject, const QString& tablename) const +{ + return ( theWrappedObject->primaryIndex(tablename)); +} + +QSqlRecord PythonQtWrapper_QSqlDatabase::record(QSqlDatabase* theWrappedObject, const QString& tablename) const +{ + return ( theWrappedObject->record(tablename)); +} + +void PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_registerSqlDriver(const QString& name, QSqlDriverCreatorBase* creator) +{ + (QSqlDatabase::registerSqlDriver(name, creator)); +} + +void PythonQtWrapper_QSqlDatabase::static_QSqlDatabase_removeDatabase(const QString& connectionName) +{ + (QSqlDatabase::removeDatabase(connectionName)); +} + +bool PythonQtWrapper_QSqlDatabase::rollback(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->rollback()); +} + +void PythonQtWrapper_QSqlDatabase::setConnectOptions(QSqlDatabase* theWrappedObject, const QString& options) +{ + ( theWrappedObject->setConnectOptions(options)); +} + +void PythonQtWrapper_QSqlDatabase::setDatabaseName(QSqlDatabase* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setDatabaseName(name)); +} + +void PythonQtWrapper_QSqlDatabase::setHostName(QSqlDatabase* theWrappedObject, const QString& host) +{ + ( theWrappedObject->setHostName(host)); +} + +void PythonQtWrapper_QSqlDatabase::setNumericalPrecisionPolicy(QSqlDatabase* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy) +{ + ( theWrappedObject->setNumericalPrecisionPolicy(precisionPolicy)); +} + +void PythonQtWrapper_QSqlDatabase::setPassword(QSqlDatabase* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QSqlDatabase::setPort(QSqlDatabase* theWrappedObject, int p) +{ + ( theWrappedObject->setPort(p)); +} + +void PythonQtWrapper_QSqlDatabase::setUserName(QSqlDatabase* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setUserName(name)); +} + +QStringList PythonQtWrapper_QSqlDatabase::tables(QSqlDatabase* theWrappedObject, QSql::TableType type) const +{ + return ( theWrappedObject->tables(type)); +} + +bool PythonQtWrapper_QSqlDatabase::transaction(QSqlDatabase* theWrappedObject) +{ + return ( theWrappedObject->transaction()); +} + +QString PythonQtWrapper_QSqlDatabase::userName(QSqlDatabase* theWrappedObject) const +{ + return ( theWrappedObject->userName()); +} + +QString PythonQtWrapper_QSqlDatabase::py_toString(QSqlDatabase* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QSqlDriver::~PythonQtShell_QSqlDriver() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSqlDriver::beginTransaction() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("beginTransaction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("beginTransaction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::beginTransaction(); +} +bool PythonQtShell_QSqlDriver::cancelQuery() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cancelQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cancelQuery", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::cancelQuery(); +} +void PythonQtShell_QSqlDriver::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(); + } + } +} + QSqlDriver::childEvent(event0); +} +void PythonQtShell_QSqlDriver::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + 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(); + } + } +} + +} +bool PythonQtShell_QSqlDriver::commitTransaction() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitTransaction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("commitTransaction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::commitTransaction(); +} +QSqlResult* PythonQtShell_QSqlDriver::createResult() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createResult"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSqlResult*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createResult", methodInfo, result); + } else { + returnValue = *((QSqlResult**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QSqlDriver::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(); + } + } +} + QSqlDriver::customEvent(event0); +} +QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, QSqlDriver::IdentifierType type1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("escapeIdentifier"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("escapeIdentifier", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::escapeIdentifier(identifier0, type1); +} +bool PythonQtShell_QSqlDriver::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 QSqlDriver::event(event0); +} +bool PythonQtShell_QSqlDriver::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 QSqlDriver::eventFilter(watched0, event1); +} +QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool trimStrings1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("formatValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QSqlField&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("formatValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::formatValue(field0, trimStrings1); +} +QVariant PythonQtShell_QSqlDriver::handle() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("handle"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::handle(); +} +bool PythonQtShell_QSqlDriver::hasFeature(QSqlDriver::DriverFeature f0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QSqlDriver::DriverFeature"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSqlDriver::isIdentifierEscaped(const QString& identifier0, QSqlDriver::IdentifierType type1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIdentifierEscaped"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "QSqlDriver::IdentifierType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIdentifierEscaped", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::isIdentifierEscaped(identifier0, type1); +} +bool PythonQtShell_QSqlDriver::isOpen() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isOpen"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isOpen", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::isOpen(); +} +bool PythonQtShell_QSqlDriver::open(const QString& db0, const QString& user1, const QString& password2, const QString& host3, int port4, const QString& connOpts5) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QSqlIndex PythonQtShell_QSqlDriver::primaryIndex(const QString& tableName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("primaryIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSqlIndex" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("primaryIndex", methodInfo, result); + } else { + returnValue = *((QSqlIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::primaryIndex(tableName0); +} +QSqlRecord PythonQtShell_QSqlDriver::record(const QString& tableName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("record"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSqlRecord" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); + } else { + returnValue = *((QSqlRecord*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::record(tableName0); +} +bool PythonQtShell_QSqlDriver::rollbackTransaction() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rollbackTransaction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rollbackTransaction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::rollbackTransaction(); +} +void PythonQtShell_QSqlDriver::setLastError(const QSqlError& e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setLastError"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSqlError&"}; + 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(); + } + } +} + QSqlDriver::setLastError(e0); +} +void PythonQtShell_QSqlDriver::setOpen(bool o0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setOpen"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&o0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlDriver::setOpen(o0); +} +void PythonQtShell_QSqlDriver::setOpenError(bool e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setOpenError"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + 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(); + } + } +} + QSqlDriver::setOpenError(e0); +} +QString PythonQtShell_QSqlDriver::sqlStatement(QSqlDriver::StatementType type0, const QString& tableName1, const QSqlRecord& rec2, bool preparedStatement3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sqlStatement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sqlStatement", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::sqlStatement(type0, tableName1, rec2, preparedStatement3); +} +QString PythonQtShell_QSqlDriver::stripDelimiters(const QString& identifier0, QSqlDriver::IdentifierType type1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stripDelimiters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stripDelimiters", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::stripDelimiters(identifier0, type1); +} +bool PythonQtShell_QSqlDriver::subscribeToNotification(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("subscribeToNotification"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subscribeToNotification", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::subscribeToNotification(name0); +} +QStringList PythonQtShell_QSqlDriver::subscribedToNotifications() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("subscribedToNotifications"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subscribedToNotifications", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::subscribedToNotifications(); +} +QStringList PythonQtShell_QSqlDriver::tables(QSql::TableType tableType0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tables"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList" , "QSql::TableType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("tables", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::tables(tableType0); +} +void PythonQtShell_QSqlDriver::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(); + } + } +} + QSqlDriver::timerEvent(event0); +} +bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unsubscribeFromNotification"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("unsubscribeFromNotification", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::unsubscribeFromNotification(name0); +} +QSqlDriver* PythonQtWrapper_QSqlDriver::new_QSqlDriver(QObject* parent) +{ +return new PythonQtShell_QSqlDriver(parent); } + +const QMetaObject* PythonQtShell_QSqlDriver::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSqlDriver::staticMetaObject); + } else { + return &QSqlDriver::staticMetaObject; + } +} +int PythonQtShell_QSqlDriver::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSqlDriver::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSqlDriver::beginTransaction(QSqlDriver* theWrappedObject) +{ + return ( theWrappedObject->beginTransaction()); +} + +void PythonQtWrapper_QSqlDriver::close(QSqlDriver* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +bool PythonQtWrapper_QSqlDriver::commitTransaction(QSqlDriver* theWrappedObject) +{ + return ( theWrappedObject->commitTransaction()); +} + +QSqlResult* PythonQtWrapper_QSqlDriver::createResult(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->createResult()); +} + +QSqlDriver::DbmsType PythonQtWrapper_QSqlDriver::dbmsType(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->dbmsType()); +} + +QString PythonQtWrapper_QSqlDriver::escapeIdentifier(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const +{ + return ( theWrappedObject->escapeIdentifier(identifier, type)); +} + +QString PythonQtWrapper_QSqlDriver::formatValue(QSqlDriver* theWrappedObject, const QSqlField& field, bool trimStrings) const +{ + return ( theWrappedObject->formatValue(field, trimStrings)); +} + +QVariant PythonQtWrapper_QSqlDriver::handle(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QSqlDriver::hasFeature(QSqlDriver* theWrappedObject, QSqlDriver::DriverFeature f) const +{ + return ( theWrappedObject->hasFeature(f)); +} + +bool PythonQtWrapper_QSqlDriver::isIdentifierEscaped(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const +{ + return ( theWrappedObject->isIdentifierEscaped(identifier, type)); +} + +bool PythonQtWrapper_QSqlDriver::isOpen(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->isOpen()); +} + +bool PythonQtWrapper_QSqlDriver::isOpenError(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->isOpenError()); +} + +QSqlError PythonQtWrapper_QSqlDriver::lastError(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlDriver::numericalPrecisionPolicy(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->numericalPrecisionPolicy()); +} + +bool PythonQtWrapper_QSqlDriver::open(QSqlDriver* theWrappedObject, const QString& db, const QString& user, const QString& password, const QString& host, int port, const QString& connOpts) +{ + return ( theWrappedObject->open(db, user, password, host, port, connOpts)); +} + +QSqlIndex PythonQtWrapper_QSqlDriver::primaryIndex(QSqlDriver* theWrappedObject, const QString& tableName) const +{ + return ( theWrappedObject->primaryIndex(tableName)); +} + +QSqlRecord PythonQtWrapper_QSqlDriver::record(QSqlDriver* theWrappedObject, const QString& tableName) const +{ + return ( theWrappedObject->record(tableName)); +} + +bool PythonQtWrapper_QSqlDriver::rollbackTransaction(QSqlDriver* theWrappedObject) +{ + return ( theWrappedObject->rollbackTransaction()); +} + +void PythonQtWrapper_QSqlDriver::setLastError(QSqlDriver* theWrappedObject, const QSqlError& e) +{ + ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setLastError(e)); +} + +void PythonQtWrapper_QSqlDriver::setNumericalPrecisionPolicy(QSqlDriver* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy) +{ + ( theWrappedObject->setNumericalPrecisionPolicy(precisionPolicy)); +} + +void PythonQtWrapper_QSqlDriver::setOpen(QSqlDriver* theWrappedObject, bool o) +{ + ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setOpen(o)); +} + +void PythonQtWrapper_QSqlDriver::setOpenError(QSqlDriver* theWrappedObject, bool e) +{ + ( ((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->promoted_setOpenError(e)); +} + +QString PythonQtWrapper_QSqlDriver::sqlStatement(QSqlDriver* theWrappedObject, QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const +{ + return ( theWrappedObject->sqlStatement(type, tableName, rec, preparedStatement)); +} + +QString PythonQtWrapper_QSqlDriver::stripDelimiters(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const +{ + return ( theWrappedObject->stripDelimiters(identifier, type)); +} + +bool PythonQtWrapper_QSqlDriver::subscribeToNotification(QSqlDriver* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->subscribeToNotification(name)); +} + +QStringList PythonQtWrapper_QSqlDriver::subscribedToNotifications(QSqlDriver* theWrappedObject) const +{ + return ( theWrappedObject->subscribedToNotifications()); +} + +QStringList PythonQtWrapper_QSqlDriver::tables(QSqlDriver* theWrappedObject, QSql::TableType tableType) const +{ + return ( theWrappedObject->tables(tableType)); +} + +bool PythonQtWrapper_QSqlDriver::unsubscribeFromNotification(QSqlDriver* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->unsubscribeFromNotification(name)); +} + + + +PythonQtShell_QSqlDriverCreatorBase::~PythonQtShell_QSqlDriverCreatorBase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSqlDriver* PythonQtShell_QSqlDriverCreatorBase::createObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSqlDriver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + } else { + returnValue = *((QSqlDriver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QSqlDriverCreatorBase* PythonQtWrapper_QSqlDriverCreatorBase::new_QSqlDriverCreatorBase() +{ +return new PythonQtShell_QSqlDriverCreatorBase(); } + +QSqlDriver* PythonQtWrapper_QSqlDriverCreatorBase::createObject(QSqlDriverCreatorBase* theWrappedObject) const +{ + return ( theWrappedObject->createObject()); +} + + + +QSqlError* PythonQtWrapper_QSqlError::new_QSqlError(const QSqlError& other) +{ +return new QSqlError(other); } + +QSqlError* PythonQtWrapper_QSqlError::new_QSqlError(const QString& driverText, const QString& databaseText, QSqlError::ErrorType type, const QString& errorCode) +{ +return new QSqlError(driverText, databaseText, type, errorCode); } + +QSqlError* PythonQtWrapper_QSqlError::new_QSqlError(const QString& driverText, const QString& databaseText, QSqlError::ErrorType type, int number) +{ +return new QSqlError(driverText, databaseText, type, number); } + +QString PythonQtWrapper_QSqlError::databaseText(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->databaseText()); +} + +QString PythonQtWrapper_QSqlError::driverText(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->driverText()); +} + +bool PythonQtWrapper_QSqlError::isValid(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QSqlError::nativeErrorCode(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->nativeErrorCode()); +} + +int PythonQtWrapper_QSqlError::number(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->number()); +} + +bool PythonQtWrapper_QSqlError::__ne__(QSqlError* theWrappedObject, const QSqlError& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSqlError::__eq__(QSqlError* theWrappedObject, const QSqlError& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSqlError::setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText) +{ + ( theWrappedObject->setDatabaseText(databaseText)); +} + +void PythonQtWrapper_QSqlError::setDriverText(QSqlError* theWrappedObject, const QString& driverText) +{ + ( theWrappedObject->setDriverText(driverText)); +} + +void PythonQtWrapper_QSqlError::setNumber(QSqlError* theWrappedObject, int number) +{ + ( theWrappedObject->setNumber(number)); +} + +void PythonQtWrapper_QSqlError::setType(QSqlError* theWrappedObject, QSqlError::ErrorType type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QSqlError::swap(QSqlError* theWrappedObject, QSqlError& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QSqlError::text(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QSqlError::ErrorType PythonQtWrapper_QSqlError::type(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QSqlError::py_toString(QSqlError* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSqlField* PythonQtWrapper_QSqlField::new_QSqlField(const QSqlField& other) +{ +return new QSqlField(other); } + +QSqlField* PythonQtWrapper_QSqlField::new_QSqlField(const QString& fieldName, QVariant::Type type) +{ +return new QSqlField(fieldName, type); } + +QSqlField* PythonQtWrapper_QSqlField::new_QSqlField(const QString& fieldName, QVariant::Type type, const QString& tableName) +{ +return new QSqlField(fieldName, type, tableName); } + +void PythonQtWrapper_QSqlField::clear(QSqlField* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QVariant PythonQtWrapper_QSqlField::defaultValue(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->defaultValue()); +} + +bool PythonQtWrapper_QSqlField::isAutoValue(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isAutoValue()); +} + +bool PythonQtWrapper_QSqlField::isGenerated(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isGenerated()); +} + +bool PythonQtWrapper_QSqlField::isNull(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QSqlField::isReadOnly(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QSqlField::isValid(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QSqlField::length(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QString PythonQtWrapper_QSqlField::name(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QSqlField::__ne__(QSqlField* theWrappedObject, const QSqlField& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSqlField::__eq__(QSqlField* theWrappedObject, const QSqlField& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QSqlField::precision(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->precision()); +} + +QSqlField::RequiredStatus PythonQtWrapper_QSqlField::requiredStatus(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->requiredStatus()); +} + +void PythonQtWrapper_QSqlField::setAutoValue(QSqlField* theWrappedObject, bool autoVal) +{ + ( theWrappedObject->setAutoValue(autoVal)); +} + +void PythonQtWrapper_QSqlField::setDefaultValue(QSqlField* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setDefaultValue(value)); +} + +void PythonQtWrapper_QSqlField::setGenerated(QSqlField* theWrappedObject, bool gen) +{ + ( theWrappedObject->setGenerated(gen)); +} + +void PythonQtWrapper_QSqlField::setLength(QSqlField* theWrappedObject, int fieldLength) +{ + ( theWrappedObject->setLength(fieldLength)); +} + +void PythonQtWrapper_QSqlField::setName(QSqlField* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QSqlField::setPrecision(QSqlField* theWrappedObject, int precision) +{ + ( theWrappedObject->setPrecision(precision)); +} + +void PythonQtWrapper_QSqlField::setReadOnly(QSqlField* theWrappedObject, bool readOnly) +{ + ( theWrappedObject->setReadOnly(readOnly)); +} + +void PythonQtWrapper_QSqlField::setRequired(QSqlField* theWrappedObject, bool required) +{ + ( theWrappedObject->setRequired(required)); +} + +void PythonQtWrapper_QSqlField::setRequiredStatus(QSqlField* theWrappedObject, QSqlField::RequiredStatus status) +{ + ( theWrappedObject->setRequiredStatus(status)); +} + +void PythonQtWrapper_QSqlField::setSqlType(QSqlField* theWrappedObject, int type) +{ + ( theWrappedObject->setSqlType(type)); +} + +void PythonQtWrapper_QSqlField::setTableName(QSqlField* theWrappedObject, const QString& tableName) +{ + ( theWrappedObject->setTableName(tableName)); +} + +void PythonQtWrapper_QSqlField::setType(QSqlField* theWrappedObject, QVariant::Type type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QSqlField::setValue(QSqlField* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->setValue(value)); +} + +QString PythonQtWrapper_QSqlField::tableName(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->tableName()); +} + +QVariant::Type PythonQtWrapper_QSqlField::type(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +int PythonQtWrapper_QSqlField::typeID(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->typeID()); +} + +QVariant PythonQtWrapper_QSqlField::value(QSqlField* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +QString PythonQtWrapper_QSqlField::py_toString(QSqlField* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSqlIndex* PythonQtWrapper_QSqlIndex::new_QSqlIndex(const QSqlIndex& other) +{ +return new QSqlIndex(other); } + +QSqlIndex* PythonQtWrapper_QSqlIndex::new_QSqlIndex(const QString& cursorName, const QString& name) +{ +return new QSqlIndex(cursorName, name); } + +void PythonQtWrapper_QSqlIndex::append(QSqlIndex* theWrappedObject, const QSqlField& field) +{ + ( theWrappedObject->append(field)); +} + +void PythonQtWrapper_QSqlIndex::append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc) +{ + ( theWrappedObject->append(field, desc)); +} + +QString PythonQtWrapper_QSqlIndex::cursorName(QSqlIndex* theWrappedObject) const +{ + return ( theWrappedObject->cursorName()); +} + +bool PythonQtWrapper_QSqlIndex::isDescending(QSqlIndex* theWrappedObject, int i) const +{ + return ( theWrappedObject->isDescending(i)); +} + +QString PythonQtWrapper_QSqlIndex::name(QSqlIndex* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QSqlIndex::setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName) +{ + ( theWrappedObject->setCursorName(cursorName)); +} + +void PythonQtWrapper_QSqlIndex::setDescending(QSqlIndex* theWrappedObject, int i, bool desc) +{ + ( theWrappedObject->setDescending(i, desc)); +} + +void PythonQtWrapper_QSqlIndex::setName(QSqlIndex* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + + + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(QSqlDatabase db) +{ +return new QSqlQuery(db); } + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(QSqlResult* r) +{ +return new QSqlQuery(r); } + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(const QSqlQuery& other) +{ +return new QSqlQuery(other); } + +QSqlQuery* PythonQtWrapper_QSqlQuery::new_QSqlQuery(const QString& query, QSqlDatabase db) +{ +return new QSqlQuery(query, db); } + +void PythonQtWrapper_QSqlQuery::addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type) +{ + ( theWrappedObject->addBindValue(val, type)); +} + +int PythonQtWrapper_QSqlQuery::at(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->at()); +} + +void PythonQtWrapper_QSqlQuery::bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type) +{ + ( theWrappedObject->bindValue(placeholder, val, type)); +} + +void PythonQtWrapper_QSqlQuery::bindValue(QSqlQuery* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type) +{ + ( theWrappedObject->bindValue(pos, val, type)); +} + +QVariant PythonQtWrapper_QSqlQuery::boundValue(QSqlQuery* theWrappedObject, const QString& placeholder) const +{ + return ( theWrappedObject->boundValue(placeholder)); +} + +QVariant PythonQtWrapper_QSqlQuery::boundValue(QSqlQuery* theWrappedObject, int pos) const +{ + return ( theWrappedObject->boundValue(pos)); +} + +QMap PythonQtWrapper_QSqlQuery::boundValues(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->boundValues()); +} + +void PythonQtWrapper_QSqlQuery::clear(QSqlQuery* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QSqlDriver* PythonQtWrapper_QSqlQuery::driver(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->driver()); +} + +bool PythonQtWrapper_QSqlQuery::exec(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->exec()); +} + +bool PythonQtWrapper_QSqlQuery::exec(QSqlQuery* theWrappedObject, const QString& query) +{ + return ( theWrappedObject->exec(query)); +} + +bool PythonQtWrapper_QSqlQuery::execBatch(QSqlQuery* theWrappedObject, QSqlQuery::BatchExecutionMode mode) +{ + return ( theWrappedObject->execBatch(mode)); +} + +QString PythonQtWrapper_QSqlQuery::executedQuery(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->executedQuery()); +} + +void PythonQtWrapper_QSqlQuery::finish(QSqlQuery* theWrappedObject) +{ + ( theWrappedObject->finish()); +} + +bool PythonQtWrapper_QSqlQuery::first(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->first()); +} + +bool PythonQtWrapper_QSqlQuery::isActive(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QSqlQuery::isForwardOnly(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isForwardOnly()); +} + +bool PythonQtWrapper_QSqlQuery::isNull(QSqlQuery* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->isNull(name)); +} + +bool PythonQtWrapper_QSqlQuery::isNull(QSqlQuery* theWrappedObject, int field) const +{ + return ( theWrappedObject->isNull(field)); +} + +bool PythonQtWrapper_QSqlQuery::isSelect(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isSelect()); +} + +bool PythonQtWrapper_QSqlQuery::isValid(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QSqlQuery::last(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->last()); +} + +QSqlError PythonQtWrapper_QSqlQuery::lastError(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QVariant PythonQtWrapper_QSqlQuery::lastInsertId(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->lastInsertId()); +} + +QString PythonQtWrapper_QSqlQuery::lastQuery(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->lastQuery()); +} + +bool PythonQtWrapper_QSqlQuery::next(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + +bool PythonQtWrapper_QSqlQuery::nextResult(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->nextResult()); +} + +int PythonQtWrapper_QSqlQuery::numRowsAffected(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->numRowsAffected()); +} + +QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlQuery::numericalPrecisionPolicy(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->numericalPrecisionPolicy()); +} + +bool PythonQtWrapper_QSqlQuery::prepare(QSqlQuery* theWrappedObject, const QString& query) +{ + return ( theWrappedObject->prepare(query)); +} + +bool PythonQtWrapper_QSqlQuery::previous(QSqlQuery* theWrappedObject) +{ + return ( theWrappedObject->previous()); +} + +QSqlRecord PythonQtWrapper_QSqlQuery::record(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->record()); +} + +const QSqlResult* PythonQtWrapper_QSqlQuery::result(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + +bool PythonQtWrapper_QSqlQuery::seek(QSqlQuery* theWrappedObject, int i, bool relative) +{ + return ( theWrappedObject->seek(i, relative)); +} + +void PythonQtWrapper_QSqlQuery::setForwardOnly(QSqlQuery* theWrappedObject, bool forward) +{ + ( theWrappedObject->setForwardOnly(forward)); +} + +void PythonQtWrapper_QSqlQuery::setNumericalPrecisionPolicy(QSqlQuery* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy) +{ + ( theWrappedObject->setNumericalPrecisionPolicy(precisionPolicy)); +} + +int PythonQtWrapper_QSqlQuery::size(QSqlQuery* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QVariant PythonQtWrapper_QSqlQuery::value(QSqlQuery* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->value(name)); +} + +QVariant PythonQtWrapper_QSqlQuery::value(QSqlQuery* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + + + +PythonQtShell_QSqlQueryModel::~PythonQtShell_QSqlQueryModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QSqlQueryModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::buddy(index0); +} +bool PythonQtShell_QSqlQueryModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSqlQueryModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::canFetchMore(parent0); +} +void PythonQtShell_QSqlQueryModel::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(); + } + } +} + QSqlQueryModel::childEvent(event0); +} +void PythonQtShell_QSqlQueryModel::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QSqlQueryModel::clear(); +} +int PythonQtShell_QSqlQueryModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::columnCount(parent0); +} +void PythonQtShell_QSqlQueryModel::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(); + } + } +} + QSqlQueryModel::customEvent(event0); +} +QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::data(item0, role1); +} +bool PythonQtShell_QSqlQueryModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSqlQueryModel::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 QSqlQueryModel::event(event0); +} +bool PythonQtShell_QSqlQueryModel::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 QSqlQueryModel::eventFilter(watched0, event1); +} +void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlQueryModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QSqlQueryModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::flags(index0); +} +QVariant PythonQtShell_QSqlQueryModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QSqlQueryModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::index(row0, column1, parent2); +} +QModelIndex PythonQtShell_QSqlQueryModel::indexInQuery(const QModelIndex& item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexInQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::indexInQuery(item0); +} +bool PythonQtShell_QSqlQueryModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QSqlQueryModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QSqlQueryModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::itemData(index0); +} +QList PythonQtShell_QSqlQueryModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QSqlQueryModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::mimeData(indexes0); +} +QStringList PythonQtShell_QSqlQueryModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::mimeTypes(); +} +bool PythonQtShell_QSqlQueryModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QSqlQueryModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +void PythonQtShell_QSqlQueryModel::queryChange() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("queryChange"); + 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(); + } + } +} + QSqlQueryModel::queryChange(); +} +bool PythonQtShell_QSqlQueryModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QSqlQueryModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QSqlQueryModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QSqlQueryModel::revert(); +} +QHash PythonQtShell_QSqlQueryModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::roleNames(); +} +int PythonQtShell_QSqlQueryModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::rowCount(parent0); +} +bool PythonQtShell_QSqlQueryModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::setData(index0, value1, role2); +} +bool PythonQtShell_QSqlQueryModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QSqlQueryModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::setItemData(index0, roles1); +} +QModelIndex PythonQtShell_QSqlQueryModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QSqlQueryModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlQueryModel::sort(column0, order1); +} +QSize PythonQtShell_QSqlQueryModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::span(index0); +} +bool PythonQtShell_QSqlQueryModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::submit(); +} +Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QSqlQueryModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::supportedDropActions(); +} +void PythonQtShell_QSqlQueryModel::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(); + } + } +} + QSqlQueryModel::timerEvent(event0); +} +QSqlQueryModel* PythonQtWrapper_QSqlQueryModel::new_QSqlQueryModel(QObject* parent) +{ +return new PythonQtShell_QSqlQueryModel(parent); } + +const QMetaObject* PythonQtShell_QSqlQueryModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSqlQueryModel::staticMetaObject); + } else { + return &QSqlQueryModel::staticMetaObject; + } +} +int PythonQtShell_QSqlQueryModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSqlQueryModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSqlQueryModel::beginInsertColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_beginInsertColumns(parent, first, last)); +} + +void PythonQtWrapper_QSqlQueryModel::beginInsertRows(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_beginInsertRows(parent, first, last)); +} + +void PythonQtWrapper_QSqlQueryModel::beginRemoveColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_beginRemoveColumns(parent, first, last)); +} + +void PythonQtWrapper_QSqlQueryModel::beginRemoveRows(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_beginRemoveRows(parent, first, last)); +} + +void PythonQtWrapper_QSqlQueryModel::beginResetModel(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_beginResetModel()); +} + +void PythonQtWrapper_QSqlQueryModel::clear(QSqlQueryModel* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QSqlQueryModel::endInsertColumns(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_endInsertColumns()); +} + +void PythonQtWrapper_QSqlQueryModel::endInsertRows(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_endInsertRows()); +} + +void PythonQtWrapper_QSqlQueryModel::endRemoveColumns(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_endRemoveColumns()); +} + +void PythonQtWrapper_QSqlQueryModel::endRemoveRows(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_endRemoveRows()); +} + +void PythonQtWrapper_QSqlQueryModel::endResetModel(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_endResetModel()); +} + +QModelIndex PythonQtWrapper_QSqlQueryModel::indexInQuery(QSqlQueryModel* theWrappedObject, const QModelIndex& item) const +{ + return ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_indexInQuery(item)); +} + +QSqlError PythonQtWrapper_QSqlQueryModel::lastError(QSqlQueryModel* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QSqlQuery PythonQtWrapper_QSqlQueryModel::query(QSqlQueryModel* theWrappedObject) const +{ + return ( theWrappedObject->query()); +} + +void PythonQtWrapper_QSqlQueryModel::queryChange(QSqlQueryModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_queryChange()); +} + +QSqlRecord PythonQtWrapper_QSqlQueryModel::record(QSqlQueryModel* theWrappedObject) const +{ + return ( theWrappedObject->record()); +} + +QSqlRecord PythonQtWrapper_QSqlQueryModel::record(QSqlQueryModel* theWrappedObject, int row) const +{ + return ( theWrappedObject->record(row)); +} + +void PythonQtWrapper_QSqlQueryModel::setLastError(QSqlQueryModel* theWrappedObject, const QSqlError& error) +{ + ( ((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->promoted_setLastError(error)); +} + +void PythonQtWrapper_QSqlQueryModel::setQuery(QSqlQueryModel* theWrappedObject, const QSqlQuery& query) +{ + ( theWrappedObject->setQuery(query)); +} + +void PythonQtWrapper_QSqlQueryModel::setQuery(QSqlQueryModel* theWrappedObject, const QString& query, const QSqlDatabase& db) +{ + ( theWrappedObject->setQuery(query, db)); +} + + + +QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord() +{ +return new QSqlRecord(); } + +QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord(const QSqlRecord& other) +{ +return new QSqlRecord(other); } + +void PythonQtWrapper_QSqlRecord::append(QSqlRecord* theWrappedObject, const QSqlField& field) +{ + ( theWrappedObject->append(field)); +} + +void PythonQtWrapper_QSqlRecord::clear(QSqlRecord* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QSqlRecord::clearValues(QSqlRecord* theWrappedObject) +{ + ( theWrappedObject->clearValues()); +} + +bool PythonQtWrapper_QSqlRecord::contains(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->contains(name)); +} + +int PythonQtWrapper_QSqlRecord::count(QSqlRecord* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->field(name)); +} + +QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->field(i)); +} + +QString PythonQtWrapper_QSqlRecord::fieldName(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->fieldName(i)); +} + +int PythonQtWrapper_QSqlRecord::indexOf(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->indexOf(name)); +} + +void PythonQtWrapper_QSqlRecord::insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field) +{ + ( theWrappedObject->insert(pos, field)); +} + +bool PythonQtWrapper_QSqlRecord::isEmpty(QSqlRecord* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->isGenerated(name)); +} + +bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->isGenerated(i)); +} + +bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->isNull(name)); +} + +bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->isNull(i)); +} + +QSqlRecord PythonQtWrapper_QSqlRecord::keyValues(QSqlRecord* theWrappedObject, const QSqlRecord& keyFields) const +{ + return ( theWrappedObject->keyValues(keyFields)); +} + +bool PythonQtWrapper_QSqlRecord::__ne__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSqlRecord::__eq__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSqlRecord::remove(QSqlRecord* theWrappedObject, int pos) +{ + ( theWrappedObject->remove(pos)); +} + +void PythonQtWrapper_QSqlRecord::replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field) +{ + ( theWrappedObject->replace(pos, field)); +} + +void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated) +{ + ( theWrappedObject->setGenerated(name, generated)); +} + +void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, int i, bool generated) +{ + ( theWrappedObject->setGenerated(i, generated)); +} + +void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setNull(name)); +} + +void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, int i) +{ + ( theWrappedObject->setNull(i)); +} + +void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val) +{ + ( theWrappedObject->setValue(name, val)); +} + +void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val) +{ + ( theWrappedObject->setValue(i, val)); +} + +QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->value(name)); +} + +QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QString PythonQtWrapper_QSqlRecord::py_toString(QSqlRecord* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSqlRelation* PythonQtWrapper_QSqlRelation::new_QSqlRelation() +{ +return new QSqlRelation(); } + +QSqlRelation* PythonQtWrapper_QSqlRelation::new_QSqlRelation(const QString& aTableName, const QString& indexCol, const QString& displayCol) +{ +return new QSqlRelation(aTableName, indexCol, displayCol); } + +QString PythonQtWrapper_QSqlRelation::displayColumn(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->displayColumn()); +} + +QString PythonQtWrapper_QSqlRelation::indexColumn(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->indexColumn()); +} + +bool PythonQtWrapper_QSqlRelation::isValid(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QSqlRelation::swap(QSqlRelation* theWrappedObject, QSqlRelation& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QSqlRelation::tableName(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->tableName()); +} + + + +PythonQtShell_QSqlRelationalTableModel::~PythonQtShell_QSqlRelationalTableModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QSqlRelationalTableModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::buddy(index0); +} +bool PythonQtShell_QSqlRelationalTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSqlRelationalTableModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::canFetchMore(parent0); +} +void PythonQtShell_QSqlRelationalTableModel::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(); + } + } +} + QSqlRelationalTableModel::childEvent(event0); +} +void PythonQtShell_QSqlRelationalTableModel::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QSqlRelationalTableModel::clear(); +} +int PythonQtShell_QSqlRelationalTableModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::columnCount(parent0); +} +void PythonQtShell_QSqlRelationalTableModel::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(); + } + } +} + QSqlRelationalTableModel::customEvent(event0); +} +QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::data(item0, role1); +} +bool PythonQtShell_QSqlRelationalTableModel::deleteRowFromTable(int row0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deleteRowFromTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::deleteRowFromTable(row0); +} +bool PythonQtShell_QSqlRelationalTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSqlRelationalTableModel::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 QSqlRelationalTableModel::event(event0); +} +bool PythonQtShell_QSqlRelationalTableModel::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 QSqlRelationalTableModel::eventFilter(watched0, event1); +} +void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QSqlRelationalTableModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::flags(index0); +} +QVariant PythonQtShell_QSqlRelationalTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QSqlRelationalTableModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::index(row0, column1, parent2); +} +QModelIndex PythonQtShell_QSqlRelationalTableModel::indexInQuery(const QModelIndex& item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexInQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::indexInQuery(item0); +} +bool PythonQtShell_QSqlRelationalTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecord& values0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRowIntoTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::insertRowIntoTable(values0); +} +bool PythonQtShell_QSqlRelationalTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QSqlRelationalTableModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::itemData(index0); +} +QList PythonQtShell_QSqlRelationalTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QSqlRelationalTableModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::mimeData(indexes0); +} +QStringList PythonQtShell_QSqlRelationalTableModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::mimeTypes(); +} +bool PythonQtShell_QSqlRelationalTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QSqlRelationalTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QString PythonQtShell_QSqlRelationalTableModel::orderByClause() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("orderByClause"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::orderByClause(); +} +void PythonQtShell_QSqlRelationalTableModel::queryChange() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("queryChange"); + 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(); + } + } +} + QSqlRelationalTableModel::queryChange(); +} +QSqlTableModel* PythonQtShell_QSqlRelationalTableModel::relationModel(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("relationModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSqlTableModel*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("relationModel", methodInfo, result); + } else { + returnValue = *((QSqlTableModel**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::relationModel(column0); +} +bool PythonQtShell_QSqlRelationalTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QSqlRelationalTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QSqlRelationalTableModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QSqlRelationalTableModel::revert(); +} +void PythonQtShell_QSqlRelationalTableModel::revertRow(int row0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revertRow"); + 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*)&row0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::revertRow(row0); +} +QHash PythonQtShell_QSqlRelationalTableModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::roleNames(); +} +int PythonQtShell_QSqlRelationalTableModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::rowCount(parent0); +} +bool PythonQtShell_QSqlRelationalTableModel::select() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("select"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::select(); +} +bool PythonQtShell_QSqlRelationalTableModel::selectRow(int row0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::selectRow(row0); +} +QString PythonQtShell_QSqlRelationalTableModel::selectStatement() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectStatement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::selectStatement(); +} +bool PythonQtShell_QSqlRelationalTableModel::setData(const QModelIndex& item0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::setData(item0, value1, role2); +} +void PythonQtShell_QSqlRelationalTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEditStrategy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&strategy0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::setEditStrategy(strategy0); +} +void PythonQtShell_QSqlRelationalTableModel::setFilter(const QString& filter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&filter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::setFilter(filter0); +} +bool PythonQtShell_QSqlRelationalTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QSqlRelationalTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::setItemData(index0, roles1); +} +void PythonQtShell_QSqlRelationalTableModel::setRelation(int column0, const QSqlRelation& relation1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRelation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "const QSqlRelation&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&relation1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::setRelation(column0, relation1); +} +void PythonQtShell_QSqlRelationalTableModel::setSort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::setSort(column0, order1); +} +void PythonQtShell_QSqlRelationalTableModel::setTable(const QString& tableName0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&tableName0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::setTable(tableName0); +} +QModelIndex PythonQtShell_QSqlRelationalTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QSqlRelationalTableModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::sort(column0, order1); +} +QSize PythonQtShell_QSqlRelationalTableModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::span(index0); +} +bool PythonQtShell_QSqlRelationalTableModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::submit(); +} +Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QSqlRelationalTableModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::supportedDropActions(); +} +void PythonQtShell_QSqlRelationalTableModel::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(); + } + } +} + QSqlRelationalTableModel::timerEvent(event0); +} +bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const QSqlRecord& values1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateRowInTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::updateRowInTable(row0, values1); +} +QSqlRelationalTableModel* PythonQtWrapper_QSqlRelationalTableModel::new_QSqlRelationalTableModel(QObject* parent, QSqlDatabase db) +{ +return new PythonQtShell_QSqlRelationalTableModel(parent, db); } + +const QMetaObject* PythonQtShell_QSqlRelationalTableModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSqlRelationalTableModel::staticMetaObject); + } else { + return &QSqlRelationalTableModel::staticMetaObject; + } +} +int PythonQtShell_QSqlRelationalTableModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSqlRelationalTableModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSqlRelation PythonQtWrapper_QSqlRelationalTableModel::relation(QSqlRelationalTableModel* theWrappedObject, int column) const +{ + return ( theWrappedObject->relation(column)); +} + +QSqlTableModel* PythonQtWrapper_QSqlRelationalTableModel::relationModel(QSqlRelationalTableModel* theWrappedObject, int column) const +{ + return ( theWrappedObject->relationModel(column)); +} + +void PythonQtWrapper_QSqlRelationalTableModel::setJoinMode(QSqlRelationalTableModel* theWrappedObject, QSqlRelationalTableModel::JoinMode joinMode) +{ + ( theWrappedObject->setJoinMode(joinMode)); +} + +void PythonQtWrapper_QSqlRelationalTableModel::setRelation(QSqlRelationalTableModel* theWrappedObject, int column, const QSqlRelation& relation) +{ + ( theWrappedObject->setRelation(column, relation)); +} + + + +PythonQtShell_QSqlResult::~PythonQtShell_QSqlResult() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSqlResult::bindValue(const QString& placeholder0, const QVariant& val1, QSql::ParamType type2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bindValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "const QVariant&" , "QSql::ParamType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&placeholder0, (void*)&val1, (void*)&type2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::bindValue(placeholder0, val1, type2); +} +void PythonQtShell_QSqlResult::bindValue(int pos0, const QVariant& val1, QSql::ParamType type2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bindValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "const QVariant&" , "QSql::ParamType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&pos0, (void*)&val1, (void*)&type2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::bindValue(pos0, val1, type2); +} +QVariant PythonQtShell_QSqlResult::data(int i0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QSqlResult::detachFromResultSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("detachFromResultSet"); + 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(); + } + } +} + QSqlResult::detachFromResultSet(); +} +bool PythonQtShell_QSqlResult::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::exec(); +} +bool PythonQtShell_QSqlResult::execBatch(bool arrayBind0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("execBatch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("execBatch", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::execBatch(arrayBind0); +} +bool PythonQtShell_QSqlResult::fetch(int i0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetch", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::fetchFirst() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchFirst"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchFirst", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::fetchLast() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchLast"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchLast", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::fetchNext() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchNext"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchNext", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::fetchNext(); +} +bool PythonQtShell_QSqlResult::fetchPrevious() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchPrevious"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fetchPrevious", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::fetchPrevious(); +} +QVariant PythonQtShell_QSqlResult::handle() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("handle"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::handle(); +} +bool PythonQtShell_QSqlResult::isNull(int i0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isNull"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isNull", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QVariant PythonQtShell_QSqlResult::lastInsertId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lastInsertId"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lastInsertId", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::lastInsertId(); +} +bool PythonQtShell_QSqlResult::nextResult() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextResult"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextResult", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::nextResult(); +} +int PythonQtShell_QSqlResult::numRowsAffected() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("numRowsAffected"); + 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("numRowsAffected", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QSqlResult::prepare(const QString& query0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("prepare"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::prepare(query0); +} +QSqlRecord PythonQtShell_QSqlResult::record() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("record"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSqlRecord"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); + } else { + returnValue = *((QSqlRecord*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::record(); +} +bool PythonQtShell_QSqlResult::reset(const QString& sqlquery0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSqlResult::savePrepare(const QString& sqlquery0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("savePrepare"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("savePrepare", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlResult::savePrepare(sqlquery0); +} +void PythonQtShell_QSqlResult::setActive(bool a0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setActive"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&a0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::setActive(a0); +} +void PythonQtShell_QSqlResult::setAt(int at0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setAt"); + 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*)&at0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::setAt(at0); +} +void PythonQtShell_QSqlResult::setForwardOnly(bool forward0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setForwardOnly"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&forward0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::setForwardOnly(forward0); +} +void PythonQtShell_QSqlResult::setLastError(const QSqlError& e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setLastError"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSqlError&"}; + 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(); + } + } +} + QSqlResult::setLastError(e0); +} +void PythonQtShell_QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setNumericalPrecisionPolicy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSql::NumericalPrecisionPolicy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&policy0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::setNumericalPrecisionPolicy(policy0); +} +void PythonQtShell_QSqlResult::setQuery(const QString& query0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::setQuery(query0); +} +void PythonQtShell_QSqlResult::setSelect(bool s0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&s0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlResult::setSelect(s0); +} +int PythonQtShell_QSqlResult::size() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + 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("size", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QSqlResult* PythonQtWrapper_QSqlResult::new_QSqlResult(const QSqlDriver* db) +{ +return new PythonQtShell_QSqlResult(db); } + +void PythonQtWrapper_QSqlResult::addBindValue(QSqlResult* theWrappedObject, const QVariant& val, QSql::ParamType type) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_addBindValue(val, type)); +} + +int PythonQtWrapper_QSqlResult::at(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_at()); +} + +void PythonQtWrapper_QSqlResult::bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValue(placeholder, val, type)); +} + +void PythonQtWrapper_QSqlResult::bindValue(QSqlResult* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValue(pos, val, type)); +} + +QSql::ParamType PythonQtWrapper_QSqlResult::bindValueType(QSqlResult* theWrappedObject, const QString& placeholder) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValueType(placeholder)); +} + +QSql::ParamType PythonQtWrapper_QSqlResult::bindValueType(QSqlResult* theWrappedObject, int pos) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindValueType(pos)); +} + +int PythonQtWrapper_QSqlResult::bindingSyntax(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_bindingSyntax()); +} + +QVariant PythonQtWrapper_QSqlResult::boundValue(QSqlResult* theWrappedObject, const QString& placeholder) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_boundValue(placeholder)); +} + +QVariant PythonQtWrapper_QSqlResult::boundValue(QSqlResult* theWrappedObject, int pos) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_boundValue(pos)); +} + +int PythonQtWrapper_QSqlResult::boundValueCount(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_boundValueCount()); +} + +QString PythonQtWrapper_QSqlResult::boundValueName(QSqlResult* theWrappedObject, int pos) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_boundValueName(pos)); +} + +QVector* PythonQtWrapper_QSqlResult::boundValues(QSqlResult* theWrappedObject) const +{ + return &( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_boundValues()); +} + +void PythonQtWrapper_QSqlResult::clear(QSqlResult* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_clear()); +} + +QVariant PythonQtWrapper_QSqlResult::data(QSqlResult* theWrappedObject, int i) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_data(i)); +} + +void PythonQtWrapper_QSqlResult::detachFromResultSet(QSqlResult* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_detachFromResultSet()); +} + +const QSqlDriver* PythonQtWrapper_QSqlResult::driver(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_driver()); +} + +bool PythonQtWrapper_QSqlResult::exec(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_exec()); +} + +bool PythonQtWrapper_QSqlResult::execBatch(QSqlResult* theWrappedObject, bool arrayBind) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_execBatch(arrayBind)); +} + +QString PythonQtWrapper_QSqlResult::executedQuery(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_executedQuery()); +} + +bool PythonQtWrapper_QSqlResult::fetch(QSqlResult* theWrappedObject, int i) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetch(i)); +} + +bool PythonQtWrapper_QSqlResult::fetchFirst(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchFirst()); +} + +bool PythonQtWrapper_QSqlResult::fetchLast(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchLast()); +} + +bool PythonQtWrapper_QSqlResult::fetchNext(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchNext()); +} + +bool PythonQtWrapper_QSqlResult::fetchPrevious(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_fetchPrevious()); +} + +QVariant PythonQtWrapper_QSqlResult::handle(QSqlResult* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QSqlResult::hasOutValues(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_hasOutValues()); +} + +bool PythonQtWrapper_QSqlResult::isActive(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_isActive()); +} + +bool PythonQtWrapper_QSqlResult::isForwardOnly(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_isForwardOnly()); +} + +bool PythonQtWrapper_QSqlResult::isNull(QSqlResult* theWrappedObject, int i) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_isNull(i)); +} + +bool PythonQtWrapper_QSqlResult::isSelect(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_isSelect()); +} + +bool PythonQtWrapper_QSqlResult::isValid(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_isValid()); +} + +QSqlError PythonQtWrapper_QSqlResult::lastError(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_lastError()); +} + +QVariant PythonQtWrapper_QSqlResult::lastInsertId(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_lastInsertId()); +} + +QString PythonQtWrapper_QSqlResult::lastQuery(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_lastQuery()); +} + +bool PythonQtWrapper_QSqlResult::nextResult(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_nextResult()); +} + +int PythonQtWrapper_QSqlResult::numRowsAffected(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_numRowsAffected()); +} + +QSql::NumericalPrecisionPolicy PythonQtWrapper_QSqlResult::numericalPrecisionPolicy(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_numericalPrecisionPolicy()); +} + +bool PythonQtWrapper_QSqlResult::prepare(QSqlResult* theWrappedObject, const QString& query) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_prepare(query)); +} + +QSqlRecord PythonQtWrapper_QSqlResult::record(QSqlResult* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_record()); +} + +bool PythonQtWrapper_QSqlResult::reset(QSqlResult* theWrappedObject, const QString& sqlquery) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_reset(sqlquery)); +} + +void PythonQtWrapper_QSqlResult::resetBindCount(QSqlResult* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_resetBindCount()); +} + +bool PythonQtWrapper_QSqlResult::savePrepare(QSqlResult* theWrappedObject, const QString& sqlquery) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_savePrepare(sqlquery)); +} + +void PythonQtWrapper_QSqlResult::setActive(QSqlResult* theWrappedObject, bool a) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setActive(a)); +} + +void PythonQtWrapper_QSqlResult::setAt(QSqlResult* theWrappedObject, int at) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setAt(at)); +} + +void PythonQtWrapper_QSqlResult::setForwardOnly(QSqlResult* theWrappedObject, bool forward) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setForwardOnly(forward)); +} + +void PythonQtWrapper_QSqlResult::setLastError(QSqlResult* theWrappedObject, const QSqlError& e) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setLastError(e)); +} + +void PythonQtWrapper_QSqlResult::setNumericalPrecisionPolicy(QSqlResult* theWrappedObject, QSql::NumericalPrecisionPolicy policy) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setNumericalPrecisionPolicy(policy)); +} + +void PythonQtWrapper_QSqlResult::setQuery(QSqlResult* theWrappedObject, const QString& query) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setQuery(query)); +} + +void PythonQtWrapper_QSqlResult::setSelect(QSqlResult* theWrappedObject, bool s) +{ + ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_setSelect(s)); +} + +int PythonQtWrapper_QSqlResult::size(QSqlResult* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->promoted_size()); +} + + + +PythonQtShell_QSqlTableModel::~PythonQtShell_QSqlTableModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QSqlTableModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::buddy(index0); +} +bool PythonQtShell_QSqlTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSqlTableModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::canFetchMore(parent0); +} +void PythonQtShell_QSqlTableModel::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(); + } + } +} + QSqlTableModel::childEvent(event0); +} +void PythonQtShell_QSqlTableModel::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + 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(); + } + } +} + QSqlTableModel::clear(); +} +int PythonQtShell_QSqlTableModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::columnCount(parent0); +} +void PythonQtShell_QSqlTableModel::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(); + } + } +} + QSqlTableModel::customEvent(event0); +} +QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::data(idx0, role1); +} +bool PythonQtShell_QSqlTableModel::deleteRowFromTable(int row0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deleteRowFromTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::deleteRowFromTable(row0); +} +bool PythonQtShell_QSqlTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QSqlTableModel::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 QSqlTableModel::event(event0); +} +bool PythonQtShell_QSqlTableModel::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 QSqlTableModel::eventFilter(watched0, event1); +} +void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QSqlTableModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::flags(index0); +} +QVariant PythonQtShell_QSqlTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QSqlTableModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::index(row0, column1, parent2); +} +QModelIndex PythonQtShell_QSqlTableModel::indexInQuery(const QModelIndex& item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexInQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::indexInQuery(item0); +} +bool PythonQtShell_QSqlTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QSqlTableModel::insertRowIntoTable(const QSqlRecord& values0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRowIntoTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::insertRowIntoTable(values0); +} +bool PythonQtShell_QSqlTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QSqlTableModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::itemData(index0); +} +QList PythonQtShell_QSqlTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QSqlTableModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::mimeData(indexes0); +} +QStringList PythonQtShell_QSqlTableModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::mimeTypes(); +} +bool PythonQtShell_QSqlTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QSqlTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QString PythonQtShell_QSqlTableModel::orderByClause() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("orderByClause"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::orderByClause(); +} +void PythonQtShell_QSqlTableModel::queryChange() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("queryChange"); + 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(); + } + } +} + QSqlTableModel::queryChange(); +} +bool PythonQtShell_QSqlTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QSqlTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QSqlTableModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + 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(); + } + } +} + QSqlTableModel::revert(); +} +void PythonQtShell_QSqlTableModel::revertRow(int row0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revertRow"); + 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*)&row0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::revertRow(row0); +} +QHash PythonQtShell_QSqlTableModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::roleNames(); +} +int PythonQtShell_QSqlTableModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::rowCount(parent0); +} +bool PythonQtShell_QSqlTableModel::select() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("select"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::select(); +} +bool PythonQtShell_QSqlTableModel::selectRow(int row0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::selectRow(row0); +} +QString PythonQtShell_QSqlTableModel::selectStatement() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectStatement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::selectStatement(); +} +bool PythonQtShell_QSqlTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::setData(index0, value1, role2); +} +void PythonQtShell_QSqlTableModel::setEditStrategy(QSqlTableModel::EditStrategy strategy0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEditStrategy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&strategy0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::setEditStrategy(strategy0); +} +void PythonQtShell_QSqlTableModel::setFilter(const QString& filter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&filter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::setFilter(filter0); +} +bool PythonQtShell_QSqlTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QSqlTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::setItemData(index0, roles1); +} +void PythonQtShell_QSqlTableModel::setSort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::setSort(column0, order1); +} +void PythonQtShell_QSqlTableModel::setTable(const QString& tableName0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&tableName0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::setTable(tableName0); +} +QModelIndex PythonQtShell_QSqlTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QSqlTableModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::sort(column0, order1); +} +QSize PythonQtShell_QSqlTableModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::span(index0); +} +bool PythonQtShell_QSqlTableModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::submit(); +} +Qt::DropActions PythonQtShell_QSqlTableModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QSqlTableModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::supportedDropActions(); +} +void PythonQtShell_QSqlTableModel::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(); + } + } +} + QSqlTableModel::timerEvent(event0); +} +bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord& values1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateRowInTable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::updateRowInTable(row0, values1); +} +QSqlTableModel* PythonQtWrapper_QSqlTableModel::new_QSqlTableModel(QObject* parent, QSqlDatabase db) +{ +return new PythonQtShell_QSqlTableModel(parent, db); } + +const QMetaObject* PythonQtShell_QSqlTableModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSqlTableModel::staticMetaObject); + } else { + return &QSqlTableModel::staticMetaObject; + } +} +int PythonQtShell_QSqlTableModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSqlTableModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSqlDatabase PythonQtWrapper_QSqlTableModel::database(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->database()); +} + +bool PythonQtWrapper_QSqlTableModel::deleteRowFromTable(QSqlTableModel* theWrappedObject, int row) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_deleteRowFromTable(row)); +} + +QSqlTableModel::EditStrategy PythonQtWrapper_QSqlTableModel::editStrategy(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->editStrategy()); +} + +int PythonQtWrapper_QSqlTableModel::fieldIndex(QSqlTableModel* theWrappedObject, const QString& fieldName) const +{ + return ( theWrappedObject->fieldIndex(fieldName)); +} + +QString PythonQtWrapper_QSqlTableModel::filter(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->filter()); +} + +bool PythonQtWrapper_QSqlTableModel::insertRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record) +{ + return ( theWrappedObject->insertRecord(row, record)); +} + +bool PythonQtWrapper_QSqlTableModel::insertRowIntoTable(QSqlTableModel* theWrappedObject, const QSqlRecord& values) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_insertRowIntoTable(values)); +} + +bool PythonQtWrapper_QSqlTableModel::isDirty(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->isDirty()); +} + +bool PythonQtWrapper_QSqlTableModel::isDirty(QSqlTableModel* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isDirty(index)); +} + +QString PythonQtWrapper_QSqlTableModel::orderByClause(QSqlTableModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_orderByClause()); +} + +QSqlIndex PythonQtWrapper_QSqlTableModel::primaryKey(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->primaryKey()); +} + +QSqlRecord PythonQtWrapper_QSqlTableModel::primaryValues(QSqlTableModel* theWrappedObject, int row) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_primaryValues(row)); +} + +QSqlRecord PythonQtWrapper_QSqlTableModel::record(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->record()); +} + +QSqlRecord PythonQtWrapper_QSqlTableModel::record(QSqlTableModel* theWrappedObject, int row) const +{ + return ( theWrappedObject->record(row)); +} + +void PythonQtWrapper_QSqlTableModel::revertRow(QSqlTableModel* theWrappedObject, int row) +{ + ( theWrappedObject->revertRow(row)); +} + +QString PythonQtWrapper_QSqlTableModel::selectStatement(QSqlTableModel* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_selectStatement()); +} + +void PythonQtWrapper_QSqlTableModel::setEditStrategy(QSqlTableModel* theWrappedObject, QSqlTableModel::EditStrategy strategy) +{ + ( theWrappedObject->setEditStrategy(strategy)); +} + +void PythonQtWrapper_QSqlTableModel::setFilter(QSqlTableModel* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->setFilter(filter)); +} + +void PythonQtWrapper_QSqlTableModel::setPrimaryKey(QSqlTableModel* theWrappedObject, const QSqlIndex& key) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setPrimaryKey(key)); +} + +void PythonQtWrapper_QSqlTableModel::setQuery(QSqlTableModel* theWrappedObject, const QSqlQuery& query) +{ + ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_setQuery(query)); +} + +bool PythonQtWrapper_QSqlTableModel::setRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record) +{ + return ( theWrappedObject->setRecord(row, record)); +} + +void PythonQtWrapper_QSqlTableModel::setSort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->setSort(column, order)); +} + +void PythonQtWrapper_QSqlTableModel::setTable(QSqlTableModel* theWrappedObject, const QString& tableName) +{ + ( theWrappedObject->setTable(tableName)); +} + +QString PythonQtWrapper_QSqlTableModel::tableName(QSqlTableModel* theWrappedObject) const +{ + return ( theWrappedObject->tableName()); +} + +bool PythonQtWrapper_QSqlTableModel::updateRowInTable(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& values) +{ + return ( ((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->promoted_updateRowInTable(row, values)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.h b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.h new file mode 100644 index 00000000..684c4a93 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql0.h @@ -0,0 +1,1172 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QSql : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Location NumericalPrecisionPolicy ParamTypeFlag TableType ) +Q_FLAGS(ParamType ) +enum Location{ + BeforeFirstRow = QSql::BeforeFirstRow, AfterLastRow = QSql::AfterLastRow}; +enum NumericalPrecisionPolicy{ + LowPrecisionInt32 = QSql::LowPrecisionInt32, LowPrecisionInt64 = QSql::LowPrecisionInt64, LowPrecisionDouble = QSql::LowPrecisionDouble, HighPrecision = QSql::HighPrecision}; +enum ParamTypeFlag{ + In = QSql::In, Out = QSql::Out, InOut = QSql::InOut, Binary = QSql::Binary}; +enum TableType{ + Tables = QSql::Tables, SystemTables = QSql::SystemTables, Views = QSql::Views, AllTables = QSql::AllTables}; +Q_DECLARE_FLAGS(ParamType, ParamTypeFlag) +public slots: +}; + + + + + +class PythonQtShell_QSqlDatabase : public QSqlDatabase +{ +public: + 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; +}; + +class PythonQtWrapper_QSqlDatabase : public QObject +{ Q_OBJECT +public: +public slots: +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; } + 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); + QSqlDatabase static_QSqlDatabase_cloneDatabase(const QString& other, const QString& connectionName); + void close(QSqlDatabase* theWrappedObject); + bool commit(QSqlDatabase* theWrappedObject); + QString connectOptions(QSqlDatabase* theWrappedObject) const; + QString connectionName(QSqlDatabase* theWrappedObject) const; + QStringList static_QSqlDatabase_connectionNames(); + bool static_QSqlDatabase_contains(const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); + QSqlDatabase static_QSqlDatabase_database(const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection), bool open = true); + QString databaseName(QSqlDatabase* theWrappedObject) const; + QSqlDriver* driver(QSqlDatabase* theWrappedObject) const; + QString driverName(QSqlDatabase* theWrappedObject) const; + QStringList static_QSqlDatabase_drivers(); + QSqlQuery exec(QSqlDatabase* theWrappedObject, const QString& query = QString()) const; + QString hostName(QSqlDatabase* theWrappedObject) const; + bool static_QSqlDatabase_isDriverAvailable(const QString& name); + bool isOpen(QSqlDatabase* theWrappedObject) const; + bool isOpenError(QSqlDatabase* theWrappedObject) const; + bool isValid(QSqlDatabase* theWrappedObject) const; + QSqlError lastError(QSqlDatabase* theWrappedObject) const; + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlDatabase* theWrappedObject) const; + bool open(QSqlDatabase* theWrappedObject); + bool open(QSqlDatabase* theWrappedObject, const QString& user, const QString& password); + QString password(QSqlDatabase* theWrappedObject) const; + int port(QSqlDatabase* theWrappedObject) const; + QSqlIndex primaryIndex(QSqlDatabase* theWrappedObject, const QString& tablename) const; + QSqlRecord record(QSqlDatabase* theWrappedObject, const QString& tablename) const; + void static_QSqlDatabase_registerSqlDriver(const QString& name, QSqlDriverCreatorBase* creator); + void static_QSqlDatabase_removeDatabase(const QString& connectionName); + bool rollback(QSqlDatabase* theWrappedObject); + void setConnectOptions(QSqlDatabase* theWrappedObject, const QString& options = QString()); + void setDatabaseName(QSqlDatabase* theWrappedObject, const QString& name); + void setHostName(QSqlDatabase* theWrappedObject, const QString& host); + void setNumericalPrecisionPolicy(QSqlDatabase* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy); + void setPassword(QSqlDatabase* theWrappedObject, const QString& password); + void setPort(QSqlDatabase* theWrappedObject, int p); + void setUserName(QSqlDatabase* theWrappedObject, const QString& name); + QStringList tables(QSqlDatabase* theWrappedObject, QSql::TableType type = QSql::Tables) const; + bool transaction(QSqlDatabase* theWrappedObject); + QString userName(QSqlDatabase* theWrappedObject) const; + QString py_toString(QSqlDatabase*); + bool __nonzero__(QSqlDatabase* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QSqlDriver : public QSqlDriver +{ +public: + 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 +{ public: +inline void promoted_setLastError(const QSqlError& e) { this->setLastError(e); } +inline void promoted_setOpen(bool o) { this->setOpen(o); } +inline void promoted_setOpenError(bool e) { this->setOpenError(e); } +inline bool py_q_beginTransaction() { return QSqlDriver::beginTransaction(); } +inline bool py_q_cancelQuery() { return QSqlDriver::cancelQuery(); } +inline void py_q_close() { this->close(); } +inline bool py_q_commitTransaction() { return QSqlDriver::commitTransaction(); } +inline QSqlResult* py_q_createResult() const { return this->createResult(); } +inline QString py_q_escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const { return QSqlDriver::escapeIdentifier(identifier, type); } +inline QString py_q_formatValue(const QSqlField& field, bool trimStrings = false) const { return QSqlDriver::formatValue(field, trimStrings); } +inline QVariant py_q_handle() const { return QSqlDriver::handle(); } +inline bool py_q_hasFeature(QSqlDriver::DriverFeature f) const { return this->hasFeature(f); } +inline bool py_q_isIdentifierEscaped(const QString& identifier, QSqlDriver::IdentifierType type) const { return QSqlDriver::isIdentifierEscaped(identifier, type); } +inline bool py_q_isOpen() const { return QSqlDriver::isOpen(); } +inline bool py_q_open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()) { return this->open(db, user, password, host, port, connOpts); } +inline QSqlIndex py_q_primaryIndex(const QString& tableName) const { return QSqlDriver::primaryIndex(tableName); } +inline QSqlRecord py_q_record(const QString& tableName) const { return QSqlDriver::record(tableName); } +inline bool py_q_rollbackTransaction() { return QSqlDriver::rollbackTransaction(); } +inline void py_q_setLastError(const QSqlError& e) { QSqlDriver::setLastError(e); } +inline void py_q_setOpen(bool o) { QSqlDriver::setOpen(o); } +inline void py_q_setOpenError(bool e) { QSqlDriver::setOpenError(e); } +inline QString py_q_sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const { return QSqlDriver::sqlStatement(type, tableName, rec, preparedStatement); } +inline QString py_q_stripDelimiters(const QString& identifier, QSqlDriver::IdentifierType type) const { return QSqlDriver::stripDelimiters(identifier, type); } +inline bool py_q_subscribeToNotification(const QString& name) { return QSqlDriver::subscribeToNotification(name); } +inline QStringList py_q_subscribedToNotifications() const { return QSqlDriver::subscribedToNotifications(); } +inline QStringList py_q_tables(QSql::TableType tableType) const { return QSqlDriver::tables(tableType); } +inline bool py_q_unsubscribeFromNotification(const QString& name) { return QSqlDriver::unsubscribeFromNotification(name); } +}; + +class PythonQtWrapper_QSqlDriver : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DbmsType DriverFeature IdentifierType NotificationSource StatementType ) +enum DbmsType{ + UnknownDbms = QSqlDriver::UnknownDbms, MSSqlServer = QSqlDriver::MSSqlServer, MySqlServer = QSqlDriver::MySqlServer, PostgreSQL = QSqlDriver::PostgreSQL, Oracle = QSqlDriver::Oracle, Sybase = QSqlDriver::Sybase, SQLite = QSqlDriver::SQLite, Interbase = QSqlDriver::Interbase, DB2 = QSqlDriver::DB2}; +enum DriverFeature{ + Transactions = QSqlDriver::Transactions, QuerySize = QSqlDriver::QuerySize, BLOB = QSqlDriver::BLOB, Unicode = QSqlDriver::Unicode, PreparedQueries = QSqlDriver::PreparedQueries, NamedPlaceholders = QSqlDriver::NamedPlaceholders, PositionalPlaceholders = QSqlDriver::PositionalPlaceholders, LastInsertId = QSqlDriver::LastInsertId, BatchOperations = QSqlDriver::BatchOperations, SimpleLocking = QSqlDriver::SimpleLocking, LowPrecisionNumbers = QSqlDriver::LowPrecisionNumbers, EventNotifications = QSqlDriver::EventNotifications, FinishQuery = QSqlDriver::FinishQuery, MultipleResultSets = QSqlDriver::MultipleResultSets, CancelQuery = QSqlDriver::CancelQuery}; +enum IdentifierType{ + FieldName = QSqlDriver::FieldName, TableName = QSqlDriver::TableName}; +enum NotificationSource{ + UnknownSource = QSqlDriver::UnknownSource, SelfSource = QSqlDriver::SelfSource, OtherSource = QSqlDriver::OtherSource}; +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; } + 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());} + void close(QSqlDriver* theWrappedObject); + void py_q_close(QSqlDriver* theWrappedObject){ (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_close());} + bool commitTransaction(QSqlDriver* theWrappedObject); + bool py_q_commitTransaction(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_commitTransaction());} + QSqlResult* createResult(QSqlDriver* theWrappedObject) const; + QSqlResult* py_q_createResult(QSqlDriver* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_createResult());} + QSqlDriver::DbmsType dbmsType(QSqlDriver* theWrappedObject) const; + QString escapeIdentifier(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const; + QString py_q_escapeIdentifier(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_escapeIdentifier(identifier, type));} + QString formatValue(QSqlDriver* theWrappedObject, const QSqlField& field, bool trimStrings = false) const; + QString py_q_formatValue(QSqlDriver* theWrappedObject, const QSqlField& field, bool trimStrings = false) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_formatValue(field, trimStrings));} + QVariant handle(QSqlDriver* theWrappedObject) const; + QVariant py_q_handle(QSqlDriver* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_handle());} + bool hasFeature(QSqlDriver* theWrappedObject, QSqlDriver::DriverFeature f) const; + bool py_q_hasFeature(QSqlDriver* theWrappedObject, QSqlDriver::DriverFeature f) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_hasFeature(f));} + bool isIdentifierEscaped(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const; + bool py_q_isIdentifierEscaped(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_isIdentifierEscaped(identifier, type));} + bool isOpen(QSqlDriver* theWrappedObject) const; + bool py_q_isOpen(QSqlDriver* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_isOpen());} + bool isOpenError(QSqlDriver* theWrappedObject) const; + QSqlError lastError(QSqlDriver* theWrappedObject) const; + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlDriver* theWrappedObject) const; + bool open(QSqlDriver* theWrappedObject, const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()); + bool py_q_open(QSqlDriver* theWrappedObject, const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_open(db, user, password, host, port, connOpts));} + QSqlIndex primaryIndex(QSqlDriver* theWrappedObject, const QString& tableName) const; + QSqlIndex py_q_primaryIndex(QSqlDriver* theWrappedObject, const QString& tableName) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_primaryIndex(tableName));} + QSqlRecord record(QSqlDriver* theWrappedObject, const QString& tableName) const; + QSqlRecord py_q_record(QSqlDriver* theWrappedObject, const QString& tableName) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_record(tableName));} + bool rollbackTransaction(QSqlDriver* theWrappedObject); + bool py_q_rollbackTransaction(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_rollbackTransaction());} + void setLastError(QSqlDriver* theWrappedObject, const QSqlError& e); + void py_q_setLastError(QSqlDriver* theWrappedObject, const QSqlError& e){ (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_setLastError(e));} + void setNumericalPrecisionPolicy(QSqlDriver* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy); + void setOpen(QSqlDriver* theWrappedObject, bool o); + void py_q_setOpen(QSqlDriver* theWrappedObject, bool o){ (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_setOpen(o));} + void setOpenError(QSqlDriver* theWrappedObject, bool e); + void py_q_setOpenError(QSqlDriver* theWrappedObject, bool e){ (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_setOpenError(e));} + QString sqlStatement(QSqlDriver* theWrappedObject, QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const; + QString py_q_sqlStatement(QSqlDriver* theWrappedObject, QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_sqlStatement(type, tableName, rec, preparedStatement));} + QString stripDelimiters(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const; + QString py_q_stripDelimiters(QSqlDriver* theWrappedObject, const QString& identifier, QSqlDriver::IdentifierType type) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_stripDelimiters(identifier, type));} + bool subscribeToNotification(QSqlDriver* theWrappedObject, const QString& name); + bool py_q_subscribeToNotification(QSqlDriver* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_subscribeToNotification(name));} + QStringList subscribedToNotifications(QSqlDriver* theWrappedObject) const; + QStringList py_q_subscribedToNotifications(QSqlDriver* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_subscribedToNotifications());} + QStringList tables(QSqlDriver* theWrappedObject, QSql::TableType tableType) const; + QStringList py_q_tables(QSqlDriver* theWrappedObject, QSql::TableType tableType) const{ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_tables(tableType));} + bool unsubscribeFromNotification(QSqlDriver* theWrappedObject, const QString& name); + bool py_q_unsubscribeFromNotification(QSqlDriver* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_unsubscribeFromNotification(name));} +}; + + + + + +class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase +{ +public: + PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlDriverCreatorBase() override; + +QSqlDriver* createObject() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSqlDriverCreatorBase : public QSqlDriverCreatorBase +{ public: +inline QSqlDriver* py_q_createObject() const { return this->createObject(); } +}; + +class PythonQtWrapper_QSqlDriverCreatorBase : public QObject +{ Q_OBJECT +public: +public slots: +QSqlDriverCreatorBase* new_QSqlDriverCreatorBase(); +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());} +}; + + + + + +class PythonQtWrapper_QSqlError : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ErrorType ) +enum ErrorType{ + NoError = QSqlError::NoError, ConnectionError = QSqlError::ConnectionError, StatementError = QSqlError::StatementError, TransactionError = QSqlError::TransactionError, UnknownError = QSqlError::UnknownError}; +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; } + QString databaseText(QSqlError* theWrappedObject) const; + QString driverText(QSqlError* theWrappedObject) const; + bool isValid(QSqlError* theWrappedObject) const; + QString nativeErrorCode(QSqlError* theWrappedObject) const; + int number(QSqlError* theWrappedObject) const; + bool __ne__(QSqlError* theWrappedObject, const QSqlError& other) const; + bool __eq__(QSqlError* theWrappedObject, const QSqlError& other) const; + void setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText); + void setDriverText(QSqlError* theWrappedObject, const QString& driverText); + void setNumber(QSqlError* theWrappedObject, int number); + void setType(QSqlError* theWrappedObject, QSqlError::ErrorType type); + void swap(QSqlError* theWrappedObject, QSqlError& other); + QString text(QSqlError* theWrappedObject) const; + QSqlError::ErrorType type(QSqlError* theWrappedObject) const; + QString py_toString(QSqlError*); + bool __nonzero__(QSqlError* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QSqlField : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RequiredStatus ) +enum RequiredStatus{ + Unknown = QSqlField::Unknown, Optional = QSqlField::Optional, Required = QSqlField::Required}; +public slots: +QSqlField* new_QSqlField(const QSqlField& other); +QSqlField* new_QSqlField(const QString& fieldName = QString(), QVariant::Type type = {}); +QSqlField* new_QSqlField(const QString& fieldName, QVariant::Type type, const QString& tableName); +void delete_QSqlField(QSqlField* obj) { delete obj; } + void clear(QSqlField* theWrappedObject); + QVariant defaultValue(QSqlField* theWrappedObject) const; + bool isAutoValue(QSqlField* theWrappedObject) const; + bool isGenerated(QSqlField* theWrappedObject) const; + bool isNull(QSqlField* theWrappedObject) const; + bool isReadOnly(QSqlField* theWrappedObject) const; + bool isValid(QSqlField* theWrappedObject) const; + int length(QSqlField* theWrappedObject) const; + QString name(QSqlField* theWrappedObject) const; + bool __ne__(QSqlField* theWrappedObject, const QSqlField& other) const; + bool __eq__(QSqlField* theWrappedObject, const QSqlField& other) const; + int precision(QSqlField* theWrappedObject) const; + QSqlField::RequiredStatus requiredStatus(QSqlField* theWrappedObject) const; + void setAutoValue(QSqlField* theWrappedObject, bool autoVal); + void setDefaultValue(QSqlField* theWrappedObject, const QVariant& value); + void setGenerated(QSqlField* theWrappedObject, bool gen); + void setLength(QSqlField* theWrappedObject, int fieldLength); + void setName(QSqlField* theWrappedObject, const QString& name); + void setPrecision(QSqlField* theWrappedObject, int precision); + void setReadOnly(QSqlField* theWrappedObject, bool readOnly); + void setRequired(QSqlField* theWrappedObject, bool required); + void setRequiredStatus(QSqlField* theWrappedObject, QSqlField::RequiredStatus status); + void setSqlType(QSqlField* theWrappedObject, int type); + void setTableName(QSqlField* theWrappedObject, const QString& tableName); + void setType(QSqlField* theWrappedObject, QVariant::Type type); + void setValue(QSqlField* theWrappedObject, const QVariant& value); + QString tableName(QSqlField* theWrappedObject) const; + QVariant::Type type(QSqlField* theWrappedObject) const; + int typeID(QSqlField* theWrappedObject) const; + QVariant value(QSqlField* theWrappedObject) const; + QString py_toString(QSqlField*); + bool __nonzero__(QSqlField* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QSqlIndex : public QObject +{ Q_OBJECT +public: +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 append(QSqlIndex* theWrappedObject, const QSqlField& field); + void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); + QString cursorName(QSqlIndex* theWrappedObject) const; + bool isDescending(QSqlIndex* theWrappedObject, int i) const; + QString name(QSqlIndex* theWrappedObject) const; + void setCursorName(QSqlIndex* theWrappedObject, const QString& cursorName); + void setDescending(QSqlIndex* theWrappedObject, int i, bool desc); + void setName(QSqlIndex* theWrappedObject, const QString& name); + bool __nonzero__(QSqlIndex* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QSqlQuery : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BatchExecutionMode ) +enum BatchExecutionMode{ + ValuesAsRows = QSqlQuery::ValuesAsRows, ValuesAsColumns = QSqlQuery::ValuesAsColumns}; +public slots: +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 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); + void bindValue(QSqlQuery* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type = QSql::In); + QVariant boundValue(QSqlQuery* theWrappedObject, const QString& placeholder) const; + QVariant boundValue(QSqlQuery* theWrappedObject, int pos) const; + QMap boundValues(QSqlQuery* theWrappedObject) const; + void clear(QSqlQuery* theWrappedObject); + const QSqlDriver* driver(QSqlQuery* theWrappedObject) const; + bool exec(QSqlQuery* theWrappedObject); + bool exec(QSqlQuery* theWrappedObject, const QString& query); + bool execBatch(QSqlQuery* theWrappedObject, QSqlQuery::BatchExecutionMode mode = QSqlQuery::ValuesAsRows); + QString executedQuery(QSqlQuery* theWrappedObject) const; + void finish(QSqlQuery* theWrappedObject); + bool first(QSqlQuery* theWrappedObject); + bool isActive(QSqlQuery* theWrappedObject) const; + bool isForwardOnly(QSqlQuery* theWrappedObject) const; + bool isNull(QSqlQuery* theWrappedObject, const QString& name) const; + bool isNull(QSqlQuery* theWrappedObject, int field) const; + bool isSelect(QSqlQuery* theWrappedObject) const; + bool isValid(QSqlQuery* theWrappedObject) const; + bool last(QSqlQuery* theWrappedObject); + QSqlError lastError(QSqlQuery* theWrappedObject) const; + QVariant lastInsertId(QSqlQuery* theWrappedObject) const; + QString lastQuery(QSqlQuery* theWrappedObject) const; + bool next(QSqlQuery* theWrappedObject); + bool nextResult(QSqlQuery* theWrappedObject); + int numRowsAffected(QSqlQuery* theWrappedObject) const; + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlQuery* theWrappedObject) const; + bool prepare(QSqlQuery* theWrappedObject, const QString& query); + bool previous(QSqlQuery* theWrappedObject); + QSqlRecord record(QSqlQuery* theWrappedObject) const; + const QSqlResult* result(QSqlQuery* theWrappedObject) const; + bool seek(QSqlQuery* theWrappedObject, int i, bool relative = false); + void setForwardOnly(QSqlQuery* theWrappedObject, bool forward); + void setNumericalPrecisionPolicy(QSqlQuery* theWrappedObject, QSql::NumericalPrecisionPolicy precisionPolicy); + int size(QSqlQuery* theWrappedObject) const; + QVariant value(QSqlQuery* theWrappedObject, const QString& name) const; + QVariant value(QSqlQuery* theWrappedObject, int i) const; + bool __nonzero__(QSqlQuery* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QSqlQueryModel : public QSqlQueryModel +{ +public: + 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 +{ public: +inline void promoted_beginInsertColumns(const QModelIndex& parent, int first, int last) { this->beginInsertColumns(parent, first, last); } +inline void promoted_beginInsertRows(const QModelIndex& parent, int first, int last) { this->beginInsertRows(parent, first, last); } +inline void promoted_beginRemoveColumns(const QModelIndex& parent, int first, int last) { this->beginRemoveColumns(parent, first, last); } +inline void promoted_beginRemoveRows(const QModelIndex& parent, int first, int last) { this->beginRemoveRows(parent, first, last); } +inline void promoted_beginResetModel() { this->beginResetModel(); } +inline void promoted_endInsertColumns() { this->endInsertColumns(); } +inline void promoted_endInsertRows() { this->endInsertRows(); } +inline void promoted_endRemoveColumns() { this->endRemoveColumns(); } +inline void promoted_endRemoveRows() { this->endRemoveRows(); } +inline void promoted_endResetModel() { this->endResetModel(); } +inline QModelIndex promoted_indexInQuery(const QModelIndex& item) const { return this->indexInQuery(item); } +inline void promoted_queryChange() { this->queryChange(); } +inline void promoted_setLastError(const QSqlError& error) { this->setLastError(error); } +inline bool py_q_canFetchMore(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::canFetchMore(parent); } +inline void py_q_clear() { QSqlQueryModel::clear(); } +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::columnCount(parent); } +inline QVariant py_q_data(const QModelIndex& item, int role = Qt::DisplayRole) const { return QSqlQueryModel::data(item, role); } +inline void py_q_fetchMore(const QModelIndex& parent = QModelIndex()) { QSqlQueryModel::fetchMore(parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QSqlQueryModel::headerData(section, orientation, role); } +inline QModelIndex py_q_indexInQuery(const QModelIndex& item) const { return QSqlQueryModel::indexInQuery(item); } +inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlQueryModel::insertColumns(column, count, parent); } +inline void py_q_queryChange() { QSqlQueryModel::queryChange(); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlQueryModel::removeColumns(column, count, parent); } +inline QHash py_q_roleNames() const { return QSqlQueryModel::roleNames(); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QSqlQueryModel::rowCount(parent); } +inline bool py_q_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QSqlQueryModel::setHeaderData(section, orientation, value, role); } +}; + +class PythonQtWrapper_QSqlQueryModel : public QObject +{ Q_OBJECT +public: +public slots: +QSqlQueryModel* new_QSqlQueryModel(QObject* parent = nullptr); +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); + void beginRemoveRows(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); + void beginResetModel(QSqlQueryModel* theWrappedObject); + bool py_q_canFetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_canFetchMore(parent));} + void clear(QSqlQueryModel* theWrappedObject); + void py_q_clear(QSqlQueryModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_clear());} + int py_q_columnCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_columnCount(parent));} + QVariant py_q_data(QSqlQueryModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_data(item, role));} + void endInsertColumns(QSqlQueryModel* theWrappedObject); + void endInsertRows(QSqlQueryModel* theWrappedObject); + void endRemoveColumns(QSqlQueryModel* theWrappedObject); + void endRemoveRows(QSqlQueryModel* theWrappedObject); + void endResetModel(QSqlQueryModel* theWrappedObject); + void py_q_fetchMore(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()){ (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_fetchMore(parent));} + QVariant py_q_headerData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QModelIndex indexInQuery(QSqlQueryModel* theWrappedObject, const QModelIndex& item) const; + QModelIndex py_q_indexInQuery(QSqlQueryModel* theWrappedObject, const QModelIndex& item) const{ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_indexInQuery(item));} + bool py_q_insertColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} + QSqlError lastError(QSqlQueryModel* theWrappedObject) const; + QSqlQuery query(QSqlQueryModel* theWrappedObject) const; + void queryChange(QSqlQueryModel* theWrappedObject); + void py_q_queryChange(QSqlQueryModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_queryChange());} + QSqlRecord record(QSqlQueryModel* theWrappedObject) const; + QSqlRecord record(QSqlQueryModel* theWrappedObject, int row) const; + bool py_q_removeColumns(QSqlQueryModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + QHash py_q_roleNames(QSqlQueryModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_roleNames());} + int py_q_rowCount(QSqlQueryModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_setHeaderData(QSqlQueryModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QSqlQueryModel*)theWrappedObject)->py_q_setHeaderData(section, orientation, value, role));} + void setLastError(QSqlQueryModel* theWrappedObject, const QSqlError& error); + void setQuery(QSqlQueryModel* theWrappedObject, const QSqlQuery& query); + void setQuery(QSqlQueryModel* theWrappedObject, const QString& query, const QSqlDatabase& db = QSqlDatabase()); +}; + + + + + +class PythonQtWrapper_QSqlRecord : public QObject +{ Q_OBJECT +public: +public slots: +QSqlRecord* new_QSqlRecord(); +QSqlRecord* new_QSqlRecord(const QSqlRecord& other); +void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } + void append(QSqlRecord* theWrappedObject, const QSqlField& field); + void clear(QSqlRecord* theWrappedObject); + void clearValues(QSqlRecord* theWrappedObject); + bool contains(QSqlRecord* theWrappedObject, const QString& name) const; + int count(QSqlRecord* theWrappedObject) const; + QSqlField field(QSqlRecord* theWrappedObject, const QString& name) const; + QSqlField field(QSqlRecord* theWrappedObject, int i) const; + QString fieldName(QSqlRecord* theWrappedObject, int i) const; + int indexOf(QSqlRecord* theWrappedObject, const QString& name) const; + void insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field); + bool isEmpty(QSqlRecord* theWrappedObject) const; + bool isGenerated(QSqlRecord* theWrappedObject, const QString& name) const; + bool isGenerated(QSqlRecord* theWrappedObject, int i) const; + bool isNull(QSqlRecord* theWrappedObject, const QString& name) const; + bool isNull(QSqlRecord* theWrappedObject, int i) const; + QSqlRecord keyValues(QSqlRecord* theWrappedObject, const QSqlRecord& keyFields) const; + bool __ne__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const; + bool __eq__(QSqlRecord* theWrappedObject, const QSqlRecord& other) const; + void remove(QSqlRecord* theWrappedObject, int pos); + void replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field); + void setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated); + void setGenerated(QSqlRecord* theWrappedObject, int i, bool generated); + void setNull(QSqlRecord* theWrappedObject, const QString& name); + void setNull(QSqlRecord* theWrappedObject, int i); + void setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val); + void setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val); + QVariant value(QSqlRecord* theWrappedObject, const QString& name) const; + QVariant value(QSqlRecord* theWrappedObject, int i) const; + QString py_toString(QSqlRecord*); + bool __nonzero__(QSqlRecord* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QSqlRelation : public QObject +{ Q_OBJECT +public: +public slots: +QSqlRelation* new_QSqlRelation(); +QSqlRelation* new_QSqlRelation(const QString& aTableName, const QString& indexCol, const QString& displayCol); +QSqlRelation* new_QSqlRelation(const QSqlRelation& other) { +QSqlRelation* a = new QSqlRelation(); +*((QSqlRelation*)a) = other; +return a; } +void delete_QSqlRelation(QSqlRelation* obj) { delete obj; } + QString displayColumn(QSqlRelation* theWrappedObject) const; + QString indexColumn(QSqlRelation* theWrappedObject) const; + bool isValid(QSqlRelation* theWrappedObject) const; + void swap(QSqlRelation* theWrappedObject, QSqlRelation& other); + QString tableName(QSqlRelation* theWrappedObject) const; + bool __nonzero__(QSqlRelation* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QSqlRelationalTableModel : public QSqlRelationalTableModel +{ +public: + 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 +{ public: +inline bool promoted_insertRowIntoTable(const QSqlRecord& values) { return this->insertRowIntoTable(values); } +inline QString promoted_orderByClause() const { return this->orderByClause(); } +inline QString promoted_selectStatement() const { return this->selectStatement(); } +inline bool promoted_updateRowInTable(int row, const QSqlRecord& values) { return this->updateRowInTable(row, values); } +inline void py_q_clear() { QSqlRelationalTableModel::clear(); } +inline QVariant py_q_data(const QModelIndex& item, int role = Qt::DisplayRole) const { return QSqlRelationalTableModel::data(item, role); } +inline bool py_q_insertRowIntoTable(const QSqlRecord& values) { return QSqlRelationalTableModel::insertRowIntoTable(values); } +inline QString py_q_orderByClause() const { return QSqlRelationalTableModel::orderByClause(); } +inline QSqlTableModel* py_q_relationModel(int column) const { return QSqlRelationalTableModel::relationModel(column); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlRelationalTableModel::removeColumns(column, count, parent); } +inline void py_q_revertRow(int row) { QSqlRelationalTableModel::revertRow(row); } +inline bool py_q_select() { return QSqlRelationalTableModel::select(); } +inline QString py_q_selectStatement() const { return QSqlRelationalTableModel::selectStatement(); } +inline bool py_q_setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole) { return QSqlRelationalTableModel::setData(item, value, role); } +inline void py_q_setRelation(int column, const QSqlRelation& relation) { QSqlRelationalTableModel::setRelation(column, relation); } +inline void py_q_setTable(const QString& tableName) { QSqlRelationalTableModel::setTable(tableName); } +inline bool py_q_updateRowInTable(int row, const QSqlRecord& values) { return QSqlRelationalTableModel::updateRowInTable(row, values); } +}; + +class PythonQtWrapper_QSqlRelationalTableModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(JoinMode ) +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 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));} + QString py_q_orderByClause(QSqlRelationalTableModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_orderByClause());} + QSqlRelation relation(QSqlRelationalTableModel* theWrappedObject, int column) const; + QSqlTableModel* relationModel(QSqlRelationalTableModel* theWrappedObject, int column) const; + QSqlTableModel* py_q_relationModel(QSqlRelationalTableModel* theWrappedObject, int column) const{ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_relationModel(column));} + bool py_q_removeColumns(QSqlRelationalTableModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + void py_q_revertRow(QSqlRelationalTableModel* theWrappedObject, int row){ (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_revertRow(row));} + bool py_q_select(QSqlRelationalTableModel* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_select());} + QString py_q_selectStatement(QSqlRelationalTableModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_selectStatement());} + bool py_q_setData(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_setData(item, value, role));} + void setJoinMode(QSqlRelationalTableModel* theWrappedObject, QSqlRelationalTableModel::JoinMode joinMode); + void setRelation(QSqlRelationalTableModel* theWrappedObject, int column, const QSqlRelation& relation); + void py_q_setRelation(QSqlRelationalTableModel* theWrappedObject, int column, const QSqlRelation& relation){ (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_setRelation(column, relation));} + void py_q_setTable(QSqlRelationalTableModel* theWrappedObject, const QString& tableName){ (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_setTable(tableName));} + bool py_q_updateRowInTable(QSqlRelationalTableModel* theWrappedObject, int row, const QSqlRecord& values){ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_updateRowInTable(row, values));} +}; + + + + + +class PythonQtShell_QSqlResult : public QSqlResult +{ +public: + 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 +{ public: +enum BindingSyntax{ + PositionalBinding = QSqlResult::PositionalBinding, NamedBinding = QSqlResult::NamedBinding}; +enum VirtualHookOperation{ +}; +inline void promoted_addBindValue(const QVariant& val, QSql::ParamType type) { this->addBindValue(val, type); } +inline int promoted_at() const { return this->at(); } +inline void promoted_bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) { this->bindValue(placeholder, val, type); } +inline void promoted_bindValue(int pos, const QVariant& val, QSql::ParamType type) { this->bindValue(pos, val, type); } +inline QSql::ParamType promoted_bindValueType(const QString& placeholder) const { return this->bindValueType(placeholder); } +inline QSql::ParamType promoted_bindValueType(int pos) const { return this->bindValueType(pos); } +inline int promoted_bindingSyntax() const { return this->bindingSyntax(); } +inline QVariant promoted_boundValue(const QString& placeholder) const { return this->boundValue(placeholder); } +inline QVariant promoted_boundValue(int pos) const { return this->boundValue(pos); } +inline int promoted_boundValueCount() const { return this->boundValueCount(); } +inline QString promoted_boundValueName(int pos) const { return this->boundValueName(pos); } +inline QVector& promoted_boundValues() const { return this->boundValues(); } +inline void promoted_clear() { this->clear(); } +inline QVariant promoted_data(int i) { return this->data(i); } +inline void promoted_detachFromResultSet() { this->detachFromResultSet(); } +inline const QSqlDriver* promoted_driver() const { return this->driver(); } +inline bool promoted_exec() { return this->exec(); } +inline bool promoted_execBatch(bool arrayBind = false) { return this->execBatch(arrayBind); } +inline QString promoted_executedQuery() const { return this->executedQuery(); } +inline bool promoted_fetch(int i) { return this->fetch(i); } +inline bool promoted_fetchFirst() { return this->fetchFirst(); } +inline bool promoted_fetchLast() { return this->fetchLast(); } +inline bool promoted_fetchNext() { return this->fetchNext(); } +inline bool promoted_fetchPrevious() { return this->fetchPrevious(); } +inline bool promoted_hasOutValues() const { return this->hasOutValues(); } +inline bool promoted_isActive() const { return this->isActive(); } +inline bool promoted_isForwardOnly() const { return this->isForwardOnly(); } +inline bool promoted_isNull(int i) { return this->isNull(i); } +inline bool promoted_isSelect() const { return this->isSelect(); } +inline bool promoted_isValid() const { return this->isValid(); } +inline QSqlError promoted_lastError() const { return this->lastError(); } +inline QVariant promoted_lastInsertId() const { return this->lastInsertId(); } +inline QString promoted_lastQuery() const { return this->lastQuery(); } +inline bool promoted_nextResult() { return this->nextResult(); } +inline int promoted_numRowsAffected() { return this->numRowsAffected(); } +inline QSql::NumericalPrecisionPolicy promoted_numericalPrecisionPolicy() const { return this->numericalPrecisionPolicy(); } +inline bool promoted_prepare(const QString& query) { return this->prepare(query); } +inline QSqlRecord promoted_record() const { return this->record(); } +inline bool promoted_reset(const QString& sqlquery) { return this->reset(sqlquery); } +inline void promoted_resetBindCount() { this->resetBindCount(); } +inline bool promoted_savePrepare(const QString& sqlquery) { return this->savePrepare(sqlquery); } +inline void promoted_setActive(bool a) { this->setActive(a); } +inline void promoted_setAt(int at) { this->setAt(at); } +inline void promoted_setForwardOnly(bool forward) { this->setForwardOnly(forward); } +inline void promoted_setLastError(const QSqlError& e) { this->setLastError(e); } +inline void promoted_setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy) { this->setNumericalPrecisionPolicy(policy); } +inline void promoted_setQuery(const QString& query) { this->setQuery(query); } +inline void promoted_setSelect(bool s) { this->setSelect(s); } +inline int promoted_size() { return this->size(); } +inline void py_q_bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) { QSqlResult::bindValue(placeholder, val, type); } +inline void py_q_bindValue(int pos, const QVariant& val, QSql::ParamType type) { QSqlResult::bindValue(pos, val, type); } +inline QVariant py_q_data(int i) { return this->data(i); } +inline void py_q_detachFromResultSet() { QSqlResult::detachFromResultSet(); } +inline bool py_q_exec() { return QSqlResult::exec(); } +inline bool py_q_execBatch(bool arrayBind = false) { return QSqlResult::execBatch(arrayBind); } +inline bool py_q_fetch(int i) { return this->fetch(i); } +inline bool py_q_fetchFirst() { return this->fetchFirst(); } +inline bool py_q_fetchLast() { return this->fetchLast(); } +inline bool py_q_fetchNext() { return QSqlResult::fetchNext(); } +inline bool py_q_fetchPrevious() { return QSqlResult::fetchPrevious(); } +inline QVariant py_q_handle() const { return QSqlResult::handle(); } +inline bool py_q_isNull(int i) { return this->isNull(i); } +inline QVariant py_q_lastInsertId() const { return QSqlResult::lastInsertId(); } +inline bool py_q_nextResult() { return QSqlResult::nextResult(); } +inline int py_q_numRowsAffected() { return this->numRowsAffected(); } +inline bool py_q_prepare(const QString& query) { return QSqlResult::prepare(query); } +inline QSqlRecord py_q_record() const { return QSqlResult::record(); } +inline bool py_q_reset(const QString& sqlquery) { return this->reset(sqlquery); } +inline bool py_q_savePrepare(const QString& sqlquery) { return QSqlResult::savePrepare(sqlquery); } +inline void py_q_setActive(bool a) { QSqlResult::setActive(a); } +inline void py_q_setAt(int at) { QSqlResult::setAt(at); } +inline void py_q_setForwardOnly(bool forward) { QSqlResult::setForwardOnly(forward); } +inline void py_q_setLastError(const QSqlError& e) { QSqlResult::setLastError(e); } +inline void py_q_setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy) { QSqlResult::setNumericalPrecisionPolicy(policy); } +inline void py_q_setQuery(const QString& query) { QSqlResult::setQuery(query); } +inline void py_q_setSelect(bool s) { QSqlResult::setSelect(s); } +inline int py_q_size() { return this->size(); } +}; + +class PythonQtWrapper_QSqlResult : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BindingSyntax VirtualHookOperation ) +enum BindingSyntax{ + PositionalBinding = PythonQtPublicPromoter_QSqlResult::PositionalBinding, NamedBinding = PythonQtPublicPromoter_QSqlResult::NamedBinding}; +enum VirtualHookOperation{ +}; +public slots: +QSqlResult* new_QSqlResult(const QSqlDriver* db); +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); + void py_q_bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_bindValue(placeholder, val, type));} + void bindValue(QSqlResult* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type); + void py_q_bindValue(QSqlResult* theWrappedObject, int pos, const QVariant& val, QSql::ParamType type){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_bindValue(pos, val, type));} + QSql::ParamType bindValueType(QSqlResult* theWrappedObject, const QString& placeholder) const; + QSql::ParamType bindValueType(QSqlResult* theWrappedObject, int pos) const; + int bindingSyntax(QSqlResult* theWrappedObject) const; + QVariant boundValue(QSqlResult* theWrappedObject, const QString& placeholder) const; + QVariant boundValue(QSqlResult* theWrappedObject, int pos) const; + int boundValueCount(QSqlResult* theWrappedObject) const; + QString boundValueName(QSqlResult* theWrappedObject, int pos) const; + QVector* boundValues(QSqlResult* theWrappedObject) const; + void clear(QSqlResult* theWrappedObject); + QVariant data(QSqlResult* theWrappedObject, int i); + QVariant py_q_data(QSqlResult* theWrappedObject, int i){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_data(i));} + void detachFromResultSet(QSqlResult* theWrappedObject); + void py_q_detachFromResultSet(QSqlResult* theWrappedObject){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_detachFromResultSet());} + const QSqlDriver* driver(QSqlResult* theWrappedObject) const; + bool exec(QSqlResult* theWrappedObject); + bool py_q_exec(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_exec());} + bool execBatch(QSqlResult* theWrappedObject, bool arrayBind = false); + bool py_q_execBatch(QSqlResult* theWrappedObject, bool arrayBind = false){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_execBatch(arrayBind));} + QString executedQuery(QSqlResult* theWrappedObject) const; + bool fetch(QSqlResult* theWrappedObject, int i); + bool py_q_fetch(QSqlResult* theWrappedObject, int i){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_fetch(i));} + bool fetchFirst(QSqlResult* theWrappedObject); + bool py_q_fetchFirst(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_fetchFirst());} + bool fetchLast(QSqlResult* theWrappedObject); + bool py_q_fetchLast(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_fetchLast());} + bool fetchNext(QSqlResult* theWrappedObject); + bool py_q_fetchNext(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_fetchNext());} + bool fetchPrevious(QSqlResult* theWrappedObject); + bool py_q_fetchPrevious(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_fetchPrevious());} + QVariant handle(QSqlResult* theWrappedObject) const; + QVariant py_q_handle(QSqlResult* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_handle());} + bool hasOutValues(QSqlResult* theWrappedObject) const; + bool isActive(QSqlResult* theWrappedObject) const; + bool isForwardOnly(QSqlResult* theWrappedObject) const; + bool isNull(QSqlResult* theWrappedObject, int i); + bool py_q_isNull(QSqlResult* theWrappedObject, int i){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_isNull(i));} + bool isSelect(QSqlResult* theWrappedObject) const; + bool isValid(QSqlResult* theWrappedObject) const; + QSqlError lastError(QSqlResult* theWrappedObject) const; + QVariant lastInsertId(QSqlResult* theWrappedObject) const; + QVariant py_q_lastInsertId(QSqlResult* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_lastInsertId());} + QString lastQuery(QSqlResult* theWrappedObject) const; + bool nextResult(QSqlResult* theWrappedObject); + bool py_q_nextResult(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_nextResult());} + int numRowsAffected(QSqlResult* theWrappedObject); + int py_q_numRowsAffected(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_numRowsAffected());} + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy(QSqlResult* theWrappedObject) const; + bool prepare(QSqlResult* theWrappedObject, const QString& query); + bool py_q_prepare(QSqlResult* theWrappedObject, const QString& query){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_prepare(query));} + QSqlRecord record(QSqlResult* theWrappedObject) const; + QSqlRecord py_q_record(QSqlResult* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_record());} + bool reset(QSqlResult* theWrappedObject, const QString& sqlquery); + bool py_q_reset(QSqlResult* theWrappedObject, const QString& sqlquery){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_reset(sqlquery));} + void resetBindCount(QSqlResult* theWrappedObject); + bool savePrepare(QSqlResult* theWrappedObject, const QString& sqlquery); + bool py_q_savePrepare(QSqlResult* theWrappedObject, const QString& sqlquery){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_savePrepare(sqlquery));} + void setActive(QSqlResult* theWrappedObject, bool a); + void py_q_setActive(QSqlResult* theWrappedObject, bool a){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_setActive(a));} + void setAt(QSqlResult* theWrappedObject, int at); + void py_q_setAt(QSqlResult* theWrappedObject, int at){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_setAt(at));} + void setForwardOnly(QSqlResult* theWrappedObject, bool forward); + void py_q_setForwardOnly(QSqlResult* theWrappedObject, bool forward){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_setForwardOnly(forward));} + void setLastError(QSqlResult* theWrappedObject, const QSqlError& e); + void py_q_setLastError(QSqlResult* theWrappedObject, const QSqlError& e){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_setLastError(e));} + void setNumericalPrecisionPolicy(QSqlResult* theWrappedObject, QSql::NumericalPrecisionPolicy policy); + void py_q_setNumericalPrecisionPolicy(QSqlResult* theWrappedObject, QSql::NumericalPrecisionPolicy policy){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_setNumericalPrecisionPolicy(policy));} + void setQuery(QSqlResult* theWrappedObject, const QString& query); + void py_q_setQuery(QSqlResult* theWrappedObject, const QString& query){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_setQuery(query));} + void setSelect(QSqlResult* theWrappedObject, bool s); + void py_q_setSelect(QSqlResult* theWrappedObject, bool s){ (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_setSelect(s));} + int size(QSqlResult* theWrappedObject); + int py_q_size(QSqlResult* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlResult*)theWrappedObject)->py_q_size());} +}; + + + + + +class PythonQtShell_QSqlTableModel : public QSqlTableModel +{ +public: + 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 +{ public: +inline bool promoted_deleteRowFromTable(int row) { return this->deleteRowFromTable(row); } +inline QModelIndex promoted_indexInQuery(const QModelIndex& item) const { return this->indexInQuery(item); } +inline bool promoted_insertRowIntoTable(const QSqlRecord& values) { return this->insertRowIntoTable(values); } +inline QString promoted_orderByClause() const { return this->orderByClause(); } +inline QSqlRecord promoted_primaryValues(int row) const { return this->primaryValues(row); } +inline QString promoted_selectStatement() const { return this->selectStatement(); } +inline void promoted_setPrimaryKey(const QSqlIndex& key) { this->setPrimaryKey(key); } +inline void promoted_setQuery(const QSqlQuery& query) { this->setQuery(query); } +inline bool promoted_updateRowInTable(int row, const QSqlRecord& values) { return this->updateRowInTable(row, values); } +inline void py_q_clear() { QSqlTableModel::clear(); } +inline QVariant py_q_data(const QModelIndex& idx, int role = Qt::DisplayRole) const { return QSqlTableModel::data(idx, role); } +inline bool py_q_deleteRowFromTable(int row) { return QSqlTableModel::deleteRowFromTable(row); } +inline Qt::ItemFlags py_q_flags(const QModelIndex& index) const { return QSqlTableModel::flags(index); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QSqlTableModel::headerData(section, orientation, role); } +inline QModelIndex py_q_indexInQuery(const QModelIndex& item) const { return QSqlTableModel::indexInQuery(item); } +inline bool py_q_insertRowIntoTable(const QSqlRecord& values) { return QSqlTableModel::insertRowIntoTable(values); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::insertRows(row, count, parent); } +inline QString py_q_orderByClause() const { return QSqlTableModel::orderByClause(); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::removeColumns(column, count, parent); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QSqlTableModel::removeRows(row, count, parent); } +inline void py_q_revert() { QSqlTableModel::revert(); } +inline void py_q_revertRow(int row) { QSqlTableModel::revertRow(row); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QSqlTableModel::rowCount(parent); } +inline bool py_q_select() { return QSqlTableModel::select(); } +inline bool py_q_selectRow(int row) { return QSqlTableModel::selectRow(row); } +inline QString py_q_selectStatement() const { return QSqlTableModel::selectStatement(); } +inline bool py_q_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QSqlTableModel::setData(index, value, role); } +inline void py_q_setEditStrategy(QSqlTableModel::EditStrategy strategy) { QSqlTableModel::setEditStrategy(strategy); } +inline void py_q_setFilter(const QString& filter) { QSqlTableModel::setFilter(filter); } +inline void py_q_setSort(int column, Qt::SortOrder order) { QSqlTableModel::setSort(column, order); } +inline void py_q_setTable(const QString& tableName) { QSqlTableModel::setTable(tableName); } +inline void py_q_sort(int column, Qt::SortOrder order) { QSqlTableModel::sort(column, order); } +inline bool py_q_submit() { return QSqlTableModel::submit(); } +inline bool py_q_updateRowInTable(int row, const QSqlRecord& values) { return QSqlTableModel::updateRowInTable(row, values); } +}; + +class PythonQtWrapper_QSqlTableModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(EditStrategy ) +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 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; + bool deleteRowFromTable(QSqlTableModel* theWrappedObject, int row); + bool py_q_deleteRowFromTable(QSqlTableModel* theWrappedObject, int row){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_deleteRowFromTable(row));} + QSqlTableModel::EditStrategy editStrategy(QSqlTableModel* theWrappedObject) const; + int fieldIndex(QSqlTableModel* theWrappedObject, const QString& fieldName) const; + QString filter(QSqlTableModel* theWrappedObject) const; + Qt::ItemFlags py_q_flags(QSqlTableModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_flags(index));} + QVariant py_q_headerData(QSqlTableModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QModelIndex py_q_indexInQuery(QSqlTableModel* theWrappedObject, const QModelIndex& item) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_indexInQuery(item));} + bool insertRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record); + bool insertRowIntoTable(QSqlTableModel* theWrappedObject, const QSqlRecord& values); + bool py_q_insertRowIntoTable(QSqlTableModel* theWrappedObject, const QSqlRecord& values){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_insertRowIntoTable(values));} + bool py_q_insertRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} + bool isDirty(QSqlTableModel* theWrappedObject) const; + bool isDirty(QSqlTableModel* theWrappedObject, const QModelIndex& index) const; + QString orderByClause(QSqlTableModel* theWrappedObject) const; + QString py_q_orderByClause(QSqlTableModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_orderByClause());} + QSqlIndex primaryKey(QSqlTableModel* theWrappedObject) const; + QSqlRecord primaryValues(QSqlTableModel* theWrappedObject, int row) const; + QSqlRecord record(QSqlTableModel* theWrappedObject) const; + QSqlRecord record(QSqlTableModel* theWrappedObject, int row) const; + bool py_q_removeColumns(QSqlTableModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + bool py_q_removeRows(QSqlTableModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + void py_q_revert(QSqlTableModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_revert());} + void revertRow(QSqlTableModel* theWrappedObject, int row); + void py_q_revertRow(QSqlTableModel* theWrappedObject, int row){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_revertRow(row));} + int py_q_rowCount(QSqlTableModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_rowCount(parent));} + bool py_q_select(QSqlTableModel* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_select());} + bool py_q_selectRow(QSqlTableModel* theWrappedObject, int row){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_selectRow(row));} + QString selectStatement(QSqlTableModel* theWrappedObject) const; + QString py_q_selectStatement(QSqlTableModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_selectStatement());} + bool py_q_setData(QSqlTableModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_setData(index, value, role));} + void setEditStrategy(QSqlTableModel* theWrappedObject, QSqlTableModel::EditStrategy strategy); + void py_q_setEditStrategy(QSqlTableModel* theWrappedObject, QSqlTableModel::EditStrategy strategy){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_setEditStrategy(strategy));} + void setFilter(QSqlTableModel* theWrappedObject, const QString& filter); + void py_q_setFilter(QSqlTableModel* theWrappedObject, const QString& filter){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_setFilter(filter));} + void setPrimaryKey(QSqlTableModel* theWrappedObject, const QSqlIndex& key); + void setQuery(QSqlTableModel* theWrappedObject, const QSqlQuery& query); + bool setRecord(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& record); + void setSort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order); + void py_q_setSort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_setSort(column, order));} + void setTable(QSqlTableModel* theWrappedObject, const QString& tableName); + void py_q_setTable(QSqlTableModel* theWrappedObject, const QString& tableName){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_setTable(tableName));} + void py_q_sort(QSqlTableModel* theWrappedObject, int column, Qt::SortOrder order){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_sort(column, order));} + bool py_q_submit(QSqlTableModel* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_submit());} + QString tableName(QSqlTableModel* theWrappedObject) const; + bool updateRowInTable(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& values); + bool py_q_updateRowInTable(QSqlTableModel* theWrappedObject, int row, const QSqlRecord& values){ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_updateRowInTable(row, values));} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp new file mode 100644 index 00000000..3747b859 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp @@ -0,0 +1,26 @@ +#include +#include +#include "com_trolltech_qt_sql0.h" + + + +void PythonQt_init_QtSql(PyObject* module) { +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, 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, 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); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QModelIndex); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QPersistentModelIndex); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg.pri b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg.pri new file mode 100644 index 00000000..eeea5942 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_svg0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_svg0.cpp \ + $$PWD/com_trolltech_qt_svg_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp new file mode 100644 index 00000000..3985473f --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -0,0 +1,2900 @@ +#include "com_trolltech_qt_svg0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +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"); + 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[] ={"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 QGraphicsSvgItem::isObscuredBy(item0); +} +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("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 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::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(); + } + } +} + QGraphicsSvgItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::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(); + } + } +} + 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{}; + void* args[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 QGraphicsSvgItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::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 QGraphicsSvgItem::sceneEventFilter(watched0, event1); +} +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("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(); + } + } +} + 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) +{ +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(); + } + } +} + QGraphicsSvgItem::timerEvent(event0); +} +int PythonQtShell_QGraphicsSvgItem::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 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); } + +QGraphicsSvgItem* PythonQtWrapper_QGraphicsSvgItem::new_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem) +{ +return new PythonQtShell_QGraphicsSvgItem(fileName, parentItem); } + +const QMetaObject* PythonQtShell_QGraphicsSvgItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsSvgItem::staticMetaObject); + } else { + return &QGraphicsSvgItem::staticMetaObject; + } +} +int PythonQtShell_QGraphicsSvgItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsSvgItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QGraphicsSvgItem::elementId(QGraphicsSvgItem* theWrappedObject) const +{ + return ( theWrappedObject->elementId()); +} + +bool PythonQtWrapper_QGraphicsSvgItem::isCachingEnabled(QGraphicsSvgItem* theWrappedObject) const +{ + return ( theWrappedObject->isCachingEnabled()); +} + +QSize PythonQtWrapper_QGraphicsSvgItem::maximumCacheSize(QGraphicsSvgItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumCacheSize()); +} + +QSvgRenderer* PythonQtWrapper_QGraphicsSvgItem::renderer(QGraphicsSvgItem* theWrappedObject) const +{ + return ( theWrappedObject->renderer()); +} + +void PythonQtWrapper_QGraphicsSvgItem::setCachingEnabled(QGraphicsSvgItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setCachingEnabled(arg__1)); +} + +void PythonQtWrapper_QGraphicsSvgItem::setElementId(QGraphicsSvgItem* theWrappedObject, const QString& id) +{ + ( theWrappedObject->setElementId(id)); +} + +void PythonQtWrapper_QGraphicsSvgItem::setMaximumCacheSize(QGraphicsSvgItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setMaximumCacheSize(size)); +} + +void PythonQtWrapper_QGraphicsSvgItem::setSharedRenderer(QGraphicsSvgItem* theWrappedObject, QSvgRenderer* renderer) +{ + ( theWrappedObject->setSharedRenderer(renderer)); +} + + + +PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QSvgGenerator::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 QSvgGenerator::devType(); +} +void PythonQtShell_QSvgGenerator::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(); + } + } +} + QSvgGenerator::initPainter(painter0); +} +int PythonQtShell_QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgGenerator::metric(metric0); +} +QPaintEngine* PythonQtShell_QSvgGenerator::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgGenerator::paintEngine(); +} +QPaintDevice* PythonQtShell_QSvgGenerator::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 QSvgGenerator::redirected(offset0); +} +QPainter* PythonQtShell_QSvgGenerator::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 QSvgGenerator::sharedPainter(); +} +QSvgGenerator* PythonQtWrapper_QSvgGenerator::new_QSvgGenerator() +{ +return new PythonQtShell_QSvgGenerator(); } + +QString PythonQtWrapper_QSvgGenerator::description(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +QString PythonQtWrapper_QSvgGenerator::fileName(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QIODevice* PythonQtWrapper_QSvgGenerator::outputDevice(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->outputDevice()); +} + +int PythonQtWrapper_QSvgGenerator::resolution(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QSvgGenerator::setDescription(QSvgGenerator* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setDescription(description)); +} + +void PythonQtWrapper_QSvgGenerator::setFileName(QSvgGenerator* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QSvgGenerator::setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice) +{ + ( theWrappedObject->setOutputDevice(outputDevice)); +} + +void PythonQtWrapper_QSvgGenerator::setResolution(QSvgGenerator* theWrappedObject, int dpi) +{ + ( theWrappedObject->setResolution(dpi)); +} + +void PythonQtWrapper_QSvgGenerator::setSize(QSvgGenerator* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSize(size)); +} + +void PythonQtWrapper_QSvgGenerator::setTitle(QSvgGenerator* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +void PythonQtWrapper_QSvgGenerator::setViewBox(QSvgGenerator* theWrappedObject, const QRect& viewBox) +{ + ( theWrappedObject->setViewBox(viewBox)); +} + +void PythonQtWrapper_QSvgGenerator::setViewBox(QSvgGenerator* theWrappedObject, const QRectF& viewBox) +{ + ( theWrappedObject->setViewBox(viewBox)); +} + +QSize PythonQtWrapper_QSvgGenerator::size(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QString PythonQtWrapper_QSvgGenerator::title(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +QRect PythonQtWrapper_QSvgGenerator::viewBox(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->viewBox()); +} + +QRectF PythonQtWrapper_QSvgGenerator::viewBoxF(QSvgGenerator* theWrappedObject) const +{ + return ( theWrappedObject->viewBoxF()); +} + + + +PythonQtShell_QSvgRenderer::~PythonQtShell_QSvgRenderer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSvgRenderer::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(); + } + } +} + QSvgRenderer::childEvent(event0); +} +void PythonQtShell_QSvgRenderer::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(); + } + } +} + QSvgRenderer::customEvent(event0); +} +bool PythonQtShell_QSvgRenderer::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 QSvgRenderer::event(event0); +} +bool PythonQtShell_QSvgRenderer::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 QSvgRenderer::eventFilter(watched0, event1); +} +void PythonQtShell_QSvgRenderer::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(); + } + } +} + QSvgRenderer::timerEvent(event0); +} +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(parent); } + +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(QXmlStreamReader* contents, QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(contents, parent); } + +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(const QByteArray& contents, QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(contents, parent); } + +QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(const QString& filename, QObject* parent) +{ +return new PythonQtShell_QSvgRenderer(filename, parent); } + +const QMetaObject* PythonQtShell_QSvgRenderer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSvgRenderer::staticMetaObject); + } else { + return &QSvgRenderer::staticMetaObject; + } +} +int PythonQtShell_QSvgRenderer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSvgRenderer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSvgRenderer::animated(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->animated()); +} + +int PythonQtWrapper_QSvgRenderer::animationDuration(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->animationDuration()); +} + +Qt::AspectRatioMode PythonQtWrapper_QSvgRenderer::aspectRatioMode(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->aspectRatioMode()); +} + +QRectF PythonQtWrapper_QSvgRenderer::boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const +{ + return ( theWrappedObject->boundsOnElement(id)); +} + +int PythonQtWrapper_QSvgRenderer::currentFrame(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +QSize PythonQtWrapper_QSvgRenderer::defaultSize(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->defaultSize()); +} + +bool PythonQtWrapper_QSvgRenderer::elementExists(QSvgRenderer* theWrappedObject, const QString& id) const +{ + return ( theWrappedObject->elementExists(id)); +} + +int PythonQtWrapper_QSvgRenderer::framesPerSecond(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->framesPerSecond()); +} + +bool PythonQtWrapper_QSvgRenderer::isValid(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QMatrix PythonQtWrapper_QSvgRenderer::matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const +{ + return ( theWrappedObject->matrixForElement(id)); +} + +void PythonQtWrapper_QSvgRenderer::setAspectRatioMode(QSvgRenderer* theWrappedObject, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->setAspectRatioMode(mode)); +} + +void PythonQtWrapper_QSvgRenderer::setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setCurrentFrame(arg__1)); +} + +void PythonQtWrapper_QSvgRenderer::setFramesPerSecond(QSvgRenderer* theWrappedObject, int num) +{ + ( theWrappedObject->setFramesPerSecond(num)); +} + +void PythonQtWrapper_QSvgRenderer::setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox) +{ + ( theWrappedObject->setViewBox(viewbox)); +} + +void PythonQtWrapper_QSvgRenderer::setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox) +{ + ( theWrappedObject->setViewBox(viewbox)); +} + +QTransform PythonQtWrapper_QSvgRenderer::transformForElement(QSvgRenderer* theWrappedObject, const QString& id) const +{ + return ( theWrappedObject->transformForElement(id)); +} + +QRect PythonQtWrapper_QSvgRenderer::viewBox(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->viewBox()); +} + +QRectF PythonQtWrapper_QSvgRenderer::viewBoxF(QSvgRenderer* theWrappedObject) const +{ + return ( theWrappedObject->viewBoxF()); +} + + + +PythonQtShell_QSvgWidget::~PythonQtShell_QSvgWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSvgWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + 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(); + } + } +} + QSvgWidget::actionEvent(event0); +} +void PythonQtShell_QSvgWidget::changeEvent(QEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgWidget::changeEvent(arg__1); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::childEvent(event0); +} +void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* event0) +{ +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(); + } + } +} + QSvgWidget::closeEvent(event0); +} +void PythonQtShell_QSvgWidget::contextMenuEvent(QContextMenuEvent* 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[] ={"" , "QContextMenuEvent*"}; + 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(); + } + } +} + QSvgWidget::contextMenuEvent(event0); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::customEvent(event0); +} +int PythonQtShell_QSvgWidget::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 QSvgWidget::devType(); +} +void PythonQtShell_QSvgWidget::dragEnterEvent(QDragEnterEvent* 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[] ={"" , "QDragEnterEvent*"}; + 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(); + } + } +} + QSvgWidget::dragEnterEvent(event0); +} +void PythonQtShell_QSvgWidget::dragLeaveEvent(QDragLeaveEvent* 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[] ={"" , "QDragLeaveEvent*"}; + 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(); + } + } +} + QSvgWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QSvgWidget::dragMoveEvent(QDragMoveEvent* 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[] ={"" , "QDragMoveEvent*"}; + 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(); + } + } +} + QSvgWidget::dragMoveEvent(event0); +} +void PythonQtShell_QSvgWidget::dropEvent(QDropEvent* 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[] ={"" , "QDropEvent*"}; + 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(); + } + } +} + QSvgWidget::dropEvent(event0); +} +void PythonQtShell_QSvgWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + 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(); + } + } +} + QSvgWidget::enterEvent(event0); +} +bool PythonQtShell_QSvgWidget::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 QSvgWidget::event(event0); +} +bool PythonQtShell_QSvgWidget::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 QSvgWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::focusInEvent(event0); +} +bool PythonQtShell_QSvgWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::focusOutEvent(event0); +} +bool PythonQtShell_QSvgWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::hasHeightForWidth(); +} +int PythonQtShell_QSvgWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + 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("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::heightForWidth(arg__1); +} +void PythonQtShell_QSvgWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + 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] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgWidget::hideEvent(event0); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::initPainter(painter0); +} +void PythonQtShell_QSvgWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +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*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSvgWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) 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*)&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("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::keyPressEvent(event0); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QSvgWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + 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(); + } + } +} + QSvgWidget::leaveEvent(event0); +} +int PythonQtShell_QSvgWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + 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("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::metric(arg__1); +} +QSize PythonQtShell_QSvgWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::minimumSizeHint(); +} +void PythonQtShell_QSvgWidget::mouseDoubleClickEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSvgWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QSvgWidget::mouseMoveEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSvgWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QSvgWidget::mousePressEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSvgWidget::mousePressEvent(event0); +} +void PythonQtShell_QSvgWidget::mouseReleaseEvent(QMouseEvent* 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[] ={"" , "QMouseEvent*"}; + 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(); + } + } +} + QSvgWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QSvgWidget::moveEvent(QMoveEvent* 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[] ={"" , "QMoveEvent*"}; + 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(); + } + } +} + QSvgWidget::moveEvent(event0); +} +bool PythonQtShell_QSvgWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QSvgWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::paintEngine(); +} +void PythonQtShell_QSvgWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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(); + } + } +} + QSvgWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QSvgWidget::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 QSvgWidget::redirected(offset0); +} +void PythonQtShell_QSvgWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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(); + } + } +} + QSvgWidget::resizeEvent(event0); +} +void PythonQtShell_QSvgWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QSvgWidget::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 QSvgWidget::sharedPainter(); +} +void PythonQtShell_QSvgWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + 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(); + } + } +} + QSvgWidget::showEvent(event0); +} +QSize PythonQtShell_QSvgWidget::sizeHint() 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[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::sizeHint(); +} +void PythonQtShell_QSvgWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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(); + } + } +} + QSvgWidget::tabletEvent(event0); +} +void PythonQtShell_QSvgWidget::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(); + } + } +} + QSvgWidget::timerEvent(event0); +} +void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* 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[] ={"" , "QWheelEvent*"}; + 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(); + } + } +} + QSvgWidget::wheelEvent(event0); +} +QSvgWidget* PythonQtWrapper_QSvgWidget::new_QSvgWidget(QWidget* parent) +{ +return new PythonQtShell_QSvgWidget(parent); } + +QSvgWidget* PythonQtWrapper_QSvgWidget::new_QSvgWidget(const QString& file, QWidget* parent) +{ +return new PythonQtShell_QSvgWidget(file, parent); } + +const QMetaObject* PythonQtShell_QSvgWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSvgWidget::staticMetaObject); + } else { + return &QSvgWidget::staticMetaObject; + } +} +int PythonQtShell_QSvgWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSvgWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSvgRenderer* PythonQtWrapper_QSvgWidget::renderer(QSvgWidget* theWrappedObject) const +{ + return ( theWrappedObject->renderer()); +} + +QSize PythonQtWrapper_QSvgWidget::sizeHint(QSvgWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.h b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.h new file mode 100644 index 00000000..10669e3b --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg0.h @@ -0,0 +1,341 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QGraphicsSvgItem : public QGraphicsSvgItem +{ +public: + 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 +{ public: +inline QRectF py_q_boundingRect() const { return QGraphicsSvgItem::boundingRect(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsSvgItem::paint(painter, option, widget); } +inline int py_q_type() const { return QGraphicsSvgItem::type(); } +}; + +class PythonQtWrapper_QGraphicsSvgItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsSvgItem::Type}; +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 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 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 py_q_type(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QSvgGenerator : public QSvgGenerator +{ +public: + PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSvgGenerator() 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_QSvgGenerator : public QSvgGenerator +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QSvgGenerator::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return QSvgGenerator::paintEngine(); } +}; + +class PythonQtWrapper_QSvgGenerator : public QObject +{ Q_OBJECT +public: +public slots: +QSvgGenerator* new_QSvgGenerator(); +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));} + QIODevice* outputDevice(QSvgGenerator* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QSvgGenerator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->py_q_paintEngine());} + int resolution(QSvgGenerator* theWrappedObject) const; + void setDescription(QSvgGenerator* theWrappedObject, const QString& description); + void setFileName(QSvgGenerator* theWrappedObject, const QString& fileName); + void setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice); + void setResolution(QSvgGenerator* theWrappedObject, int dpi); + void setSize(QSvgGenerator* theWrappedObject, const QSize& size); + void setTitle(QSvgGenerator* theWrappedObject, const QString& title); + void setViewBox(QSvgGenerator* theWrappedObject, const QRect& viewBox); + void setViewBox(QSvgGenerator* theWrappedObject, const QRectF& viewBox); + QSize size(QSvgGenerator* theWrappedObject) const; + QString title(QSvgGenerator* theWrappedObject) const; + QRect viewBox(QSvgGenerator* theWrappedObject) const; + QRectF viewBoxF(QSvgGenerator* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSvgRenderer : public QSvgRenderer +{ +public: + 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 +{ Q_OBJECT +public: +public slots: +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; } + bool animated(QSvgRenderer* theWrappedObject) const; + int animationDuration(QSvgRenderer* theWrappedObject) const; + Qt::AspectRatioMode aspectRatioMode(QSvgRenderer* theWrappedObject) const; + QRectF boundsOnElement(QSvgRenderer* theWrappedObject, const QString& id) const; + int currentFrame(QSvgRenderer* theWrappedObject) const; + QSize defaultSize(QSvgRenderer* theWrappedObject) const; + bool elementExists(QSvgRenderer* theWrappedObject, const QString& id) const; + int framesPerSecond(QSvgRenderer* theWrappedObject) const; + bool isValid(QSvgRenderer* theWrappedObject) const; + QMatrix matrixForElement(QSvgRenderer* theWrappedObject, const QString& id) const; + void setAspectRatioMode(QSvgRenderer* theWrappedObject, Qt::AspectRatioMode mode); + void setCurrentFrame(QSvgRenderer* theWrappedObject, int arg__1); + void setFramesPerSecond(QSvgRenderer* theWrappedObject, int num); + void setViewBox(QSvgRenderer* theWrappedObject, const QRect& viewbox); + void setViewBox(QSvgRenderer* theWrappedObject, const QRectF& viewbox); + QTransform transformForElement(QSvgRenderer* theWrappedObject, const QString& id) const; + QRect viewBox(QSvgRenderer* theWrappedObject) const; + QRectF viewBoxF(QSvgRenderer* theWrappedObject) const; + bool __nonzero__(QSvgRenderer* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QSvgWidget : public QSvgWidget +{ +public: + 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 +{ public: +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QSvgWidget::paintEvent(event); } +inline QSize py_q_sizeHint() const { return QSvgWidget::sizeHint(); } +}; + +class PythonQtWrapper_QSvgWidget : public QObject +{ Q_OBJECT +public: +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 py_q_paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QSvgWidget*)theWrappedObject)->py_q_paintEvent(event));} + QSvgRenderer* renderer(QSvgWidget* theWrappedObject) const; + QSize sizeHint(QSvgWidget* theWrappedObject) const; + QSize py_q_sizeHint(QSvgWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSvgWidget*)theWrappedObject)->py_q_sizeHint());} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp new file mode 100644 index 00000000..7f2cadc6 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp @@ -0,0 +1,15 @@ +#include +#include +#include "com_trolltech_qt_svg0.h" + + + +void PythonQt_init_QtSvg(PyObject* module) { +PythonQt::priv()->registerClass(&QGraphicsSvgItem::staticMetaObject, "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSvgGenerator", "", "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QSvgGenerator", "QPaintDevice",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QSvgRenderer::staticMetaObject, "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QSvgWidget::staticMetaObject, "QtSvg", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri new file mode 100644 index 00000000..680ce525 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_uitools0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_uitools0.cpp \ + $$PWD/com_trolltech_qt_uitools_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp new file mode 100644 index 00000000..dde5bcb8 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -0,0 +1,390 @@ +#include "com_trolltech_qt_uitools0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QUiLoader::~PythonQtShell_QUiLoader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUiLoader::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(); + } + } +} + QUiLoader::childEvent(event0); +} +QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAction*" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createAction", methodInfo, result); + } else { + returnValue = *((QAction**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createAction(parent0, name1); +} +QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, const QString& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createActionGroup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QActionGroup*" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createActionGroup", methodInfo, result); + } else { + returnValue = *((QActionGroup**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createActionGroup(parent0, name1); +} +QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObject* parent1, const QString& name2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createLayout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createLayout(className0, parent1, name2); +} +QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWidget* parent1, const QString& name2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createWidget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createWidget(className0, parent1, name2); +} +void PythonQtShell_QUiLoader::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(); + } + } +} + QUiLoader::customEvent(event0); +} +bool PythonQtShell_QUiLoader::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 QUiLoader::event(event0); +} +bool PythonQtShell_QUiLoader::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 QUiLoader::eventFilter(watched0, event1); +} +void PythonQtShell_QUiLoader::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(); + } + } +} + QUiLoader::timerEvent(event0); +} +QUiLoader* PythonQtWrapper_QUiLoader::new_QUiLoader(QObject* parent) +{ +return new PythonQtShell_QUiLoader(parent); } + +const QMetaObject* PythonQtShell_QUiLoader::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUiLoader::staticMetaObject); + } else { + return &QUiLoader::staticMetaObject; + } +} +int PythonQtShell_QUiLoader::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUiLoader::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QUiLoader::addPluginPath(QUiLoader* theWrappedObject, const QString& path) +{ + ( theWrappedObject->addPluginPath(path)); +} + +QStringList PythonQtWrapper_QUiLoader::availableLayouts(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->availableLayouts()); +} + +QStringList PythonQtWrapper_QUiLoader::availableWidgets(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->availableWidgets()); +} + +void PythonQtWrapper_QUiLoader::clearPluginPaths(QUiLoader* theWrappedObject) +{ + ( theWrappedObject->clearPluginPaths()); +} + +QAction* PythonQtWrapper_QUiLoader::createAction(QUiLoader* theWrappedObject, QObject* parent, const QString& name) +{ + return ( theWrappedObject->createAction(parent, name)); +} + +QActionGroup* PythonQtWrapper_QUiLoader::createActionGroup(QUiLoader* theWrappedObject, QObject* parent, const QString& name) +{ + return ( theWrappedObject->createActionGroup(parent, name)); +} + +QLayout* PythonQtWrapper_QUiLoader::createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent, const QString& name) +{ + return ( theWrappedObject->createLayout(className, parent, name)); +} + +QWidget* PythonQtWrapper_QUiLoader::createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent, const QString& name) +{ + return ( theWrappedObject->createWidget(className, parent, name)); +} + +QString PythonQtWrapper_QUiLoader::errorString(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QUiLoader::isLanguageChangeEnabled(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->isLanguageChangeEnabled()); +} + +bool PythonQtWrapper_QUiLoader::isTranslationEnabled(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->isTranslationEnabled()); +} + +QWidget* PythonQtWrapper_QUiLoader::load(QUiLoader* theWrappedObject, QIODevice* device, QWidget* parentWidget) +{ + return ( theWrappedObject->load(device, parentWidget)); +} + +QStringList PythonQtWrapper_QUiLoader::pluginPaths(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->pluginPaths()); +} + +void PythonQtWrapper_QUiLoader::setLanguageChangeEnabled(QUiLoader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setLanguageChangeEnabled(enabled)); +} + +void PythonQtWrapper_QUiLoader::setTranslationEnabled(QUiLoader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setTranslationEnabled(enabled)); +} + +void PythonQtWrapper_QUiLoader::setWorkingDirectory(QUiLoader* theWrappedObject, const QDir& dir) +{ + ( theWrappedObject->setWorkingDirectory(dir)); +} + +QDir PythonQtWrapper_QUiLoader::workingDirectory(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->workingDirectory()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h new file mode 100644 index 00000000..3c35bef4 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h @@ -0,0 +1,80 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QUiLoader : public QUiLoader +{ +public: + PythonQtShell_QUiLoader(QObject* parent = nullptr):QUiLoader(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUiLoader() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUiLoader : public QUiLoader +{ public: +inline QAction* py_q_createAction(QObject* parent = nullptr, const QString& name = QString()) { return QUiLoader::createAction(parent, name); } +inline QActionGroup* py_q_createActionGroup(QObject* parent = nullptr, const QString& name = QString()) { return QUiLoader::createActionGroup(parent, name); } +inline QLayout* py_q_createLayout(const QString& className, QObject* parent = nullptr, const QString& name = QString()) { return QUiLoader::createLayout(className, parent, name); } +inline QWidget* py_q_createWidget(const QString& className, QWidget* parent = nullptr, const QString& name = QString()) { return QUiLoader::createWidget(className, parent, name); } +}; + +class PythonQtWrapper_QUiLoader : public QObject +{ Q_OBJECT +public: +public slots: +QUiLoader* new_QUiLoader(QObject* parent = nullptr); +void delete_QUiLoader(QUiLoader* obj) { delete obj; } + void addPluginPath(QUiLoader* theWrappedObject, const QString& path); + QStringList availableLayouts(QUiLoader* theWrappedObject) const; + QStringList availableWidgets(QUiLoader* theWrappedObject) const; + void clearPluginPaths(QUiLoader* theWrappedObject); + QAction* createAction(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()); + QAction* py_q_createAction(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createAction(parent, name));} + QActionGroup* createActionGroup(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()); + QActionGroup* py_q_createActionGroup(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createActionGroup(parent, name));} + QLayout* createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent = nullptr, const QString& name = QString()); + QLayout* py_q_createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createLayout(className, parent, name));} + QWidget* createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent = nullptr, const QString& name = QString()); + QWidget* py_q_createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createWidget(className, parent, name));} + QString errorString(QUiLoader* theWrappedObject) const; + bool isLanguageChangeEnabled(QUiLoader* theWrappedObject) const; + bool isTranslationEnabled(QUiLoader* theWrappedObject) const; + QWidget* load(QUiLoader* theWrappedObject, QIODevice* device, QWidget* parentWidget = nullptr); + QStringList pluginPaths(QUiLoader* theWrappedObject) const; + void setLanguageChangeEnabled(QUiLoader* theWrappedObject, bool enabled); + void setTranslationEnabled(QUiLoader* theWrappedObject, bool enabled); + void setWorkingDirectory(QUiLoader* theWrappedObject, const QDir& dir); + QDir workingDirectory(QUiLoader* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp new file mode 100644 index 00000000..068f7b08 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp @@ -0,0 +1,11 @@ +#include +#include +#include "com_trolltech_qt_uitools0.h" + + + +void PythonQt_init_QtUiTools(PyObject* module) { +PythonQt::priv()->registerClass(&QUiLoader::staticMetaObject, "QtUiTools", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml.pri b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml.pri new file mode 100644 index 00000000..222476a5 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml.pri @@ -0,0 +1,8 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_xml0.h \ + $$PWD/com_trolltech_qt_xml1.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_xml0.cpp \ + $$PWD/com_trolltech_qt_xml1.cpp \ + $$PWD/com_trolltech_qt_xml_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp new file mode 100644 index 00000000..f6a466c7 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -0,0 +1,5092 @@ +#include "com_trolltech_qt_xml0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QDomAttr* PythonQtWrapper_QDomAttr::new_QDomAttr() +{ +return new QDomAttr(); } + +QDomAttr* PythonQtWrapper_QDomAttr::new_QDomAttr(const QDomAttr& x) +{ +return new QDomAttr(x); } + +QString PythonQtWrapper_QDomAttr::name(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDomElement PythonQtWrapper_QDomAttr::ownerElement(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->ownerElement()); +} + +void PythonQtWrapper_QDomAttr::setValue(QDomAttr* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setValue(arg__1)); +} + +bool PythonQtWrapper_QDomAttr::specified(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->specified()); +} + +QString PythonQtWrapper_QDomAttr::value(QDomAttr* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QDomCDATASection* PythonQtWrapper_QDomCDATASection::new_QDomCDATASection() +{ +return new QDomCDATASection(); } + +QDomCDATASection* PythonQtWrapper_QDomCDATASection::new_QDomCDATASection(const QDomCDATASection& x) +{ +return new QDomCDATASection(x); } + + + +QDomCharacterData* PythonQtWrapper_QDomCharacterData::new_QDomCharacterData() +{ +return new QDomCharacterData(); } + +QDomCharacterData* PythonQtWrapper_QDomCharacterData::new_QDomCharacterData(const QDomCharacterData& x) +{ +return new QDomCharacterData(x); } + +void PythonQtWrapper_QDomCharacterData::appendData(QDomCharacterData* theWrappedObject, const QString& arg) +{ + ( theWrappedObject->appendData(arg)); +} + +QString PythonQtWrapper_QDomCharacterData::data(QDomCharacterData* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +void PythonQtWrapper_QDomCharacterData::deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count) +{ + ( theWrappedObject->deleteData(offset, count)); +} + +void PythonQtWrapper_QDomCharacterData::insertData(QDomCharacterData* theWrappedObject, unsigned long offset, const QString& arg) +{ + ( theWrappedObject->insertData(offset, arg)); +} + +int PythonQtWrapper_QDomCharacterData::length(QDomCharacterData* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +void PythonQtWrapper_QDomCharacterData::replaceData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count, const QString& arg) +{ + ( theWrappedObject->replaceData(offset, count, arg)); +} + +void PythonQtWrapper_QDomCharacterData::setData(QDomCharacterData* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setData(arg__1)); +} + +QString PythonQtWrapper_QDomCharacterData::substringData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count) +{ + return ( theWrappedObject->substringData(offset, count)); +} + + + +QDomComment* PythonQtWrapper_QDomComment::new_QDomComment() +{ +return new QDomComment(); } + +QDomComment* PythonQtWrapper_QDomComment::new_QDomComment(const QDomComment& x) +{ +return new QDomComment(x); } + + + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument() +{ +return new QDomDocument(); } + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QDomDocument& x) +{ +return new QDomDocument(x); } + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QDomDocumentType& doctype) +{ +return new QDomDocument(doctype); } + +QDomDocument* PythonQtWrapper_QDomDocument::new_QDomDocument(const QString& name) +{ +return new QDomDocument(name); } + +QDomAttr PythonQtWrapper_QDomDocument::createAttribute(QDomDocument* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->createAttribute(name)); +} + +QDomAttr PythonQtWrapper_QDomDocument::createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName) +{ + return ( theWrappedObject->createAttributeNS(nsURI, qName)); +} + +QDomCDATASection PythonQtWrapper_QDomDocument::createCDATASection(QDomDocument* theWrappedObject, const QString& data) +{ + return ( theWrappedObject->createCDATASection(data)); +} + +QDomComment PythonQtWrapper_QDomDocument::createComment(QDomDocument* theWrappedObject, const QString& data) +{ + return ( theWrappedObject->createComment(data)); +} + +QDomDocumentFragment PythonQtWrapper_QDomDocument::createDocumentFragment(QDomDocument* theWrappedObject) +{ + return ( theWrappedObject->createDocumentFragment()); +} + +QDomElement PythonQtWrapper_QDomDocument::createElement(QDomDocument* theWrappedObject, const QString& tagName) +{ + return ( theWrappedObject->createElement(tagName)); +} + +QDomElement PythonQtWrapper_QDomDocument::createElementNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName) +{ + return ( theWrappedObject->createElementNS(nsURI, qName)); +} + +QDomEntityReference PythonQtWrapper_QDomDocument::createEntityReference(QDomDocument* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->createEntityReference(name)); +} + +QDomProcessingInstruction PythonQtWrapper_QDomDocument::createProcessingInstruction(QDomDocument* theWrappedObject, const QString& target, const QString& data) +{ + return ( theWrappedObject->createProcessingInstruction(target, data)); +} + +QDomText PythonQtWrapper_QDomDocument::createTextNode(QDomDocument* theWrappedObject, const QString& data) +{ + return ( theWrappedObject->createTextNode(data)); +} + +QDomDocumentType PythonQtWrapper_QDomDocument::doctype(QDomDocument* theWrappedObject) const +{ + return ( theWrappedObject->doctype()); +} + +QDomElement PythonQtWrapper_QDomDocument::documentElement(QDomDocument* theWrappedObject) const +{ + return ( theWrappedObject->documentElement()); +} + +QDomElement PythonQtWrapper_QDomDocument::elementById(QDomDocument* theWrappedObject, const QString& elementId) +{ + return ( theWrappedObject->elementById(elementId)); +} + +QDomNodeList PythonQtWrapper_QDomDocument::elementsByTagName(QDomDocument* theWrappedObject, const QString& tagname) const +{ + return ( theWrappedObject->elementsByTagName(tagname)); +} + +QDomNodeList PythonQtWrapper_QDomDocument::elementsByTagNameNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& localName) +{ + return ( theWrappedObject->elementsByTagNameNS(nsURI, localName)); +} + +QDomImplementation PythonQtWrapper_QDomDocument::implementation(QDomDocument* theWrappedObject) const +{ + return ( theWrappedObject->implementation()); +} + +QDomNode PythonQtWrapper_QDomDocument::importNode(QDomDocument* theWrappedObject, const QDomNode& importedNode, bool deep) +{ + return ( theWrappedObject->importNode(importedNode, deep)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QIODevice* dev, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(dev, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QIODevice* dev, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(dev, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, QXmlReader* reader, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(source, reader, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(source, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, QXmlStreamReader* reader, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(reader, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QByteArray& text, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QByteArray& text, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QString& text, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, errorMsg, errorLine, errorColumn)); +} + +bool PythonQtWrapper_QDomDocument::setContent(QDomDocument* theWrappedObject, const QString& text, bool namespaceProcessing, QString* errorMsg, int* errorLine, int* errorColumn) +{ + return ( theWrappedObject->setContent(text, namespaceProcessing, errorMsg, errorLine, errorColumn)); +} + +QByteArray PythonQtWrapper_QDomDocument::toByteArray(QDomDocument* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->toByteArray(arg__1)); +} + +QString PythonQtWrapper_QDomDocument::toString(QDomDocument* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->toString(arg__1)); +} + +QString PythonQtWrapper_QDomDocument::py_toString(QDomDocument* obj) { return obj->toString(); } + + +QDomDocumentFragment* PythonQtWrapper_QDomDocumentFragment::new_QDomDocumentFragment() +{ +return new QDomDocumentFragment(); } + +QDomDocumentFragment* PythonQtWrapper_QDomDocumentFragment::new_QDomDocumentFragment(const QDomDocumentFragment& x) +{ +return new QDomDocumentFragment(x); } + + + +QDomDocumentType* PythonQtWrapper_QDomDocumentType::new_QDomDocumentType() +{ +return new QDomDocumentType(); } + +QDomDocumentType* PythonQtWrapper_QDomDocumentType::new_QDomDocumentType(const QDomDocumentType& x) +{ +return new QDomDocumentType(x); } + +QDomNamedNodeMap PythonQtWrapper_QDomDocumentType::entities(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->entities()); +} + +QString PythonQtWrapper_QDomDocumentType::internalSubset(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->internalSubset()); +} + +QString PythonQtWrapper_QDomDocumentType::name(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDomNamedNodeMap PythonQtWrapper_QDomDocumentType::notations(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->notations()); +} + +QString PythonQtWrapper_QDomDocumentType::publicId(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QDomDocumentType::systemId(QDomDocumentType* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QDomElement* PythonQtWrapper_QDomElement::new_QDomElement() +{ +return new QDomElement(); } + +QDomElement* PythonQtWrapper_QDomElement::new_QDomElement(const QDomElement& x) +{ +return new QDomElement(x); } + +QString PythonQtWrapper_QDomElement::attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue) const +{ + return ( theWrappedObject->attribute(name, defValue)); +} + +QString PythonQtWrapper_QDomElement::attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue) const +{ + return ( theWrappedObject->attributeNS(nsURI, localName, defValue)); +} + +QDomAttr PythonQtWrapper_QDomElement::attributeNode(QDomElement* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->attributeNode(name)); +} + +QDomAttr PythonQtWrapper_QDomElement::attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) +{ + return ( theWrappedObject->attributeNodeNS(nsURI, localName)); +} + +QDomNamedNodeMap PythonQtWrapper_QDomElement::attributes(QDomElement* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +QDomNodeList PythonQtWrapper_QDomElement::elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const +{ + return ( theWrappedObject->elementsByTagName(tagname)); +} + +QDomNodeList PythonQtWrapper_QDomElement::elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const +{ + return ( theWrappedObject->elementsByTagNameNS(nsURI, localName)); +} + +bool PythonQtWrapper_QDomElement::hasAttribute(QDomElement* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasAttribute(name)); +} + +bool PythonQtWrapper_QDomElement::hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const +{ + return ( theWrappedObject->hasAttributeNS(nsURI, localName)); +} + +void PythonQtWrapper_QDomElement::removeAttribute(QDomElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->removeAttribute(name)); +} + +void PythonQtWrapper_QDomElement::removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) +{ + ( theWrappedObject->removeAttributeNS(nsURI, localName)); +} + +QDomAttr PythonQtWrapper_QDomElement::removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr) +{ + return ( theWrappedObject->removeAttributeNode(oldAttr)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, double value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, float value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, int value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +void PythonQtWrapper_QDomElement::setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value) +{ + ( theWrappedObject->setAttributeNS(nsURI, qName, value)); +} + +QDomAttr PythonQtWrapper_QDomElement::setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr) +{ + return ( theWrappedObject->setAttributeNode(newAttr)); +} + +QDomAttr PythonQtWrapper_QDomElement::setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr) +{ + return ( theWrappedObject->setAttributeNodeNS(newAttr)); +} + +void PythonQtWrapper_QDomElement::setTagName(QDomElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setTagName(name)); +} + +QString PythonQtWrapper_QDomElement::tagName(QDomElement* theWrappedObject) const +{ + return ( theWrappedObject->tagName()); +} + +QString PythonQtWrapper_QDomElement::text(QDomElement* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +QDomEntity* PythonQtWrapper_QDomEntity::new_QDomEntity() +{ +return new QDomEntity(); } + +QDomEntity* PythonQtWrapper_QDomEntity::new_QDomEntity(const QDomEntity& x) +{ +return new QDomEntity(x); } + +QString PythonQtWrapper_QDomEntity::notationName(QDomEntity* theWrappedObject) const +{ + return ( theWrappedObject->notationName()); +} + +QString PythonQtWrapper_QDomEntity::publicId(QDomEntity* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QDomEntity::systemId(QDomEntity* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QDomEntityReference* PythonQtWrapper_QDomEntityReference::new_QDomEntityReference() +{ +return new QDomEntityReference(); } + +QDomEntityReference* PythonQtWrapper_QDomEntityReference::new_QDomEntityReference(const QDomEntityReference& x) +{ +return new QDomEntityReference(x); } + + + +QDomImplementation* PythonQtWrapper_QDomImplementation::new_QDomImplementation() +{ +return new QDomImplementation(); } + +QDomImplementation* PythonQtWrapper_QDomImplementation::new_QDomImplementation(const QDomImplementation& arg__1) +{ +return new QDomImplementation(arg__1); } + +QDomDocument PythonQtWrapper_QDomImplementation::createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype) +{ + return ( theWrappedObject->createDocument(nsURI, qName, doctype)); +} + +QDomDocumentType PythonQtWrapper_QDomImplementation::createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId) +{ + return ( theWrappedObject->createDocumentType(qName, publicId, systemId)); +} + +bool PythonQtWrapper_QDomImplementation::hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const +{ + return ( theWrappedObject->hasFeature(feature, version)); +} + +QDomImplementation::InvalidDataPolicy PythonQtWrapper_QDomImplementation::static_QDomImplementation_invalidDataPolicy() +{ + return (QDomImplementation::invalidDataPolicy()); +} + +bool PythonQtWrapper_QDomImplementation::isNull(QDomImplementation* theWrappedObject) +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDomImplementation::__ne__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QDomImplementation::__eq__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QDomImplementation::static_QDomImplementation_setInvalidDataPolicy(QDomImplementation::InvalidDataPolicy policy) +{ + (QDomImplementation::setInvalidDataPolicy(policy)); +} + + + +QDomNamedNodeMap* PythonQtWrapper_QDomNamedNodeMap::new_QDomNamedNodeMap() +{ +return new QDomNamedNodeMap(); } + +QDomNamedNodeMap* PythonQtWrapper_QDomNamedNodeMap::new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1) +{ +return new QDomNamedNodeMap(arg__1); } + +bool PythonQtWrapper_QDomNamedNodeMap::contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->contains(name)); +} + +int PythonQtWrapper_QDomNamedNodeMap::count(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QDomNamedNodeMap::isEmpty(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::item(QDomNamedNodeMap* theWrappedObject, int index) const +{ + return ( theWrappedObject->item(index)); +} + +int PythonQtWrapper_QDomNamedNodeMap::length(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::namedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->namedItem(name)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::namedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) const +{ + return ( theWrappedObject->namedItemNS(nsURI, localName)); +} + +bool PythonQtWrapper_QDomNamedNodeMap::__ne__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QDomNamedNodeMap::__eq__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::removeNamedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->removeNamedItem(name)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::removeNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) +{ + return ( theWrappedObject->removeNamedItemNS(nsURI, localName)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::setNamedItem(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode) +{ + return ( theWrappedObject->setNamedItem(newNode)); +} + +QDomNode PythonQtWrapper_QDomNamedNodeMap::setNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode) +{ + return ( theWrappedObject->setNamedItemNS(newNode)); +} + +int PythonQtWrapper_QDomNamedNodeMap::size(QDomNamedNodeMap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +QDomNode* PythonQtWrapper_QDomNode::new_QDomNode() +{ +return new QDomNode(); } + +QDomNode* PythonQtWrapper_QDomNode::new_QDomNode(const QDomNode& arg__1) +{ +return new QDomNode(arg__1); } + +QDomNode PythonQtWrapper_QDomNode::appendChild(QDomNode* theWrappedObject, const QDomNode& newChild) +{ + return ( theWrappedObject->appendChild(newChild)); +} + +QDomNodeList PythonQtWrapper_QDomNode::childNodes(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->childNodes()); +} + +void PythonQtWrapper_QDomNode::clear(QDomNode* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QDomNode PythonQtWrapper_QDomNode::cloneNode(QDomNode* theWrappedObject, bool deep) const +{ + return ( theWrappedObject->cloneNode(deep)); +} + +int PythonQtWrapper_QDomNode::columnNumber(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QDomNode PythonQtWrapper_QDomNode::firstChild(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->firstChild()); +} + +QDomElement PythonQtWrapper_QDomNode::firstChildElement(QDomNode* theWrappedObject, const QString& tagName) const +{ + return ( theWrappedObject->firstChildElement(tagName)); +} + +bool PythonQtWrapper_QDomNode::hasAttributes(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->hasAttributes()); +} + +bool PythonQtWrapper_QDomNode::hasChildNodes(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->hasChildNodes()); +} + +QDomNode PythonQtWrapper_QDomNode::insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild) +{ + return ( theWrappedObject->insertAfter(newChild, refChild)); +} + +QDomNode PythonQtWrapper_QDomNode::insertBefore(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild) +{ + return ( theWrappedObject->insertBefore(newChild, refChild)); +} + +bool PythonQtWrapper_QDomNode::isAttr(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isAttr()); +} + +bool PythonQtWrapper_QDomNode::isCDATASection(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isCDATASection()); +} + +bool PythonQtWrapper_QDomNode::isCharacterData(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isCharacterData()); +} + +bool PythonQtWrapper_QDomNode::isComment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isComment()); +} + +bool PythonQtWrapper_QDomNode::isDocument(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isDocument()); +} + +bool PythonQtWrapper_QDomNode::isDocumentFragment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isDocumentFragment()); +} + +bool PythonQtWrapper_QDomNode::isDocumentType(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isDocumentType()); +} + +bool PythonQtWrapper_QDomNode::isElement(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isElement()); +} + +bool PythonQtWrapper_QDomNode::isEntity(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isEntity()); +} + +bool PythonQtWrapper_QDomNode::isEntityReference(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isEntityReference()); +} + +bool PythonQtWrapper_QDomNode::isNotation(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isNotation()); +} + +bool PythonQtWrapper_QDomNode::isNull(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDomNode::isProcessingInstruction(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isProcessingInstruction()); +} + +bool PythonQtWrapper_QDomNode::isSupported(QDomNode* theWrappedObject, const QString& feature, const QString& version) const +{ + return ( theWrappedObject->isSupported(feature, version)); +} + +bool PythonQtWrapper_QDomNode::isText(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->isText()); +} + +QDomNode PythonQtWrapper_QDomNode::lastChild(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->lastChild()); +} + +QDomElement PythonQtWrapper_QDomNode::lastChildElement(QDomNode* theWrappedObject, const QString& tagName) const +{ + return ( theWrappedObject->lastChildElement(tagName)); +} + +int PythonQtWrapper_QDomNode::lineNumber(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QString PythonQtWrapper_QDomNode::localName(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->localName()); +} + +QDomNode PythonQtWrapper_QDomNode::namedItem(QDomNode* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->namedItem(name)); +} + +QString PythonQtWrapper_QDomNode::namespaceURI(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->namespaceURI()); +} + +QDomNode PythonQtWrapper_QDomNode::nextSibling(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nextSibling()); +} + +QDomElement PythonQtWrapper_QDomNode::nextSiblingElement(QDomNode* theWrappedObject, const QString& taName) const +{ + return ( theWrappedObject->nextSiblingElement(taName)); +} + +QString PythonQtWrapper_QDomNode::nodeName(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nodeName()); +} + +QDomNode::NodeType PythonQtWrapper_QDomNode::nodeType(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nodeType()); +} + +QString PythonQtWrapper_QDomNode::nodeValue(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->nodeValue()); +} + +void PythonQtWrapper_QDomNode::normalize(QDomNode* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +bool PythonQtWrapper_QDomNode::__ne__(QDomNode* theWrappedObject, const QDomNode& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +void PythonQtWrapper_QDomNode::writeTo(QDomNode* theWrappedObject, QTextStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QDomNode::__eq__(QDomNode* theWrappedObject, const QDomNode& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QDomDocument PythonQtWrapper_QDomNode::ownerDocument(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->ownerDocument()); +} + +QDomNode PythonQtWrapper_QDomNode::parentNode(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->parentNode()); +} + +QString PythonQtWrapper_QDomNode::prefix(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +QDomNode PythonQtWrapper_QDomNode::previousSibling(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->previousSibling()); +} + +QDomElement PythonQtWrapper_QDomNode::previousSiblingElement(QDomNode* theWrappedObject, const QString& tagName) const +{ + return ( theWrappedObject->previousSiblingElement(tagName)); +} + +QDomNode PythonQtWrapper_QDomNode::removeChild(QDomNode* theWrappedObject, const QDomNode& oldChild) +{ + return ( theWrappedObject->removeChild(oldChild)); +} + +QDomNode PythonQtWrapper_QDomNode::replaceChild(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& oldChild) +{ + return ( theWrappedObject->replaceChild(newChild, oldChild)); +} + +void PythonQtWrapper_QDomNode::save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3) const +{ + ( theWrappedObject->save(arg__1, arg__2, arg__3)); +} + +void PythonQtWrapper_QDomNode::setNodeValue(QDomNode* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setNodeValue(arg__1)); +} + +void PythonQtWrapper_QDomNode::setPrefix(QDomNode* theWrappedObject, const QString& pre) +{ + ( theWrappedObject->setPrefix(pre)); +} + +QDomAttr PythonQtWrapper_QDomNode::toAttr(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toAttr()); +} + +QDomCDATASection PythonQtWrapper_QDomNode::toCDATASection(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toCDATASection()); +} + +QDomCharacterData PythonQtWrapper_QDomNode::toCharacterData(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toCharacterData()); +} + +QDomComment PythonQtWrapper_QDomNode::toComment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toComment()); +} + +QDomDocument PythonQtWrapper_QDomNode::toDocument(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toDocument()); +} + +QDomDocumentFragment PythonQtWrapper_QDomNode::toDocumentFragment(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toDocumentFragment()); +} + +QDomDocumentType PythonQtWrapper_QDomNode::toDocumentType(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toDocumentType()); +} + +QDomElement PythonQtWrapper_QDomNode::toElement(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toElement()); +} + +QDomEntity PythonQtWrapper_QDomNode::toEntity(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toEntity()); +} + +QDomEntityReference PythonQtWrapper_QDomNode::toEntityReference(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toEntityReference()); +} + +QDomNotation PythonQtWrapper_QDomNode::toNotation(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toNotation()); +} + +QDomProcessingInstruction PythonQtWrapper_QDomNode::toProcessingInstruction(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toProcessingInstruction()); +} + +QDomText PythonQtWrapper_QDomNode::toText(QDomNode* theWrappedObject) const +{ + return ( theWrappedObject->toText()); +} + + + +QDomNodeList* PythonQtWrapper_QDomNodeList::new_QDomNodeList() +{ +return new QDomNodeList(); } + +QDomNodeList* PythonQtWrapper_QDomNodeList::new_QDomNodeList(const QDomNodeList& arg__1) +{ +return new QDomNodeList(arg__1); } + +QDomNode PythonQtWrapper_QDomNodeList::at(QDomNodeList* theWrappedObject, int index) const +{ + return ( theWrappedObject->at(index)); +} + +int PythonQtWrapper_QDomNodeList::count(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QDomNodeList::isEmpty(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QDomNode PythonQtWrapper_QDomNodeList::item(QDomNodeList* theWrappedObject, int index) const +{ + return ( theWrappedObject->item(index)); +} + +int PythonQtWrapper_QDomNodeList::length(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QDomNodeList::__ne__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QDomNodeList::__eq__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +int PythonQtWrapper_QDomNodeList::size(QDomNodeList* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +QDomNotation* PythonQtWrapper_QDomNotation::new_QDomNotation() +{ +return new QDomNotation(); } + +QDomNotation* PythonQtWrapper_QDomNotation::new_QDomNotation(const QDomNotation& x) +{ +return new QDomNotation(x); } + +QString PythonQtWrapper_QDomNotation::publicId(QDomNotation* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QDomNotation::systemId(QDomNotation* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QDomProcessingInstruction* PythonQtWrapper_QDomProcessingInstruction::new_QDomProcessingInstruction() +{ +return new QDomProcessingInstruction(); } + +QDomProcessingInstruction* PythonQtWrapper_QDomProcessingInstruction::new_QDomProcessingInstruction(const QDomProcessingInstruction& x) +{ +return new QDomProcessingInstruction(x); } + +QString PythonQtWrapper_QDomProcessingInstruction::data(QDomProcessingInstruction* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +void PythonQtWrapper_QDomProcessingInstruction::setData(QDomProcessingInstruction* theWrappedObject, const QString& d) +{ + ( theWrappedObject->setData(d)); +} + +QString PythonQtWrapper_QDomProcessingInstruction::target(QDomProcessingInstruction* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + + + +QDomText* PythonQtWrapper_QDomText::new_QDomText() +{ +return new QDomText(); } + +QDomText* PythonQtWrapper_QDomText::new_QDomText(const QDomText& x) +{ +return new QDomText(x); } + +QDomText PythonQtWrapper_QDomText::splitText(QDomText* theWrappedObject, int offset) +{ + return ( theWrappedObject->splitText(offset)); +} + + + +PythonQtShell_QXmlAttributes::~PythonQtShell_QXmlAttributes() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QXmlAttributes* PythonQtWrapper_QXmlAttributes::new_QXmlAttributes() +{ +return new PythonQtShell_QXmlAttributes(); } + +QXmlAttributes* PythonQtWrapper_QXmlAttributes::new_QXmlAttributes(const QXmlAttributes& arg__1) +{ +return new PythonQtShell_QXmlAttributes(arg__1); } + +void PythonQtWrapper_QXmlAttributes::append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value) +{ + ( theWrappedObject->append(qName, uri, localPart, value)); +} + +void PythonQtWrapper_QXmlAttributes::clear(QXmlAttributes* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QXmlAttributes::count(QXmlAttributes* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& qName) const +{ + return ( theWrappedObject->index(qName)); +} + +int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const +{ + return ( theWrappedObject->index(uri, localPart)); +} + +int PythonQtWrapper_QXmlAttributes::length(QXmlAttributes* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QString PythonQtWrapper_QXmlAttributes::localName(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->localName(index)); +} + +QXmlAttributes* PythonQtWrapper_QXmlAttributes::operator_assign(QXmlAttributes* theWrappedObject, const QXmlAttributes& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +QString PythonQtWrapper_QXmlAttributes::qName(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->qName(index)); +} + +void PythonQtWrapper_QXmlAttributes::swap(QXmlAttributes* theWrappedObject, QXmlAttributes& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& qName) const +{ + return ( theWrappedObject->type(qName)); +} + +QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const +{ + return ( theWrappedObject->type(uri, localName)); +} + +QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->type(index)); +} + +QString PythonQtWrapper_QXmlAttributes::uri(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->uri(index)); +} + +QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& qName) const +{ + return ( theWrappedObject->value(qName)); +} + +QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const +{ + return ( theWrappedObject->value(uri, localName)); +} + +QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->value(index)); +} + + + +PythonQtShell_QXmlContentHandler::~PythonQtShell_QXmlContentHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QXmlContentHandler::characters(const QString& ch0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::endPrefixMapping(const QString& prefix0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endPrefixMapping"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QString PythonQtShell_QXmlContentHandler::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QXmlContentHandler::ignorableWhitespace(const QString& ch0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ignorableWhitespace"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::processingInstruction(const QString& target0, const QString& data1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QXmlContentHandler::setDocumentLocator(QXmlLocator* locator0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDocumentLocator"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlLocator*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&locator0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +bool PythonQtShell_QXmlContentHandler::skippedEntity(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("skippedEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlContentHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startPrefixMapping"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QXmlContentHandler* PythonQtWrapper_QXmlContentHandler::new_QXmlContentHandler() +{ +return new PythonQtShell_QXmlContentHandler(); } + +bool PythonQtWrapper_QXmlContentHandler::characters(QXmlContentHandler* theWrappedObject, const QString& ch) +{ + return ( theWrappedObject->characters(ch)); +} + +bool PythonQtWrapper_QXmlContentHandler::endDocument(QXmlContentHandler* theWrappedObject) +{ + return ( theWrappedObject->endDocument()); +} + +bool PythonQtWrapper_QXmlContentHandler::endElement(QXmlContentHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName) +{ + return ( theWrappedObject->endElement(namespaceURI, localName, qName)); +} + +bool PythonQtWrapper_QXmlContentHandler::endPrefixMapping(QXmlContentHandler* theWrappedObject, const QString& prefix) +{ + return ( theWrappedObject->endPrefixMapping(prefix)); +} + +QString PythonQtWrapper_QXmlContentHandler::errorString(QXmlContentHandler* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlContentHandler::ignorableWhitespace(QXmlContentHandler* theWrappedObject, const QString& ch) +{ + return ( theWrappedObject->ignorableWhitespace(ch)); +} + +bool PythonQtWrapper_QXmlContentHandler::processingInstruction(QXmlContentHandler* theWrappedObject, const QString& target, const QString& data) +{ + return ( theWrappedObject->processingInstruction(target, data)); +} + +void PythonQtWrapper_QXmlContentHandler::setDocumentLocator(QXmlContentHandler* theWrappedObject, QXmlLocator* locator) +{ + ( theWrappedObject->setDocumentLocator(locator)); +} + +bool PythonQtWrapper_QXmlContentHandler::skippedEntity(QXmlContentHandler* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->skippedEntity(name)); +} + +bool PythonQtWrapper_QXmlContentHandler::startDocument(QXmlContentHandler* theWrappedObject) +{ + return ( theWrappedObject->startDocument()); +} + +bool PythonQtWrapper_QXmlContentHandler::startElement(QXmlContentHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) +{ + return ( theWrappedObject->startElement(namespaceURI, localName, qName, atts)); +} + +bool PythonQtWrapper_QXmlContentHandler::startPrefixMapping(QXmlContentHandler* theWrappedObject, const QString& prefix, const QString& uri) +{ + return ( theWrappedObject->startPrefixMapping(prefix, uri)); +} + + + +PythonQtShell_QXmlDTDHandler::~PythonQtShell_QXmlDTDHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QString PythonQtShell_QXmlDTDHandler::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QXmlDTDHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("notationDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlDTDHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unparsedEntityDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QXmlDTDHandler* PythonQtWrapper_QXmlDTDHandler::new_QXmlDTDHandler() +{ +return new PythonQtShell_QXmlDTDHandler(); } + +QString PythonQtWrapper_QXmlDTDHandler::errorString(QXmlDTDHandler* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlDTDHandler::notationDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) +{ + return ( theWrappedObject->notationDecl(name, publicId, systemId)); +} + +bool PythonQtWrapper_QXmlDTDHandler::unparsedEntityDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) +{ + return ( theWrappedObject->unparsedEntityDecl(name, publicId, systemId, notationName)); +} + + + +PythonQtShell_QXmlDeclHandler::~PythonQtShell_QXmlDeclHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QXmlDeclHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("attributeDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QString PythonQtShell_QXmlDeclHandler::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QXmlDeclHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("externalEntityDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlDeclHandler::internalEntityDecl(const QString& name0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("internalEntityDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QXmlDeclHandler* PythonQtWrapper_QXmlDeclHandler::new_QXmlDeclHandler() +{ +return new PythonQtShell_QXmlDeclHandler(); } + +bool PythonQtWrapper_QXmlDeclHandler::attributeDecl(QXmlDeclHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) +{ + return ( theWrappedObject->attributeDecl(eName, aName, type, valueDefault, value)); +} + +QString PythonQtWrapper_QXmlDeclHandler::errorString(QXmlDeclHandler* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlDeclHandler::externalEntityDecl(QXmlDeclHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) +{ + return ( theWrappedObject->externalEntityDecl(name, publicId, systemId)); +} + +bool PythonQtWrapper_QXmlDeclHandler::internalEntityDecl(QXmlDeclHandler* theWrappedObject, const QString& name, const QString& value) +{ + return ( theWrappedObject->internalEntityDecl(name, value)); +} + + + +PythonQtShell_QXmlDefaultHandler::~PythonQtShell_QXmlDefaultHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QXmlDefaultHandler::attributeDecl(const QString& eName0, const QString& aName1, const QString& type2, const QString& valueDefault3, const QString& value4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("attributeDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::attributeDecl(eName0, aName1, type2, valueDefault3, value4); +} +bool PythonQtShell_QXmlDefaultHandler::characters(const QString& ch0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::characters(ch0); +} +bool PythonQtShell_QXmlDefaultHandler::comment(const QString& ch0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::comment(ch0); +} +bool PythonQtShell_QXmlDefaultHandler::endCDATA() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endCDATA"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::endCDATA(); +} +bool PythonQtShell_QXmlDefaultHandler::endDTD() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endDTD"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::endDTD(); +} +bool PythonQtShell_QXmlDefaultHandler::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::endDocument(); +} +bool PythonQtShell_QXmlDefaultHandler::endElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::endElement(namespaceURI0, localName1, qName2); +} +bool PythonQtShell_QXmlDefaultHandler::endEntity(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::endEntity(name0); +} +bool PythonQtShell_QXmlDefaultHandler::endPrefixMapping(const QString& prefix0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endPrefixMapping"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::endPrefixMapping(prefix0); +} +bool PythonQtShell_QXmlDefaultHandler::error(const QXmlParseException& exception0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("error"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::error(exception0); +} +QString PythonQtShell_QXmlDefaultHandler::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::errorString(); +} +bool PythonQtShell_QXmlDefaultHandler::externalEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("externalEntityDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::externalEntityDecl(name0, publicId1, systemId2); +} +bool PythonQtShell_QXmlDefaultHandler::fatalError(const QXmlParseException& exception0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fatalError"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::fatalError(exception0); +} +bool PythonQtShell_QXmlDefaultHandler::ignorableWhitespace(const QString& ch0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ignorableWhitespace"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::ignorableWhitespace(ch0); +} +bool PythonQtShell_QXmlDefaultHandler::internalEntityDecl(const QString& name0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("internalEntityDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::internalEntityDecl(name0, value1); +} +bool PythonQtShell_QXmlDefaultHandler::notationDecl(const QString& name0, const QString& publicId1, const QString& systemId2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("notationDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::notationDecl(name0, publicId1, systemId2); +} +bool PythonQtShell_QXmlDefaultHandler::processingInstruction(const QString& target0, const QString& data1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::processingInstruction(target0, data1); +} +bool PythonQtShell_QXmlDefaultHandler::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resolveEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::resolveEntity(publicId0, systemId1, ret2); +} +void PythonQtShell_QXmlDefaultHandler::setDocumentLocator(QXmlLocator* locator0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDocumentLocator"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlLocator*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&locator0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlDefaultHandler::setDocumentLocator(locator0); +} +bool PythonQtShell_QXmlDefaultHandler::skippedEntity(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("skippedEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::skippedEntity(name0); +} +bool PythonQtShell_QXmlDefaultHandler::startCDATA() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startCDATA"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::startCDATA(); +} +bool PythonQtShell_QXmlDefaultHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDTD"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::startDTD(name0, publicId1, systemId2); +} +bool PythonQtShell_QXmlDefaultHandler::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::startDocument(); +} +bool PythonQtShell_QXmlDefaultHandler::startElement(const QString& namespaceURI0, const QString& localName1, const QString& qName2, const QXmlAttributes& atts3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::startElement(namespaceURI0, localName1, qName2, atts3); +} +bool PythonQtShell_QXmlDefaultHandler::startEntity(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::startEntity(name0); +} +bool PythonQtShell_QXmlDefaultHandler::startPrefixMapping(const QString& prefix0, const QString& uri1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startPrefixMapping"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::startPrefixMapping(prefix0, uri1); +} +bool PythonQtShell_QXmlDefaultHandler::unparsedEntityDecl(const QString& name0, const QString& publicId1, const QString& systemId2, const QString& notationName3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unparsedEntityDecl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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{}; + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::unparsedEntityDecl(name0, publicId1, systemId2, notationName3); +} +bool PythonQtShell_QXmlDefaultHandler::warning(const QXmlParseException& exception0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("warning"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlDefaultHandler::warning(exception0); +} +QXmlDefaultHandler* PythonQtWrapper_QXmlDefaultHandler::new_QXmlDefaultHandler() +{ +return new PythonQtShell_QXmlDefaultHandler(); } + + + +PythonQtShell_QXmlEntityResolver::~PythonQtShell_QXmlEntityResolver() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QString PythonQtShell_QXmlEntityResolver::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QXmlEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1, QXmlInputSource*& ret2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resolveEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QXmlEntityResolver* PythonQtWrapper_QXmlEntityResolver::new_QXmlEntityResolver() +{ +return new PythonQtShell_QXmlEntityResolver(); } + +QString PythonQtWrapper_QXmlEntityResolver::errorString(QXmlEntityResolver* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlEntityResolver::resolveEntity(QXmlEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret) +{ + return ( theWrappedObject->resolveEntity(publicId, systemId, ret)); +} + + + +PythonQtShell_QXmlErrorHandler::~PythonQtShell_QXmlErrorHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QXmlErrorHandler::error(const QXmlParseException& exception0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("error"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QString PythonQtShell_QXmlErrorHandler::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QXmlErrorHandler::fatalError(const QXmlParseException& exception0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fatalError"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlErrorHandler::warning(const QXmlParseException& exception0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("warning"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QXmlErrorHandler* PythonQtWrapper_QXmlErrorHandler::new_QXmlErrorHandler() +{ +return new PythonQtShell_QXmlErrorHandler(); } + +bool PythonQtWrapper_QXmlErrorHandler::error(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception) +{ + return ( theWrappedObject->error(exception)); +} + +QString PythonQtWrapper_QXmlErrorHandler::errorString(QXmlErrorHandler* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlErrorHandler::fatalError(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception) +{ + return ( theWrappedObject->fatalError(exception)); +} + +bool PythonQtWrapper_QXmlErrorHandler::warning(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception) +{ + return ( theWrappedObject->warning(exception)); +} + + + +PythonQtShell_QXmlInputSource::~PythonQtShell_QXmlInputSource() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QString PythonQtShell_QXmlInputSource::data() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlInputSource::data(); +} +void PythonQtShell_QXmlInputSource::fetchData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchData"); + 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(); + } + } +} + QXmlInputSource::fetchData(); +} +QString PythonQtShell_QXmlInputSource::fromRawData(const QByteArray& data0, bool beginning1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fromRawData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QByteArray&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fromRawData", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlInputSource::fromRawData(data0, beginning1); +} +QChar PythonQtShell_QXmlInputSource::next() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("next"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QChar"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("next", methodInfo, result); + } else { + returnValue = *((QChar*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlInputSource::next(); +} +void PythonQtShell_QXmlInputSource::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + 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(); + } + } +} + QXmlInputSource::reset(); +} +void PythonQtShell_QXmlInputSource::setData(const QByteArray& dat0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&dat0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlInputSource::setData(dat0); +} +void PythonQtShell_QXmlInputSource::setData(const QString& dat0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&dat0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlInputSource::setData(dat0); +} +QXmlInputSource* PythonQtWrapper_QXmlInputSource::new_QXmlInputSource() +{ +return new PythonQtShell_QXmlInputSource(); } + +QXmlInputSource* PythonQtWrapper_QXmlInputSource::new_QXmlInputSource(QIODevice* dev) +{ +return new PythonQtShell_QXmlInputSource(dev); } + +QString PythonQtWrapper_QXmlInputSource::data(QXmlInputSource* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +void PythonQtWrapper_QXmlInputSource::fetchData(QXmlInputSource* theWrappedObject) +{ + ( theWrappedObject->fetchData()); +} + +QString PythonQtWrapper_QXmlInputSource::fromRawData(QXmlInputSource* theWrappedObject, const QByteArray& data, bool beginning) +{ + return ( ((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->promoted_fromRawData(data, beginning)); +} + +QChar PythonQtWrapper_QXmlInputSource::next(QXmlInputSource* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + +void PythonQtWrapper_QXmlInputSource::reset(QXmlInputSource* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QXmlInputSource::setData(QXmlInputSource* theWrappedObject, const QByteArray& dat) +{ + ( theWrappedObject->setData(dat)); +} + +void PythonQtWrapper_QXmlInputSource::setData(QXmlInputSource* theWrappedObject, const QString& dat) +{ + ( theWrappedObject->setData(dat)); +} + + + +PythonQtShell_QXmlLexicalHandler::~PythonQtShell_QXmlLexicalHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QXmlLexicalHandler::comment(const QString& ch0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::endCDATA() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endCDATA"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::endDTD() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endDTD"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::endEntity(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QString PythonQtShell_QXmlLexicalHandler::errorString() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorString"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QXmlLexicalHandler::startCDATA() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startCDATA"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::startDTD(const QString& name0, const QString& publicId1, const QString& systemId2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDTD"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlLexicalHandler::startEntity(const QString& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startEntity"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QXmlLexicalHandler* PythonQtWrapper_QXmlLexicalHandler::new_QXmlLexicalHandler() +{ +return new PythonQtShell_QXmlLexicalHandler(); } + +bool PythonQtWrapper_QXmlLexicalHandler::comment(QXmlLexicalHandler* theWrappedObject, const QString& ch) +{ + return ( theWrappedObject->comment(ch)); +} + +bool PythonQtWrapper_QXmlLexicalHandler::endCDATA(QXmlLexicalHandler* theWrappedObject) +{ + return ( theWrappedObject->endCDATA()); +} + +bool PythonQtWrapper_QXmlLexicalHandler::endDTD(QXmlLexicalHandler* theWrappedObject) +{ + return ( theWrappedObject->endDTD()); +} + +bool PythonQtWrapper_QXmlLexicalHandler::endEntity(QXmlLexicalHandler* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->endEntity(name)); +} + +QString PythonQtWrapper_QXmlLexicalHandler::errorString(QXmlLexicalHandler* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlLexicalHandler::startCDATA(QXmlLexicalHandler* theWrappedObject) +{ + return ( theWrappedObject->startCDATA()); +} + +bool PythonQtWrapper_QXmlLexicalHandler::startDTD(QXmlLexicalHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId) +{ + return ( theWrappedObject->startDTD(name, publicId, systemId)); +} + +bool PythonQtWrapper_QXmlLexicalHandler::startEntity(QXmlLexicalHandler* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->startEntity(name)); +} + + + +PythonQtShell_QXmlLocator::~PythonQtShell_QXmlLocator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QXmlLocator::columnNumber() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnNumber"); + 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("columnNumber", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QXmlLocator::lineNumber() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lineNumber"); + 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("lineNumber", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QXmlLocator* PythonQtWrapper_QXmlLocator::new_QXmlLocator() +{ +return new PythonQtShell_QXmlLocator(); } + +int PythonQtWrapper_QXmlLocator::columnNumber(QXmlLocator* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +int PythonQtWrapper_QXmlLocator::lineNumber(QXmlLocator* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + + + +QXmlParseException* PythonQtWrapper_QXmlParseException::new_QXmlParseException(const QString& name, int c, int l, const QString& p, const QString& s) +{ +return new QXmlParseException(name, c, l, p, s); } + +QXmlParseException* PythonQtWrapper_QXmlParseException::new_QXmlParseException(const QXmlParseException& other) +{ +return new QXmlParseException(other); } + +int PythonQtWrapper_QXmlParseException::columnNumber(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +int PythonQtWrapper_QXmlParseException::lineNumber(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QString PythonQtWrapper_QXmlParseException::message(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->message()); +} + +QString PythonQtWrapper_QXmlParseException::publicId(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QString PythonQtWrapper_QXmlParseException::systemId(QXmlParseException* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +PythonQtShell_QXmlReader::~PythonQtShell_QXmlReader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("DTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); + } else { + returnValue = *((QXmlDTDHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); + } else { + returnValue = *((QXmlContentHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("declHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); + } else { + returnValue = *((QXmlDeclHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("entityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); + } else { + returnValue = *((QXmlEntityResolver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); + } else { + returnValue = *((QXmlErrorHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("feature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); + } else { + returnValue = *((QXmlLexicalHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("property"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setContentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDeclHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEntityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setErrorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setLexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QXmlReader* PythonQtWrapper_QXmlReader::new_QXmlReader() +{ +return new PythonQtShell_QXmlReader(); } + +QXmlDTDHandler* PythonQtWrapper_QXmlReader::DTDHandler(QXmlReader* theWrappedObject) const +{ + return ( theWrappedObject->DTDHandler()); +} + +QXmlContentHandler* PythonQtWrapper_QXmlReader::contentHandler(QXmlReader* theWrappedObject) const +{ + return ( theWrappedObject->contentHandler()); +} + +QXmlDeclHandler* PythonQtWrapper_QXmlReader::declHandler(QXmlReader* theWrappedObject) const +{ + return ( theWrappedObject->declHandler()); +} + +QXmlEntityResolver* PythonQtWrapper_QXmlReader::entityResolver(QXmlReader* theWrappedObject) const +{ + return ( theWrappedObject->entityResolver()); +} + +QXmlErrorHandler* PythonQtWrapper_QXmlReader::errorHandler(QXmlReader* theWrappedObject) const +{ + return ( theWrappedObject->errorHandler()); +} + +bool PythonQtWrapper_QXmlReader::feature(QXmlReader* theWrappedObject, const QString& name, bool* ok) const +{ + return ( theWrappedObject->feature(name, ok)); +} + +bool PythonQtWrapper_QXmlReader::hasFeature(QXmlReader* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasFeature(name)); +} + +bool PythonQtWrapper_QXmlReader::hasProperty(QXmlReader* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasProperty(name)); +} + +QXmlLexicalHandler* PythonQtWrapper_QXmlReader::lexicalHandler(QXmlReader* theWrappedObject) const +{ + return ( theWrappedObject->lexicalHandler()); +} + +bool PythonQtWrapper_QXmlReader::parse(QXmlReader* theWrappedObject, const QXmlInputSource& input) +{ + return ( theWrappedObject->parse(input)); +} + +bool PythonQtWrapper_QXmlReader::parse(QXmlReader* theWrappedObject, const QXmlInputSource* input) +{ + return ( theWrappedObject->parse(input)); +} + +void* PythonQtWrapper_QXmlReader::property(QXmlReader* theWrappedObject, const QString& name, bool* ok) const +{ + return ( theWrappedObject->property(name, ok)); +} + +void PythonQtWrapper_QXmlReader::setContentHandler(QXmlReader* theWrappedObject, QXmlContentHandler* handler) +{ + ( theWrappedObject->setContentHandler(handler)); +} + +void PythonQtWrapper_QXmlReader::setDTDHandler(QXmlReader* theWrappedObject, QXmlDTDHandler* handler) +{ + ( theWrappedObject->setDTDHandler(handler)); +} + +void PythonQtWrapper_QXmlReader::setDeclHandler(QXmlReader* theWrappedObject, QXmlDeclHandler* handler) +{ + ( theWrappedObject->setDeclHandler(handler)); +} + +void PythonQtWrapper_QXmlReader::setEntityResolver(QXmlReader* theWrappedObject, QXmlEntityResolver* handler) +{ + ( theWrappedObject->setEntityResolver(handler)); +} + +void PythonQtWrapper_QXmlReader::setErrorHandler(QXmlReader* theWrappedObject, QXmlErrorHandler* handler) +{ + ( theWrappedObject->setErrorHandler(handler)); +} + +void PythonQtWrapper_QXmlReader::setFeature(QXmlReader* theWrappedObject, const QString& name, bool value) +{ + ( theWrappedObject->setFeature(name, value)); +} + +void PythonQtWrapper_QXmlReader::setLexicalHandler(QXmlReader* theWrappedObject, QXmlLexicalHandler* handler) +{ + ( theWrappedObject->setLexicalHandler(handler)); +} + +void PythonQtWrapper_QXmlReader::setProperty(QXmlReader* theWrappedObject, const QString& name, void* value) +{ + ( theWrappedObject->setProperty(name, value)); +} + + + +PythonQtShell_QXmlSimpleReader::~PythonQtShell_QXmlSimpleReader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("DTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); + } else { + returnValue = *((QXmlDTDHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::DTDHandler(); +} +QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); + } else { + returnValue = *((QXmlContentHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::contentHandler(); +} +QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("declHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); + } else { + returnValue = *((QXmlDeclHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::declHandler(); +} +QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("entityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); + } else { + returnValue = *((QXmlEntityResolver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::entityResolver(); +} +QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); + } else { + returnValue = *((QXmlErrorHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::errorHandler(); +} +bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("feature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::feature(name0, ok1); +} +bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::hasFeature(name0); +} +bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::hasProperty(name0); +} +QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); + } else { + returnValue = *((QXmlLexicalHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::lexicalHandler(); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::parse(input0); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::parse(input0); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool incremental1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::parse(input0, incremental1); +} +bool PythonQtShell_QXmlSimpleReader::parseContinue() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parseContinue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parseContinue", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::parseContinue(); +} +void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("property"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlSimpleReader::property(name0, ok1); +} +void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setContentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setContentHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setDTDHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDeclHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setDeclHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEntityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setEntityResolver(handler0); +} +void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setErrorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setErrorHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setFeature(name0, value1); +} +void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setLexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setLexicalHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setProperty(name0, value1); +} +QXmlSimpleReader* PythonQtWrapper_QXmlSimpleReader::new_QXmlSimpleReader() +{ +return new PythonQtShell_QXmlSimpleReader(); } + +bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental) +{ + return ( theWrappedObject->parse(input, incremental)); +} + +bool PythonQtWrapper_QXmlSimpleReader::parseContinue(QXmlSimpleReader* theWrappedObject) +{ + return ( theWrappedObject->parseContinue()); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.h b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.h new file mode 100644 index 00000000..28a186dd --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml0.h @@ -0,0 +1,1194 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QDomAttr : public QObject +{ Q_OBJECT +public: +public slots: +QDomAttr* new_QDomAttr(); +QDomAttr* new_QDomAttr(const QDomAttr& x); +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); + bool specified(QDomAttr* theWrappedObject) const; + QString value(QDomAttr* theWrappedObject) const; + bool __nonzero__(QDomAttr* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomCDATASection : public QObject +{ Q_OBJECT +public: +public slots: +QDomCDATASection* new_QDomCDATASection(); +QDomCDATASection* new_QDomCDATASection(const QDomCDATASection& x); +void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } + bool __nonzero__(QDomCDATASection* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomCharacterData : public QObject +{ Q_OBJECT +public: +public slots: +QDomCharacterData* new_QDomCharacterData(); +QDomCharacterData* new_QDomCharacterData(const QDomCharacterData& x); +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); + void insertData(QDomCharacterData* theWrappedObject, unsigned long offset, const QString& arg); + int length(QDomCharacterData* theWrappedObject) const; + void replaceData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count, const QString& arg); + void setData(QDomCharacterData* theWrappedObject, const QString& arg__1); + QString substringData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); + bool __nonzero__(QDomCharacterData* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomComment : public QObject +{ Q_OBJECT +public: +public slots: +QDomComment* new_QDomComment(); +QDomComment* new_QDomComment(const QDomComment& x); +void delete_QDomComment(QDomComment* obj) { delete obj; } + bool __nonzero__(QDomComment* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomDocument : public QObject +{ Q_OBJECT +public: +public slots: +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; } + QDomAttr createAttribute(QDomDocument* theWrappedObject, const QString& name); + QDomAttr createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); + QDomCDATASection createCDATASection(QDomDocument* theWrappedObject, const QString& data); + QDomComment createComment(QDomDocument* theWrappedObject, const QString& data); + QDomDocumentFragment createDocumentFragment(QDomDocument* theWrappedObject); + QDomElement createElement(QDomDocument* theWrappedObject, const QString& tagName); + QDomElement createElementNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); + QDomEntityReference createEntityReference(QDomDocument* theWrappedObject, const QString& name); + QDomProcessingInstruction createProcessingInstruction(QDomDocument* theWrappedObject, const QString& target, const QString& data); + QDomText createTextNode(QDomDocument* theWrappedObject, const QString& data); + QDomDocumentType doctype(QDomDocument* theWrappedObject) const; + QDomElement documentElement(QDomDocument* theWrappedObject) const; + QDomElement elementById(QDomDocument* theWrappedObject, const QString& elementId); + QDomNodeList elementsByTagName(QDomDocument* theWrappedObject, const QString& tagname) const; + QDomNodeList elementsByTagNameNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& localName); + QDomImplementation implementation(QDomDocument* theWrappedObject) const; + QDomNode importNode(QDomDocument* theWrappedObject, const QDomNode& importedNode, bool deep); + bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, bool namespaceProcessing, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, QXmlReader* reader, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, bool namespaceProcessing, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, QXmlStreamReader* reader, bool namespaceProcessing, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, bool namespaceProcessing, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, const QString& text, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + bool setContent(QDomDocument* theWrappedObject, const QString& text, bool namespaceProcessing, QString* errorMsg = nullptr, int* errorLine = nullptr, int* errorColumn = nullptr); + QByteArray toByteArray(QDomDocument* theWrappedObject, int arg__1 = 1) const; + QString toString(QDomDocument* theWrappedObject, int arg__1 = 1) const; + QString py_toString(QDomDocument*); + bool __nonzero__(QDomDocument* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomDocumentFragment : public QObject +{ Q_OBJECT +public: +public slots: +QDomDocumentFragment* new_QDomDocumentFragment(); +QDomDocumentFragment* new_QDomDocumentFragment(const QDomDocumentFragment& x); +void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } + bool __nonzero__(QDomDocumentFragment* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomDocumentType : public QObject +{ Q_OBJECT +public: +public slots: +QDomDocumentType* new_QDomDocumentType(); +QDomDocumentType* new_QDomDocumentType(const QDomDocumentType& x); +void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } + QDomNamedNodeMap entities(QDomDocumentType* theWrappedObject) const; + QString internalSubset(QDomDocumentType* theWrappedObject) const; + QString name(QDomDocumentType* theWrappedObject) const; + QDomNamedNodeMap notations(QDomDocumentType* theWrappedObject) const; + QString publicId(QDomDocumentType* theWrappedObject) const; + QString systemId(QDomDocumentType* theWrappedObject) const; + bool __nonzero__(QDomDocumentType* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomElement : public QObject +{ Q_OBJECT +public: +public slots: +QDomElement* new_QDomElement(); +QDomElement* new_QDomElement(const QDomElement& x); +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); + QDomAttr attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); + QDomNamedNodeMap attributes(QDomElement* theWrappedObject) const; + QDomNodeList elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const; + QDomNodeList elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; + bool hasAttribute(QDomElement* theWrappedObject, const QString& name) const; + bool hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; + void removeAttribute(QDomElement* theWrappedObject, const QString& name); + void removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); + QDomAttr removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr); + void setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, double value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, float value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, int value); + void setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value); + void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value); + QDomAttr setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr); + QDomAttr setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr); + void setTagName(QDomElement* theWrappedObject, const QString& name); + QString tagName(QDomElement* theWrappedObject) const; + QString text(QDomElement* theWrappedObject) const; + bool __nonzero__(QDomElement* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomEntity : public QObject +{ Q_OBJECT +public: +public slots: +QDomEntity* new_QDomEntity(); +QDomEntity* new_QDomEntity(const QDomEntity& x); +void delete_QDomEntity(QDomEntity* obj) { delete obj; } + QString notationName(QDomEntity* theWrappedObject) const; + QString publicId(QDomEntity* theWrappedObject) const; + QString systemId(QDomEntity* theWrappedObject) const; + bool __nonzero__(QDomEntity* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomEntityReference : public QObject +{ Q_OBJECT +public: +public slots: +QDomEntityReference* new_QDomEntityReference(); +QDomEntityReference* new_QDomEntityReference(const QDomEntityReference& x); +void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } + bool __nonzero__(QDomEntityReference* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomImplementation : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InvalidDataPolicy ) +enum InvalidDataPolicy{ + AcceptInvalidChars = QDomImplementation::AcceptInvalidChars, DropInvalidChars = QDomImplementation::DropInvalidChars, ReturnNullNode = QDomImplementation::ReturnNullNode}; +public slots: +QDomImplementation* new_QDomImplementation(); +QDomImplementation* new_QDomImplementation(const QDomImplementation& arg__1); +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; + QDomImplementation::InvalidDataPolicy static_QDomImplementation_invalidDataPolicy(); + bool isNull(QDomImplementation* theWrappedObject); + bool __ne__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const; + bool __eq__(QDomImplementation* theWrappedObject, const QDomImplementation& arg__1) const; + void static_QDomImplementation_setInvalidDataPolicy(QDomImplementation::InvalidDataPolicy policy); + bool __nonzero__(QDomImplementation* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomNamedNodeMap : public QObject +{ Q_OBJECT +public: +public slots: +QDomNamedNodeMap* new_QDomNamedNodeMap(); +QDomNamedNodeMap* new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1); +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; + QDomNode item(QDomNamedNodeMap* theWrappedObject, int index) const; + int length(QDomNamedNodeMap* theWrappedObject) const; + QDomNode namedItem(QDomNamedNodeMap* theWrappedObject, const QString& name) const; + QDomNode namedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName) const; + bool __ne__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const; + bool __eq__(QDomNamedNodeMap* theWrappedObject, const QDomNamedNodeMap& arg__1) const; + QDomNode removeNamedItem(QDomNamedNodeMap* theWrappedObject, const QString& name); + QDomNode removeNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QString& nsURI, const QString& localName); + QDomNode setNamedItem(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode); + QDomNode setNamedItemNS(QDomNamedNodeMap* theWrappedObject, const QDomNode& newNode); + int size(QDomNamedNodeMap* theWrappedObject) const; + bool __nonzero__(QDomNamedNodeMap* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QDomNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(EncodingPolicy NodeType ) +enum EncodingPolicy{ + EncodingFromDocument = QDomNode::EncodingFromDocument, EncodingFromTextStream = QDomNode::EncodingFromTextStream}; +enum NodeType{ + ElementNode = QDomNode::ElementNode, AttributeNode = QDomNode::AttributeNode, TextNode = QDomNode::TextNode, CDATASectionNode = QDomNode::CDATASectionNode, EntityReferenceNode = QDomNode::EntityReferenceNode, EntityNode = QDomNode::EntityNode, ProcessingInstructionNode = QDomNode::ProcessingInstructionNode, CommentNode = QDomNode::CommentNode, DocumentNode = QDomNode::DocumentNode, DocumentTypeNode = QDomNode::DocumentTypeNode, DocumentFragmentNode = QDomNode::DocumentFragmentNode, NotationNode = QDomNode::NotationNode, BaseNode = QDomNode::BaseNode, CharacterDataNode = QDomNode::CharacterDataNode}; +public slots: +QDomNode* new_QDomNode(); +QDomNode* new_QDomNode(const QDomNode& arg__1); +void delete_QDomNode(QDomNode* obj) { delete obj; } + QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild); + QDomNodeList childNodes(QDomNode* theWrappedObject) const; + void clear(QDomNode* theWrappedObject); + QDomNode cloneNode(QDomNode* theWrappedObject, bool deep = true) const; + int columnNumber(QDomNode* theWrappedObject) const; + QDomNode firstChild(QDomNode* theWrappedObject) const; + QDomElement firstChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; + bool hasAttributes(QDomNode* theWrappedObject) const; + bool hasChildNodes(QDomNode* theWrappedObject) const; + QDomNode insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild); + QDomNode insertBefore(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild); + bool isAttr(QDomNode* theWrappedObject) const; + bool isCDATASection(QDomNode* theWrappedObject) const; + bool isCharacterData(QDomNode* theWrappedObject) const; + bool isComment(QDomNode* theWrappedObject) const; + bool isDocument(QDomNode* theWrappedObject) const; + bool isDocumentFragment(QDomNode* theWrappedObject) const; + bool isDocumentType(QDomNode* theWrappedObject) const; + bool isElement(QDomNode* theWrappedObject) const; + bool isEntity(QDomNode* theWrappedObject) const; + bool isEntityReference(QDomNode* theWrappedObject) const; + bool isNotation(QDomNode* theWrappedObject) const; + bool isNull(QDomNode* theWrappedObject) const; + bool isProcessingInstruction(QDomNode* theWrappedObject) const; + bool isSupported(QDomNode* theWrappedObject, const QString& feature, const QString& version) const; + bool isText(QDomNode* theWrappedObject) const; + QDomNode lastChild(QDomNode* theWrappedObject) const; + QDomElement lastChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; + int lineNumber(QDomNode* theWrappedObject) const; + QString localName(QDomNode* theWrappedObject) const; + QDomNode namedItem(QDomNode* theWrappedObject, const QString& name) const; + QString namespaceURI(QDomNode* theWrappedObject) const; + QDomNode nextSibling(QDomNode* theWrappedObject) const; + QDomElement nextSiblingElement(QDomNode* theWrappedObject, const QString& taName = QString()) const; + QString nodeName(QDomNode* theWrappedObject) const; + QDomNode::NodeType nodeType(QDomNode* theWrappedObject) const; + QString nodeValue(QDomNode* theWrappedObject) const; + void normalize(QDomNode* theWrappedObject); + bool __ne__(QDomNode* theWrappedObject, const QDomNode& arg__1) const; + void writeTo(QDomNode* theWrappedObject, QTextStream& arg__1); + bool __eq__(QDomNode* theWrappedObject, const QDomNode& arg__1) const; + QDomDocument ownerDocument(QDomNode* theWrappedObject) const; + QDomNode parentNode(QDomNode* theWrappedObject) const; + QString prefix(QDomNode* theWrappedObject) const; + QDomNode previousSibling(QDomNode* theWrappedObject) const; + QDomElement previousSiblingElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; + QDomNode removeChild(QDomNode* theWrappedObject, const QDomNode& oldChild); + QDomNode replaceChild(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& oldChild); + void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3 = QDomNode::EncodingFromDocument) const; + void setNodeValue(QDomNode* theWrappedObject, const QString& arg__1); + void setPrefix(QDomNode* theWrappedObject, const QString& pre); + QDomAttr toAttr(QDomNode* theWrappedObject) const; + QDomCDATASection toCDATASection(QDomNode* theWrappedObject) const; + QDomCharacterData toCharacterData(QDomNode* theWrappedObject) const; + QDomComment toComment(QDomNode* theWrappedObject) const; + QDomDocument toDocument(QDomNode* theWrappedObject) const; + QDomDocumentFragment toDocumentFragment(QDomNode* theWrappedObject) const; + QDomDocumentType toDocumentType(QDomNode* theWrappedObject) const; + QDomElement toElement(QDomNode* theWrappedObject) const; + QDomEntity toEntity(QDomNode* theWrappedObject) const; + QDomEntityReference toEntityReference(QDomNode* theWrappedObject) const; + QDomNotation toNotation(QDomNode* theWrappedObject) const; + QDomProcessingInstruction toProcessingInstruction(QDomNode* theWrappedObject) const; + QDomText toText(QDomNode* theWrappedObject) const; + bool __nonzero__(QDomNode* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomNodeList : public QObject +{ Q_OBJECT +public: +public slots: +QDomNodeList* new_QDomNodeList(); +QDomNodeList* new_QDomNodeList(const QDomNodeList& arg__1); +void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } + QDomNode at(QDomNodeList* theWrappedObject, int index) const; + int count(QDomNodeList* theWrappedObject) const; + bool isEmpty(QDomNodeList* theWrappedObject) const; + QDomNode item(QDomNodeList* theWrappedObject, int index) const; + int length(QDomNodeList* theWrappedObject) const; + bool __ne__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const; + bool __eq__(QDomNodeList* theWrappedObject, const QDomNodeList& arg__1) const; + int size(QDomNodeList* theWrappedObject) const; + bool __nonzero__(QDomNodeList* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QDomNotation : public QObject +{ Q_OBJECT +public: +public slots: +QDomNotation* new_QDomNotation(); +QDomNotation* new_QDomNotation(const QDomNotation& x); +void delete_QDomNotation(QDomNotation* obj) { delete obj; } + QString publicId(QDomNotation* theWrappedObject) const; + QString systemId(QDomNotation* theWrappedObject) const; + bool __nonzero__(QDomNotation* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomProcessingInstruction : public QObject +{ Q_OBJECT +public: +public slots: +QDomProcessingInstruction* new_QDomProcessingInstruction(); +QDomProcessingInstruction* new_QDomProcessingInstruction(const QDomProcessingInstruction& x); +void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } + QString data(QDomProcessingInstruction* theWrappedObject) const; + void setData(QDomProcessingInstruction* theWrappedObject, const QString& d); + QString target(QDomProcessingInstruction* theWrappedObject) const; + bool __nonzero__(QDomProcessingInstruction* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QDomText : public QObject +{ Q_OBJECT +public: +public slots: +QDomText* new_QDomText(); +QDomText* new_QDomText(const QDomText& x); +void delete_QDomText(QDomText* obj) { delete obj; } + QDomText splitText(QDomText* theWrappedObject, int offset); + bool __nonzero__(QDomText* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QXmlAttributes : public QXmlAttributes +{ +public: + PythonQtShell_QXmlAttributes():QXmlAttributes(),_wrapper(nullptr) {}; + PythonQtShell_QXmlAttributes(const QXmlAttributes& arg__1):QXmlAttributes(arg__1),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlAttributes() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlAttributes : public QObject +{ Q_OBJECT +public: +public slots: +QXmlAttributes* new_QXmlAttributes(); +QXmlAttributes* new_QXmlAttributes(const QXmlAttributes& arg__1); +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; + int index(QXmlAttributes* theWrappedObject, const QString& qName) const; + int index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const; + int length(QXmlAttributes* theWrappedObject) const; + QString localName(QXmlAttributes* theWrappedObject, int index) const; + QXmlAttributes* operator_assign(QXmlAttributes* theWrappedObject, const QXmlAttributes& arg__1); + QString qName(QXmlAttributes* theWrappedObject, int index) const; + void swap(QXmlAttributes* theWrappedObject, QXmlAttributes& other); + QString type(QXmlAttributes* theWrappedObject, const QString& qName) const; + QString type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; + QString type(QXmlAttributes* theWrappedObject, int index) const; + QString uri(QXmlAttributes* theWrappedObject, int index) const; + QString value(QXmlAttributes* theWrappedObject, const QString& qName) const; + QString value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; + QString value(QXmlAttributes* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QXmlContentHandler : public QXmlContentHandler +{ +public: + 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 +{ public: +inline bool py_q_characters(const QString& ch) { return this->characters(ch); } +inline bool py_q_endDocument() { return this->endDocument(); } +inline bool py_q_endElement(const QString& namespaceURI, const QString& localName, const QString& qName) { return this->endElement(namespaceURI, localName, qName); } +inline bool py_q_endPrefixMapping(const QString& prefix) { return this->endPrefixMapping(prefix); } +inline QString py_q_errorString() const { return this->errorString(); } +inline bool py_q_ignorableWhitespace(const QString& ch) { return this->ignorableWhitespace(ch); } +inline bool py_q_processingInstruction(const QString& target, const QString& data) { return this->processingInstruction(target, data); } +inline void py_q_setDocumentLocator(QXmlLocator* locator) { this->setDocumentLocator(locator); } +inline bool py_q_skippedEntity(const QString& name) { return this->skippedEntity(name); } +inline bool py_q_startDocument() { return this->startDocument(); } +inline bool py_q_startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) { return this->startElement(namespaceURI, localName, qName, atts); } +inline bool py_q_startPrefixMapping(const QString& prefix, const QString& uri) { return this->startPrefixMapping(prefix, uri); } +}; + +class PythonQtWrapper_QXmlContentHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlContentHandler* new_QXmlContentHandler(); +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); + bool py_q_endDocument(QXmlContentHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_endDocument());} + bool endElement(QXmlContentHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName); + bool py_q_endElement(QXmlContentHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_endElement(namespaceURI, localName, qName));} + bool endPrefixMapping(QXmlContentHandler* theWrappedObject, const QString& prefix); + bool py_q_endPrefixMapping(QXmlContentHandler* theWrappedObject, const QString& prefix){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_endPrefixMapping(prefix));} + QString errorString(QXmlContentHandler* theWrappedObject) const; + QString py_q_errorString(QXmlContentHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_errorString());} + bool ignorableWhitespace(QXmlContentHandler* theWrappedObject, const QString& ch); + bool py_q_ignorableWhitespace(QXmlContentHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_ignorableWhitespace(ch));} + bool processingInstruction(QXmlContentHandler* theWrappedObject, const QString& target, const QString& data); + bool py_q_processingInstruction(QXmlContentHandler* theWrappedObject, const QString& target, const QString& data){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_processingInstruction(target, data));} + void setDocumentLocator(QXmlContentHandler* theWrappedObject, QXmlLocator* locator); + void py_q_setDocumentLocator(QXmlContentHandler* theWrappedObject, QXmlLocator* locator){ (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_setDocumentLocator(locator));} + bool skippedEntity(QXmlContentHandler* theWrappedObject, const QString& name); + bool py_q_skippedEntity(QXmlContentHandler* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_skippedEntity(name));} + bool startDocument(QXmlContentHandler* theWrappedObject); + bool py_q_startDocument(QXmlContentHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_startDocument());} + bool startElement(QXmlContentHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); + bool py_q_startElement(QXmlContentHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_startElement(namespaceURI, localName, qName, atts));} + bool startPrefixMapping(QXmlContentHandler* theWrappedObject, const QString& prefix, const QString& uri); + bool py_q_startPrefixMapping(QXmlContentHandler* theWrappedObject, const QString& prefix, const QString& uri){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_startPrefixMapping(prefix, uri));} +}; + + + + + +class PythonQtShell_QXmlDTDHandler : public QXmlDTDHandler +{ +public: + PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlDTDHandler() override; + +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; +}; + +class PythonQtPublicPromoter_QXmlDTDHandler : public QXmlDTDHandler +{ public: +inline QString py_q_errorString() const { return this->errorString(); } +inline bool py_q_notationDecl(const QString& name, const QString& publicId, const QString& systemId) { return this->notationDecl(name, publicId, systemId); } +inline bool py_q_unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) { return this->unparsedEntityDecl(name, publicId, systemId, notationName); } +}; + +class PythonQtWrapper_QXmlDTDHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlDTDHandler* new_QXmlDTDHandler(); +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); + bool py_q_notationDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlDTDHandler*)theWrappedObject)->py_q_notationDecl(name, publicId, systemId));} + bool unparsedEntityDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); + bool py_q_unparsedEntityDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName){ return (((PythonQtPublicPromoter_QXmlDTDHandler*)theWrappedObject)->py_q_unparsedEntityDecl(name, publicId, systemId, notationName));} +}; + + + + + +class PythonQtShell_QXmlDeclHandler : public QXmlDeclHandler +{ +public: + PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlDeclHandler() override; + +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; +}; + +class PythonQtPublicPromoter_QXmlDeclHandler : public QXmlDeclHandler +{ public: +inline bool py_q_attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) { return this->attributeDecl(eName, aName, type, valueDefault, value); } +inline QString py_q_errorString() const { return this->errorString(); } +inline bool py_q_externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) { return this->externalEntityDecl(name, publicId, systemId); } +inline bool py_q_internalEntityDecl(const QString& name, const QString& value) { return this->internalEntityDecl(name, value); } +}; + +class PythonQtWrapper_QXmlDeclHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlDeclHandler* new_QXmlDeclHandler(); +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; + QString py_q_errorString(QXmlDeclHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlDeclHandler*)theWrappedObject)->py_q_errorString());} + bool externalEntityDecl(QXmlDeclHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); + bool py_q_externalEntityDecl(QXmlDeclHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlDeclHandler*)theWrappedObject)->py_q_externalEntityDecl(name, publicId, systemId));} + bool internalEntityDecl(QXmlDeclHandler* theWrappedObject, const QString& name, const QString& value); + bool py_q_internalEntityDecl(QXmlDeclHandler* theWrappedObject, const QString& name, const QString& value){ return (((PythonQtPublicPromoter_QXmlDeclHandler*)theWrappedObject)->py_q_internalEntityDecl(name, value));} +}; + + + + + +class PythonQtShell_QXmlDefaultHandler : public QXmlDefaultHandler +{ +public: + 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 +{ public: +inline bool py_q_attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) { return QXmlDefaultHandler::attributeDecl(eName, aName, type, valueDefault, value); } +inline bool py_q_characters(const QString& ch) { return QXmlDefaultHandler::characters(ch); } +inline bool py_q_comment(const QString& ch) { return QXmlDefaultHandler::comment(ch); } +inline bool py_q_endCDATA() { return QXmlDefaultHandler::endCDATA(); } +inline bool py_q_endDTD() { return QXmlDefaultHandler::endDTD(); } +inline bool py_q_endDocument() { return QXmlDefaultHandler::endDocument(); } +inline bool py_q_endElement(const QString& namespaceURI, const QString& localName, const QString& qName) { return QXmlDefaultHandler::endElement(namespaceURI, localName, qName); } +inline bool py_q_endEntity(const QString& name) { return QXmlDefaultHandler::endEntity(name); } +inline bool py_q_endPrefixMapping(const QString& prefix) { return QXmlDefaultHandler::endPrefixMapping(prefix); } +inline bool py_q_error(const QXmlParseException& exception) { return QXmlDefaultHandler::error(exception); } +inline QString py_q_errorString() const { return QXmlDefaultHandler::errorString(); } +inline bool py_q_externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::externalEntityDecl(name, publicId, systemId); } +inline bool py_q_fatalError(const QXmlParseException& exception) { return QXmlDefaultHandler::fatalError(exception); } +inline bool py_q_ignorableWhitespace(const QString& ch) { return QXmlDefaultHandler::ignorableWhitespace(ch); } +inline bool py_q_internalEntityDecl(const QString& name, const QString& value) { return QXmlDefaultHandler::internalEntityDecl(name, value); } +inline bool py_q_notationDecl(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::notationDecl(name, publicId, systemId); } +inline bool py_q_processingInstruction(const QString& target, const QString& data) { return QXmlDefaultHandler::processingInstruction(target, data); } +inline bool py_q_resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) { return QXmlDefaultHandler::resolveEntity(publicId, systemId, ret); } +inline void py_q_setDocumentLocator(QXmlLocator* locator) { QXmlDefaultHandler::setDocumentLocator(locator); } +inline bool py_q_skippedEntity(const QString& name) { return QXmlDefaultHandler::skippedEntity(name); } +inline bool py_q_startCDATA() { return QXmlDefaultHandler::startCDATA(); } +inline bool py_q_startDTD(const QString& name, const QString& publicId, const QString& systemId) { return QXmlDefaultHandler::startDTD(name, publicId, systemId); } +inline bool py_q_startDocument() { return QXmlDefaultHandler::startDocument(); } +inline bool py_q_startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) { return QXmlDefaultHandler::startElement(namespaceURI, localName, qName, atts); } +inline bool py_q_startEntity(const QString& name) { return QXmlDefaultHandler::startEntity(name); } +inline bool py_q_startPrefixMapping(const QString& prefix, const QString& uri) { return QXmlDefaultHandler::startPrefixMapping(prefix, uri); } +inline bool py_q_unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) { return QXmlDefaultHandler::unparsedEntityDecl(name, publicId, systemId, notationName); } +inline bool py_q_warning(const QXmlParseException& exception) { return QXmlDefaultHandler::warning(exception); } +}; + +class PythonQtWrapper_QXmlDefaultHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlDefaultHandler* new_QXmlDefaultHandler(); +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));} + bool py_q_endCDATA(QXmlDefaultHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_endCDATA());} + bool py_q_endDTD(QXmlDefaultHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_endDTD());} + bool py_q_endDocument(QXmlDefaultHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_endDocument());} + bool py_q_endElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_endElement(namespaceURI, localName, qName));} + bool py_q_endEntity(QXmlDefaultHandler* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_endEntity(name));} + bool py_q_endPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_endPrefixMapping(prefix));} + bool py_q_error(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_error(exception));} + QString py_q_errorString(QXmlDefaultHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_errorString());} + bool py_q_externalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_externalEntityDecl(name, publicId, systemId));} + bool py_q_fatalError(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_fatalError(exception));} + bool py_q_ignorableWhitespace(QXmlDefaultHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_ignorableWhitespace(ch));} + bool py_q_internalEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& value){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_internalEntityDecl(name, value));} + bool py_q_notationDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_notationDecl(name, publicId, systemId));} + bool py_q_processingInstruction(QXmlDefaultHandler* theWrappedObject, const QString& target, const QString& data){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_processingInstruction(target, data));} + bool py_q_resolveEntity(QXmlDefaultHandler* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_resolveEntity(publicId, systemId, ret));} + void py_q_setDocumentLocator(QXmlDefaultHandler* theWrappedObject, QXmlLocator* locator){ (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_setDocumentLocator(locator));} + bool py_q_skippedEntity(QXmlDefaultHandler* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_skippedEntity(name));} + bool py_q_startCDATA(QXmlDefaultHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_startCDATA());} + bool py_q_startDTD(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_startDTD(name, publicId, systemId));} + bool py_q_startDocument(QXmlDefaultHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_startDocument());} + bool py_q_startElement(QXmlDefaultHandler* theWrappedObject, const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_startElement(namespaceURI, localName, qName, atts));} + bool py_q_startEntity(QXmlDefaultHandler* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_startEntity(name));} + bool py_q_startPrefixMapping(QXmlDefaultHandler* theWrappedObject, const QString& prefix, const QString& uri){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_startPrefixMapping(prefix, uri));} + bool py_q_unparsedEntityDecl(QXmlDefaultHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId, const QString& notationName){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_unparsedEntityDecl(name, publicId, systemId, notationName));} + bool py_q_warning(QXmlDefaultHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_warning(exception));} +}; + + + + + +class PythonQtShell_QXmlEntityResolver : public QXmlEntityResolver +{ +public: + PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlEntityResolver() override; + +QString errorString() const override; +bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlEntityResolver : public QXmlEntityResolver +{ public: +inline QString py_q_errorString() const { return this->errorString(); } +inline bool py_q_resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) { return this->resolveEntity(publicId, systemId, ret); } +}; + +class PythonQtWrapper_QXmlEntityResolver : public QObject +{ Q_OBJECT +public: +public slots: +QXmlEntityResolver* new_QXmlEntityResolver(); +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); + bool py_q_resolveEntity(QXmlEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret){ return (((PythonQtPublicPromoter_QXmlEntityResolver*)theWrappedObject)->py_q_resolveEntity(publicId, systemId, ret));} +}; + + + + + +class PythonQtShell_QXmlErrorHandler : public QXmlErrorHandler +{ +public: + PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlErrorHandler() override; + +bool error(const QXmlParseException& exception) override; +QString errorString() const override; +bool fatalError(const QXmlParseException& exception) override; +bool warning(const QXmlParseException& exception) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlErrorHandler : public QXmlErrorHandler +{ public: +inline bool py_q_error(const QXmlParseException& exception) { return this->error(exception); } +inline QString py_q_errorString() const { return this->errorString(); } +inline bool py_q_fatalError(const QXmlParseException& exception) { return this->fatalError(exception); } +inline bool py_q_warning(const QXmlParseException& exception) { return this->warning(exception); } +}; + +class PythonQtWrapper_QXmlErrorHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlErrorHandler* new_QXmlErrorHandler(); +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; + QString py_q_errorString(QXmlErrorHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlErrorHandler*)theWrappedObject)->py_q_errorString());} + bool fatalError(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception); + bool py_q_fatalError(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlErrorHandler*)theWrappedObject)->py_q_fatalError(exception));} + bool warning(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception); + bool py_q_warning(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlErrorHandler*)theWrappedObject)->py_q_warning(exception));} +}; + + + + + +class PythonQtShell_QXmlInputSource : public QXmlInputSource +{ +public: + PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(nullptr) {}; + PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlInputSource() override; + +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; +}; + +class PythonQtPublicPromoter_QXmlInputSource : public QXmlInputSource +{ public: +inline QString promoted_fromRawData(const QByteArray& data, bool beginning = false) { return this->fromRawData(data, beginning); } +inline QString py_q_data() const { return QXmlInputSource::data(); } +inline void py_q_fetchData() { QXmlInputSource::fetchData(); } +inline QString py_q_fromRawData(const QByteArray& data, bool beginning = false) { return QXmlInputSource::fromRawData(data, beginning); } +inline QChar py_q_next() { return QXmlInputSource::next(); } +inline void py_q_reset() { QXmlInputSource::reset(); } +inline void py_q_setData(const QByteArray& dat) { QXmlInputSource::setData(dat); } +inline void py_q_setData(const QString& dat) { QXmlInputSource::setData(dat); } +}; + +class PythonQtWrapper_QXmlInputSource : public QObject +{ Q_OBJECT +public: +public slots: +QXmlInputSource* new_QXmlInputSource(); +QXmlInputSource* new_QXmlInputSource(QIODevice* dev); +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); + void py_q_fetchData(QXmlInputSource* theWrappedObject){ (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_fetchData());} + QString fromRawData(QXmlInputSource* theWrappedObject, const QByteArray& data, bool beginning = false); + QString py_q_fromRawData(QXmlInputSource* theWrappedObject, const QByteArray& data, bool beginning = false){ return (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_fromRawData(data, beginning));} + QChar next(QXmlInputSource* theWrappedObject); + QChar py_q_next(QXmlInputSource* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_next());} + void reset(QXmlInputSource* theWrappedObject); + void py_q_reset(QXmlInputSource* theWrappedObject){ (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_reset());} + void setData(QXmlInputSource* theWrappedObject, const QByteArray& dat); + void py_q_setData(QXmlInputSource* theWrappedObject, const QByteArray& dat){ (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_setData(dat));} + void setData(QXmlInputSource* theWrappedObject, const QString& dat); + void py_q_setData(QXmlInputSource* theWrappedObject, const QString& dat){ (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_setData(dat));} +}; + + + + + +class PythonQtShell_QXmlLexicalHandler : public QXmlLexicalHandler +{ +public: + PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlLexicalHandler() override; + +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; +}; + +class PythonQtPublicPromoter_QXmlLexicalHandler : public QXmlLexicalHandler +{ public: +inline bool py_q_comment(const QString& ch) { return this->comment(ch); } +inline bool py_q_endCDATA() { return this->endCDATA(); } +inline bool py_q_endDTD() { return this->endDTD(); } +inline bool py_q_endEntity(const QString& name) { return this->endEntity(name); } +inline QString py_q_errorString() const { return this->errorString(); } +inline bool py_q_startCDATA() { return this->startCDATA(); } +inline bool py_q_startDTD(const QString& name, const QString& publicId, const QString& systemId) { return this->startDTD(name, publicId, systemId); } +inline bool py_q_startEntity(const QString& name) { return this->startEntity(name); } +}; + +class PythonQtWrapper_QXmlLexicalHandler : public QObject +{ Q_OBJECT +public: +public slots: +QXmlLexicalHandler* new_QXmlLexicalHandler(); +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); + bool py_q_endCDATA(QXmlLexicalHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_endCDATA());} + bool endDTD(QXmlLexicalHandler* theWrappedObject); + bool py_q_endDTD(QXmlLexicalHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_endDTD());} + bool endEntity(QXmlLexicalHandler* theWrappedObject, const QString& name); + bool py_q_endEntity(QXmlLexicalHandler* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_endEntity(name));} + QString errorString(QXmlLexicalHandler* theWrappedObject) const; + QString py_q_errorString(QXmlLexicalHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_errorString());} + bool startCDATA(QXmlLexicalHandler* theWrappedObject); + bool py_q_startCDATA(QXmlLexicalHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_startCDATA());} + bool startDTD(QXmlLexicalHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); + bool py_q_startDTD(QXmlLexicalHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_startDTD(name, publicId, systemId));} + bool startEntity(QXmlLexicalHandler* theWrappedObject, const QString& name); + bool py_q_startEntity(QXmlLexicalHandler* theWrappedObject, const QString& name){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_startEntity(name));} +}; + + + + + +class PythonQtShell_QXmlLocator : public QXmlLocator +{ +public: + PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlLocator() override; + +int columnNumber() const override; +int lineNumber() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlLocator : public QXmlLocator +{ public: +inline int py_q_columnNumber() const { return this->columnNumber(); } +inline int py_q_lineNumber() const { return this->lineNumber(); } +}; + +class PythonQtWrapper_QXmlLocator : public QObject +{ Q_OBJECT +public: +public slots: +QXmlLocator* new_QXmlLocator(); +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; + int py_q_lineNumber(QXmlLocator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlLocator*)theWrappedObject)->py_q_lineNumber());} +}; + + + + + +class PythonQtWrapper_QXmlParseException : public QObject +{ Q_OBJECT +public: +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; } + int columnNumber(QXmlParseException* theWrappedObject) const; + int lineNumber(QXmlParseException* theWrappedObject) const; + QString message(QXmlParseException* theWrappedObject) const; + QString publicId(QXmlParseException* theWrappedObject) const; + QString systemId(QXmlParseException* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QXmlReader : public QXmlReader +{ +public: + 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 +{ public: +inline QXmlDTDHandler* py_q_DTDHandler() const { return this->DTDHandler(); } +inline QXmlContentHandler* py_q_contentHandler() const { return this->contentHandler(); } +inline QXmlDeclHandler* py_q_declHandler() const { return this->declHandler(); } +inline QXmlEntityResolver* py_q_entityResolver() const { return this->entityResolver(); } +inline QXmlErrorHandler* py_q_errorHandler() const { return this->errorHandler(); } +inline bool py_q_feature(const QString& name, bool* ok = nullptr) const { return this->feature(name, ok); } +inline bool py_q_hasFeature(const QString& name) const { return this->hasFeature(name); } +inline bool py_q_hasProperty(const QString& name) const { return this->hasProperty(name); } +inline QXmlLexicalHandler* py_q_lexicalHandler() const { return this->lexicalHandler(); } +inline bool py_q_parse(const QXmlInputSource& input) { return this->parse(input); } +inline bool py_q_parse(const QXmlInputSource* input) { return this->parse(input); } +inline void* py_q_property(const QString& name, bool* ok = nullptr) const { return this->property(name, ok); } +inline void py_q_setContentHandler(QXmlContentHandler* handler) { this->setContentHandler(handler); } +inline void py_q_setDTDHandler(QXmlDTDHandler* handler) { this->setDTDHandler(handler); } +inline void py_q_setDeclHandler(QXmlDeclHandler* handler) { this->setDeclHandler(handler); } +inline void py_q_setEntityResolver(QXmlEntityResolver* handler) { this->setEntityResolver(handler); } +inline void py_q_setErrorHandler(QXmlErrorHandler* handler) { this->setErrorHandler(handler); } +inline void py_q_setFeature(const QString& name, bool value) { this->setFeature(name, value); } +inline void py_q_setLexicalHandler(QXmlLexicalHandler* handler) { this->setLexicalHandler(handler); } +inline void py_q_setProperty(const QString& name, void* value) { this->setProperty(name, value); } +}; + +class PythonQtWrapper_QXmlReader : public QObject +{ Q_OBJECT +public: +public slots: +QXmlReader* new_QXmlReader(); +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; + QXmlContentHandler* py_q_contentHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_contentHandler());} + QXmlDeclHandler* declHandler(QXmlReader* theWrappedObject) const; + QXmlDeclHandler* py_q_declHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_declHandler());} + QXmlEntityResolver* entityResolver(QXmlReader* theWrappedObject) const; + QXmlEntityResolver* py_q_entityResolver(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_entityResolver());} + QXmlErrorHandler* errorHandler(QXmlReader* theWrappedObject) const; + QXmlErrorHandler* py_q_errorHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_errorHandler());} + bool feature(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const; + bool py_q_feature(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_feature(name, ok));} + bool hasFeature(QXmlReader* theWrappedObject, const QString& name) const; + bool py_q_hasFeature(QXmlReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_hasFeature(name));} + bool hasProperty(QXmlReader* theWrappedObject, const QString& name) const; + bool py_q_hasProperty(QXmlReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_hasProperty(name));} + QXmlLexicalHandler* lexicalHandler(QXmlReader* theWrappedObject) const; + QXmlLexicalHandler* py_q_lexicalHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_lexicalHandler());} + bool parse(QXmlReader* theWrappedObject, const QXmlInputSource& input); + bool py_q_parse(QXmlReader* theWrappedObject, const QXmlInputSource& input){ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_parse(input));} + bool parse(QXmlReader* theWrappedObject, const QXmlInputSource* input); + bool py_q_parse(QXmlReader* theWrappedObject, const QXmlInputSource* input){ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_parse(input));} + void* property(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const; + void* py_q_property(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_property(name, ok));} + void setContentHandler(QXmlReader* theWrappedObject, QXmlContentHandler* handler); + void py_q_setContentHandler(QXmlReader* theWrappedObject, QXmlContentHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setContentHandler(handler));} + void setDTDHandler(QXmlReader* theWrappedObject, QXmlDTDHandler* handler); + void py_q_setDTDHandler(QXmlReader* theWrappedObject, QXmlDTDHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setDTDHandler(handler));} + void setDeclHandler(QXmlReader* theWrappedObject, QXmlDeclHandler* handler); + void py_q_setDeclHandler(QXmlReader* theWrappedObject, QXmlDeclHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setDeclHandler(handler));} + void setEntityResolver(QXmlReader* theWrappedObject, QXmlEntityResolver* handler); + void py_q_setEntityResolver(QXmlReader* theWrappedObject, QXmlEntityResolver* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setEntityResolver(handler));} + void setErrorHandler(QXmlReader* theWrappedObject, QXmlErrorHandler* handler); + void py_q_setErrorHandler(QXmlReader* theWrappedObject, QXmlErrorHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setErrorHandler(handler));} + void setFeature(QXmlReader* theWrappedObject, const QString& name, bool value); + void py_q_setFeature(QXmlReader* theWrappedObject, const QString& name, bool value){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setFeature(name, value));} + void setLexicalHandler(QXmlReader* theWrappedObject, QXmlLexicalHandler* handler); + void py_q_setLexicalHandler(QXmlReader* theWrappedObject, QXmlLexicalHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setLexicalHandler(handler));} + void setProperty(QXmlReader* theWrappedObject, const QString& name, void* value); + void py_q_setProperty(QXmlReader* theWrappedObject, const QString& name, void* value){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setProperty(name, value));} +}; + + + + + +class PythonQtShell_QXmlSimpleReader : public QXmlSimpleReader +{ +public: + 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 +{ public: +inline QXmlDTDHandler* py_q_DTDHandler() const { return QXmlSimpleReader::DTDHandler(); } +inline QXmlContentHandler* py_q_contentHandler() const { return QXmlSimpleReader::contentHandler(); } +inline QXmlDeclHandler* py_q_declHandler() const { return QXmlSimpleReader::declHandler(); } +inline QXmlEntityResolver* py_q_entityResolver() const { return QXmlSimpleReader::entityResolver(); } +inline QXmlErrorHandler* py_q_errorHandler() const { return QXmlSimpleReader::errorHandler(); } +inline bool py_q_feature(const QString& name, bool* ok = nullptr) const { return QXmlSimpleReader::feature(name, ok); } +inline bool py_q_hasFeature(const QString& name) const { return QXmlSimpleReader::hasFeature(name); } +inline bool py_q_hasProperty(const QString& name) const { return QXmlSimpleReader::hasProperty(name); } +inline QXmlLexicalHandler* py_q_lexicalHandler() const { return QXmlSimpleReader::lexicalHandler(); } +inline bool py_q_parse(const QXmlInputSource& input) { return QXmlSimpleReader::parse(input); } +inline bool py_q_parse(const QXmlInputSource* input) { return QXmlSimpleReader::parse(input); } +inline bool py_q_parse(const QXmlInputSource* input, bool incremental) { return QXmlSimpleReader::parse(input, incremental); } +inline bool py_q_parseContinue() { return QXmlSimpleReader::parseContinue(); } +inline void* py_q_property(const QString& name, bool* ok = nullptr) const { return QXmlSimpleReader::property(name, ok); } +inline void py_q_setContentHandler(QXmlContentHandler* handler) { QXmlSimpleReader::setContentHandler(handler); } +inline void py_q_setDTDHandler(QXmlDTDHandler* handler) { QXmlSimpleReader::setDTDHandler(handler); } +inline void py_q_setDeclHandler(QXmlDeclHandler* handler) { QXmlSimpleReader::setDeclHandler(handler); } +inline void py_q_setEntityResolver(QXmlEntityResolver* handler) { QXmlSimpleReader::setEntityResolver(handler); } +inline void py_q_setErrorHandler(QXmlErrorHandler* handler) { QXmlSimpleReader::setErrorHandler(handler); } +inline void py_q_setFeature(const QString& name, bool value) { QXmlSimpleReader::setFeature(name, value); } +inline void py_q_setLexicalHandler(QXmlLexicalHandler* handler) { QXmlSimpleReader::setLexicalHandler(handler); } +inline void py_q_setProperty(const QString& name, void* value) { QXmlSimpleReader::setProperty(name, value); } +}; + +class PythonQtWrapper_QXmlSimpleReader : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSimpleReader* new_QXmlSimpleReader(); +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());} + QXmlEntityResolver* py_q_entityResolver(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_entityResolver());} + QXmlErrorHandler* py_q_errorHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_errorHandler());} + bool py_q_feature(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_feature(name, ok));} + bool py_q_hasFeature(QXmlSimpleReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_hasFeature(name));} + bool py_q_hasProperty(QXmlSimpleReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_hasProperty(name));} + QXmlLexicalHandler* py_q_lexicalHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_lexicalHandler());} + bool py_q_parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource& input){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parse(input));} + bool py_q_parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parse(input));} + bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental); + bool py_q_parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parse(input, incremental));} + bool parseContinue(QXmlSimpleReader* theWrappedObject); + bool py_q_parseContinue(QXmlSimpleReader* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parseContinue());} + void* py_q_property(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_property(name, ok));} + void py_q_setContentHandler(QXmlSimpleReader* theWrappedObject, QXmlContentHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setContentHandler(handler));} + void py_q_setDTDHandler(QXmlSimpleReader* theWrappedObject, QXmlDTDHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setDTDHandler(handler));} + void py_q_setDeclHandler(QXmlSimpleReader* theWrappedObject, QXmlDeclHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setDeclHandler(handler));} + void py_q_setEntityResolver(QXmlSimpleReader* theWrappedObject, QXmlEntityResolver* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setEntityResolver(handler));} + void py_q_setErrorHandler(QXmlSimpleReader* theWrappedObject, QXmlErrorHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setErrorHandler(handler));} + void py_q_setFeature(QXmlSimpleReader* theWrappedObject, const QString& name, bool value){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setFeature(name, value));} + void py_q_setLexicalHandler(QXmlSimpleReader* theWrappedObject, QXmlLexicalHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setLexicalHandler(handler));} + void py_q_setProperty(QXmlSimpleReader* theWrappedObject, const QString& name, void* value){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setProperty(name, value));} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp new file mode 100644 index 00000000..c7a9e809 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp @@ -0,0 +1,921 @@ +#include "com_trolltech_qt_xml1.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute() +{ +return new QXmlStreamAttribute(); } + +QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute(const QString& namespaceUri, const QString& name, const QString& value) +{ +return new QXmlStreamAttribute(namespaceUri, name, value); } + +QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute(const QString& qualifiedName, const QString& value) +{ +return new QXmlStreamAttribute(qualifiedName, value); } + +QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttribute::new_QXmlStreamAttribute(const QXmlStreamAttribute& arg__1) +{ +return new QXmlStreamAttribute(arg__1); } + +bool PythonQtWrapper_QXmlStreamAttribute::isDefault(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::name(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::namespaceUri(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +bool PythonQtWrapper_QXmlStreamAttribute::__ne__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamAttribute::__eq__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::prefix(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::qualifiedName(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->qualifiedName()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::value(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QXmlStreamAttributes* PythonQtWrapper_QXmlStreamAttributes::new_QXmlStreamAttributes() +{ +return new QXmlStreamAttributes(); } + +void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) +{ + ( theWrappedObject->append(namespaceUri, name, value)); +} + +void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value) +{ + ( theWrappedObject->append(qualifiedName, value)); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::at(QXmlStreamAttributes* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +int PythonQtWrapper_QXmlStreamAttributes::capacity(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QXmlStreamAttributes::clear(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::constFirst(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::constLast(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->contains(t)); +} + +int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->count(t)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::empty(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::endsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +QVector* PythonQtWrapper_QXmlStreamAttributes::fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size) +{ + return &( theWrappedObject->fill(t, size)); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::first(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QVector PythonQtWrapper_QXmlStreamAttributes::static_QXmlStreamAttributes_fromList(const QList& list) +{ + return (QXmlStreamAttributes::fromList(list)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const +{ + return ( theWrappedObject->hasAttribute(namespaceUri, name)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const +{ + return ( theWrappedObject->hasAttribute(qualifiedName)); +} + +int PythonQtWrapper_QXmlStreamAttributes::indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::isEmpty(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::isSharedWith(QXmlStreamAttributes* theWrappedObject, const QVector& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::last(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QXmlStreamAttributes::lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QXmlStreamAttributes::length(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QVector PythonQtWrapper_QXmlStreamAttributes::mid(QXmlStreamAttributes* theWrappedObject, int pos, int len) const +{ + return ( theWrappedObject->mid(pos, len)); +} + +void PythonQtWrapper_QXmlStreamAttributes::move(QXmlStreamAttributes* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::__ne__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)!= v); +} + +bool PythonQtWrapper_QXmlStreamAttributes::__eq__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)== v); +} + +void PythonQtWrapper_QXmlStreamAttributes::prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) +{ + ( theWrappedObject->prepend(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); +} + +void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i, int n) +{ + ( theWrappedObject->remove(i, n)); +} + +int PythonQtWrapper_QXmlStreamAttributes::removeAll(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::removeAt(QXmlStreamAttributes* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QXmlStreamAttributes::removeFirst(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QXmlStreamAttributes::removeLast(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::removeOne(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::reserve(QXmlStreamAttributes* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QXmlStreamAttributes::resize(QXmlStreamAttributes* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QXmlStreamAttributes::setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +void PythonQtWrapper_QXmlStreamAttributes::shrink_to_fit(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +int PythonQtWrapper_QXmlStreamAttributes::size(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QXmlStreamAttributes::squeeze(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::startsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::swap(QXmlStreamAttributes* theWrappedObject, QVector& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QXmlStreamAttributes::swapItemsAt(QXmlStreamAttributes* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swapItemsAt(i, j)); +} + +QXmlStreamAttribute PythonQtWrapper_QXmlStreamAttributes::takeAt(QXmlStreamAttributes* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QXmlStreamAttribute PythonQtWrapper_QXmlStreamAttributes::takeFirst(QXmlStreamAttributes* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QXmlStreamAttribute PythonQtWrapper_QXmlStreamAttributes::takeLast(QXmlStreamAttributes* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QList PythonQtWrapper_QXmlStreamAttributes::toList(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->toList()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const +{ + return ( theWrappedObject->value(namespaceUri, name)); +} + +QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const +{ + return ( theWrappedObject->value(qualifiedName)); +} + + + +QXmlStreamEntityDeclaration* PythonQtWrapper_QXmlStreamEntityDeclaration::new_QXmlStreamEntityDeclaration() +{ +return new QXmlStreamEntityDeclaration(); } + +QXmlStreamEntityDeclaration* PythonQtWrapper_QXmlStreamEntityDeclaration::new_QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration& arg__1) +{ +return new QXmlStreamEntityDeclaration(arg__1); } + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::name(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::notationName(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->notationName()); +} + +bool PythonQtWrapper_QXmlStreamEntityDeclaration::__ne__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamEntityDeclaration::__eq__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::publicId(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::systemId(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::value(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QXmlStreamNamespaceDeclaration* PythonQtWrapper_QXmlStreamNamespaceDeclaration::new_QXmlStreamNamespaceDeclaration() +{ +return new QXmlStreamNamespaceDeclaration(); } + +QXmlStreamNamespaceDeclaration* PythonQtWrapper_QXmlStreamNamespaceDeclaration::new_QXmlStreamNamespaceDeclaration(const QString& prefix, const QString& namespaceUri) +{ +return new QXmlStreamNamespaceDeclaration(prefix, namespaceUri); } + +QXmlStreamNamespaceDeclaration* PythonQtWrapper_QXmlStreamNamespaceDeclaration::new_QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration& arg__1) +{ +return new QXmlStreamNamespaceDeclaration(arg__1); } + +QStringRef PythonQtWrapper_QXmlStreamNamespaceDeclaration::namespaceUri(QXmlStreamNamespaceDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +bool PythonQtWrapper_QXmlStreamNamespaceDeclaration::__ne__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamNamespaceDeclaration::__eq__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamNamespaceDeclaration::prefix(QXmlStreamNamespaceDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + + + +QXmlStreamNotationDeclaration* PythonQtWrapper_QXmlStreamNotationDeclaration::new_QXmlStreamNotationDeclaration() +{ +return new QXmlStreamNotationDeclaration(); } + +QXmlStreamNotationDeclaration* PythonQtWrapper_QXmlStreamNotationDeclaration::new_QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration& arg__1) +{ +return new QXmlStreamNotationDeclaration(arg__1); } + +QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::name(QXmlStreamNotationDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QXmlStreamNotationDeclaration::__ne__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamNotationDeclaration::__eq__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::publicId(QXmlStreamNotationDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::systemId(QXmlStreamNotationDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader() +{ +return new QXmlStreamReader(); } + +QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader(QIODevice* device) +{ +return new QXmlStreamReader(device); } + +QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader(const QByteArray& data) +{ +return new QXmlStreamReader(data); } + +QXmlStreamReader* PythonQtWrapper_QXmlStreamReader::new_QXmlStreamReader(const QString& data) +{ +return new QXmlStreamReader(data); } + +void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->addData(data)); +} + +void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QString& data) +{ + ( theWrappedObject->addData(data)); +} + +void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction) +{ + ( theWrappedObject->addExtraNamespaceDeclaration(extraNamespaceDeclaraction)); +} + +void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions) +{ + ( theWrappedObject->addExtraNamespaceDeclarations(extraNamespaceDeclaractions)); +} + +bool PythonQtWrapper_QXmlStreamReader::atEnd(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +QXmlStreamAttributes PythonQtWrapper_QXmlStreamReader::attributes(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +qint64 PythonQtWrapper_QXmlStreamReader::characterOffset(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->characterOffset()); +} + +void PythonQtWrapper_QXmlStreamReader::clear(QXmlStreamReader* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +qint64 PythonQtWrapper_QXmlStreamReader::columnNumber(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QIODevice* PythonQtWrapper_QXmlStreamReader::device(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::documentEncoding(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->documentEncoding()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::documentVersion(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->documentVersion()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::dtdName(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->dtdName()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::dtdPublicId(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->dtdPublicId()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::dtdSystemId(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->dtdSystemId()); +} + +QVector PythonQtWrapper_QXmlStreamReader::entityDeclarations(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->entityDeclarations()); +} + +int PythonQtWrapper_QXmlStreamReader::entityExpansionLimit(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->entityExpansionLimit()); +} + +QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamReader::entityResolver(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->entityResolver()); +} + +QXmlStreamReader::Error PythonQtWrapper_QXmlStreamReader::error(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QXmlStreamReader::errorString(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlStreamReader::hasError(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +bool PythonQtWrapper_QXmlStreamReader::isCDATA(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isCDATA()); +} + +bool PythonQtWrapper_QXmlStreamReader::isCharacters(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isCharacters()); +} + +bool PythonQtWrapper_QXmlStreamReader::isComment(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isComment()); +} + +bool PythonQtWrapper_QXmlStreamReader::isDTD(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isDTD()); +} + +bool PythonQtWrapper_QXmlStreamReader::isEndDocument(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isEndDocument()); +} + +bool PythonQtWrapper_QXmlStreamReader::isEndElement(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isEndElement()); +} + +bool PythonQtWrapper_QXmlStreamReader::isEntityReference(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isEntityReference()); +} + +bool PythonQtWrapper_QXmlStreamReader::isProcessingInstruction(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isProcessingInstruction()); +} + +bool PythonQtWrapper_QXmlStreamReader::isStandaloneDocument(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isStandaloneDocument()); +} + +bool PythonQtWrapper_QXmlStreamReader::isStartDocument(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isStartDocument()); +} + +bool PythonQtWrapper_QXmlStreamReader::isStartElement(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isStartElement()); +} + +bool PythonQtWrapper_QXmlStreamReader::isWhitespace(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isWhitespace()); +} + +qint64 PythonQtWrapper_QXmlStreamReader::lineNumber(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::name(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QVector PythonQtWrapper_QXmlStreamReader::namespaceDeclarations(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->namespaceDeclarations()); +} + +bool PythonQtWrapper_QXmlStreamReader::namespaceProcessing(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->namespaceProcessing()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::namespaceUri(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +QVector PythonQtWrapper_QXmlStreamReader::notationDeclarations(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->notationDeclarations()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::prefix(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionData(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->processingInstructionData()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionTarget(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->processingInstructionTarget()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::qualifiedName(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->qualifiedName()); +} + +void PythonQtWrapper_QXmlStreamReader::raiseError(QXmlStreamReader* theWrappedObject, const QString& message) +{ + ( theWrappedObject->raiseError(message)); +} + +QString PythonQtWrapper_QXmlStreamReader::readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour) +{ + return ( theWrappedObject->readElementText(behaviour)); +} + +QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::readNext(QXmlStreamReader* theWrappedObject) +{ + return ( theWrappedObject->readNext()); +} + +bool PythonQtWrapper_QXmlStreamReader::readNextStartElement(QXmlStreamReader* theWrappedObject) +{ + return ( theWrappedObject->readNextStartElement()); +} + +void PythonQtWrapper_QXmlStreamReader::setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QXmlStreamReader::setEntityExpansionLimit(QXmlStreamReader* theWrappedObject, int limit) +{ + ( theWrappedObject->setEntityExpansionLimit(limit)); +} + +void PythonQtWrapper_QXmlStreamReader::setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver) +{ + ( theWrappedObject->setEntityResolver(resolver)); +} + +void PythonQtWrapper_QXmlStreamReader::setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setNamespaceProcessing(arg__1)); +} + +void PythonQtWrapper_QXmlStreamReader::skipCurrentElement(QXmlStreamReader* theWrappedObject) +{ + ( theWrappedObject->skipCurrentElement()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::text(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QString PythonQtWrapper_QXmlStreamReader::tokenString(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->tokenString()); +} + +QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::tokenType(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->tokenType()); +} + + + +QXmlStreamWriter* PythonQtWrapper_QXmlStreamWriter::new_QXmlStreamWriter() +{ +return new QXmlStreamWriter(); } + +QXmlStreamWriter* PythonQtWrapper_QXmlStreamWriter::new_QXmlStreamWriter(QByteArray* array) +{ +return new QXmlStreamWriter(array); } + +QXmlStreamWriter* PythonQtWrapper_QXmlStreamWriter::new_QXmlStreamWriter(QIODevice* device) +{ +return new QXmlStreamWriter(device); } + +bool PythonQtWrapper_QXmlStreamWriter::autoFormatting(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->autoFormatting()); +} + +int PythonQtWrapper_QXmlStreamWriter::autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->autoFormattingIndent()); +} + +QTextCodec* PythonQtWrapper_QXmlStreamWriter::codec(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QIODevice* PythonQtWrapper_QXmlStreamWriter::device(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +bool PythonQtWrapper_QXmlStreamWriter::hasError(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +void PythonQtWrapper_QXmlStreamWriter::setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoFormatting(arg__1)); +} + +void PythonQtWrapper_QXmlStreamWriter::setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spacesOrTabs) +{ + ( theWrappedObject->setAutoFormattingIndent(spacesOrTabs)); +} + +void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName) +{ + ( theWrappedObject->setCodec(codecName)); +} + +void PythonQtWrapper_QXmlStreamWriter::setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) +{ + ( theWrappedObject->writeAttribute(namespaceUri, name, value)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value) +{ + ( theWrappedObject->writeAttribute(qualifiedName, value)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute) +{ + ( theWrappedObject->writeAttribute(attribute)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes) +{ + ( theWrappedObject->writeAttributes(attributes)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text) +{ + ( theWrappedObject->writeCDATA(text)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text) +{ + ( theWrappedObject->writeCharacters(text)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeComment(QXmlStreamWriter* theWrappedObject, const QString& text) +{ + ( theWrappedObject->writeComment(text)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader) +{ + ( theWrappedObject->writeCurrentToken(reader)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd) +{ + ( theWrappedObject->writeDTD(dtd)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri) +{ + ( theWrappedObject->writeDefaultNamespace(namespaceUri)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) +{ + ( theWrappedObject->writeEmptyElement(namespaceUri, name)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) +{ + ( theWrappedObject->writeEmptyElement(qualifiedName)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEndDocument(QXmlStreamWriter* theWrappedObject) +{ + ( theWrappedObject->writeEndDocument()); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEndElement(QXmlStreamWriter* theWrappedObject) +{ + ( theWrappedObject->writeEndElement()); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name) +{ + ( theWrappedObject->writeEntityReference(name)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix) +{ + ( theWrappedObject->writeNamespace(namespaceUri, prefix)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data) +{ + ( theWrappedObject->writeProcessingInstruction(target, data)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject) +{ + ( theWrappedObject->writeStartDocument()); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version) +{ + ( theWrappedObject->writeStartDocument(version)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version, bool standalone) +{ + ( theWrappedObject->writeStartDocument(version, standalone)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) +{ + ( theWrappedObject->writeStartElement(namespaceUri, name)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) +{ + ( theWrappedObject->writeStartElement(qualifiedName)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text) +{ + ( theWrappedObject->writeTextElement(namespaceUri, name, text)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text) +{ + ( theWrappedObject->writeTextElement(qualifiedName, text)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.h b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.h new file mode 100644 index 00000000..a9105fa0 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml1.h @@ -0,0 +1,281 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtWrapper_QXmlStreamAttribute : public QObject +{ Q_OBJECT +public: +public slots: +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; } + bool isDefault(QXmlStreamAttribute* theWrappedObject) const; + QStringRef name(QXmlStreamAttribute* theWrappedObject) const; + QStringRef namespaceUri(QXmlStreamAttribute* theWrappedObject) const; + bool __ne__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const; + bool __eq__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const; + QStringRef prefix(QXmlStreamAttribute* theWrappedObject) const; + QStringRef qualifiedName(QXmlStreamAttribute* theWrappedObject) const; + QStringRef value(QXmlStreamAttribute* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlStreamAttributes : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamAttributes* new_QXmlStreamAttributes(); +QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other) { +QXmlStreamAttributes* a = new QXmlStreamAttributes(); +*((QXmlStreamAttributes*)a) = other; +return a; } +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; + int capacity(QXmlStreamAttributes* theWrappedObject) const; + void clear(QXmlStreamAttributes* theWrappedObject); + const QXmlStreamAttribute* constFirst(QXmlStreamAttributes* theWrappedObject) const; + const QXmlStreamAttribute* constLast(QXmlStreamAttributes* theWrappedObject) const; + bool contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + int count(QXmlStreamAttributes* theWrappedObject) const; + int count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + bool empty(QXmlStreamAttributes* theWrappedObject) const; + bool endsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + QVector* fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size = -1); + const QXmlStreamAttribute* first(QXmlStreamAttributes* theWrappedObject) const; + QVector static_QXmlStreamAttributes_fromList(const QList& list); + bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; + bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; + int indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from = 0) const; + bool isEmpty(QXmlStreamAttributes* theWrappedObject) const; + bool isSharedWith(QXmlStreamAttributes* theWrappedObject, const QVector& other) const; + const QXmlStreamAttribute* last(QXmlStreamAttributes* theWrappedObject) const; + int lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from = -1) const; + int length(QXmlStreamAttributes* theWrappedObject) const; + QVector mid(QXmlStreamAttributes* theWrappedObject, int pos, int len = -1) const; + void move(QXmlStreamAttributes* theWrappedObject, int from, int to); + bool __ne__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const; + bool __eq__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const; + void prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); + void remove(QXmlStreamAttributes* theWrappedObject, int i); + void remove(QXmlStreamAttributes* theWrappedObject, int i, int n); + int removeAll(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); + void removeAt(QXmlStreamAttributes* theWrappedObject, int i); + void removeFirst(QXmlStreamAttributes* theWrappedObject); + void removeLast(QXmlStreamAttributes* theWrappedObject); + bool removeOne(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); + void replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t); + void reserve(QXmlStreamAttributes* theWrappedObject, int size); + void resize(QXmlStreamAttributes* theWrappedObject, int size); + void setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable); + void shrink_to_fit(QXmlStreamAttributes* theWrappedObject); + int size(QXmlStreamAttributes* theWrappedObject) const; + void squeeze(QXmlStreamAttributes* theWrappedObject); + bool startsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + void swap(QXmlStreamAttributes* theWrappedObject, QVector& other); + void swapItemsAt(QXmlStreamAttributes* theWrappedObject, int i, int j); + QXmlStreamAttribute takeAt(QXmlStreamAttributes* theWrappedObject, int i); + QXmlStreamAttribute takeFirst(QXmlStreamAttributes* theWrappedObject); + QXmlStreamAttribute takeLast(QXmlStreamAttributes* theWrappedObject); + QList toList(QXmlStreamAttributes* theWrappedObject) const; + QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; + QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; + bool __nonzero__(QXmlStreamAttributes* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QXmlStreamEntityDeclaration : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamEntityDeclaration* new_QXmlStreamEntityDeclaration(); +QXmlStreamEntityDeclaration* new_QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration& arg__1); +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; + bool __eq__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const; + QStringRef publicId(QXmlStreamEntityDeclaration* theWrappedObject) const; + QStringRef systemId(QXmlStreamEntityDeclaration* theWrappedObject) const; + QStringRef value(QXmlStreamEntityDeclaration* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlStreamNamespaceDeclaration : public QObject +{ Q_OBJECT +public: +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; } + QStringRef namespaceUri(QXmlStreamNamespaceDeclaration* theWrappedObject) const; + bool __ne__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const; + bool __eq__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const; + QStringRef prefix(QXmlStreamNamespaceDeclaration* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlStreamNotationDeclaration : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamNotationDeclaration* new_QXmlStreamNotationDeclaration(); +QXmlStreamNotationDeclaration* new_QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration& arg__1); +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; + QStringRef publicId(QXmlStreamNotationDeclaration* theWrappedObject) const; + QStringRef systemId(QXmlStreamNotationDeclaration* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlStreamReader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error ReadElementTextBehaviour TokenType ) +enum Error{ + NoError = QXmlStreamReader::NoError, UnexpectedElementError = QXmlStreamReader::UnexpectedElementError, CustomError = QXmlStreamReader::CustomError, NotWellFormedError = QXmlStreamReader::NotWellFormedError, PrematureEndOfDocumentError = QXmlStreamReader::PrematureEndOfDocumentError}; +enum ReadElementTextBehaviour{ + ErrorOnUnexpectedElement = QXmlStreamReader::ErrorOnUnexpectedElement, IncludeChildElements = QXmlStreamReader::IncludeChildElements, SkipChildElements = QXmlStreamReader::SkipChildElements}; +enum TokenType{ + NoToken = QXmlStreamReader::NoToken, Invalid = QXmlStreamReader::Invalid, StartDocument = QXmlStreamReader::StartDocument, EndDocument = QXmlStreamReader::EndDocument, StartElement = QXmlStreamReader::StartElement, EndElement = QXmlStreamReader::EndElement, Characters = QXmlStreamReader::Characters, Comment = QXmlStreamReader::Comment, DTD = QXmlStreamReader::DTD, EntityReference = QXmlStreamReader::EntityReference, ProcessingInstruction = QXmlStreamReader::ProcessingInstruction}; +public slots: +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 addData(QXmlStreamReader* theWrappedObject, const QByteArray& data); + void addData(QXmlStreamReader* theWrappedObject, const QString& data); + void addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction); + void addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions); + bool atEnd(QXmlStreamReader* theWrappedObject) const; + QXmlStreamAttributes attributes(QXmlStreamReader* theWrappedObject) const; + qint64 characterOffset(QXmlStreamReader* theWrappedObject) const; + void clear(QXmlStreamReader* theWrappedObject); + qint64 columnNumber(QXmlStreamReader* theWrappedObject) const; + QIODevice* device(QXmlStreamReader* theWrappedObject) const; + QStringRef documentEncoding(QXmlStreamReader* theWrappedObject) const; + QStringRef documentVersion(QXmlStreamReader* theWrappedObject) const; + QStringRef dtdName(QXmlStreamReader* theWrappedObject) const; + QStringRef dtdPublicId(QXmlStreamReader* theWrappedObject) const; + QStringRef dtdSystemId(QXmlStreamReader* theWrappedObject) const; + QVector entityDeclarations(QXmlStreamReader* theWrappedObject) const; + int entityExpansionLimit(QXmlStreamReader* theWrappedObject) const; + QXmlStreamEntityResolver* entityResolver(QXmlStreamReader* theWrappedObject) const; + QXmlStreamReader::Error error(QXmlStreamReader* theWrappedObject) const; + QString errorString(QXmlStreamReader* theWrappedObject) const; + bool hasError(QXmlStreamReader* theWrappedObject) const; + bool isCDATA(QXmlStreamReader* theWrappedObject) const; + bool isCharacters(QXmlStreamReader* theWrappedObject) const; + bool isComment(QXmlStreamReader* theWrappedObject) const; + bool isDTD(QXmlStreamReader* theWrappedObject) const; + bool isEndDocument(QXmlStreamReader* theWrappedObject) const; + bool isEndElement(QXmlStreamReader* theWrappedObject) const; + bool isEntityReference(QXmlStreamReader* theWrappedObject) const; + bool isProcessingInstruction(QXmlStreamReader* theWrappedObject) const; + bool isStandaloneDocument(QXmlStreamReader* theWrappedObject) const; + bool isStartDocument(QXmlStreamReader* theWrappedObject) const; + bool isStartElement(QXmlStreamReader* theWrappedObject) const; + bool isWhitespace(QXmlStreamReader* theWrappedObject) const; + qint64 lineNumber(QXmlStreamReader* theWrappedObject) const; + QStringRef name(QXmlStreamReader* theWrappedObject) const; + QVector namespaceDeclarations(QXmlStreamReader* theWrappedObject) const; + bool namespaceProcessing(QXmlStreamReader* theWrappedObject) const; + QStringRef namespaceUri(QXmlStreamReader* theWrappedObject) const; + QVector notationDeclarations(QXmlStreamReader* theWrappedObject) const; + QStringRef prefix(QXmlStreamReader* theWrappedObject) const; + QStringRef processingInstructionData(QXmlStreamReader* theWrappedObject) const; + QStringRef processingInstructionTarget(QXmlStreamReader* theWrappedObject) const; + QStringRef qualifiedName(QXmlStreamReader* theWrappedObject) const; + void raiseError(QXmlStreamReader* theWrappedObject, const QString& message = QString()); + QString readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour = QXmlStreamReader::ErrorOnUnexpectedElement); + QXmlStreamReader::TokenType readNext(QXmlStreamReader* theWrappedObject); + bool readNextStartElement(QXmlStreamReader* theWrappedObject); + void setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device); + void setEntityExpansionLimit(QXmlStreamReader* theWrappedObject, int limit); + void setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver); + void setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1); + void skipCurrentElement(QXmlStreamReader* theWrappedObject); + QStringRef text(QXmlStreamReader* theWrappedObject) const; + QString tokenString(QXmlStreamReader* theWrappedObject) const; + QXmlStreamReader::TokenType tokenType(QXmlStreamReader* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlStreamWriter : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamWriter* new_QXmlStreamWriter(); +QXmlStreamWriter* new_QXmlStreamWriter(QByteArray* array); +QXmlStreamWriter* new_QXmlStreamWriter(QIODevice* device); +void delete_QXmlStreamWriter(QXmlStreamWriter* obj) { delete obj; } + bool autoFormatting(QXmlStreamWriter* theWrappedObject) const; + int autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const; + QTextCodec* codec(QXmlStreamWriter* theWrappedObject) const; + QIODevice* device(QXmlStreamWriter* theWrappedObject) const; + bool hasError(QXmlStreamWriter* theWrappedObject) const; + void setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1); + void setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spacesOrTabs); + void setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec); + void setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName); + void setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device); + void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); + void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value); + void writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute); + void writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes); + void writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text); + void writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text); + void writeComment(QXmlStreamWriter* theWrappedObject, const QString& text); + void writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader); + void writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd); + void writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri); + void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); + void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); + void writeEndDocument(QXmlStreamWriter* theWrappedObject); + void writeEndElement(QXmlStreamWriter* theWrappedObject); + void writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name); + void writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix = QString()); + void writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data = QString()); + void writeStartDocument(QXmlStreamWriter* theWrappedObject); + void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version); + void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version, bool standalone); + void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); + void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); + void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text); + void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text); +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp new file mode 100644 index 00000000..fa280697 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp @@ -0,0 +1,59 @@ +#include +#include +#include "com_trolltech_qt_xml0.h" +#include "com_trolltech_qt_xml1.h" + + + +void PythonQt_init_QtXml(PyObject* module) { +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); +PythonQt::priv()->registerCPPClass("QXmlDeclHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlDefaultHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlContentHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlErrorHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDTDHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlEntityResolver",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlLexicalHandler",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDeclHandler",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QXmlEntityResolver", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, 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); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamAttribute); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamEntityDeclaration); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamNamespaceDeclaration); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamNotationDeclaration); +} diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri new file mode 100644 index 00000000..7e3085da --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_xmlpatterns0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_xmlpatterns0.cpp \ + $$PWD/com_trolltech_qt_xmlpatterns_init.cpp diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp new file mode 100644 index 00000000..b7eb2814 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -0,0 +1,3048 @@ +#include "com_trolltech_qt_xmlpatterns0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QAbstractMessageHandler::~PythonQtShell_QAbstractMessageHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractMessageHandler::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(); + } + } +} + QAbstractMessageHandler::childEvent(event0); +} +void PythonQtShell_QAbstractMessageHandler::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(); + } + } +} + QAbstractMessageHandler::customEvent(event0); +} +bool PythonQtShell_QAbstractMessageHandler::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 QAbstractMessageHandler::event(event0); +} +bool PythonQtShell_QAbstractMessageHandler::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 QAbstractMessageHandler::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, const QString& description1, const QUrl& identifier2, const QSourceLocation& sourceLocation3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("handleMessage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QtMsgType" , "const QString&" , "const QUrl&" , "const QSourceLocation&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + 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); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractMessageHandler::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(); + } + } +} + QAbstractMessageHandler::timerEvent(event0); +} +QAbstractMessageHandler* PythonQtWrapper_QAbstractMessageHandler::new_QAbstractMessageHandler(QObject* parent) +{ +return new PythonQtShell_QAbstractMessageHandler(parent); } + +const QMetaObject* PythonQtShell_QAbstractMessageHandler::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractMessageHandler::staticMetaObject); + } else { + return &QAbstractMessageHandler::staticMetaObject; + } +} +int PythonQtShell_QAbstractMessageHandler::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractMessageHandler::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractMessageHandler::handleMessage(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) +{ + ( ((PythonQtPublicPromoter_QAbstractMessageHandler*)theWrappedObject)->promoted_handleMessage(type, description, identifier, sourceLocation)); +} + +void PythonQtWrapper_QAbstractMessageHandler::message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) +{ + ( theWrappedObject->message(type, description, identifier, sourceLocation)); +} + + + +PythonQtShell_QAbstractUriResolver::~PythonQtShell_QAbstractUriResolver() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractUriResolver::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(); + } + } +} + QAbstractUriResolver::childEvent(event0); +} +void PythonQtShell_QAbstractUriResolver::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(); + } + } +} + QAbstractUriResolver::customEvent(event0); +} +bool PythonQtShell_QAbstractUriResolver::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 QAbstractUriResolver::event(event0); +} +bool PythonQtShell_QAbstractUriResolver::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 QAbstractUriResolver::eventFilter(watched0, event1); +} +QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const QUrl& baseURI1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resolve"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QUrl&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolve", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +void PythonQtShell_QAbstractUriResolver::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(); + } + } +} + QAbstractUriResolver::timerEvent(event0); +} +QAbstractUriResolver* PythonQtWrapper_QAbstractUriResolver::new_QAbstractUriResolver(QObject* parent) +{ +return new PythonQtShell_QAbstractUriResolver(parent); } + +const QMetaObject* PythonQtShell_QAbstractUriResolver::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractUriResolver::staticMetaObject); + } else { + return &QAbstractUriResolver::staticMetaObject; + } +} +int PythonQtShell_QAbstractUriResolver::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractUriResolver::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUrl PythonQtWrapper_QAbstractUriResolver::resolve(QAbstractUriResolver* theWrappedObject, const QUrl& relative, const QUrl& baseURI) const +{ + return ( theWrappedObject->resolve(relative, baseURI)); +} + + + +PythonQtShell_QAbstractXmlNodeModel::~PythonQtShell_QAbstractXmlNodeModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVector PythonQtShell_QAbstractXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("attributes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("baseUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("compareOrder"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::DocumentOrder(); +} +QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlName& NCName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("elementById"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isDeepEqual"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isDeepEqual", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractXmlNodeModel::isDeepEqual(ni10, ni21); +} +QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("kind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::NodeKind(); +} +QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("name"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QXmlName*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlName(); +} +QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("namespaceBindings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni0, const short prefix1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("namespaceForPrefix"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"short" , "const QXmlNodeModelIndex&" , "const short"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceForPrefix", methodInfo, result); + } else { + returnValue = *((short*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractXmlNodeModel::namespaceForPrefix(ni0, prefix1); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextFromSimpleAxis"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref(const QXmlName& NCName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nodesByIdref"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("root"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stringValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("typedValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +QAbstractXmlNodeModel* PythonQtWrapper_QAbstractXmlNodeModel::new_QAbstractXmlNodeModel() +{ +return new PythonQtShell_QAbstractXmlNodeModel(); } + +QVector PythonQtWrapper_QAbstractXmlNodeModel::attributes(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& element) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_attributes(element)); +} + +QUrl PythonQtWrapper_QAbstractXmlNodeModel::baseUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->baseUri(ni)); +} + +QXmlNodeModelIndex::DocumentOrder PythonQtWrapper_QAbstractXmlNodeModel::compareOrder(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const +{ + return ( theWrappedObject->compareOrder(ni1, ni2)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_createIndex(data)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data, qint64 additionalData) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_createIndex(data, additionalData)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::createIndex(QAbstractXmlNodeModel* theWrappedObject, void* pointer, qint64 additionalData) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_createIndex(pointer, additionalData)); +} + +QUrl PythonQtWrapper_QAbstractXmlNodeModel::documentUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->documentUri(ni)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::elementById(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const +{ + return ( theWrappedObject->elementById(NCName)); +} + +bool PythonQtWrapper_QAbstractXmlNodeModel::isDeepEqual(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const +{ + return ( theWrappedObject->isDeepEqual(ni1, ni2)); +} + +QXmlNodeModelIndex::NodeKind PythonQtWrapper_QAbstractXmlNodeModel::kind(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->kind(ni)); +} + +QXmlName PythonQtWrapper_QAbstractXmlNodeModel::name(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->name(ni)); +} + +QVector PythonQtWrapper_QAbstractXmlNodeModel::namespaceBindings(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->namespaceBindings(n)); +} + +short PythonQtWrapper_QAbstractXmlNodeModel::namespaceForPrefix(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni, const short prefix) const +{ + return ( theWrappedObject->namespaceForPrefix(ni, prefix)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel* theWrappedObject, QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_nextFromSimpleAxis(axis, origin)); +} + +QVector PythonQtWrapper_QAbstractXmlNodeModel::nodesByIdref(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const +{ + return ( theWrappedObject->nodesByIdref(NCName)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::root(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->root(n)); +} + +QSourceLocation PythonQtWrapper_QAbstractXmlNodeModel::sourceLocation(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& index) const +{ + return ( theWrappedObject->sourceLocation(index)); +} + +QString PythonQtWrapper_QAbstractXmlNodeModel::stringValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->stringValue(n)); +} + +QVariant PythonQtWrapper_QAbstractXmlNodeModel::typedValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->typedValue(n)); +} + + + +PythonQtShell_QAbstractXmlReceiver::~PythonQtShell_QAbstractXmlReceiver() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atomicValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const QStringRef& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("attribute"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endDocument"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endElement() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endElement"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endOfSequence"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("namespaceBinding"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& target0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&target0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDocument"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startOfSequence"); + 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(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("whitespaceOnly"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractXmlReceiver::whitespaceOnly(value0); +} +QAbstractXmlReceiver* PythonQtWrapper_QAbstractXmlReceiver::new_QAbstractXmlReceiver() +{ +return new PythonQtShell_QAbstractXmlReceiver(); } + +void PythonQtWrapper_QAbstractXmlReceiver::atomicValue(QAbstractXmlReceiver* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->atomicValue(value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::attribute(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name, const QStringRef& value) +{ + ( theWrappedObject->attribute(name, value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::characters(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value) +{ + ( theWrappedObject->characters(value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::comment(QAbstractXmlReceiver* theWrappedObject, const QString& value) +{ + ( theWrappedObject->comment(value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::endDocument(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->endDocument()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::endElement(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->endElement()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::endOfSequence(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->endOfSequence()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::namespaceBinding(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name) +{ + ( theWrappedObject->namespaceBinding(name)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::processingInstruction(QAbstractXmlReceiver* theWrappedObject, const QXmlName& target, const QString& value) +{ + ( theWrappedObject->processingInstruction(target, value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::startDocument(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->startDocument()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::startElement(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name) +{ + ( theWrappedObject->startElement(name)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::startOfSequence(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->startOfSequence()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value) +{ + ( theWrappedObject->whitespaceOnly(value)); +} + + + + + + + +PythonQtShell_QSimpleXmlNodeModel::~PythonQtShell_QSimpleXmlNodeModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVector PythonQtShell_QSimpleXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("attributes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("baseUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::baseUri(node0); +} +QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("compareOrder"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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] = {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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::DocumentOrder(); +} +QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlName& id0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("elementById"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::elementById(id0); +} +bool PythonQtShell_QSimpleXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isDeepEqual"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isDeepEqual", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::isDeepEqual(ni10, ni21); +} +QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("kind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::NodeKind(); +} +QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("name"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QXmlName*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlName(); +} +QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("namespaceBindings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::namespaceBindings(arg__1); +} +short PythonQtShell_QSimpleXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni0, const short prefix1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("namespaceForPrefix"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"short" , "const QXmlNodeModelIndex&" , "const short"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceForPrefix", methodInfo, result); + } else { + returnValue = *((short*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::namespaceForPrefix(ni0, prefix1); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextFromSimpleAxis"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(const QXmlName& idref0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nodesByIdref"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::nodesByIdref(idref0); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("root"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex& node0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stringValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::stringValue(node0); +} +QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("typedValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +QSimpleXmlNodeModel* PythonQtWrapper_QSimpleXmlNodeModel::new_QSimpleXmlNodeModel(const QXmlNamePool& namePool) +{ +return new PythonQtShell_QSimpleXmlNodeModel(namePool); } + +QXmlNamePool* PythonQtWrapper_QSimpleXmlNodeModel::namePool(QSimpleXmlNodeModel* theWrappedObject) const +{ + return &( theWrappedObject->namePool()); +} + + + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation() +{ +return new QSourceLocation(); } + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QSourceLocation& other) +{ +return new QSourceLocation(other); } + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QUrl& uri, int line, int column) +{ +return new QSourceLocation(uri, line, column); } + +qint64 PythonQtWrapper_QSourceLocation::column(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +bool PythonQtWrapper_QSourceLocation::isNull(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qint64 PythonQtWrapper_QSourceLocation::line(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +bool PythonQtWrapper_QSourceLocation::__ne__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSourceLocation::__eq__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSourceLocation::setColumn(QSourceLocation* theWrappedObject, qint64 newColumn) +{ + ( theWrappedObject->setColumn(newColumn)); +} + +void PythonQtWrapper_QSourceLocation::setLine(QSourceLocation* theWrappedObject, qint64 newLine) +{ + ( theWrappedObject->setLine(newLine)); +} + +void PythonQtWrapper_QSourceLocation::setUri(QSourceLocation* theWrappedObject, const QUrl& newUri) +{ + ( theWrappedObject->setUri(newUri)); +} + +QUrl PythonQtWrapper_QSourceLocation::uri(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->uri()); +} + +QString PythonQtWrapper_QSourceLocation::py_toString(QSourceLocation* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QXmlFormatter::~PythonQtShell_QXmlFormatter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atomicValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::atomicValue(value0); +} +void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStringRef& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("attribute"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::attribute(name0, value1); +} +void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::characters(value0); +} +void PythonQtShell_QXmlFormatter::comment(const QString& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::comment(value0); +} +void PythonQtShell_QXmlFormatter::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endDocument"); + 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(); + } + } +} + QXmlFormatter::endDocument(); +} +void PythonQtShell_QXmlFormatter::endElement() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endElement"); + 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(); + } + } +} + QXmlFormatter::endElement(); +} +void PythonQtShell_QXmlFormatter::endOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endOfSequence"); + 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(); + } + } +} + QXmlFormatter::endOfSequence(); +} +void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("namespaceBinding"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&nb0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::namespaceBinding(nb0); +} +void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::processingInstruction(name0, value1); +} +void PythonQtShell_QXmlFormatter::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDocument"); + 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(); + } + } +} + QXmlFormatter::startDocument(); +} +void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::startElement(name0); +} +void PythonQtShell_QXmlFormatter::startOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startOfSequence"); + 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(); + } + } +} + QXmlFormatter::startOfSequence(); +} +void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("whitespaceOnly"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::whitespaceOnly(value0); +} +QXmlFormatter* PythonQtWrapper_QXmlFormatter::new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice) +{ +return new PythonQtShell_QXmlFormatter(query, outputDevice); } + +int PythonQtWrapper_QXmlFormatter::indentationDepth(QXmlFormatter* theWrappedObject) const +{ + return ( theWrappedObject->indentationDepth()); +} + +void PythonQtWrapper_QXmlFormatter::setIndentationDepth(QXmlFormatter* theWrappedObject, int depth) +{ + ( theWrappedObject->setIndentationDepth(depth)); +} + + + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem() +{ +return new QXmlItem(); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QVariant& atomicValue) +{ +return new QXmlItem(atomicValue); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlItem& other) +{ +return new QXmlItem(other); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlNodeModelIndex& node) +{ +return new QXmlItem(node); } + +bool PythonQtWrapper_QXmlItem::isAtomicValue(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isAtomicValue()); +} + +bool PythonQtWrapper_QXmlItem::isNode(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isNode()); +} + +bool PythonQtWrapper_QXmlItem::isNull(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QVariant PythonQtWrapper_QXmlItem::toAtomicValue(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->toAtomicValue()); +} + +QXmlNodeModelIndex PythonQtWrapper_QXmlItem::toNodeModelIndex(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->toNodeModelIndex()); +} + + + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName() +{ +return new QXmlName(); } + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI, const QString& prefix) +{ +return new QXmlName(namePool, localName, namespaceURI, prefix); } + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName(const QXmlName& other) +{ +return new QXmlName(other); } + +QXmlName PythonQtWrapper_QXmlName::static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool) +{ + return (QXmlName::fromClarkName(clarkName, namePool)); +} + +bool PythonQtWrapper_QXmlName::static_QXmlName_isNCName(const QString& candidate) +{ + return (QXmlName::isNCName(candidate)); +} + +bool PythonQtWrapper_QXmlName::isNull(QXmlName* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QXmlName::localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->localName(query)); +} + +QString PythonQtWrapper_QXmlName::namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->namespaceUri(query)); +} + +bool PythonQtWrapper_QXmlName::__ne__(QXmlName* theWrappedObject, const QXmlName& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlName::__eq__(QXmlName* theWrappedObject, const QXmlName& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QXmlName::prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->prefix(query)); +} + +QString PythonQtWrapper_QXmlName::toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->toClarkName(query)); +} + + + +QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool() +{ +return new QXmlNamePool(); } + +QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool(const QXmlNamePool& other) +{ +return new QXmlNamePool(other); } + + + +QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex() +{ +return new QXmlNodeModelIndex(); } + +QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other) +{ +return new QXmlNodeModelIndex(other); } + +qint64 PythonQtWrapper_QXmlNodeModelIndex::additionalData(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->additionalData()); +} + +qint64 PythonQtWrapper_QXmlNodeModelIndex::data(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::isNull(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +const QAbstractXmlNodeModel* PythonQtWrapper_QXmlNodeModelIndex::model(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::__ne__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::operator_assign(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::__eq__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + + + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery() +{ +return new QXmlQuery(); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool& np) +{ +return new QXmlQuery(queryLanguage, np); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlNamePool& np) +{ +return new QXmlQuery(np); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlQuery& other) +{ +return new QXmlQuery(other); } + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2) +{ + ( theWrappedObject->bindVariable(localName, arg__2)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value) +{ + ( theWrappedObject->bindVariable(localName, value)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlQuery& query) +{ + ( theWrappedObject->bindVariable(localName, query)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2) +{ + ( theWrappedObject->bindVariable(name, arg__2)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value) +{ + ( theWrappedObject->bindVariable(name, value)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlQuery& query) +{ + ( theWrappedObject->bindVariable(name, query)); +} + +bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QIODevice* target) const +{ + return ( theWrappedObject->evaluateTo(target)); +} + +bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QString* output) const +{ + return ( theWrappedObject->evaluateTo(output)); +} + +void PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const +{ + ( theWrappedObject->evaluateTo(result)); +} + +QXmlName PythonQtWrapper_QXmlQuery::initialTemplateName(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->initialTemplateName()); +} + +bool PythonQtWrapper_QXmlQuery::isValid(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QAbstractMessageHandler* PythonQtWrapper_QXmlQuery::messageHandler(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlQuery::namePool(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlQuery::networkAccessManager(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QXmlQuery* PythonQtWrapper_QXmlQuery::operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other) +{ + return &( (*theWrappedObject)= other); +} + +QXmlQuery::QueryLanguage PythonQtWrapper_QXmlQuery::queryLanguage(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryLanguage()); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, QIODevice* document) +{ + return ( theWrappedObject->setFocus(document)); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QString& focus) +{ + return ( theWrappedObject->setFocus(focus)); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QUrl& documentURI) +{ + return ( theWrappedObject->setFocus(documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item) +{ + ( theWrappedObject->setFocus(item)); +} + +void PythonQtWrapper_QXmlQuery::setInitialTemplateName(QXmlQuery* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setInitialTemplateName(name)); +} + +void PythonQtWrapper_QXmlQuery::setInitialTemplateName(QXmlQuery* theWrappedObject, const QXmlName& name) +{ + ( theWrappedObject->setInitialTemplateName(name)); +} + +void PythonQtWrapper_QXmlQuery::setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler) +{ + ( theWrappedObject->setMessageHandler(messageHandler)); +} + +void PythonQtWrapper_QXmlQuery::setNetworkAccessManager(QXmlQuery* theWrappedObject, QNetworkAccessManager* newManager) +{ + ( theWrappedObject->setNetworkAccessManager(newManager)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI) +{ + ( theWrappedObject->setQuery(sourceCode, documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI) +{ + ( theWrappedObject->setQuery(sourceCode, documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI) +{ + ( theWrappedObject->setQuery(queryURI, baseURI)); +} + +void PythonQtWrapper_QXmlQuery::setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlQuery::uriResolver(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + + + +PythonQtShell_QXmlResultItems::~PythonQtShell_QXmlResultItems() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QXmlResultItems* PythonQtWrapper_QXmlResultItems::new_QXmlResultItems() +{ +return new PythonQtShell_QXmlResultItems(); } + +QXmlItem PythonQtWrapper_QXmlResultItems::current(QXmlResultItems* theWrappedObject) const +{ + return ( theWrappedObject->current()); +} + +bool PythonQtWrapper_QXmlResultItems::hasError(QXmlResultItems* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +QXmlItem PythonQtWrapper_QXmlResultItems::next(QXmlResultItems* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + + + +QXmlSchema* PythonQtWrapper_QXmlSchema::new_QXmlSchema() +{ +return new QXmlSchema(); } + +QXmlSchema* PythonQtWrapper_QXmlSchema::new_QXmlSchema(const QXmlSchema& other) +{ +return new QXmlSchema(other); } + +QUrl PythonQtWrapper_QXmlSchema::documentUri(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->documentUri()); +} + +bool PythonQtWrapper_QXmlSchema::isValid(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, QIODevice* source, const QUrl& documentUri) +{ + return ( theWrappedObject->load(source, documentUri)); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, const QByteArray& data, const QUrl& documentUri) +{ + return ( theWrappedObject->load(data, documentUri)); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, const QUrl& source) +{ + return ( theWrappedObject->load(source)); +} + +QAbstractMessageHandler* PythonQtWrapper_QXmlSchema::messageHandler(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlSchema::namePool(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlSchema::networkAccessManager(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QXmlSchema* PythonQtWrapper_QXmlSchema::operator_assign(QXmlSchema* theWrappedObject, const QXmlSchema& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QXmlSchema::setMessageHandler(QXmlSchema* theWrappedObject, QAbstractMessageHandler* handler) +{ + ( theWrappedObject->setMessageHandler(handler)); +} + +void PythonQtWrapper_QXmlSchema::setNetworkAccessManager(QXmlSchema* theWrappedObject, QNetworkAccessManager* networkmanager) +{ + ( theWrappedObject->setNetworkAccessManager(networkmanager)); +} + +void PythonQtWrapper_QXmlSchema::setUriResolver(QXmlSchema* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlSchema::uriResolver(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + + + +QXmlSchemaValidator* PythonQtWrapper_QXmlSchemaValidator::new_QXmlSchemaValidator() +{ +return new QXmlSchemaValidator(); } + +QXmlSchemaValidator* PythonQtWrapper_QXmlSchemaValidator::new_QXmlSchemaValidator(const QXmlSchema& schema) +{ +return new QXmlSchemaValidator(schema); } + +QAbstractMessageHandler* PythonQtWrapper_QXmlSchemaValidator::messageHandler(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlSchemaValidator::namePool(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlSchemaValidator::networkAccessManager(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +void PythonQtWrapper_QXmlSchemaValidator::setMessageHandler(QXmlSchemaValidator* theWrappedObject, QAbstractMessageHandler* handler) +{ + ( theWrappedObject->setMessageHandler(handler)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setNetworkAccessManager(QXmlSchemaValidator* theWrappedObject, QNetworkAccessManager* networkmanager) +{ + ( theWrappedObject->setNetworkAccessManager(networkmanager)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setSchema(QXmlSchemaValidator* theWrappedObject, const QXmlSchema& schema) +{ + ( theWrappedObject->setSchema(schema)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setUriResolver(QXmlSchemaValidator* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlSchemaValidator::uriResolver(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, QIODevice* source, const QUrl& documentUri) const +{ + return ( theWrappedObject->validate(source, documentUri)); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, const QByteArray& data, const QUrl& documentUri) const +{ + return ( theWrappedObject->validate(data, documentUri)); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, const QUrl& source) const +{ + return ( theWrappedObject->validate(source)); +} + + + +PythonQtShell_QXmlSerializer::~PythonQtShell_QXmlSerializer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atomicValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::atomicValue(value0); +} +void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStringRef& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("attribute"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::attribute(name0, value1); +} +void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::characters(value0); +} +void PythonQtShell_QXmlSerializer::comment(const QString& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::comment(value0); +} +void PythonQtShell_QXmlSerializer::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endDocument"); + 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(); + } + } +} + QXmlSerializer::endDocument(); +} +void PythonQtShell_QXmlSerializer::endElement() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endElement"); + 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(); + } + } +} + QXmlSerializer::endElement(); +} +void PythonQtShell_QXmlSerializer::endOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endOfSequence"); + 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(); + } + } +} + QXmlSerializer::endOfSequence(); +} +void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("namespaceBinding"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&nb0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::namespaceBinding(nb0); +} +void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::processingInstruction(name0, value1); +} +void PythonQtShell_QXmlSerializer::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDocument"); + 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(); + } + } +} + QXmlSerializer::startDocument(); +} +void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::startElement(name0); +} +void PythonQtShell_QXmlSerializer::startOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startOfSequence"); + 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(); + } + } +} + QXmlSerializer::startOfSequence(); +} +void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("whitespaceOnly"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::whitespaceOnly(value0); +} +QXmlSerializer* PythonQtWrapper_QXmlSerializer::new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice) +{ +return new PythonQtShell_QXmlSerializer(query, outputDevice); } + +const QTextCodec* PythonQtWrapper_QXmlSerializer::codec(QXmlSerializer* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QIODevice* PythonQtWrapper_QXmlSerializer::outputDevice(QXmlSerializer* theWrappedObject) const +{ + return ( theWrappedObject->outputDevice()); +} + +void PythonQtWrapper_QXmlSerializer::setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h new file mode 100644 index 00000000..aec8d95f --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h @@ -0,0 +1,724 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QAbstractMessageHandler : public QAbstractMessageHandler +{ +public: + PythonQtShell_QAbstractMessageHandler(QObject* parent = nullptr):QAbstractMessageHandler(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractMessageHandler() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractMessageHandler : public QAbstractMessageHandler +{ public: +inline void promoted_handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) { this->handleMessage(type, description, identifier, sourceLocation); } +inline void py_q_handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) { this->handleMessage(type, description, identifier, sourceLocation); } +}; + +class PythonQtWrapper_QAbstractMessageHandler : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractMessageHandler* new_QAbstractMessageHandler(QObject* parent = nullptr); +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()); +}; + + + + + +class PythonQtShell_QAbstractUriResolver : public QAbstractUriResolver +{ +public: + PythonQtShell_QAbstractUriResolver(QObject* parent = nullptr):QAbstractUriResolver(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractUriResolver() override; + +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 override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractUriResolver : public QAbstractUriResolver +{ public: +inline QUrl py_q_resolve(const QUrl& relative, const QUrl& baseURI) const { return this->resolve(relative, baseURI); } +}; + +class PythonQtWrapper_QAbstractUriResolver : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractUriResolver* new_QAbstractUriResolver(QObject* parent = nullptr); +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));} +}; + + + + + +class PythonQtShell_QAbstractXmlNodeModel : public QAbstractXmlNodeModel +{ +public: + PythonQtShell_QAbstractXmlNodeModel():QAbstractXmlNodeModel(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractXmlNodeModel() override; + +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; +}; + +class PythonQtPublicPromoter_QAbstractXmlNodeModel : public QAbstractXmlNodeModel +{ public: +inline QVector promoted_attributes(const QXmlNodeModelIndex& element) const { return this->attributes(element); } +inline QXmlNodeModelIndex promoted_createIndex(qint64 data) const { return this->createIndex(data); } +inline QXmlNodeModelIndex promoted_createIndex(qint64 data, qint64 additionalData) const { return this->createIndex(data, additionalData); } +inline QXmlNodeModelIndex promoted_createIndex(void* pointer, qint64 additionalData = 0) const { return this->createIndex(pointer, additionalData); } +inline QXmlNodeModelIndex promoted_nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const { return this->nextFromSimpleAxis(axis, origin); } +inline QVector py_q_attributes(const QXmlNodeModelIndex& element) const { return this->attributes(element); } +inline QUrl py_q_baseUri(const QXmlNodeModelIndex& ni) const { return this->baseUri(ni); } +inline QXmlNodeModelIndex::DocumentOrder py_q_compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const { return this->compareOrder(ni1, ni2); } +inline QUrl py_q_documentUri(const QXmlNodeModelIndex& ni) const { return this->documentUri(ni); } +inline QXmlNodeModelIndex py_q_elementById(const QXmlName& NCName) const { return this->elementById(NCName); } +inline bool py_q_isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const { return QAbstractXmlNodeModel::isDeepEqual(ni1, ni2); } +inline QXmlNodeModelIndex::NodeKind py_q_kind(const QXmlNodeModelIndex& ni) const { return this->kind(ni); } +inline QXmlName py_q_name(const QXmlNodeModelIndex& ni) const { return this->name(ni); } +inline QVector py_q_namespaceBindings(const QXmlNodeModelIndex& n) const { return this->namespaceBindings(n); } +inline short py_q_namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const { return QAbstractXmlNodeModel::namespaceForPrefix(ni, prefix); } +inline QXmlNodeModelIndex py_q_nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const { return this->nextFromSimpleAxis(axis, origin); } +inline QVector py_q_nodesByIdref(const QXmlName& NCName) const { return this->nodesByIdref(NCName); } +inline QXmlNodeModelIndex py_q_root(const QXmlNodeModelIndex& n) const { return this->root(n); } +inline QString py_q_stringValue(const QXmlNodeModelIndex& n) const { return this->stringValue(n); } +inline QVariant py_q_typedValue(const QXmlNodeModelIndex& n) const { return this->typedValue(n); } +}; + +class PythonQtWrapper_QAbstractXmlNodeModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NodeCopySetting SimpleAxis ) +enum NodeCopySetting{ + InheritNamespaces = QAbstractXmlNodeModel::InheritNamespaces, PreserveNamespaces = QAbstractXmlNodeModel::PreserveNamespaces}; +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; } + 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; + QUrl py_q_baseUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_baseUri(ni));} + QXmlNodeModelIndex::DocumentOrder compareOrder(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; + QXmlNodeModelIndex::DocumentOrder py_q_compareOrder(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_compareOrder(ni1, ni2));} + QXmlNodeModelIndex createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data) const; + QXmlNodeModelIndex createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data, qint64 additionalData) const; + QXmlNodeModelIndex createIndex(QAbstractXmlNodeModel* theWrappedObject, void* pointer, qint64 additionalData = 0) const; + QUrl documentUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; + QUrl py_q_documentUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_documentUri(ni));} + QXmlNodeModelIndex elementById(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const; + QXmlNodeModelIndex py_q_elementById(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_elementById(NCName));} + bool isDeepEqual(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; + bool py_q_isDeepEqual(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_isDeepEqual(ni1, ni2));} + QXmlNodeModelIndex::NodeKind kind(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; + QXmlNodeModelIndex::NodeKind py_q_kind(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_kind(ni));} + QXmlName name(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; + QXmlName py_q_name(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_name(ni));} + QVector namespaceBindings(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QVector py_q_namespaceBindings(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_namespaceBindings(n));} + short namespaceForPrefix(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni, const short prefix) const; + short py_q_namespaceForPrefix(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni, const short prefix) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_namespaceForPrefix(ni, prefix));} + QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel* theWrappedObject, QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; + QXmlNodeModelIndex py_q_nextFromSimpleAxis(QAbstractXmlNodeModel* theWrappedObject, QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_nextFromSimpleAxis(axis, origin));} + QVector nodesByIdref(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const; + QVector py_q_nodesByIdref(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_nodesByIdref(NCName));} + QXmlNodeModelIndex root(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QXmlNodeModelIndex py_q_root(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_root(n));} + QSourceLocation sourceLocation(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& index) const; + QString stringValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QString py_q_stringValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_stringValue(n));} + QVariant typedValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QVariant py_q_typedValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_typedValue(n));} +}; + + + + + +class PythonQtShell_QAbstractXmlReceiver : public QAbstractXmlReceiver +{ +public: + PythonQtShell_QAbstractXmlReceiver():QAbstractXmlReceiver(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractXmlReceiver() override; + +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; +}; + +class PythonQtPublicPromoter_QAbstractXmlReceiver : public QAbstractXmlReceiver +{ public: +inline void py_q_atomicValue(const QVariant& value) { this->atomicValue(value); } +inline void py_q_attribute(const QXmlName& name, const QStringRef& value) { this->attribute(name, value); } +inline void py_q_characters(const QStringRef& value) { this->characters(value); } +inline void py_q_comment(const QString& value) { this->comment(value); } +inline void py_q_endDocument() { this->endDocument(); } +inline void py_q_endElement() { this->endElement(); } +inline void py_q_endOfSequence() { this->endOfSequence(); } +inline void py_q_namespaceBinding(const QXmlName& name) { this->namespaceBinding(name); } +inline void py_q_processingInstruction(const QXmlName& target, const QString& value) { this->processingInstruction(target, value); } +inline void py_q_startDocument() { this->startDocument(); } +inline void py_q_startElement(const QXmlName& name) { this->startElement(name); } +inline void py_q_startOfSequence() { this->startOfSequence(); } +inline void py_q_whitespaceOnly(const QStringRef& value) { QAbstractXmlReceiver::whitespaceOnly(value); } +}; + +class PythonQtWrapper_QAbstractXmlReceiver : public QObject +{ Q_OBJECT +public: +public slots: +QAbstractXmlReceiver* new_QAbstractXmlReceiver(); +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); + void py_q_attribute(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name, const QStringRef& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_attribute(name, value));} + void characters(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value); + void py_q_characters(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_characters(value));} + void comment(QAbstractXmlReceiver* theWrappedObject, const QString& value); + void py_q_comment(QAbstractXmlReceiver* theWrappedObject, const QString& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_comment(value));} + void endDocument(QAbstractXmlReceiver* theWrappedObject); + void py_q_endDocument(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_endDocument());} + void endElement(QAbstractXmlReceiver* theWrappedObject); + void py_q_endElement(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_endElement());} + void endOfSequence(QAbstractXmlReceiver* theWrappedObject); + void py_q_endOfSequence(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_endOfSequence());} + void namespaceBinding(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name); + void py_q_namespaceBinding(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_namespaceBinding(name));} + void processingInstruction(QAbstractXmlReceiver* theWrappedObject, const QXmlName& target, const QString& value); + void py_q_processingInstruction(QAbstractXmlReceiver* theWrappedObject, const QXmlName& target, const QString& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_processingInstruction(target, value));} + void startDocument(QAbstractXmlReceiver* theWrappedObject); + void py_q_startDocument(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_startDocument());} + void startElement(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name); + void py_q_startElement(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_startElement(name));} + void startOfSequence(QAbstractXmlReceiver* theWrappedObject); + void py_q_startOfSequence(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_startOfSequence());} + void whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value); + void py_q_whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_whitespaceOnly(value));} +}; + + + + + +class PythonQtWrapper_QPatternist : public QObject +{ Q_OBJECT +public: +public slots: +}; + + + + + +class PythonQtWrapper_QPatternistSDK : public QObject +{ Q_OBJECT +public: +public slots: +}; + + + + + +class PythonQtShell_QSimpleXmlNodeModel : public QSimpleXmlNodeModel +{ +public: + PythonQtShell_QSimpleXmlNodeModel(const QXmlNamePool& namePool):QSimpleXmlNodeModel(namePool),_wrapper(nullptr) {}; + + ~PythonQtShell_QSimpleXmlNodeModel() override; + +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; +}; + +class PythonQtPublicPromoter_QSimpleXmlNodeModel : public QSimpleXmlNodeModel +{ public: +inline QUrl py_q_baseUri(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::baseUri(node); } +inline QXmlNodeModelIndex py_q_elementById(const QXmlName& id) const { return QSimpleXmlNodeModel::elementById(id); } +inline QVector py_q_namespaceBindings(const QXmlNodeModelIndex& arg__1) const { return QSimpleXmlNodeModel::namespaceBindings(arg__1); } +inline QVector py_q_nodesByIdref(const QXmlName& idref) const { return QSimpleXmlNodeModel::nodesByIdref(idref); } +inline QString py_q_stringValue(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::stringValue(node); } +}; + +class PythonQtWrapper_QSimpleXmlNodeModel : public QObject +{ Q_OBJECT +public: +public slots: +QSimpleXmlNodeModel* new_QSimpleXmlNodeModel(const QXmlNamePool& namePool); +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; + QVector py_q_namespaceBindings(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& arg__1) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_namespaceBindings(arg__1));} + QVector py_q_nodesByIdref(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& idref) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_nodesByIdref(idref));} + QString py_q_stringValue(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_stringValue(node));} +}; + + + + + +class PythonQtWrapper_QSourceLocation : public QObject +{ Q_OBJECT +public: +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; } + qint64 column(QSourceLocation* theWrappedObject) const; + bool isNull(QSourceLocation* theWrappedObject) const; + qint64 line(QSourceLocation* theWrappedObject) const; + bool __ne__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; + bool __eq__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; + void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); + void setLine(QSourceLocation* theWrappedObject, qint64 newLine); + void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); + QUrl uri(QSourceLocation* theWrappedObject) const; + QString py_toString(QSourceLocation*); + bool __nonzero__(QSourceLocation* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QXmlFormatter : public QXmlFormatter +{ +public: + PythonQtShell_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice):QXmlFormatter(query, outputDevice),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlFormatter() override; + +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; +}; + +class PythonQtPublicPromoter_QXmlFormatter : public QXmlFormatter +{ public: +inline void py_q_atomicValue(const QVariant& value) { QXmlFormatter::atomicValue(value); } +inline void py_q_attribute(const QXmlName& name, const QStringRef& value) { QXmlFormatter::attribute(name, value); } +inline void py_q_characters(const QStringRef& value) { QXmlFormatter::characters(value); } +inline void py_q_comment(const QString& value) { QXmlFormatter::comment(value); } +inline void py_q_endDocument() { QXmlFormatter::endDocument(); } +inline void py_q_endElement() { QXmlFormatter::endElement(); } +inline void py_q_endOfSequence() { QXmlFormatter::endOfSequence(); } +inline void py_q_processingInstruction(const QXmlName& name, const QString& value) { QXmlFormatter::processingInstruction(name, value); } +inline void py_q_startDocument() { QXmlFormatter::startDocument(); } +inline void py_q_startElement(const QXmlName& name) { QXmlFormatter::startElement(name); } +inline void py_q_startOfSequence() { QXmlFormatter::startOfSequence(); } +}; + +class PythonQtWrapper_QXmlFormatter : public QObject +{ Q_OBJECT +public: +public slots: +QXmlFormatter* new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice); +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));} + void py_q_comment(QXmlFormatter* theWrappedObject, const QString& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_comment(value));} + void py_q_endDocument(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_endDocument());} + void py_q_endElement(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_endElement());} + void py_q_endOfSequence(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_endOfSequence());} + int indentationDepth(QXmlFormatter* theWrappedObject) const; + void py_q_processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_processingInstruction(name, value));} + void setIndentationDepth(QXmlFormatter* theWrappedObject, int depth); + void py_q_startDocument(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_startDocument());} + void py_q_startElement(QXmlFormatter* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_startElement(name));} + void py_q_startOfSequence(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_startOfSequence());} +}; + + + + + +class PythonQtWrapper_QXmlItem : public QObject +{ Q_OBJECT +public: +public slots: +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; } + bool isAtomicValue(QXmlItem* theWrappedObject) const; + bool isNode(QXmlItem* theWrappedObject) const; + bool isNull(QXmlItem* theWrappedObject) const; + QVariant toAtomicValue(QXmlItem* theWrappedObject) const; + QXmlNodeModelIndex toNodeModelIndex(QXmlItem* theWrappedObject) const; + bool __nonzero__(QXmlItem* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlName : public QObject +{ Q_OBJECT +public: +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; } + QXmlName static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool); + bool static_QXmlName_isNCName(const QString& candidate); + bool isNull(QXmlName* theWrappedObject) const; + QString localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + QString namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + bool __ne__(QXmlName* theWrappedObject, const QXmlName& other) const; + bool __eq__(QXmlName* theWrappedObject, const QXmlName& other) const; + QString prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + QString toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + bool __nonzero__(QXmlName* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlNamePool : public QObject +{ Q_OBJECT +public: +public slots: +QXmlNamePool* new_QXmlNamePool(); +QXmlNamePool* new_QXmlNamePool(const QXmlNamePool& other); +void delete_QXmlNamePool(QXmlNamePool* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QXmlNodeModelIndex : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DocumentOrder NodeKind ) +enum DocumentOrder{ + Precedes = QXmlNodeModelIndex::Precedes, Is = QXmlNodeModelIndex::Is, Follows = QXmlNodeModelIndex::Follows}; +enum NodeKind{ + Attribute = QXmlNodeModelIndex::Attribute, Comment = QXmlNodeModelIndex::Comment, Document = QXmlNodeModelIndex::Document, Element = QXmlNodeModelIndex::Element, Namespace = QXmlNodeModelIndex::Namespace, ProcessingInstruction = QXmlNodeModelIndex::ProcessingInstruction, Text = QXmlNodeModelIndex::Text}; +public slots: +QXmlNodeModelIndex* new_QXmlNodeModelIndex(); +QXmlNodeModelIndex* new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other); +void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; } + qint64 additionalData(QXmlNodeModelIndex* theWrappedObject) const; + qint64 data(QXmlNodeModelIndex* theWrappedObject) const; + bool isNull(QXmlNodeModelIndex* theWrappedObject) const; + const QAbstractXmlNodeModel* model(QXmlNodeModelIndex* theWrappedObject) const; + bool __ne__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; + QXmlNodeModelIndex* operator_assign(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& arg__1); + bool __eq__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; + bool __nonzero__(QXmlNodeModelIndex* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlQuery : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QueryLanguage ) +enum QueryLanguage{ + XQuery10 = QXmlQuery::XQuery10, XSLT20 = QXmlQuery::XSLT20, XmlSchema11IdentityConstraintSelector = QXmlQuery::XmlSchema11IdentityConstraintSelector, XmlSchema11IdentityConstraintField = QXmlQuery::XmlSchema11IdentityConstraintField, XPath20 = QXmlQuery::XPath20}; +public slots: +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 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); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlQuery& query); + bool evaluateTo(QXmlQuery* theWrappedObject, QIODevice* target) const; + bool evaluateTo(QXmlQuery* theWrappedObject, QString* output) const; + void evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const; + QXmlName initialTemplateName(QXmlQuery* theWrappedObject) const; + bool isValid(QXmlQuery* theWrappedObject) const; + QAbstractMessageHandler* messageHandler(QXmlQuery* theWrappedObject) const; + QXmlNamePool namePool(QXmlQuery* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlQuery* theWrappedObject) const; + QXmlQuery* operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other); + QXmlQuery::QueryLanguage queryLanguage(QXmlQuery* theWrappedObject) const; + bool setFocus(QXmlQuery* theWrappedObject, QIODevice* document); + bool setFocus(QXmlQuery* theWrappedObject, const QString& focus); + bool setFocus(QXmlQuery* theWrappedObject, const QUrl& documentURI); + void setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item); + void setInitialTemplateName(QXmlQuery* theWrappedObject, const QString& name); + void setInitialTemplateName(QXmlQuery* theWrappedObject, const QXmlName& name); + void setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler); + void setNetworkAccessManager(QXmlQuery* theWrappedObject, QNetworkAccessManager* newManager); + void setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI = QUrl()); + void setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI = QUrl()); + void setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI = QUrl()); + void setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlQuery* theWrappedObject) const; + bool __nonzero__(QXmlQuery* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QXmlResultItems : public QXmlResultItems +{ +public: + PythonQtShell_QXmlResultItems():QXmlResultItems(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlResultItems() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlResultItems : public QObject +{ Q_OBJECT +public: +public slots: +QXmlResultItems* new_QXmlResultItems(); +void delete_QXmlResultItems(QXmlResultItems* obj) { delete obj; } + QXmlItem current(QXmlResultItems* theWrappedObject) const; + bool hasError(QXmlResultItems* theWrappedObject) const; + QXmlItem next(QXmlResultItems* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QXmlSchema : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSchema* new_QXmlSchema(); +QXmlSchema* new_QXmlSchema(const QXmlSchema& other); +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()); + bool load(QXmlSchema* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()); + bool load(QXmlSchema* theWrappedObject, const QUrl& source); + QAbstractMessageHandler* messageHandler(QXmlSchema* theWrappedObject) const; + QXmlNamePool namePool(QXmlSchema* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlSchema* theWrappedObject) const; + QXmlSchema* operator_assign(QXmlSchema* theWrappedObject, const QXmlSchema& other); + void setMessageHandler(QXmlSchema* theWrappedObject, QAbstractMessageHandler* handler); + void setNetworkAccessManager(QXmlSchema* theWrappedObject, QNetworkAccessManager* networkmanager); + void setUriResolver(QXmlSchema* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlSchema* theWrappedObject) const; + bool __nonzero__(QXmlSchema* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QXmlSchemaValidator : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSchemaValidator* new_QXmlSchemaValidator(); +QXmlSchemaValidator* new_QXmlSchemaValidator(const QXmlSchema& schema); +void delete_QXmlSchemaValidator(QXmlSchemaValidator* obj) { delete obj; } + QAbstractMessageHandler* messageHandler(QXmlSchemaValidator* theWrappedObject) const; + QXmlNamePool namePool(QXmlSchemaValidator* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlSchemaValidator* theWrappedObject) const; + void setMessageHandler(QXmlSchemaValidator* theWrappedObject, QAbstractMessageHandler* handler); + void setNetworkAccessManager(QXmlSchemaValidator* theWrappedObject, QNetworkAccessManager* networkmanager); + void setSchema(QXmlSchemaValidator* theWrappedObject, const QXmlSchema& schema); + void setUriResolver(QXmlSchemaValidator* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlSchemaValidator* theWrappedObject) const; + bool validate(QXmlSchemaValidator* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()) const; + bool validate(QXmlSchemaValidator* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()) const; + bool validate(QXmlSchemaValidator* theWrappedObject, const QUrl& source) const; +}; + + + + + +class PythonQtShell_QXmlSerializer : public QXmlSerializer +{ +public: + PythonQtShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice):QXmlSerializer(query, outputDevice),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlSerializer() override; + +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; +}; + +class PythonQtPublicPromoter_QXmlSerializer : public QXmlSerializer +{ public: +inline void py_q_atomicValue(const QVariant& value) { QXmlSerializer::atomicValue(value); } +inline void py_q_attribute(const QXmlName& name, const QStringRef& value) { QXmlSerializer::attribute(name, value); } +inline void py_q_characters(const QStringRef& value) { QXmlSerializer::characters(value); } +inline void py_q_comment(const QString& value) { QXmlSerializer::comment(value); } +inline void py_q_endDocument() { QXmlSerializer::endDocument(); } +inline void py_q_endElement() { QXmlSerializer::endElement(); } +inline void py_q_endOfSequence() { QXmlSerializer::endOfSequence(); } +inline void py_q_namespaceBinding(const QXmlName& nb) { QXmlSerializer::namespaceBinding(nb); } +inline void py_q_processingInstruction(const QXmlName& name, const QString& value) { QXmlSerializer::processingInstruction(name, value); } +inline void py_q_startDocument() { QXmlSerializer::startDocument(); } +inline void py_q_startElement(const QXmlName& name) { QXmlSerializer::startElement(name); } +inline void py_q_startOfSequence() { QXmlSerializer::startOfSequence(); } +}; + +class PythonQtWrapper_QXmlSerializer : public QObject +{ Q_OBJECT +public: +public slots: +QXmlSerializer* new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice); +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));} + const QTextCodec* codec(QXmlSerializer* theWrappedObject) const; + void py_q_comment(QXmlSerializer* theWrappedObject, const QString& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_comment(value));} + void py_q_endDocument(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_endDocument());} + void py_q_endElement(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_endElement());} + void py_q_endOfSequence(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_endOfSequence());} + void py_q_namespaceBinding(QXmlSerializer* theWrappedObject, const QXmlName& nb){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_namespaceBinding(nb));} + QIODevice* outputDevice(QXmlSerializer* theWrappedObject) const; + void py_q_processingInstruction(QXmlSerializer* theWrappedObject, const QXmlName& name, const QString& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_processingInstruction(name, value));} + void setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec); + void py_q_startDocument(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_startDocument());} + void py_q_startElement(QXmlSerializer* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_startElement(name));} + void py_q_startOfSequence(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_startOfSequence());} +}; + + diff --git a/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp new file mode 100644 index 00000000..48553c77 --- /dev/null +++ b/generated_cpp_5.15.7/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp @@ -0,0 +1,30 @@ +#include +#include +#include "com_trolltech_qt_xmlpatterns0.h" + + + +void PythonQt_init_QtXmlPatterns(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractMessageHandler::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, 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, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlFormatter", "QXmlSerializer", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +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, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlSchemaValidator", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSerializer", "QAbstractXmlReceiver", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlName); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlNodeModelIndex); +}